FunctionState class

Input properties used for looking up and filtering Function resources.

Constructors

FunctionState({Input<FunctionBuildConfig?>? buildConfig, Input<String?>? deletionPolicy, Input<String?>? description, Input<Map<String, String>?>? effectiveLabels, Input<String?>? environment, Input<FunctionEventTrigger?>? eventTrigger, Input<String?>? kmsKeyName, Input<Map<String, String>?>? labels, Input<String?>? location, Input<String?>? name, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<FunctionServiceConfig?>? serviceConfig, Input<String?>? state, Input<String?>? updateTime, Input<String?>? url})
Creates a new FunctionState. buildConfig Describes the Build step of the function that builds a container deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description User-provided description of a function. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. environment The environment the function is hosted on. eventTrigger An Eventarc trigger managed by Google Cloud Functions that fires events in kmsKeyName Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. labels A set of key/value label pairs associated with this Cloud Function. location The location of this cloud function. name A user-defined name of the function. Function names must project The ID of the project in which the resource belongs. pulumiLabels The combination of labels configured directly on the resource serviceConfig Describes the Service being deployed. state Describes the current state of the function. updateTime The last update timestamp of a Cloud Function. url Output only. The deployed url for the function.
const
FunctionState.fromMap(Map<String, dynamic> map)
factory

Properties

buildConfig → Input<FunctionBuildConfig?>?
Describes the Build step of the function that builds a container from the given source. Structure is documented below.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
User-provided description of a function.
final
effectiveLabels → Input<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
environment → Input<String?>?
The environment the function is hosted on.
final
eventTrigger → Input<FunctionEventTrigger?>?
An Eventarc trigger managed by Google Cloud Functions 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
kmsKeyName → Input<String?>?
Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
final
labels → Input<Map<String, String>?>?
A set of key/value label pairs associated with this Cloud Function.
final
location → Input<String?>?
The location of this cloud function.
final
name → Input<String?>?
A user-defined name of the function. Function names must be unique globally and match pattern projects/*/locations/*/functions/*.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
pulumiLabels → Input<Map<String, String>?>?
The combination of labels configured directly on the resource and default labels configured on the provider.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceConfig → Input<FunctionServiceConfig?>?
Describes the Service being deployed. Structure is documented below.
final
state → Input<String?>?
Describes the current state of the function.
final
updateTime → Input<String?>?
The last update timestamp of a Cloud Function.
final
url → Input<String?>?
Output only. The deployed url for the function.
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