Google Cloud Functions V2 Client - Class DockerRegistry (1.3.1)

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
NameDescription
value mixed

static::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;