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 CustomRepository.

Customer-specified publicly available remote repository.

Generated from protobuf message `google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository.CustomRepository`

## Namespace

Google \\ Cloud \\ ArtifactRegistry \\ V1 \\ RemoteRepositoryConfig \\ DockerRepository

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uri` | `string` An http/https uri reference to the custom remote repository, for ex: "<https://registry-1.docker.io>". |

### getUri

An http/https uri reference to the custom remote repository, for ex:
"<https://registry-1.docker.io>".

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

### setUri

An http/https uri reference to the custom remote repository, for ex:
"<https://registry-1.docker.io>".

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

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