FunctionServiceConfigArgs

data class FunctionServiceConfigArgs(val allTrafficOnLatestRevision: Output<Boolean>? = null, val availableCpu: Output<String>? = null, val availableMemory: Output<String>? = null, val environmentVariables: Output<Map<String, String>>? = null, val gcfUri: Output<String>? = null, val ingressSettings: Output<String>? = null, val maxInstanceCount: Output<Int>? = null, val maxInstanceRequestConcurrency: Output<Int>? = null, val minInstanceCount: Output<Int>? = null, val secretEnvironmentVariables: Output<List<FunctionServiceConfigSecretEnvironmentVariableArgs>>? = null, val secretVolumes: Output<List<FunctionServiceConfigSecretVolumeArgs>>? = null, val service: Output<String>? = null, val serviceAccountEmail: Output<String>? = null, val timeoutSeconds: Output<Int>? = null, val uri: Output<String>? = null, val vpcConnector: Output<String>? = null, val vpcConnectorEgressSettings: Output<String>? = null) : ConvertibleToJava<FunctionServiceConfigArgs>

Constructors

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

Properties

Link copied to clipboard
val allTrafficOnLatestRevision: Output<Boolean>? = null

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

Link copied to clipboard
val availableCpu: Output<String>? = null

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

Link copied to clipboard
val availableMemory: Output<String>? = null

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
val environmentVariables: Output<Map<String, String>>? = null

Environment variables that shall be available during function execution.

Link copied to clipboard
val gcfUri: Output<String>? = null

(Output) URIs of the Service deployed

Link copied to clipboard
val ingressSettings: Output<String>? = null

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.

Link copied to clipboard
val maxInstanceCount: Output<Int>? = null

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

Link copied to clipboard
val maxInstanceRequestConcurrency: Output<Int>? = null

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

Link copied to clipboard
val minInstanceCount: Output<Int>? = null

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

Link copied to clipboard

Secret environment variables configuration. Structure is documented below.

Link copied to clipboard

Secret volumes configuration. Structure is documented below.

Link copied to clipboard
val service: Output<String>? = null

Name of the service associated with a Function.

Link copied to clipboard
val serviceAccountEmail: Output<String>? = null

The email of the service account for this function.

Link copied to clipboard
val timeoutSeconds: Output<Int>? = null

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: Output<String>? = null

(Output) URI of the Service deployed.

Link copied to clipboard
val vpcConnector: Output<String>? = null

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

Link copied to clipboard
val vpcConnectorEgressSettings: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): FunctionServiceConfigArgs