Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8811528

Browse files
committedJul 25, 2023
feat(cloudfunctions): update the api
#### cloudfunctions:v1 The following keys were added: - schemas.GoogleCloudFunctionsV2OperationMetadata.properties.sourceToken.type (Total Keys: 1) - schemas.GoogleCloudFunctionsV2alphaOperationMetadata.properties.sourceToken.type (Total Keys: 1) - schemas.GoogleCloudFunctionsV2betaOperationMetadata.properties.sourceToken.type (Total Keys: 1) #### cloudfunctions:v2 The following keys were added: - schemas.BuildConfig.properties.sourceToken.type (Total Keys: 1) - schemas.GoogleCloudFunctionsV2OperationMetadata.properties.sourceToken.type (Total Keys: 1) - schemas.GoogleCloudFunctionsV2alphaOperationMetadata.properties.sourceToken.type (Total Keys: 1) - schemas.GoogleCloudFunctionsV2betaOperationMetadata.properties.sourceToken.type (Total Keys: 1) #### cloudfunctions:v2alpha The following keys were added: - schemas.BuildConfig.properties.sourceToken.type (Total Keys: 1) - schemas.GoogleCloudFunctionsV2OperationMetadata.properties.sourceToken.type (Total Keys: 1) - schemas.GoogleCloudFunctionsV2alphaOperationMetadata.properties.sourceToken.type (Total Keys: 1) - schemas.GoogleCloudFunctionsV2betaOperationMetadata.properties.sourceToken.type (Total Keys: 1) #### cloudfunctions:v2beta The following keys were added: - schemas.BuildConfig.properties.sourceToken.type (Total Keys: 1) - schemas.GoogleCloudFunctionsV2OperationMetadata.properties.sourceToken.type (Total Keys: 1) - schemas.GoogleCloudFunctionsV2alphaOperationMetadata.properties.sourceToken.type (Total Keys: 1) - schemas.GoogleCloudFunctionsV2betaOperationMetadata.properties.sourceToken.type (Total Keys: 1)
1 parent f0e1252 commit 8811528

7 files changed

+76
-4
lines changed
 

‎docs/dyn/cloudfunctions_v2.projects.locations.functions.html

+4
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ <h3>Method Details</h3>
167167
&quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.
168168
},
169169
},
170+
&quot;sourceToken&quot;: &quot;A String&quot;, # An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
170171
&quot;workerPool&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 (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.
171172
},
172173
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.
@@ -423,6 +424,7 @@ <h3>Method Details</h3>
423424
&quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.
424425
},
425426
},
427+
&quot;sourceToken&quot;: &quot;A String&quot;, # An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
426428
&quot;workerPool&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 (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.
427429
},
428430
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.
@@ -613,6 +615,7 @@ <h3>Method Details</h3>
613615
&quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.
614616
},
615617
},
618+
&quot;sourceToken&quot;: &quot;A String&quot;, # An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
616619
&quot;workerPool&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 (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.
617620
},
618621
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.
@@ -764,6 +767,7 @@ <h3>Method Details</h3>
764767
&quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.
765768
},
766769
},
770+
&quot;sourceToken&quot;: &quot;A String&quot;, # An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
767771
&quot;workerPool&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 (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.
768772
},
769773
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.

‎docs/dyn/cloudfunctions_v2alpha.projects.locations.functions.html

+4
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ <h3>Method Details</h3>
167167
&quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.
168168
},
169169
},
170+
&quot;sourceToken&quot;: &quot;A String&quot;, # An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
170171
&quot;workerPool&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 (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.
171172
},
172173
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.
@@ -423,6 +424,7 @@ <h3>Method Details</h3>
423424
&quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.
424425
},
425426
},
427+
&quot;sourceToken&quot;: &quot;A String&quot;, # An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
426428
&quot;workerPool&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 (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.
427429
},
428430
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.
@@ -613,6 +615,7 @@ <h3>Method Details</h3>
613615
&quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.
614616
},
615617
},
618+
&quot;sourceToken&quot;: &quot;A String&quot;, # An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
616619
&quot;workerPool&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 (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.
617620
},
618621
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.
@@ -764,6 +767,7 @@ <h3>Method Details</h3>
764767
&quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.
765768
},
766769
},
770+
&quot;sourceToken&quot;: &quot;A String&quot;, # An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
767771
&quot;workerPool&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 (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.
768772
},
769773
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.

