ReservationAssignmentState constructor
Creates a new ReservationAssignmentState.
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
name Output only. The resource name of the assignment.
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
state Assignment will remain in PENDING state if no active capacity commitment is present. It will become ACTIVE when some capacity commitment becomes active.
Implementation
const ReservationAssignmentState({
this.assignee,
this.deletionPolicy,
this.jobType,
this.location,
this.name,
this.principal,
this.project,
this.reservation,
this.state,
});