1.8.4 (latest) 1.7.2 1.6.0 1.5.0 1.4.0 1.3.1 1.2.1 1.1.3 1.0.0 0.6.5 0.5.1 0.4.4 0.3.13 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` |   |