# Google Cloud Deploy V1 Client - Class TargetArtifact (2.0.0)

2.0.0 (latest) 1.6.3 1.5.7 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.19.1 0.18.1 0.17.0 0.16.0 0.15.0 0.14.0 0.13.1 0.12.1 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.1 0.3.4 Reference documentation and code samples for the Google Cloud Deploy V1 Client class TargetArtifact.

The artifacts produced by a target render operation.

Generated from protobuf message `google.cloud.deploy.v1.TargetArtifact`

## Namespace

Google \\ Cloud \\ Deploy \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ artifact_uri` | `string` Output only. URI of a directory containing the artifacts. This contains deployment configuration used by Skaffold during a rollout, and all paths are relative to this location. |
| `↳ skaffold_config_path` | `string` Output only. File path of the resolved Skaffold configuration relative to the URI. |
| `↳ manifest_path` | `string` Output only. File path of the rendered manifest relative to the URI. |
| `↳ phase_artifacts` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Output only. Map from the phase ID to the phase artifacts for the `Target`. |

### getArtifactUri

Output only. URI of a directory containing the artifacts. This contains
deployment configuration used by Skaffold during a rollout, and all
paths are relative to this location.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasArtifactUri

### setArtifactUri

Output only. URI of a directory containing the artifacts. This contains
deployment configuration used by Skaffold during a rollout, and all
paths are relative to this location.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSkaffoldConfigPath

Output only. File path of the resolved Skaffold configuration relative to
the URI.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setSkaffoldConfigPath

Output only. File path of the resolved Skaffold configuration relative to
the URI.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getManifestPath

Output only. File path of the rendered manifest relative to the URI.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setManifestPath

Output only. File path of the rendered manifest relative to the URI.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPhaseArtifacts

Output only. Map from the phase ID to the phase artifacts for the `Target`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setPhaseArtifacts

Output only. Map from the phase ID to the phase artifacts for the `Target`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUri

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |