GetFunctionResult class

Result data returned by getFunction.

Constructors

GetFunctionResult({List<Map<String, dynamic>>? automaticUpdatePolicies, int? availableMemoryMb, Map<String, String>? buildEnvironmentVariables, String? buildServiceAccount, String? buildWorkerPool, String? deletionPolicy, String? description, String? dockerRegistry, String? dockerRepository, Map<String, String>? effectiveLabels, String? entryPoint, Map<String, String>? environmentVariables, List<GetFunctionEventTrigger>? eventTriggers, String? httpsTriggerSecurityLevel, String? httpsTriggerUrl, String? id, String? ingressSettings, String? kmsKeyName, Map<String, String>? labels, int? maxInstances, int? minInstances, String? name, List<GetFunctionOnDeployUpdatePolicy>? onDeployUpdatePolicies, String? project, Map<String, String>? pulumiLabels, String? region, String? runtime, List<GetFunctionSecretEnvironmentVariable>? secretEnvironmentVariables, List<GetFunctionSecretVolume>? secretVolumes, String? serviceAccountEmail, String? sourceArchiveBucket, String? sourceArchiveObject, List<GetFunctionSourceRepository>? sourceRepositories, String? status, int? timeout, bool? triggerHttp, String? versionId, String? vpcConnector, String? vpcConnectorEgressSettings})
Creates a new GetFunctionResult. automaticUpdatePolicies Optional. availableMemoryMb Available memory (in MB) to the function. buildEnvironmentVariables Optional. buildServiceAccount Optional. buildWorkerPool Optional. deletionPolicy Optional. description Description of the function. dockerRegistry Optional. dockerRepository Optional. effectiveLabels Optional. entryPoint Name of a JavaScript function that will be executed when the Google Cloud Function is triggered. environmentVariables Optional. eventTriggers A source that fires events in response to a condition in another service. Structure is documented below. httpsTriggerSecurityLevel Optional. httpsTriggerUrl If function is triggered by HTTP, trigger URL is set here. id The provider-assigned unique ID for this managed resource. ingressSettings Controls what traffic can reach the function. kmsKeyName Optional. labels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. maxInstances 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. minInstances Optional. name The name of the Cloud Function. onDeployUpdatePolicies Optional. project Optional. pulumiLabels Optional. region Optional. runtime The runtime in which the function is running. secretEnvironmentVariables Optional. secretVolumes Optional. serviceAccountEmail The service account email to be assumed by the cloud function. sourceArchiveBucket The GCS bucket containing the zip archive which contains the function. sourceArchiveObject The source archive object (file) in archive bucket. sourceRepositories The URL of the Cloud Source Repository that the function is deployed from. Structure is documented below. status Optional. timeout Function execution timeout (in seconds). triggerHttp If function is triggered by HTTP, this boolean is set. versionId Optional. vpcConnector The VPC Network Connector that this cloud function can connect to. vpcConnectorEgressSettings The egress settings for the connector, controlling what traffic is diverted through it.
const
GetFunctionResult.fromMap(Map<String, dynamic> map)
factory

Properties

automaticUpdatePolicies → List<Map<String, dynamic>>?
final
availableMemoryMb → int?
Available memory (in MB) to the function.
final
buildEnvironmentVariables → Map<String, String>?
final
buildServiceAccount → String?
final
buildWorkerPool → String?
final
deletionPolicy → String?
final
description → String?
Description of the function.
final
dockerRegistry → String?
final
dockerRepository → String?
final
effectiveLabels → Map<String, String>?
final
entryPoint → String?
Name of a JavaScript function that will be executed when the Google Cloud Function is triggered.
final
environmentVariables → Map<String, String>?
final
eventTriggers → List<GetFunctionEventTrigger>?
A source that fires events in response to a condition in another service. Structure is documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
httpsTriggerSecurityLevel → String?
final
httpsTriggerUrl → String?
If function is triggered by HTTP, trigger URL is set here.
final
id → String?
The provider-assigned unique ID for this managed resource.
final
ingressSettings → String?
Controls what traffic can reach the function.
final
kmsKeyName → String?
final
labels → Map<String, String>?
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
maxInstances → int?
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.
final
minInstances → int?
final
name → String?
The name of the Cloud Function.
final
onDeployUpdatePolicies → List<GetFunctionOnDeployUpdatePolicy>?
final
project → String?
final
pulumiLabels → Map<String, String>?
final
region → String?
final
runtime → String?
The runtime in which the function is running.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secretEnvironmentVariables → List<GetFunctionSecretEnvironmentVariable>?
final
secretVolumes → List<GetFunctionSecretVolume>?
final
serviceAccountEmail → String?
The service account email to be assumed by the cloud function.
final
sourceArchiveBucket → String?
The GCS bucket containing the zip archive which contains the function.
final
sourceArchiveObject → String?
The source archive object (file) in archive bucket.
final
sourceRepositories → List<GetFunctionSourceRepository>?
The URL of the Cloud Source Repository that the function is deployed from. Structure is documented below.
final
status → String?
final
timeout → int?
Function execution timeout (in seconds).
final
triggerHttp → bool?
If function is triggered by HTTP, this boolean is set.
final
versionId → String?
final
vpcConnector → String?
The VPC Network Connector that this cloud function can connect to.
final
vpcConnectorEgressSettings → String?
The egress settings for the connector, controlling what traffic is diverted through it.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited