Google Cloud Functions V2 Client - Class DockerRegistry (1.1.2)

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

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
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;