# Google Cloud Functions V2 Client - Class DockerRegistry (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.7.0 1.6.5 1.5.0 1.4.2 1.3.1 1.2.0 1.1.2 1.0.3 Reference documentation and code samples for the Google Cloud Functions V2 Client class DockerRegistry.

Docker Registry to use for storing function Docker images.

Protobuf type `google.cloud.functions.v2.BuildConfig.DockerRegistry`

## Namespace

Google \\ Cloud \\ Functions \\ V2 \\ BuildConfig

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### DOCKER_REGISTRY_UNSPECIFIED

    Value: 0

Unspecified.

Generated from protobuf enum `DOCKER_REGISTRY_UNSPECIFIED = 0;`

### CONTAINER_REGISTRY

    Value: 1

Docker images will be stored in multi-regional Container Registry
repositories named `gcf`.

Generated from protobuf enum `CONTAINER_REGISTRY = 1;`

### ARTIFACT_REGISTRY

    Value: 2

Docker images will be stored in regional Artifact Registry repositories.

By default, GCF will create and use repositories named `gcf-artifacts`
in every region in which a function is deployed. But the repository to
use can also be specified by the user using the `docker_repository`
field.

Generated from protobuf enum `ARTIFACT_REGISTRY = 2;`