Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class KfpArtifact.
A detailed representation of a KFP artifact.
Generated from protobuf messagegoogle.devtools.artifactregistry.v1.KfpArtifact
Namespace
Google \ Cloud \ ArtifactRegistry \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. Resource name of the KFP artifact. Since users don't directly interact with this resource, the name will be derived from the associated version. For example, when version = ".../versions/sha256:abcdef...", the name will be ".../kfpArtifacts/sha256:abcdef...".
↳ version
string
The version associated with the KFP artifact. Must follow the Semantic Versioning standard.
getName
Output only. Resource name of the KFP artifact. Since users don't directly
interact with this resource, the name will be derived from the associated
version. For example, when version = ".../versions/sha256:abcdef...", the
name will be ".../kfpArtifacts/sha256:abcdef...".
Returns
Type
Description
string
setName
Output only. Resource name of the KFP artifact. Since users don't directly
interact with this resource, the name will be derived from the associated
version. For example, when version = ".../versions/sha256:abcdef...", the
name will be ".../kfpArtifacts/sha256:abcdef...".
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getVersion
The version associated with the KFP artifact. Must follow the Semantic
Versioning standard.
Returns
Type
Description
string
setVersion
The version associated with the KFP artifact. Must follow the Semantic
Versioning standard.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Artifact Registry V1 Client - Class KfpArtifact (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-artifact-registry/latest/V1.KfpArtifact)\n- [1.2.0](/php/docs/reference/cloud-artifact-registry/1.2.0/V1.KfpArtifact)\n- [1.1.3](/php/docs/reference/cloud-artifact-registry/1.1.3/V1.KfpArtifact)\n- [1.0.0](/php/docs/reference/cloud-artifact-registry/1.0.0/V1.KfpArtifact)\n- [0.6.5](/php/docs/reference/cloud-artifact-registry/0.6.5/V1.KfpArtifact)\n- [0.5.1](/php/docs/reference/cloud-artifact-registry/0.5.1/V1.KfpArtifact)\n- [0.4.4](/php/docs/reference/cloud-artifact-registry/0.4.4/V1.KfpArtifact)\n- [0.3.13](/php/docs/reference/cloud-artifact-registry/0.3.13/V1.KfpArtifact) \nReference documentation and code samples for the Google Cloud Artifact Registry V1 Client class KfpArtifact.\n\nA detailed representation of a KFP artifact.\n\nGenerated from protobuf message `google.devtools.artifactregistry.v1.KfpArtifact`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ArtifactRegistry \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nOutput only. Resource name of the KFP artifact. Since users don't directly\ninteract with this resource, the name will be derived from the associated\nversion. For example, when version = \".../versions/sha256:abcdef...\", the\nname will be \".../kfpArtifacts/sha256:abcdef...\".\n\n### setName\n\nOutput only. Resource name of the KFP artifact. Since users don't directly\ninteract with this resource, the name will be derived from the associated\nversion. For example, when version = \".../versions/sha256:abcdef...\", the\nname will be \".../kfpArtifacts/sha256:abcdef...\".\n\n### getVersion\n\nThe version associated with the KFP artifact. Must follow the Semantic\nVersioning standard.\n\n### setVersion\n\nThe version associated with the KFP artifact. Must follow the Semantic\nVersioning standard."]]