Google Cloud Artifact Registry V1 Client - Class KfpArtifact (1.2.1)

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 message google.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.

Parameter
Name Description
var string
Returns
Type Description
$this