2.15.0 (latest) 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.1.0 1.0.0

    public sealed class RemoteRepositoryConfig.Types.DockerRepository : IMessage<RemoteRepositoryConfig.Types.DockerRepository>, IEquatable<RemoteRepositoryConfig.Types.DockerRepository>, IDeepCloneable<RemoteRepositoryConfig.Types.DockerRepository>, IBufferMessage, IMessage

Reference documentation and code samples for the Artifact Registry v1 API class RemoteRepositoryConfig.Types.DockerRepository.

Configuration for a Docker remote repository.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[RemoteRepositoryConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.RemoteRepositoryConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.RemoteRepositoryConfig.Types.md.txt)[DockerRepository](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.RemoteRepositoryConfig.Types.DockerRepository.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RemoteRepositoryConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.RemoteRepositoryConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.RemoteRepositoryConfig.Types.md.txt)[DockerRepository](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.RemoteRepositoryConfig.Types.DockerRepository.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[RemoteRepositoryConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.RemoteRepositoryConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.RemoteRepositoryConfig.Types.md.txt)[DockerRepository](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.RemoteRepositoryConfig.Types.DockerRepository.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.ArtifactRegistry.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.md.txt)

## Assembly

Google.Cloud.ArtifactRegistry.V1.dll

## Constructors

### DockerRepository()

    public DockerRepository()

### DockerRepository(DockerRepository)

    public DockerRepository(RemoteRepositoryConfig.Types.DockerRepository other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `RemoteRepositoryConfigTypesDockerRepository` |

## Properties

### CustomRepository

    public RemoteRepositoryConfig.Types.DockerRepository.Types.CustomRepository CustomRepository { get; set; }

Customer-specified remote repository.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RemoteRepositoryConfigTypesDockerRepositoryTypesCustomRepository` |   |

### HasPublicRepository

    public bool HasPublicRepository { get; }

Gets whether the "public_repository" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### PublicRepository

    public RemoteRepositoryConfig.Types.DockerRepository.Types.PublicRepository PublicRepository { get; set; }

One of the publicly available Docker repositories supported by Artifact
Registry.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RemoteRepositoryConfigTypesDockerRepositoryTypesPublicRepository` |   |

### UpstreamCase

    public RemoteRepositoryConfig.Types.DockerRepository.UpstreamOneofCase UpstreamCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RemoteRepositoryConfigTypesDockerRepositoryUpstreamOneofCase` |   |