diff --git a/docs/dyn/cloudfunctions_v2.projects.locations.functions.html b/docs/dyn/cloudfunctions_v2.projects.locations.functions.html index 3e017dcf00f..68bc7ad0dff 100644 --- a/docs/dyn/cloudfunctions_v2.projects.locations.functions.html +++ b/docs/dyn/cloudfunctions_v2.projects.locations.functions.html @@ -194,12 +194,14 @@

Method Details

"name": "A String", # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` "serviceConfig": { # Describes the Service being deployed. Currently Supported : Cloud Run (fully managed). Next tag: 23 # Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed). "allTrafficOnLatestRevision": True or False, # Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic. + "availableCpu": "A String", # The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU "availableMemory": "A String", # The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description. "environmentVariables": { # Environment variables that shall be available during function execution. "a_key": "A String", }, "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach it. "maxInstanceCount": 42, # The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details. + "maxInstanceRequestConcurrency": 42, # Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. "minInstanceCount": 42, # The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case. "revision": "A String", # Output only. The name of service revision. "secretEnvironmentVariables": [ # Secret environment variables configuration. @@ -223,7 +225,7 @@

Method Details

], }, ], - "securityLevel": "A String", # Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. + "securityLevel": "A String", # Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. "service": "A String", # Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}` "serviceAccountEmail": "A String", # The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`. "timeoutSeconds": 42, # 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. @@ -445,12 +447,14 @@

Method Details

"name": "A String", # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` "serviceConfig": { # Describes the Service being deployed. Currently Supported : Cloud Run (fully managed). Next tag: 23 # Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed). "allTrafficOnLatestRevision": True or False, # Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic. + "availableCpu": "A String", # The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU "availableMemory": "A String", # The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description. "environmentVariables": { # Environment variables that shall be available during function execution. "a_key": "A String", }, "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach it. "maxInstanceCount": 42, # The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details. + "maxInstanceRequestConcurrency": 42, # Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. "minInstanceCount": 42, # The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case. "revision": "A String", # Output only. The name of service revision. "secretEnvironmentVariables": [ # Secret environment variables configuration. @@ -474,7 +478,7 @@

Method Details

], }, ], - "securityLevel": "A String", # Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. + "securityLevel": "A String", # Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. "service": "A String", # Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}` "serviceAccountEmail": "A String", # The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`. "timeoutSeconds": 42, # 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. @@ -631,12 +635,14 @@

Method Details

"name": "A String", # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` "serviceConfig": { # Describes the Service being deployed. Currently Supported : Cloud Run (fully managed). Next tag: 23 # Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed). "allTrafficOnLatestRevision": True or False, # Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic. + "availableCpu": "A String", # The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU "availableMemory": "A String", # The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description. "environmentVariables": { # Environment variables that shall be available during function execution. "a_key": "A String", }, "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach it. "maxInstanceCount": 42, # The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details. + "maxInstanceRequestConcurrency": 42, # Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. "minInstanceCount": 42, # The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case. "revision": "A String", # Output only. The name of service revision. "secretEnvironmentVariables": [ # Secret environment variables configuration. @@ -660,7 +666,7 @@

Method Details

], }, ], - "securityLevel": "A String", # Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. + "securityLevel": "A String", # Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. "service": "A String", # Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}` "serviceAccountEmail": "A String", # The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`. "timeoutSeconds": 42, # 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. @@ -778,12 +784,14 @@

Method Details

"name": "A String", # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` "serviceConfig": { # Describes the Service being deployed. Currently Supported : Cloud Run (fully managed). Next tag: 23 # Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed). "allTrafficOnLatestRevision": True or False, # Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic. + "availableCpu": "A String", # The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU "availableMemory": "A String", # The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description. "environmentVariables": { # Environment variables that shall be available during function execution. "a_key": "A String", }, "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach it. "maxInstanceCount": 42, # The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details. + "maxInstanceRequestConcurrency": 42, # Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. "minInstanceCount": 42, # The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case. "revision": "A String", # Output only. The name of service revision. "secretEnvironmentVariables": [ # Secret environment variables configuration. @@ -807,7 +815,7 @@

