FunctionCloudfunctionsV2Args constructor
- Input<
BuildConfig> ? buildConfig, - Input<
String> ? description, - Input<
FunctionEnvironment> ? environment, - Input<
EventTriggerCloudfunctionsV2> ? eventTrigger, - Input<
String> ? functionId, - Input<
String> ? kmsKeyName, - Input<
Map< ? labels,String, String> > - 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).
Implementation
const FunctionCloudfunctionsV2Args({
this.buildConfig,
this.description,
this.environment,
this.eventTrigger,
this.functionId,
this.kmsKeyName,
this.labels,
this.location,
this.name,
this.project,
this.serviceConfig,
});