GetFunctionResult class
Result data returned by getFunction.
Constructors
-
GetFunctionResult({List<
Map< ? automaticUpdatePolicies, int? availableMemoryMb, Map<String, dynamic> >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.
automaticUpdatePoliciesOptional.availableMemoryMbAvailable memory (in MB) to the function.buildEnvironmentVariablesOptional.buildServiceAccountOptional.buildWorkerPoolOptional.deletionPolicyOptional.descriptionDescription of the function.dockerRegistryOptional.dockerRepositoryOptional.effectiveLabelsOptional.entryPointName of a JavaScript function that will be executed when the Google Cloud Function is triggered.environmentVariablesOptional.eventTriggersA source that fires events in response to a condition in another service. Structure is documented below.httpsTriggerSecurityLevelOptional.httpsTriggerUrlIf function is triggered by HTTP, trigger URL is set here.idThe provider-assigned unique ID for this managed resource.ingressSettingsControls what traffic can reach the function.kmsKeyNameOptional.labelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.maxInstancesThe limit on the maximum number of function instances that may coexist at a given time. If unset or set to0, the API default will be used.minInstancesOptional.nameThe name of the Cloud Function.onDeployUpdatePoliciesOptional.projectOptional.pulumiLabelsOptional.regionOptional.runtimeThe runtime in which the function is running.secretEnvironmentVariablesOptional.secretVolumesOptional.serviceAccountEmailThe service account email to be assumed by the cloud function.sourceArchiveBucketThe GCS bucket containing the zip archive which contains the function.sourceArchiveObjectThe source archive object (file) in archive bucket.sourceRepositoriesThe URL of the Cloud Source Repository that the function is deployed from. Structure is documented below.statusOptional.timeoutFunction execution timeout (in seconds).triggerHttpIf function is triggered by HTTP, this boolean is set.versionIdOptional.vpcConnectorThe VPC Network Connector that this cloud function can connect to.vpcConnectorEgressSettingsThe 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