GetFunctionServiceConfig

data class GetFunctionServiceConfig(val allTrafficOnLatestRevision: Boolean, val availableCpu: String, val availableMemory: String, val environmentVariables: Map<String, String>, val gcfUri: String, val ingressSettings: String, val maxInstanceCount: Int, val maxInstanceRequestConcurrency: Int, val minInstanceCount: Int, val secretEnvironmentVariables: List<GetFunctionServiceConfigSecretEnvironmentVariable>, val secretVolumes: List<GetFunctionServiceConfigSecretVolume>, val service: String, val serviceAccountEmail: String, val timeoutSeconds: Int, val uri: String, val vpcConnector: String, val vpcConnectorEgressSettings: String)

Constructors

Link copied to clipboard
constructor(allTrafficOnLatestRevision: Boolean, availableCpu: String, availableMemory: String, environmentVariables: Map<String, String>, gcfUri: String, ingressSettings: String, maxInstanceCount: Int, maxInstanceRequestConcurrency: Int, minInstanceCount: Int, secretEnvironmentVariables: List<GetFunctionServiceConfigSecretEnvironmentVariable>, secretVolumes: List<GetFunctionServiceConfigSecretVolume>, service: String, serviceAccountEmail: String, timeoutSeconds: Int, uri: String, vpcConnector: String, vpcConnectorEgressSettings: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether 100% of traffic is routed to the latest revision. Defaults to true.

Link copied to clipboard

The number of CPUs used in a single container instance. Default value is calculated from available memory.

Link copied to clipboard

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.

Link copied to clipboard

Environment variables that shall be available during function execution.

Link copied to clipboard

URIs of the Service deployed

Link copied to clipboard

Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. Default value: "ALLOW_ALL" Possible values: "ALLOW_ALL", "ALLOW_INTERNAL_ONLY", "ALLOW_INTERNAL_AND_GCLB"

Link copied to clipboard

The limit on the maximum number of function instances that may coexist at a given time.

Link copied to clipboard

Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.

Link copied to clipboard

The limit on the minimum number of function instances that may coexist at a given time.

Link copied to clipboard
Link copied to clipboard

Secret volumes configuration.

Link copied to clipboard

Name of the service associated with a Function.

Link copied to clipboard

The email of the service account for this function.

Link copied to clipboard

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.

Link copied to clipboard
val uri: String

URI of the Service deployed.

Link copied to clipboard

The Serverless VPC Access connector that this cloud function can connect to.

Link copied to clipboard

Available egress settings. Possible values: "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED", "PRIVATE_RANGES_ONLY", "ALL_TRAFFIC"