Method Details

], }, ], - "securityLevel": "A String", # Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. + "securityLevel": "A String", # Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. "service": "A String", # Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}` "serviceAccountEmail": "A String", # The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`. "timeoutSeconds": 42, # 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. diff --git a/docs/dyn/cloudfunctions_v2alpha.projects.locations.functions.html b/docs/dyn/cloudfunctions_v2alpha.projects.locations.functions.html index 067aee9e552..04d9227c669 100644 --- a/docs/dyn/cloudfunctions_v2alpha.projects.locations.functions.html +++ b/docs/dyn/cloudfunctions_v2alpha.projects.locations.functions.html @@ -194,12 +194,14 @@

Method Details

"name": "A String", # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` "serviceConfig": { # Describes the Service being deployed. Currently Supported : Cloud Run (fully managed). Next tag: 23 # Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed). "allTrafficOnLatestRevision": True or False, # Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic. + "availableCpu": "A String", # The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU "availableMemory": "A String", # The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description. "environmentVariables": { # Environment variables that shall be available during function execution. "a_key": "A String", }, "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach it. "maxInstanceCount": 42, # The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details. + "maxInstanceRequestConcurrency": 42, # Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. "minInstanceCount": 42, # The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case. "revision": "A String", # Output only. The name of service revision. "secretEnvironmentVariables": [ # Secret environment variables configuration. @@ -223,7 +225,7 @@

Method Details

], }, ], - "securityLevel": "A String", # Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. + "securityLevel": "A String", # Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. "service": "A String", # Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}` "serviceAccountEmail": "A String", # The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`. "timeoutSeconds": 42, # 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. @@ -445,12 +447,14 @@

Method Details

"name": "A String", # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` "serviceConfig": { # Describes the Service being deployed. Currently Supported : Cloud Run (fully managed). Next tag: 23 # Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed). "allTrafficOnLatestRevision": True or False, # Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic. + "availableCpu": "A String", # The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU "availableMemory": "A String", # The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description. "environmentVariables": { # Environment variables that shall be available during function execution. "a_key": "A String", }, "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach it. "maxInstanceCount": 42, # The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details. + "maxInstanceRequestConcurrency": 42, # Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. "minInstanceCount": 42, # The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case. "revision": "A String", # Output only. The name of service revision. "secretEnvironmentVariables": [ # Secret environment variables configuration. @@ -474,7 +478,7 @@

Method Details

], }, ], - "securityLevel": "A String", # Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. + "securityLevel": "A String", # Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. "service": "A String", # Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}` "serviceAccountEmail": "A String", # The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`. "timeoutSeconds": 42, # 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. @@ -631,12 +635,14 @@

Method Details

"name": "A String", # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` "serviceConfig": { # Describes the Service being deployed. Currently Supported : Cloud Run (fully managed). Next tag: 23 # Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed). "allTrafficOnLatestRevision": True or False, # Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic. + "availableCpu": "A String", # The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU "availableMemory": "A String", # The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description. "environmentVariables": { # Environment variables that shall be available during function execution. "a_key": "A String", }, "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach it. "maxInstanceCount": 42, # The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details. + "maxInstanceRequestConcurrency": 42, # Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. "minInstanceCount": 42, # The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case. "revision": "A String", # Output only. The name of service revision. "secretEnvironmentVariables": [ # Secret environment variables configuration. @@ -660,7 +666,7 @@

Method Details

], }, ], - "securityLevel": "A String", # Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. + "securityLevel": "A String", # Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. "service": "A String", # Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}` "serviceAccountEmail": "A String", # The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`. "timeoutSeconds": 42, # 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. @@ -778,12 +784,14 @@

Method Details

"name": "A String", # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` "serviceConfig": { # Describes the Service being deployed. Currently Supported : Cloud Run (fully managed). Next tag: 23 # Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed). "allTrafficOnLatestRevision": True or False, # Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic. + "availableCpu": "A String", # The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU "availableMemory": "A String", # The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description. "environmentVariables": { # Environment variables that shall be available during function execution. "a_key": "A String", }, "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach it. "maxInstanceCount": 42, # The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details. + "maxInstanceRequestConcurrency": 42, # Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. "minInstanceCount": 42, # The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case. "revision": "A String", # Output only. The name of service revision. "secretEnvironmentVariables": [ # Secret environment variables configuration. @@ -807,7 +815,7 @@

