public ArtifactName(string projectId, string locationId, string metadataStoreId, string artifactId)
Constructs a new instance of a ArtifactName class from the component parts of pattern
projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}
Formats the IDs into the string representation of this ArtifactName with pattern
projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}.
The string representation of this ArtifactName with pattern
projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}.
Formats the IDs into the string representation of this ArtifactName with pattern
projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}.
The string representation of this ArtifactName with pattern
projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}.
If true will successfully store an unparseable resource name into the UnparsedResource
property; otherwise will throw an ArgumentException if an unparseable resource name is
specified.
If true will successfully store an unparseable resource name into the UnparsedResource
property; otherwise will throw an ArgumentException if an unparseable resource name is
specified.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003e\u003ccode\u003eArtifactName\u003c/code\u003e is a class in the Vertex AI v1beta1 API used to represent the resource name for an \u003ccode\u003eArtifact\u003c/code\u003e within a specific project, location, metadata store, and artifact ID.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eArtifactName\u003c/code\u003e class allows for the construction, parsing, and formatting of artifact resource names, adhering to the pattern \u003ccode\u003eprojects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers properties such as \u003ccode\u003eProjectId\u003c/code\u003e, \u003ccode\u003eLocationId\u003c/code\u003e, \u003ccode\u003eMetadataStoreId\u003c/code\u003e, and \u003ccode\u003eArtifactId\u003c/code\u003e to access the components of the resource name, along with methods to determine if a resource name matches a known pattern.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eArtifactName\u003c/code\u003e includes static methods for parsing and formatting resource names, supporting both fully parsed and unparsed resource names, and provides methods for equality comparisons.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eArtifactName\u003c/code\u003e class implements \u003ccode\u003eIResourceName\u003c/code\u003e and \u003ccode\u003eIEquatable\u003c/code\u003e, providing additional functionality and the ability to be compared with other \u003ccode\u003eArtifactName\u003c/code\u003e instances.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class ArtifactName (1.0.0-beta47)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta47 (latest)](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ArtifactName)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.ArtifactName) \n\n public sealed class ArtifactName : IResourceName, IEquatable\u003cArtifactName\u003e\n\nReference documentation and code samples for the Vertex AI v1beta1 API class ArtifactName.\n\nResource name for the `Artifact` resource. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ArtifactName \n\nImplements\n----------\n\n[IResourceName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IResourceName.html), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ArtifactName](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ArtifactName) \n\nInherited Members\n-----------------\n\n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype)\n\nNamespace\n---------\n\n[Google.Cloud.AIPlatform.V1Beta1](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.AIPlatform.V1Beta1.dll\n\nConstructors\n------------\n\n### ArtifactName(string, string, string, string)\n\n public ArtifactName(string projectId, string locationId, string metadataStoreId, string artifactId)\n\nConstructs a new instance of a [ArtifactName](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ArtifactName) class from the component parts of pattern\n`projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`\n\nProperties\n----------\n\n### ArtifactId\n\n public string ArtifactId { get; }\n\nThe `Artifact` ID. Will not be `null`, unless this instance contains an unparsed resource name.\n\n### IsKnownPattern\n\n public bool IsKnownPattern { get; }\n\nWhether this instance contains a resource name with a known pattern.\n\n### LocationId\n\n public string LocationId { get; }\n\nThe `Location` ID. Will not be `null`, unless this instance contains an unparsed resource name.\n\n### MetadataStoreId\n\n public string MetadataStoreId { get; }\n\nThe `MetadataStore` ID. Will not be `null`, unless this instance contains an unparsed resource\nname.\n\n### ProjectId\n\n public string ProjectId { get; }\n\nThe `Project` ID. Will not be `null`, unless this instance contains an unparsed resource name.\n\n### Type\n\n public ArtifactName.ResourceNameType Type { get; }\n\nThe [ArtifactName.ResourceNameType](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ArtifactName.ResourceNameType) of the contained resource name.\n\n### UnparsedResource\n\n public UnparsedResourceName UnparsedResource { get; }\n\nThe contained [UnparsedResourceName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.UnparsedResourceName.html). Only non-`null` if this instance contains an\nunparsed resource name.\n\nMethods\n-------\n\n### Format(string, string, string, string)\n\n public static string Format(string projectId, string locationId, string metadataStoreId, string artifactId)\n\nFormats the IDs into the string representation of this [ArtifactName](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ArtifactName) with pattern\n`projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`.\n\n### FormatProjectLocationMetadataStoreArtifact(string, string, string, string)\n\n public static string FormatProjectLocationMetadataStoreArtifact(string projectId, string locationId, string metadataStoreId, string artifactId)\n\nFormats the IDs into the string representation of this [ArtifactName](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ArtifactName) with pattern\n`projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`.\n\n### FromProjectLocationMetadataStoreArtifact(string, string, string, string)\n\n public static ArtifactName FromProjectLocationMetadataStoreArtifact(string projectId, string locationId, string metadataStoreId, string artifactId)\n\nCreates a [ArtifactName](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ArtifactName) with the pattern\n`projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`.\n\n### FromUnparsed(UnparsedResourceName)\n\n public static ArtifactName FromUnparsed(UnparsedResourceName unparsedResourceName)\n\nCreates a [ArtifactName](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ArtifactName) containing an unparsed resource name.\n\n### GetHashCode()\n\n public override int GetHashCode()\n\nReturns a hash code for this resource name.\n\n**Overrides** \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)\n\n### Parse(string)\n\n public static ArtifactName Parse(string artifactName)\n\nParses the given resource name string into a new [ArtifactName](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ArtifactName) instance.\n\n**Remarks** \nTo parse successfully, the resource name must be formatted as one of the following:\n\n- `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`\n\n\u003cbr /\u003e\n\n### Parse(string, bool)\n\n public static ArtifactName Parse(string artifactName, bool allowUnparsed)\n\nParses the given resource name string into a new [ArtifactName](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ArtifactName) instance; optionally allowing an\nunparseable resource name.\n\n**Remarks** \nTo parse successfully, the resource name must be formatted as one of the following:\n\n- `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`\n\nOr may be in any format if `allowUnparsed` is `true`.\n\n\u003cbr /\u003e\n\n### ToString()\n\n public override string ToString()\n\nThe string representation of the resource name.\n\n**Overrides** \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\n### TryParse(string, out ArtifactName)\n\n public static bool TryParse(string artifactName, out ArtifactName result)\n\nTries to parse the given resource name string into a new [ArtifactName](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ArtifactName) instance.\n\n**Remarks** \nTo parse successfully, the resource name must be formatted as one of the following:\n\n- `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`\n\n\u003cbr /\u003e\n\n### TryParse(string, bool, out ArtifactName)\n\n public static bool TryParse(string artifactName, bool allowUnparsed, out ArtifactName result)\n\nTries to parse the given resource name string into a new [ArtifactName](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ArtifactName) instance; optionally\nallowing an unparseable resource name.\n\n**Remarks** \nTo parse successfully, the resource name must be formatted as one of the following:\n\n- `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`\n\nOr may be in any format if `allowUnparsed` is `true`.\n\n\u003cbr /\u003e\n\nOperators\n---------\n\n### operator ==(ArtifactName, ArtifactName)\n\n public static bool operator ==(ArtifactName a, ArtifactName b)\n\nDetermines whether two specified resource names have the same value.\n\n### operator !=(ArtifactName, ArtifactName)\n\n public static bool operator !=(ArtifactName a, ArtifactName b)\n\nDetermines whether two specified resource names have different values."]]