GetFunctionResult

data class GetFunctionResult(val availableMemoryMb: Int, val buildEnvironmentVariables: Map<String, Any>, val buildWorkerPool: String, val description: String, val dockerRegistry: String, val dockerRepository: String, val entryPoint: String, val environmentVariables: Map<String, Any>, val eventTriggers: List<GetFunctionEventTrigger>, val httpsTriggerSecurityLevel: String, val httpsTriggerUrl: String, val id: String, val ingressSettings: String, val kmsKeyName: String, val labels: Map<String, Any>, val maxInstances: Int, val minInstances: Int, val name: String, val project: String? = null, val region: String? = null, val runtime: String, val secretEnvironmentVariables: List<GetFunctionSecretEnvironmentVariable>, val secretVolumes: List<GetFunctionSecretVolume>, val serviceAccountEmail: String, val sourceArchiveBucket: String, val sourceArchiveObject: String, val sourceRepositories: List<GetFunctionSourceRepository>, val status: String, val timeout: Int, val triggerHttp: Boolean, val vpcConnector: String, val vpcConnectorEgressSettings: String)

A collection of values returned by getFunction.

Constructors

Link copied to clipboard
constructor(availableMemoryMb: Int, buildEnvironmentVariables: Map<String, Any>, buildWorkerPool: String, description: String, dockerRegistry: String, dockerRepository: String, entryPoint: String, environmentVariables: Map<String, Any>, eventTriggers: List<GetFunctionEventTrigger>, httpsTriggerSecurityLevel: String, httpsTriggerUrl: String, id: String, ingressSettings: String, kmsKeyName: String, labels: Map<String, Any>, maxInstances: Int, minInstances: Int, name: String, project: String? = null, region: String? = null, runtime: String, secretEnvironmentVariables: List<GetFunctionSecretEnvironmentVariable>, secretVolumes: List<GetFunctionSecretVolume>, serviceAccountEmail: String, sourceArchiveBucket: String, sourceArchiveObject: String, sourceRepositories: List<GetFunctionSourceRepository>, status: String, timeout: Int, triggerHttp: Boolean, vpcConnector: String, vpcConnectorEgressSettings: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Available memory (in MB) to the function.

Link copied to clipboard
Link copied to clipboard

Description of the function.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Name of a JavaScript function that will be executed when the Google Cloud Function is triggered.

Link copied to clipboard
Link copied to clipboard

A source that fires events in response to a condition in another service. Structure is documented below.

Link copied to clipboard

If function is triggered by HTTP, trigger URL is set here.

Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard

Controls what traffic can reach the function.

Link copied to clipboard
Link copied to clipboard

A map of labels applied to this function.

Link copied to clipboard

The limit on the maximum number of function instances that may coexist at a given time. If unset or set to 0, the API default will be used.

Link copied to clipboard
Link copied to clipboard

The name of the Cloud Function.

Link copied to clipboard
val project: String? = null
Link copied to clipboard
val region: String? = null
Link copied to clipboard

The runtime in which the function is running.

Link copied to clipboard
Link copied to clipboard

The service account email to be assumed by the cloud function.

Link copied to clipboard

The GCS bucket containing the zip archive which contains the function.

Link copied to clipboard

The source archive object (file) in archive bucket.

Link copied to clipboard

The URL of the Cloud Source Repository that the function is deployed from. Structure is documented below.

Link copied to clipboard
Link copied to clipboard

Function execution timeout (in seconds).

Link copied to clipboard

If function is triggered by HTTP, this boolean is set.

Link copied to clipboard

The VPC Network Connector that this cloud function can connect to.

Link copied to clipboard

The egress settings for the connector, controlling what traffic is diverted through it.