Method Details

], }, ], - "securityLevel": "A String", # Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. + "securityLevel": "A String", # Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. "service": "A String", # Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}` "serviceAccountEmail": "A String", # The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`. "timeoutSeconds": 42, # 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. diff --git a/docs/dyn/cloudfunctions_v2beta.projects.locations.functions.html b/docs/dyn/cloudfunctions_v2beta.projects.locations.functions.html index de738812b67..e8dea57d469 100644 --- a/docs/dyn/cloudfunctions_v2beta.projects.locations.functions.html +++ b/docs/dyn/cloudfunctions_v2beta.projects.locations.functions.html @@ -194,12 +194,14 @@

Method Details

"name": "A String", # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` "serviceConfig": { # Describes the Service being deployed. Currently Supported : Cloud Run (fully managed). Next tag: 23 # Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed). "allTrafficOnLatestRevision": True or False, # Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic. + "availableCpu": "A String", # The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU "availableMemory": "A String", # The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description. "environmentVariables": { # Environment variables that shall be available during function execution. "a_key": "A String", }, "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach it. "maxInstanceCount": 42, # The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details. + "maxInstanceRequestConcurrency": 42, # Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. "minInstanceCount": 42, # The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case. "revision": "A String", # Output only. The name of service revision. "secretEnvironmentVariables": [ # Secret environment variables configuration. @@ -223,7 +225,7 @@

Method Details

], }, ], - "securityLevel": "A String", # Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. + "securityLevel": "A String", # Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. "service": "A String", # Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}` "serviceAccountEmail": "A String", # The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`. "timeoutSeconds": 42, # 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. @@ -445,12 +447,14 @@

Method Details

"name": "A String", # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` "serviceConfig": { # Describes the Service being deployed. Currently Supported : Cloud Run (fully managed). Next tag: 23 # Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed). "allTrafficOnLatestRevision": True or False, # Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic. + "availableCpu": "A String", # The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU "availableMemory": "A String", # The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description. "environmentVariables": { # Environment variables that shall be available during function execution. "a_key": "A String", }, "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach it. "maxInstanceCount": 42, # The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details. + "maxInstanceRequestConcurrency": 42, # Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. "minInstanceCount": 42, # The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case. "revision": "A String", # Output only. The name of service revision. "secretEnvironmentVariables": [ # Secret environment variables configuration. @@ -474,7 +478,7 @@

Method Details

], }, ], - "securityLevel": "A String", # Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. + "securityLevel": "A String", # Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. "service": "A String", # Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}` "serviceAccountEmail": "A String", # The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`. "timeoutSeconds": 42, # 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. @@ -631,12 +635,14 @@

Method Details

"name": "A String", # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` "serviceConfig": { # Describes the Service being deployed. Currently Supported : Cloud Run (fully managed). Next tag: 23 # Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed). "allTrafficOnLatestRevision": True or False, # Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic. + "availableCpu": "A String", # The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU "availableMemory": "A String", # The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description. "environmentVariables": { # Environment variables that shall be available during function execution. "a_key": "A String", }, "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach it. "maxInstanceCount": 42, # The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details. + "maxInstanceRequestConcurrency": 42, # Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. "minInstanceCount": 42, # The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case. "revision": "A String", # Output only. The name of service revision. "secretEnvironmentVariables": [ # Secret environment variables configuration. @@ -660,7 +666,7 @@

Method Details

], }, ], - "securityLevel": "A String", # Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. + "securityLevel": "A String", # Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. "service": "A String", # Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}` "serviceAccountEmail": "A String", # The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`. "timeoutSeconds": 42, # 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. @@ -778,12 +784,14 @@

Method Details

"name": "A String", # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` "serviceConfig": { # Describes the Service being deployed. Currently Supported : Cloud Run (fully managed). Next tag: 23 # Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed). "allTrafficOnLatestRevision": True or False, # Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic. + "availableCpu": "A String", # The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU "availableMemory": "A String", # The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description. "environmentVariables": { # Environment variables that shall be available during function execution. "a_key": "A String", }, "ingressSettings": "A String", # The ingress settings for the function, controlling what traffic can reach it. "maxInstanceCount": 42, # The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details. + "maxInstanceRequestConcurrency": 42, # Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. "minInstanceCount": 42, # The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case. "revision": "A String", # Output only. The name of service revision. "secretEnvironmentVariables": [ # Secret environment variables configuration. @@ -807,7 +815,7 @@

