Skip to content

Commit 2f93510

Browse files
feat(cloudfunctions): update the api
#### cloudfunctions:v1 The following keys were added: - schemas.CloudFunction.properties.dockerRegistry.deprecated (Total Keys: 1)
1 parent ff08068 commit 2f93510

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

docs/dyn/cloudfunctions_v1.projects.locations.functions.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ <h3>Method Details</h3>
168168
&quot;buildServiceAccount&quot;: &quot;A String&quot;, # A service account the user provides for use with Cloud Build. The format of this field is `projects/{projectId}/serviceAccounts/{serviceAccountEmail}`.
169169
&quot;buildWorkerPool&quot;: &quot;A String&quot;, # Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}` where `{project}` and `{region}` are the project id and region respectively where the worker pool is defined and `{workerPool}` is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (`[email protected]`) must be granted the role Cloud Build Custom Workers Builder (`roles/cloudbuild.customworkers.builder`) in the project.
170170
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.
171-
&quot;dockerRegistry&quot;: &quot;A String&quot;, # Docker Registry to use for this deployment. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.
171+
&quot;dockerRegistry&quot;: &quot;A String&quot;, # Docker Registry to use for this deployment. Deprecated: Container Registry option will no longer be available after March 2025: https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr Please use Artifact Registry instead, which is the default choice. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.
172172
&quot;dockerRepository&quot;: &quot;A String&quot;, # User-managed repository created in Artifact Registry to which the function&#x27;s Docker image will be pushed after it is built by Cloud Build. May optionally be encrypted with a customer-managed encryption key (CMEK). If unspecified and `docker_registry` is not explicitly set to `CONTAINER_REGISTRY`, GCF will create and use a default Artifact Registry repository named &#x27;gcf-artifacts&#x27; in the region. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be &#x27;DOCKER&#x27;.
173173
&quot;entryPoint&quot;: &quot;A String&quot;, # The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.
174174
&quot;environmentVariables&quot;: { # Environment variables that shall be available during function execution.
@@ -380,7 +380,7 @@ <h3>Method Details</h3>
380380
&quot;buildServiceAccount&quot;: &quot;A String&quot;, # A service account the user provides for use with Cloud Build. The format of this field is `projects/{projectId}/serviceAccounts/{serviceAccountEmail}`.
381381
&quot;buildWorkerPool&quot;: &quot;A String&quot;, # Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}` where `{project}` and `{region}` are the project id and region respectively where the worker pool is defined and `{workerPool}` is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (`[email protected]`) must be granted the role Cloud Build Custom Workers Builder (`roles/cloudbuild.customworkers.builder`) in the project.
382382
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.
383-
&quot;dockerRegistry&quot;: &quot;A String&quot;, # Docker Registry to use for this deployment. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.
383+
&quot;dockerRegistry&quot;: &quot;A String&quot;, # Docker Registry to use for this deployment. Deprecated: Container Registry option will no longer be available after March 2025: https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr Please use Artifact Registry instead, which is the default choice. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.
384384
&quot;dockerRepository&quot;: &quot;A String&quot;, # User-managed repository created in Artifact Registry to which the function&#x27;s Docker image will be pushed after it is built by Cloud Build. May optionally be encrypted with a customer-managed encryption key (CMEK). If unspecified and `docker_registry` is not explicitly set to `CONTAINER_REGISTRY`, GCF will create and use a default Artifact Registry repository named &#x27;gcf-artifacts&#x27; in the region. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be &#x27;DOCKER&#x27;.
385385
&quot;entryPoint&quot;: &quot;A String&quot;, # The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.
386386
&quot;environmentVariables&quot;: { # Environment variables that shall be available during function execution.
@@ -528,7 +528,7 @@ <h3>Method Details</h3>
528528
&quot;buildServiceAccount&quot;: &quot;A String&quot;, # A service account the user provides for use with Cloud Build. The format of this field is `projects/{projectId}/serviceAccounts/{serviceAccountEmail}`.
529529
&quot;buildWorkerPool&quot;: &quot;A String&quot;, # Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}` where `{project}` and `{region}` are the project id and region respectively where the worker pool is defined and `{workerPool}` is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (`[email protected]`) must be granted the role Cloud Build Custom Workers Builder (`roles/cloudbuild.customworkers.builder`) in the project.
530530
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.
531-
&quot;dockerRegistry&quot;: &quot;A String&quot;, # Docker Registry to use for this deployment. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.
531+
&quot;dockerRegistry&quot;: &quot;A String&quot;, # Docker Registry to use for this deployment. Deprecated: Container Registry option will no longer be available after March 2025: https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr Please use Artifact Registry instead, which is the default choice. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.
532532
&quot;dockerRepository&quot;: &quot;A String&quot;, # User-managed repository created in Artifact Registry to which the function&#x27;s Docker image will be pushed after it is built by Cloud Build. May optionally be encrypted with a customer-managed encryption key (CMEK). If unspecified and `docker_registry` is not explicitly set to `CONTAINER_REGISTRY`, GCF will create and use a default Artifact Registry repository named &#x27;gcf-artifacts&#x27; in the region. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be &#x27;DOCKER&#x27;.
533533
&quot;entryPoint&quot;: &quot;A String&quot;, # The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.
534534
&quot;environmentVariables&quot;: { # Environment variables that shall be available during function execution.
@@ -639,7 +639,7 @@ <h3>Method Details</h3>
639639
&quot;buildServiceAccount&quot;: &quot;A String&quot;, # A service account the user provides for use with Cloud Build. The format of this field is `projects/{projectId}/serviceAccounts/{serviceAccountEmail}`.
640640
&quot;buildWorkerPool&quot;: &quot;A String&quot;, # Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}` where `{project}` and `{region}` are the project id and region respectively where the worker pool is defined and `{workerPool}` is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (`[email protected]`) must be granted the role Cloud Build Custom Workers Builder (`roles/cloudbuild.customworkers.builder`) in the project.
641641
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.
642-
&quot;dockerRegistry&quot;: &quot;A String&quot;, # Docker Registry to use for this deployment. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.
642+
&quot;dockerRegistry&quot;: &quot;A String&quot;, # Docker Registry to use for this deployment. Deprecated: Container Registry option will no longer be available after March 2025: https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr Please use Artifact Registry instead, which is the default choice. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.
643643
&quot;dockerRepository&quot;: &quot;A String&quot;, # User-managed repository created in Artifact Registry to which the function&#x27;s Docker image will be pushed after it is built by Cloud Build. May optionally be encrypted with a customer-managed encryption key (CMEK). If unspecified and `docker_registry` is not explicitly set to `CONTAINER_REGISTRY`, GCF will create and use a default Artifact Registry repository named &#x27;gcf-artifacts&#x27; in the region. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be &#x27;DOCKER&#x27;.
644644
&quot;entryPoint&quot;: &quot;A String&quot;, # The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix (ID of the function), if not specified.
645645
&quot;environmentVariables&quot;: { # Environment variables that shall be available during function execution.

googleapiclient/discovery_cache/documents/cloudfunctions.v1.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@
552552
}
553553
}
554554
},
555-
"revision": "20240905",
555+
"revision": "20250102",
556556
"rootUrl": "https://cloudfunctions.googleapis.com/",
557557
"schemas": {
558558
"AuditConfig": {
@@ -703,7 +703,8 @@
703703
"type": "string"
704704
},
705705
"dockerRegistry": {
706-
"description": "Docker Registry to use for this deployment. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.",
706+
"deprecated": true,
707+
"description": "Docker Registry to use for this deployment. Deprecated: Container Registry option will no longer be available after March 2025: https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr Please use Artifact Registry instead, which is the default choice. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.",
707708
"enum": [
708709
"DOCKER_REGISTRY_UNSPECIFIED",
709710
"CONTAINER_REGISTRY",

0 commit comments

Comments
 (0)