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 e0465dc

Browse files
committedDec 7, 2023
feat(cloudfunctions): update the api
#### cloudfunctions:v1 The following keys were added: - schemas.AutomaticUpdatePolicy (Total Keys: 2) - schemas.CloudFunction.properties.automaticUpdatePolicy.$ref (Total Keys: 1) - schemas.CloudFunction.properties.onDeployUpdatePolicy.$ref (Total Keys: 1) - schemas.OnDeployUpdatePolicy (Total Keys: 4) #### cloudfunctions:v2 The following keys were added: - schemas.EventTrigger.properties.service.type (Total Keys: 1) #### cloudfunctions:v2alpha The following keys were added: - schemas.EventTrigger.properties.service.type (Total Keys: 1) #### cloudfunctions:v2beta The following keys were added: - schemas.EventTrigger.properties.service.type (Total Keys: 1)
1 parent f74daa2 commit e0465dc

8 files changed

+104
-34
lines changed
 

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

+20
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ <h3>Method Details</h3>
157157
The object takes the form of:
158158

159159
{ # Describes a Cloud Function that contains user computation executed in response to an event. It encapsulate function and triggers configurations.
160+
&quot;automaticUpdatePolicy&quot;: { # Security patches are applied automatically to the runtime without requiring the function to be redeployed. # See the comment next to this message for more details.
161+
},
160162
&quot;availableMemoryMb&quot;: 42, # The amount of memory in MB available for a function. Defaults to 256MB.
161163
&quot;buildEnvironmentVariables&quot;: { # Build environment variables that shall be available during build time.
162164
&quot;a_key&quot;: &quot;A String&quot;,
@@ -193,6 +195,9 @@ <h3>Method Details</h3>
193195
&quot;minInstances&quot;: 42, # A lower bound for the number function instances that may coexist at a given time.
194196
&quot;name&quot;: &quot;A String&quot;, # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
195197
&quot;network&quot;: &quot;A String&quot;, # Deprecated: use vpc_connector
198+
&quot;onDeployUpdatePolicy&quot;: { # Security patches are only applied when a function is redeployed. # See the comment next to this message for more details.
199+
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Output only. contains the runtime version which was used during latest function deployment.
200+
},
196201
&quot;runtime&quot;: &quot;A String&quot;, # The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
197202
&quot;secretEnvironmentVariables&quot;: [ # Secret environment variables configuration.
198203
{ # Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable.
@@ -363,6 +368,8 @@ <h3>Method Details</h3>
363368
An object of the form:
364369

365370
{ # Describes a Cloud Function that contains user computation executed in response to an event. It encapsulate function and triggers configurations.
371+
&quot;automaticUpdatePolicy&quot;: { # Security patches are applied automatically to the runtime without requiring the function to be redeployed. # See the comment next to this message for more details.
372+
},
366373
&quot;availableMemoryMb&quot;: 42, # The amount of memory in MB available for a function. Defaults to 256MB.
367374
&quot;buildEnvironmentVariables&quot;: { # Build environment variables that shall be available during build time.
368375
&quot;a_key&quot;: &quot;A String&quot;,
@@ -399,6 +406,9 @@ <h3>Method Details</h3>
399406
&quot;minInstances&quot;: 42, # A lower bound for the number function instances that may coexist at a given time.
400407
&quot;name&quot;: &quot;A String&quot;, # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
401408
&quot;network&quot;: &quot;A String&quot;, # Deprecated: use vpc_connector
409+
&quot;onDeployUpdatePolicy&quot;: { # Security patches are only applied when a function is redeployed. # See the comment next to this message for more details.
410+
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Output only. contains the runtime version which was used during latest function deployment.
411+
},
402412
&quot;runtime&quot;: &quot;A String&quot;, # The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
403413
&quot;secretEnvironmentVariables&quot;: [ # Secret environment variables configuration.
404414
{ # Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable.
@@ -505,6 +515,8 @@ <h3>Method Details</h3>
505515
{ # Response for the `ListFunctions` method.
506516
&quot;functions&quot;: [ # The functions that match the request.
507517
{ # Describes a Cloud Function that contains user computation executed in response to an event. It encapsulate function and triggers configurations.
518+
&quot;automaticUpdatePolicy&quot;: { # Security patches are applied automatically to the runtime without requiring the function to be redeployed. # See the comment next to this message for more details.
519+
},
508520
&quot;availableMemoryMb&quot;: 42, # The amount of memory in MB available for a function. Defaults to 256MB.
509521
&quot;buildEnvironmentVariables&quot;: { # Build environment variables that shall be available during build time.
510522
&quot;a_key&quot;: &quot;A String&quot;,
@@ -541,6 +553,9 @@ <h3>Method Details</h3>
541553
&quot;minInstances&quot;: 42, # A lower bound for the number function instances that may coexist at a given time.
542554
&quot;name&quot;: &quot;A String&quot;, # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
543555
&quot;network&quot;: &quot;A String&quot;, # Deprecated: use vpc_connector
556+
&quot;onDeployUpdatePolicy&quot;: { # Security patches are only applied when a function is redeployed. # See the comment next to this message for more details.
557+
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Output only. contains the runtime version which was used during latest function deployment.
558+
},
544559
&quot;runtime&quot;: &quot;A String&quot;, # The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
545560
&quot;secretEnvironmentVariables&quot;: [ # Secret environment variables configuration.
546561
{ # Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable.
@@ -610,6 +625,8 @@ <h3>Method Details</h3>
610625
The object takes the form of:
611626

612627
{ # Describes a Cloud Function that contains user computation executed in response to an event. It encapsulate function and triggers configurations.
628+
&quot;automaticUpdatePolicy&quot;: { # Security patches are applied automatically to the runtime without requiring the function to be redeployed. # See the comment next to this message for more details.
629+
},
613630
&quot;availableMemoryMb&quot;: 42, # The amount of memory in MB available for a function. Defaults to 256MB.
614631
&quot;buildEnvironmentVariables&quot;: { # Build environment variables that shall be available during build time.
615632
&quot;a_key&quot;: &quot;A String&quot;,
@@ -646,6 +663,9 @@ <h3>Method Details</h3>
646663
&quot;minInstances&quot;: 42, # A lower bound for the number function instances that may coexist at a given time.
647664
&quot;name&quot;: &quot;A String&quot;, # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
648665
&quot;network&quot;: &quot;A String&quot;, # Deprecated: use vpc_connector
666+
&quot;onDeployUpdatePolicy&quot;: { # Security patches are only applied when a function is redeployed. # See the comment next to this message for more details.
667+
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Output only. contains the runtime version which was used during latest function deployment.
668+
},
649669
&quot;runtime&quot;: &quot;A String&quot;, # The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
650670
&quot;secretEnvironmentVariables&quot;: [ # Secret environment variables configuration.
651671
{ # Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable.

0 commit comments

Comments
 (0)
Please sign in to comment.