Method Details

], }, ], - "securityLevel": "A String", # Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. + "securityLevel": "A String", # Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. "service": "A String", # Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}` "serviceAccountEmail": "A String", # The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`. "timeoutSeconds": 42, # 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. diff --git a/googleapiclient/discovery_cache/documents/cloudfunctions.v1.json b/googleapiclient/discovery_cache/documents/cloudfunctions.v1.json index b170cb97dbe..da1f4051bd4 100644 --- a/googleapiclient/discovery_cache/documents/cloudfunctions.v1.json +++ b/googleapiclient/discovery_cache/documents/cloudfunctions.v1.json @@ -546,7 +546,7 @@ } } }, - "revision": "20221110", + "revision": "20221129", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/googleapiclient/discovery_cache/documents/cloudfunctions.v2.json b/googleapiclient/discovery_cache/documents/cloudfunctions.v2.json index baa148067e4..249dad68f0d 100644 --- a/googleapiclient/discovery_cache/documents/cloudfunctions.v2.json +++ b/googleapiclient/discovery_cache/documents/cloudfunctions.v2.json @@ -571,7 +571,7 @@ } } }, - "revision": "20221110", + "revision": "20221129", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -1760,6 +1760,10 @@ "description": "Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.", "type": "boolean" }, + "availableCpu": { + "description": "The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: \"1\" indicates 1 vCPU", + "type": "string" + }, "availableMemory": { "description": "The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.", "type": "string" @@ -1792,6 +1796,11 @@ "format": "int32", "type": "integer" }, + "maxInstanceRequestConcurrency": { + "description": "Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.", + "format": "int32", + "type": "integer" + }, "minInstanceCount": { "description": "The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.", "format": "int32", @@ -1817,7 +1826,7 @@ "type": "array" }, "securityLevel": { - "description": "Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.", + "description": "Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.", "enum": [ "SECURITY_LEVEL_UNSPECIFIED", "SECURE_ALWAYS", diff --git a/googleapiclient/discovery_cache/documents/cloudfunctions.v2alpha.json b/googleapiclient/discovery_cache/documents/cloudfunctions.v2alpha.json index 8e009606f17..d17f7c52aaa 100644 --- a/googleapiclient/discovery_cache/documents/cloudfunctions.v2alpha.json +++ b/googleapiclient/discovery_cache/documents/cloudfunctions.v2alpha.json @@ -571,7 +571,7 @@ } } }, - "revision": "20221110", + "revision": "20221129", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -1760,6 +1760,10 @@ "description": "Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.", "type": "boolean" }, + "availableCpu": { + "description": "The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: \"1\" indicates 1 vCPU", + "type": "string" + }, "availableMemory": { "description": "The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.", "type": "string" @@ -1792,6 +1796,11 @@ "format": "int32", "type": "integer" }, + "maxInstanceRequestConcurrency": { + "description": "Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.", + "format": "int32", + "type": "integer" + }, "minInstanceCount": { "description": "The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.", "format": "int32", @@ -1817,7 +1826,7 @@ "type": "array" }, "securityLevel": { - "description": "Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.", + "description": "Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.", "enum": [ "SECURITY_LEVEL_UNSPECIFIED", "SECURE_ALWAYS", diff --git a/googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json b/googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json index a8295332fc6..5fa5c92ab90 100644 --- a/googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json +++ b/googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json @@ -571,7 +571,7 @@ } } }, - "revision": "20221110", + "revision": "20221129", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -1760,6 +1760,10 @@ "description": "Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.", "type": "boolean" }, + "availableCpu": { + "description": "The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: \"1\" indicates 1 vCPU", + "type": "string" + }, "availableMemory": { "description": "The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.", "type": "string" @@ -1792,6 +1796,11 @@ "format": "int32", "type": "integer" }, + "maxInstanceRequestConcurrency": { + "description": "Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.", + "format": "int32", + "type": "integer" + }, "minInstanceCount": { "description": "The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.", "format": "int32", @@ -1817,7 +1826,7 @@ "type": "array" }, "securityLevel": { - "description": "Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.", + "description": "Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.", "enum": [ "SECURITY_LEVEL_UNSPECIFIED", "SECURE_ALWAYS",