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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Cloud Functions V2 API - Module Google::Cloud::Functions::V2::BuildConfig::DockerRegistry (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-BuildConfig-DockerRegistry)\n- [1.0.2](/ruby/docs/reference/google-cloud-functions-v2/1.0.2/Google-Cloud-Functions-V2-BuildConfig-DockerRegistry)\n- [0.10.0](/ruby/docs/reference/google-cloud-functions-v2/0.10.0/Google-Cloud-Functions-V2-BuildConfig-DockerRegistry)\n- [0.9.0](/ruby/docs/reference/google-cloud-functions-v2/0.9.0/Google-Cloud-Functions-V2-BuildConfig-DockerRegistry)\n- [0.8.1](/ruby/docs/reference/google-cloud-functions-v2/0.8.1/Google-Cloud-Functions-V2-BuildConfig-DockerRegistry)\n- [0.7.0](/ruby/docs/reference/google-cloud-functions-v2/0.7.0/Google-Cloud-Functions-V2-BuildConfig-DockerRegistry)\n- [0.6.2](/ruby/docs/reference/google-cloud-functions-v2/0.6.2/Google-Cloud-Functions-V2-BuildConfig-DockerRegistry)\n- [0.5.0](/ruby/docs/reference/google-cloud-functions-v2/0.5.0/Google-Cloud-Functions-V2-BuildConfig-DockerRegistry)\n- [0.4.1](/ruby/docs/reference/google-cloud-functions-v2/0.4.1/Google-Cloud-Functions-V2-BuildConfig-DockerRegistry)\n- [0.3.0](/ruby/docs/reference/google-cloud-functions-v2/0.3.0/Google-Cloud-Functions-V2-BuildConfig-DockerRegistry)\n- [0.2.0](/ruby/docs/reference/google-cloud-functions-v2/0.2.0/Google-Cloud-Functions-V2-BuildConfig-DockerRegistry)\n- [0.1.0](/ruby/docs/reference/google-cloud-functions-v2/0.1.0/Google-Cloud-Functions-V2-BuildConfig-DockerRegistry) \nReference documentation and code samples for the Cloud Functions V2 API module Google::Cloud::Functions::V2::BuildConfig::DockerRegistry.\n\nDocker Registry to use for storing function Docker images.\n\nConstants\n---------\n\n### DOCKER_REGISTRY_UNSPECIFIED\n\n**value:** 0 \nUnspecified.\n\n### CONTAINER_REGISTRY\n\n**value:** 1 \nDocker images will be stored in multi-regional Container Registry\nrepositories named `gcf`.\n\n### ARTIFACT_REGISTRY\n\n**value:** 2 \nDocker images will be stored in regional Artifact Registry repositories.\nBy default, GCF will create and use repositories named `gcf-artifacts`\nin every region in which a function is deployed. But the repository to\nuse can also be specified by the user using the `docker_repository`\nfield."]]