FunctionCloudfunctionsV2Args class

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

Constructors

FunctionCloudfunctionsV2Args({Input<BuildConfig>? buildConfig, Input<String>? description, Input<FunctionEnvironment>? environment, Input<EventTriggerCloudfunctionsV2>? eventTrigger, Input<String>? functionId, Input<String>? kmsKeyName, Input<Map<String, String>>? labels, Input<String>? location, Input<String>? name, Input<String>? project, Input<ServiceConfig>? serviceConfig})
Creates a new FunctionCloudfunctionsV2Args. buildConfig Describes the Build step of the function that builds a container from the given source. description User-provided description of a function. environment Describe whether the function is 1st Gen or 2nd Gen. eventTrigger An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service. functionId The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. kmsKeyName Preview 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}. labels Labels associated with this Cloud Function. location Optional. name A user-defined name of the function. Function names must be unique globally and match pattern projects/*/locations/*/functions/* project Optional. serviceConfig Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
const
FunctionCloudfunctionsV2Args.fromMap(Map<String, dynamic> map)
factory

Properties

buildConfig → Input<BuildConfig>?
Describes the Build step of the function that builds a container from the given source.
final
description → Input<String>?
User-provided description of a function.
final
environment → Input<FunctionEnvironment>?
Describe whether the function is 1st Gen or 2nd Gen.
final
eventTrigger → Input<EventTriggerCloudfunctionsV2>?
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
final
functionId → Input<String>?
The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.
final
hashCode → int
The hash code for this object.
no setterinherited
kmsKeyName → Input<String>?
Preview 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>>?
Labels associated with this Cloud Function.
final
location → Input<String>?
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>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceConfig → Input<ServiceConfig>?
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
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