FunctionArgs class

The set of arguments for Function. The set of arguments for Function.

Constructors

FunctionArgs({Input<FunctionBuildConfig?>? buildConfig, Input<String?>? deletionPolicy, Input<String?>? description, Input<FunctionEventTrigger?>? eventTrigger, Input<String?>? kmsKeyName, Input<Map<String, String>?>? labels, required Input<String> location, Input<String?>? name, Input<String?>? project, Input<FunctionServiceConfig?>? serviceConfig})
Creates a new FunctionArgs. 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. 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. serviceConfig Describes the Service being deployed.
const
FunctionArgs.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
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
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

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