‎docs/dyn/cloudfunctions_v2beta.projects.locations.functions.html

+4
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ <h3>Method Details</h3>
167167
&quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.
168168
},
169169
},
170+
&quot;sourceToken&quot;: &quot;A String&quot;, # An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
170171
&quot;workerPool&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 (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.
171172
},
172173
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.
@@ -423,6 +424,7 @@ <h3>Method Details</h3>
423424
&quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.
424425
},
425426
},
427+
&quot;sourceToken&quot;: &quot;A String&quot;, # An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
426428
&quot;workerPool&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 (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.
427429
},
428430
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.
@@ -613,6 +615,7 @@ <h3>Method Details</h3>
613615
&quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.
614616
},
615617
},
618+
&quot;sourceToken&quot;: &quot;A String&quot;, # An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
616619
&quot;workerPool&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 (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.
617620
},
618621
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.
@@ -764,6 +767,7 @@ <h3>Method Details</h3>
764767
&quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.
765768
},
766769
},
770+
&quot;sourceToken&quot;: &quot;A String&quot;, # An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
767771
&quot;workerPool&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 (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.
768772
},
769773
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.

‎googleapiclient/discovery_cache/documents/cloudfunctions.v1.json

+13-1
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@
546546
}
547547
}
548548
},
549-
"revision": "20230710",
549+
"revision": "20230713",
550550
"rootUrl": "https://cloudfunctions.googleapis.com/",
551551
"schemas": {
552552
"AuditConfig": {
@@ -1018,6 +1018,10 @@
10181018
"description": "The original request that started the operation.",
10191019
"type": "object"
10201020
},
1021+
"sourceToken": {
1022+
"description": "An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.",
1023+
"type": "string"
1024+
},
10211025
"stages": {
10221026
"description": "Mechanism for reporting in-progress stages",
10231027
"items": {
@@ -1189,6 +1193,10 @@
11891193
"description": "The original request that started the operation.",
11901194
"type": "object"
11911195
},
1196+
"sourceToken": {
1197+
"description": "An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.",
1198+
"type": "string"
1199+
},
11921200
"stages": {
11931201
"description": "Mechanism for reporting in-progress stages",
11941202
"items": {
@@ -1360,6 +1368,10 @@
13601368
"description": "The original request that started the operation.",
13611369
"type": "object"
13621370
},
1371+
"sourceToken": {
1372+
"description": "An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.",
1373+
"type": "string"
1374+
},
13631375
"stages": {
13641376
"description": "Mechanism for reporting in-progress stages",
13651377
"items": {

‎googleapiclient/discovery_cache/documents/cloudfunctions.v2.json

+17-1
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@
571571
}
572572
}
573573
},
574-
"revision": "20230710",
574+
"revision": "20230713",
575575
"rootUrl": "https://cloudfunctions.googleapis.com/",
576576
"schemas": {
577577
"AuditConfig": {
@@ -695,6 +695,10 @@
695695
"description": "Output only. A permanent fixed identifier for source.",
696696
"readOnly": true
697697
},
698+
"sourceToken": {
699+
"description": "An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.",
700+
"type": "string"
701+
},
698702
"workerPool": {
699703
"description": "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 (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.",
700704
"type": "string"
@@ -991,6 +995,10 @@
991995
"description": "The original request that started the operation.",
992996
"type": "object"
993997
},
998+
"sourceToken": {
999+
"description": "An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.",
1000+
"type": "string"
1001+
},
9941002
"stages": {
9951003
"description": "Mechanism for reporting in-progress stages",
9961004
"items": {
@@ -1162,6 +1170,10 @@
11621170
"description": "The original request that started the operation.",
11631171
"type": "object"
11641172
},
1173+
"sourceToken": {
1174+
"description": "An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.",
1175+
"type": "string"
1176+
},
11651177
"stages": {
11661178
"description": "Mechanism for reporting in-progress stages",
11671179
"items": {
@@ -1333,6 +1345,10 @@
13331345
"description": "The original request that started the operation.",
13341346
"type": "object"
13351347
},
1348+
"sourceToken": {
1349+
"description": "An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.",
1350+
"type": "string"
1351+
},
13361352
"stages": {
13371353
"description": "Mechanism for reporting in-progress stages",
13381354
"items": {

‎googleapiclient/discovery_cache/documents/cloudfunctions.v2alpha.json

+17-1
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@
571571
}
572572
}
573573
},
574-
"revision": "20230710",
574+
"revision": "20230713",
575575
"rootUrl": "https://cloudfunctions.googleapis.com/",
576576
"schemas": {
577577
"AuditConfig": {
@@ -695,6 +695,10 @@
695695
"description": "Output only. A permanent fixed identifier for source.",
696696
"readOnly": true
697697
},
698+
"sourceToken": {
699+
"description": "An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.",
700+
"type": "string"
701+
},
698702
"workerPool": {
699703
"description": "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 (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.",
700704
"type": "string"
@@ -991,6 +995,10 @@
991995
"description": "The original request that started the operation.",
992996
"type": "object"
993997
},
998+
"sourceToken": {
999+
"description": "An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.",
1000+
"type": "string"
1001+
},
9941002
"stages": {
9951003
"description": "Mechanism for reporting in-progress stages",
9961004
"items": {
@@ -1162,6 +1170,10 @@
11621170
"description": "The original request that started the operation.",
11631171
"type": "object"
11641172
},
1173+
"sourceToken": {
1174+
"description": "An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.",
1175+
"type": "string"
1176+
},
11651177
"stages": {
11661178
"description": "Mechanism for reporting in-progress stages",
11671179
"items": {
@@ -1333,6 +1345,10 @@
13331345
"description": "The original request that started the operation.",
13341346
"type": "object"
13351347
},
1348+
"sourceToken": {
1349+
"description": "An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.",
1350+
"type": "string"
1351+
},
13361352
"stages": {
13371353
"description": "Mechanism for reporting in-progress stages",
13381354
"items": {

‎googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json

+17-1
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@
571571
}
572572
}
573573
},
574-
"revision": "20230710",
574+
"revision": "20230713",
575575
"rootUrl": "https://cloudfunctions.googleapis.com/",
576576
"schemas": {
577577
"AuditConfig": {
@@ -695,6 +695,10 @@
695695
"description": "Output only. A permanent fixed identifier for source.",
696696
"readOnly": true
697697
},
698+
"sourceToken": {
699+
"description": "An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.",
700+
"type": "string"
701+
},
698702
"workerPool": {
699703
"description": "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 (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.",
700704
"type": "string"
@@ -991,6 +995,10 @@
991995
"description": "The original request that started the operation.",
992996
"type": "object"
993997
},
998+
"sourceToken": {
999+
"description": "An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.",
1000+
"type": "string"
1001+
},
9941002
"stages": {
9951003
"description": "Mechanism for reporting in-progress stages",
9961004
"items": {
@@ -1162,6 +1170,10 @@
11621170
"description": "The original request that started the operation.",
11631171
"type": "object"
11641172
},
1173+
"sourceToken": {
1174+
"description": "An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.",
1175+
"type": "string"
1176+
},
11651177
"stages": {
11661178
"description": "Mechanism for reporting in-progress stages",
11671179
"items": {
@@ -1333,6 +1345,10 @@
13331345
"description": "The original request that started the operation.",
13341346
"type": "object"
13351347
},
1348+
"sourceToken": {
1349+
"description": "An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.",
1350+
"type": "string"
1351+
},
13361352
"stages": {
13371353
"description": "Mechanism for reporting in-progress stages",
13381354
"items": {

0 commit comments

Comments
 (0)
Please sign in to comment.