0.6.2 (latest) 0.6.1 0.5.3 0.4.1 0.3.0 0.2.2 0.1.2 Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class ArtifactConfig.

The artifact config of the artifact that is deployed.

Generated from protobuf message `google.cloud.developerconnect.v1.ArtifactConfig`

## Namespace

Google \\ Cloud \\ DeveloperConnect \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ google_artifact_registry` | `https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.GoogleArtifactRegistry` Optional. Set if the artifact is stored in Artifact registry. |
| `↳ google_artifact_analysis` | `https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.GoogleArtifactAnalysis` Optional. Set if the artifact metadata is stored in Artifact analysis. |
| `↳ uri` | `string` Required. Immutable. The URI of the artifact that is deployed. e.g. `us-docker.pkg.dev/my-project/my-repo/image`. The URI does not include the tag / digest because it captures a lineage of artifacts. |

### getGoogleArtifactRegistry

Optional. Set if the artifact is stored in Artifact registry.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.GoogleArtifactRegistry|null` |   |

### hasGoogleArtifactRegistry

### setGoogleArtifactRegistry

Optional. Set if the artifact is stored in Artifact registry.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.GoogleArtifactRegistry` |

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

### getGoogleArtifactAnalysis

Optional. Set if the artifact metadata is stored in Artifact analysis.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.GoogleArtifactAnalysis|null` |   |

### hasGoogleArtifactAnalysis

### setGoogleArtifactAnalysis

Optional. Set if the artifact metadata is stored in Artifact analysis.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.GoogleArtifactAnalysis` |

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

### getUri

Required. Immutable. The URI of the artifact that is deployed.

e.g. `us-docker.pkg.dev/my-project/my-repo/image`.
The URI does not include the tag / digest because it captures a lineage of
artifacts.

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

### setUri

Required. Immutable. The URI of the artifact that is deployed.

e.g. `us-docker.pkg.dev/my-project/my-repo/image`.
The URI does not include the tag / digest because it captures a lineage of
artifacts.

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

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

### getArtifactStorage

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

### getArtifactMetadataStorage

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