Skip to content

Commit c98457c

Browse files
Google APIscopybara-github
authored andcommitted
docs: updated docker_registry proto to reflect its deprecated status
docs: fixed typo PiperOrigin-RevId: 744033945
1 parent ad03166 commit c98457c

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

google/cloud/functions/v1/functions.proto

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,11 +476,15 @@ message CloudFunction {
476476
}];
477477

478478
// Docker Registry to use for this deployment.
479+
// As of March 2025, `CONTAINER_REGISTRY` option is no longer
480+
// available in response to Container Registry's deprecation:
481+
// https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr
482+
// Please use Artifact Registry instead, which is the default choice.
479483
//
480484
// If unspecified, it defaults to `ARTIFACT_REGISTRY`.
481485
// If `docker_repository` field is specified, this field should either be left
482486
// unspecified or set to `ARTIFACT_REGISTRY`.
483-
DockerRegistry docker_registry = 35;
487+
DockerRegistry docker_registry = 35 [deprecated = true];
484488

485489
// This controls when security patches are applied to the runtime environment.
486490
oneof runtime_update_policy {
@@ -646,7 +650,7 @@ message SecretEnvVar {
646650
// Name of the environment variable.
647651
string key = 1;
648652

649-
// Project identifier (preferrably project number but can also be the project
653+
// Project identifier (preferably project number but can also be the project
650654
// ID) of the project that contains the secret. If not set, it will be
651655
// populated with the function's project assuming that the secret exists in
652656
// the same project as of the function.

0 commit comments

Comments
 (0)