Skip to content

Commit 83d294c

Browse files
chore(cloudfunctions): update the api
#### cloudfunctions:v1 The following keys were added: - schemas.CloudFunction.properties.buildWorkerPool (Total Keys: 1) - schemas.CloudFunction.properties.sourceToken (Total Keys: 1) - schemas.HttpsTrigger.properties.securityLevel (Total Keys: 1) - schemas.OperationMetadataV1.properties.sourceToken (Total Keys: 1)
1 parent 9378386 commit 83d294c

File tree

2 files changed

+1211
-1173
lines changed

2 files changed

+1211
-1173
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ <h3>Method Details</h3>
162162
&quot;a_key&quot;: &quot;A String&quot;,
163163
},
164164
&quot;buildId&quot;: &quot;A String&quot;, # Output only. The Cloud Build ID of the latest successful deployment of the function.
165+
&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.
165166
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.
166167
&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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named &quot;function&quot;. For Node.js this is name of a function exported by the module specified in `source_location`.
167168
&quot;environmentVariables&quot;: { # Environment variables that shall be available during function execution.
@@ -177,6 +178,7 @@ <h3>Method Details</h3>
177178
&quot;service&quot;: &quot;A String&quot;, # The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, `storage.googleapis.com` is the default for all event types in the `google.storage` namespace.
178179
},
179180
&quot;httpsTrigger&quot;: { # Describes HttpsTrigger, could be used to connect web hooks to function. # An HTTPS endpoint type of source that can be triggered via URL.
181+
&quot;securityLevel&quot;: &quot;A String&quot;, # The security level for the function.
180182
&quot;url&quot;: &quot;A String&quot;, # Output only. The deployed url for the function.
181183
},
182184
&quot;ingressSettings&quot;: &quot;A String&quot;, # The ingress settings for the function, controlling what traffic can reach it.
@@ -193,6 +195,7 @@ <h3>Method Details</h3>
193195
&quot;deployedUrl&quot;: &quot;A String&quot;, # Output only. The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
194196
&quot;url&quot;: &quot;A String&quot;, # The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` To refer to a moveable alias (branch): `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*` You may omit `paths/*` if you want to use the main directory.
195197
},
198+
&quot;sourceToken&quot;: &quot;A String&quot;, # Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
196199
&quot;sourceUploadUrl&quot;: &quot;A String&quot;, # The Google Cloud Storage signed URL used for source uploading, generated by google.cloud.functions.v1.GenerateUploadUrl
197200
&quot;status&quot;: &quot;A String&quot;, # Output only. Status of the function deployment.
198201
&quot;timeout&quot;: &quot;A String&quot;, # The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
@@ -337,6 +340,7 @@ <h3>Method Details</h3>
337340
&quot;a_key&quot;: &quot;A String&quot;,
338341
},
339342
&quot;buildId&quot;: &quot;A String&quot;, # Output only. The Cloud Build ID of the latest successful deployment of the function.
343+
&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.
340344
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.
341345
&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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named &quot;function&quot;. For Node.js this is name of a function exported by the module specified in `source_location`.
342346
&quot;environmentVariables&quot;: { # Environment variables that shall be available during function execution.
@@ -352,6 +356,7 @@ <h3>Method Details</h3>
352356
&quot;service&quot;: &quot;A String&quot;, # The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, `storage.googleapis.com` is the default for all event types in the `google.storage` namespace.
353357
},
354358
&quot;httpsTrigger&quot;: { # Describes HttpsTrigger, could be used to connect web hooks to function. # An HTTPS endpoint type of source that can be triggered via URL.
359+
&quot;securityLevel&quot;: &quot;A String&quot;, # The security level for the function.
355360
&quot;url&quot;: &quot;A String&quot;, # Output only. The deployed url for the function.
356361
},
357362
&quot;ingressSettings&quot;: &quot;A String&quot;, # The ingress settings for the function, controlling what traffic can reach it.
@@ -368,6 +373,7 @@ <h3>Method Details</h3>
368373
&quot;deployedUrl&quot;: &quot;A String&quot;, # Output only. The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
369374
&quot;url&quot;: &quot;A String&quot;, # The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` To refer to a moveable alias (branch): `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*` You may omit `paths/*` if you want to use the main directory.
370375
},
376+
&quot;sourceToken&quot;: &quot;A String&quot;, # Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
371377
&quot;sourceUploadUrl&quot;: &quot;A String&quot;, # The Google Cloud Storage signed URL used for source uploading, generated by google.cloud.functions.v1.GenerateUploadUrl
372378
&quot;status&quot;: &quot;A String&quot;, # Output only. Status of the function deployment.
373379
&quot;timeout&quot;: &quot;A String&quot;, # The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
@@ -450,6 +456,7 @@ <h3>Method Details</h3>
450456
&quot;a_key&quot;: &quot;A String&quot;,
451457
},
452458
&quot;buildId&quot;: &quot;A String&quot;, # Output only. The Cloud Build ID of the latest successful deployment of the function.
459+
&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.
453460
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.
454461
&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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named &quot;function&quot;. For Node.js this is name of a function exported by the module specified in `source_location`.
455462
&quot;environmentVariables&quot;: { # Environment variables that shall be available during function execution.
@@ -465,6 +472,7 @@ <h3>Method Details</h3>
465472
&quot;service&quot;: &quot;A String&quot;, # The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, `storage.googleapis.com` is the default for all event types in the `google.storage` namespace.
466473
},
467474
&quot;httpsTrigger&quot;: { # Describes HttpsTrigger, could be used to connect web hooks to function. # An HTTPS endpoint type of source that can be triggered via URL.
475+
&quot;securityLevel&quot;: &quot;A String&quot;, # The security level for the function.
468476
&quot;url&quot;: &quot;A String&quot;, # Output only. The deployed url for the function.
469477
},
470478
&quot;ingressSettings&quot;: &quot;A String&quot;, # The ingress settings for the function, controlling what traffic can reach it.
@@ -481,6 +489,7 @@ <h3>Method Details</h3>
481489
&quot;deployedUrl&quot;: &quot;A String&quot;, # Output only. The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
482490
&quot;url&quot;: &quot;A String&quot;, # The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` To refer to a moveable alias (branch): `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*` You may omit `paths/*` if you want to use the main directory.
483491
},
492+
&quot;sourceToken&quot;: &quot;A String&quot;, # Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
484493
&quot;sourceUploadUrl&quot;: &quot;A String&quot;, # The Google Cloud Storage signed URL used for source uploading, generated by google.cloud.functions.v1.GenerateUploadUrl
485494
&quot;status&quot;: &quot;A String&quot;, # Output only. Status of the function deployment.
486495
&quot;timeout&quot;: &quot;A String&quot;, # The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
@@ -526,6 +535,7 @@ <h3>Method Details</h3>
526535
&quot;a_key&quot;: &quot;A String&quot;,
527536
},
528537
&quot;buildId&quot;: &quot;A String&quot;, # Output only. The Cloud Build ID of the latest successful deployment of the function.
538+
&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.
529539
&quot;description&quot;: &quot;A String&quot;, # User-provided description of a function.
530540
&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, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named &quot;function&quot;. For Node.js this is name of a function exported by the module specified in `source_location`.
531541
&quot;environmentVariables&quot;: { # Environment variables that shall be available during function execution.
@@ -541,6 +551,7 @@ <h3>Method Details</h3>
541551
&quot;service&quot;: &quot;A String&quot;, # The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, `storage.googleapis.com` is the default for all event types in the `google.storage` namespace.
542552
},
543553
&quot;httpsTrigger&quot;: { # Describes HttpsTrigger, could be used to connect web hooks to function. # An HTTPS endpoint type of source that can be triggered via URL.
554+
&quot;securityLevel&quot;: &quot;A String&quot;, # The security level for the function.
544555
&quot;url&quot;: &quot;A String&quot;, # Output only. The deployed url for the function.
545556
},
546557
&quot;ingressSettings&quot;: &quot;A String&quot;, # The ingress settings for the function, controlling what traffic can reach it.
@@ -557,6 +568,7 @@ <h3>Method Details</h3>
557568
&quot;deployedUrl&quot;: &quot;A String&quot;, # Output only. The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above.
558569
&quot;url&quot;: &quot;A String&quot;, # The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` To refer to a moveable alias (branch): `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*` You may omit `paths/*` if you want to use the main directory.
559570
},
571+
&quot;sourceToken&quot;: &quot;A String&quot;, # Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
560572
&quot;sourceUploadUrl&quot;: &quot;A String&quot;, # The Google Cloud Storage signed URL used for source uploading, generated by google.cloud.functions.v1.GenerateUploadUrl
561573
&quot;status&quot;: &quot;A String&quot;, # Output only. Status of the function deployment.
562574
&quot;timeout&quot;: &quot;A String&quot;, # The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.

0 commit comments

Comments
 (0)