Skip to content

Commit

Permalink
feat(cloudfunctions): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Dec 7, 2023
1 parent f74daa2 commit e0465dc
Show file tree
Hide file tree
Showing 8 changed files with 104 additions and 34 deletions.
20 changes: 20 additions & 0 deletions docs/dyn/cloudfunctions_v1.projects.locations.functions.html
Expand Up @@ -157,6 +157,8 @@ <h3>Method Details</h3>
The object takes the form of:

{ # Describes a Cloud Function that contains user computation executed in response to an event. It encapsulate function and triggers configurations.
&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.
},
&quot;availableMemoryMb&quot;: 42, # The amount of memory in MB available for a function. Defaults to 256MB.
&quot;buildEnvironmentVariables&quot;: { # Build environment variables that shall be available during build time.
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down Expand Up @@ -193,6 +195,9 @@ <h3>Method Details</h3>
&quot;minInstances&quot;: 42, # A lower bound for the number function instances that may coexist at a given time.
&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/*`
&quot;network&quot;: &quot;A String&quot;, # Deprecated: use vpc_connector
&quot;onDeployUpdatePolicy&quot;: { # Security patches are only applied when a function is redeployed. # See the comment next to this message for more details.
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Output only. contains the runtime version which was used during latest function deployment.
},
&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).
&quot;secretEnvironmentVariables&quot;: [ # Secret environment variables configuration.
{ # 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.
Expand Down Expand Up @@ -363,6 +368,8 @@ <h3>Method Details</h3>
An object of the form:

{ # Describes a Cloud Function that contains user computation executed in response to an event. It encapsulate function and triggers configurations.
&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.
},
&quot;availableMemoryMb&quot;: 42, # The amount of memory in MB available for a function. Defaults to 256MB.
&quot;buildEnvironmentVariables&quot;: { # Build environment variables that shall be available during build time.
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down Expand Up @@ -399,6 +406,9 @@ <h3>Method Details</h3>
&quot;minInstances&quot;: 42, # A lower bound for the number function instances that may coexist at a given time.
&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/*`
&quot;network&quot;: &quot;A String&quot;, # Deprecated: use vpc_connector
&quot;onDeployUpdatePolicy&quot;: { # Security patches are only applied when a function is redeployed. # See the comment next to this message for more details.
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Output only. contains the runtime version which was used during latest function deployment.
},
&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).
&quot;secretEnvironmentVariables&quot;: [ # Secret environment variables configuration.
{ # 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.
Expand Down Expand Up @@ -505,6 +515,8 @@ <h3>Method Details</h3>
{ # Response for the `ListFunctions` method.
&quot;functions&quot;: [ # The functions that match the request.
{ # Describes a Cloud Function that contains user computation executed in response to an event. It encapsulate function and triggers configurations.
&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.
},
&quot;availableMemoryMb&quot;: 42, # The amount of memory in MB available for a function. Defaults to 256MB.
&quot;buildEnvironmentVariables&quot;: { # Build environment variables that shall be available during build time.
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down Expand Up @@ -541,6 +553,9 @@ <h3>Method Details</h3>
&quot;minInstances&quot;: 42, # A lower bound for the number function instances that may coexist at a given time.
&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/*`
&quot;network&quot;: &quot;A String&quot;, # Deprecated: use vpc_connector
&quot;onDeployUpdatePolicy&quot;: { # Security patches are only applied when a function is redeployed. # See the comment next to this message for more details.
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Output only. contains the runtime version which was used during latest function deployment.
},
&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).
&quot;secretEnvironmentVariables&quot;: [ # Secret environment variables configuration.
{ # 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.
Expand Down Expand Up @@ -610,6 +625,8 @@ <h3>Method Details</h3>
The object takes the form of:

{ # Describes a Cloud Function that contains user computation executed in response to an event. It encapsulate function and triggers configurations.
&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.
},
&quot;availableMemoryMb&quot;: 42, # The amount of memory in MB available for a function. Defaults to 256MB.
&quot;buildEnvironmentVariables&quot;: { # Build environment variables that shall be available during build time.
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down Expand Up @@ -646,6 +663,9 @@ <h3>Method Details</h3>
&quot;minInstances&quot;: 42, # A lower bound for the number function instances that may coexist at a given time.
&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/*`
&quot;network&quot;: &quot;A String&quot;, # Deprecated: use vpc_connector
&quot;onDeployUpdatePolicy&quot;: { # Security patches are only applied when a function is redeployed. # See the comment next to this message for more details.
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Output only. contains the runtime version which was used during latest function deployment.
},
&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).
&quot;secretEnvironmentVariables&quot;: [ # Secret environment variables configuration.
{ # 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.
Expand Down

0 comments on commit e0465dc

Please sign in to comment.