Function Service Config
Constructors
Properties
Whether 100% of traffic is routed to the latest revision. Defaults to true.
The number of CPUs used in a single container instance. Default value is calculated from available memory.
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.
The binary authorization policy to be checked when deploying the Cloud Run service.
Environment variables that shall be available during function execution.
Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. Default value is ALLOW_ALL
. Possible values are: ALLOW_ALL
, ALLOW_INTERNAL_ONLY
, ALLOW_INTERNAL_AND_GCLB
.
The limit on the maximum number of function instances that may coexist at a given time.
Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.
The limit on the minimum number of function instances that may coexist at a given time.
Secret environment variables configuration. Structure is documented below.
Secret volumes configuration. Structure is documented below.
The email of the service account for this function.
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.
The Serverless VPC Access connector that this cloud function can connect to.
Available egress settings. Possible values are: VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED
, PRIVATE_RANGES_ONLY
, ALL_TRAFFIC
.