FunctionArgs constructor

const FunctionArgs({
  1. Input<FunctionBuildConfig?>? buildConfig,
  2. Input<String?>? deletionPolicy,
  3. Input<String?>? description,
  4. Input<FunctionEventTrigger?>? eventTrigger,
  5. Input<String?>? kmsKeyName,
  6. Input<Map<String, String>?>? labels,
  7. required Input<String> location,
  8. Input<String?>? name,
  9. Input<String?>? project,
  10. 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.

Implementation

const FunctionArgs({
  this.buildConfig,
  this.deletionPolicy,
  this.description,
  this.eventTrigger,
  this.kmsKeyName,
  this.labels,
  required this.location,
  this.name,
  this.project,
  this.serviceConfig,
});