ReservationAssignmentArgs constructor
Creates a new ReservationAssignmentArgs.
assignee The resource which will use the reservation. E.g. projects/myproject, folders/123, organizations/456.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
jobType Types of job, which could be specified when using the reservation. Possible values: JOB_TYPE_UNSPECIFIED, PIPELINE, QUERY, CONTINUOUS
location The location for the resource
principal Optional. Represents the principal for this assignment. If not empty, jobs run by this principal will utilize the associated reservation. Otherwise, jobs will fall back to using the reservation assigned to the project, folder, or organization (in that order). If no reservation is assigned at any of these levels, on-demand capacity will be used. The supported formats are:
project The ID of the project in which the resource belongs.
reservation The reservation for the resource
Implementation
const ReservationAssignmentArgs({
required this.assignee,
this.deletionPolicy,
required this.jobType,
this.location,
this.principal,
this.project,
required this.reservation,
});