CapacityCommitment class

Capacity commitment is a way to purchase compute capacity for BigQuery jobs (in the form of slots) with some committed period of usage.

Annual commitments renew by default. Commitments can be removed after their commitment end time passes. In order to remove annual commitment, its plan needs to be changed to monthly or flex first. A capacity commitment resource exists as a child resource of the admin project.

Constructors

CapacityCommitment({String? commitmentEndTime, String? commitmentStartTime, String? edition, Status? failureStatus, bool? isFlatRate, bool? multiRegionAuxiliary, String? name, String? plan, String? renewalPlan, String? slotCount, String? state})
CapacityCommitment.fromJson(Map json_)

Properties

commitmentEndTime String?
The end of the current commitment period.
getter/setter pair
commitmentStartTime String?
The start of the current commitment period.
getter/setter pair
edition String?
Edition of the capacity commitment. Possible string values are:
getter/setter pair
failureStatus Status?
For FAILED commitment plan, provides the reason of failure.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isFlatRate bool?
If true, the commitment is a flat-rate commitment, otherwise, it's an edition commitment.
getter/setter pair
multiRegionAuxiliary bool?
Applicable only for commitments located within one of the BigQuery multi-regions (US or EU).
getter/setter pair
name String?
The resource name of the capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123 The commitment_id must only contain lower case alphanumeric characters or dashes.
getter/setter pair
plan String?
Capacity commitment commitment plan. Possible string values are:
getter/setter pair
renewalPlan String?
The plan this capacity commitment is converted to after commitment_end_time passes.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slotCount String?
Number of slots in this commitment.
getter/setter pair
state String?
State of the commitment.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited