CapacityCommitmentArgs constructor
Creates a new CapacityCommitmentArgs.
capacityCommitmentId The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
edition The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
enforceSingleAdminProjectPerOrg If true, fail the request if another project in the organization has a capacity commitment.
location The geographic location where the transfer config should reside.
plan Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan
project The ID of the project in which the resource belongs.
renewalPlan The plan this capacity commitment is converted to after commitmentEndTime passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for some commitment plans.
slotCount Number of slots in this commitment.
Implementation
const CapacityCommitmentArgs({
this.capacityCommitmentId,
this.deletionPolicy,
this.edition,
this.enforceSingleAdminProjectPerOrg,
this.location,
required this.plan,
this.project,
this.renewalPlan,
required this.slotCount,
});