# Cloud Functions V2 API - Module Google::Cloud::Functions::V2::BuildConfig::DockerRegistry (v1.5.1)

1.5.1 (latest) 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.2 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.0 0.4.1 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Functions V2 API module Google::Cloud::Functions::V2::BuildConfig::DockerRegistry.

Docker Registry to use for storing function Docker images.

## Constants

### DOCKER_REGISTRY_UNSPECIFIED

**value:** 0  
Unspecified.

### CONTAINER_REGISTRY

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

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