# Developer Connect v1 API - Class ArtifactConfig (1.0.0-beta04)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.0.0-beta04 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ArtifactConfig)
- [1.0.0-beta03](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/1.0.0-beta03/Google.Cloud.DeveloperConnect.V1.ArtifactConfig)

    public sealed class ArtifactConfig : IMessage<ArtifactConfig>, IEquatable<ArtifactConfig>, IDeepCloneable<ArtifactConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Developer Connect v1 API class ArtifactConfig.

The artifact config of the artifact that is deployed.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ArtifactConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ArtifactConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ArtifactConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ArtifactConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ArtifactConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ArtifactConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ArtifactConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DeveloperConnect.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1)

## Assembly

Google.Cloud.DeveloperConnect.V1.dll

## Constructors

### ArtifactConfig()

    public ArtifactConfig()

### ArtifactConfig(ArtifactConfig)

    public ArtifactConfig(ArtifactConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ArtifactConfig` |

## Properties

### ArtifactMetadataStorageCase

    public ArtifactConfig.ArtifactMetadataStorageOneofCase ArtifactMetadataStorageCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ArtifactConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ArtifactConfig.ArtifactMetadataStorageOneofCase` |   |

### ArtifactStorageCase

    public ArtifactConfig.ArtifactStorageOneofCase ArtifactStorageCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ArtifactConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ArtifactConfig.ArtifactStorageOneofCase` |   |

### GoogleArtifactAnalysis

    public GoogleArtifactAnalysis GoogleArtifactAnalysis { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GoogleArtifactAnalysis` |   |

### GoogleArtifactRegistry

    public GoogleArtifactRegistry GoogleArtifactRegistry { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GoogleArtifactRegistry` |   |

### Uri

    public string Uri { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |