GetCapacityCommitmentResult class
Result data returned by getCapacityCommitment.
Constructors
- GetCapacityCommitmentResult({required String commitmentEndTime, required String commitmentStartTime, required String edition, required StatusResponse failureStatus, required bool isFlatRate, required bool multiRegionAuxiliary, required String name, required String plan, required String renewalPlan, required String slotCount, required String state})
-
Creates a new GetCapacityCommitmentResult.
commitmentEndTimeThe end of the current commitment period. It is applicable only for ACTIVE capacity commitments.commitmentStartTimeThe start of the current commitment period. It is applicable only for ACTIVE capacity commitments.editionEdition of the capacity commitment.failureStatusFor FAILED commitment plan, provides the reason of failure.isFlatRateIf true, the commitment is a flat-rate commitment, otherwise, it's an edition commitment.multiRegionAuxiliaryApplicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.nameThe resource name of the capacity commitment, e.g.,projects/myproject/locations/US/capacityCommitments/123The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.planCapacity commitment commitment plan.renewalPlanThe plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.slotCountNumber of slots in this commitment.stateState of the commitment.const -
GetCapacityCommitmentResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- commitmentEndTime → String
-
The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
final
- commitmentStartTime → String
-
The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
final
- edition → String
-
Edition of the capacity commitment.
final
- failureStatus → StatusResponse
-
For FAILED commitment plan, provides the reason of failure.
final
- 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.
final
- multiRegionAuxiliary → bool
-
Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.
final
- name → String
-
The resource name of the capacity commitment, e.g.,
projects/myproject/locations/US/capacityCommitments/123The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.final - plan → String
-
Capacity commitment commitment plan.
final
- renewalPlan → String
-
The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slotCount → String
-
Number of slots in this commitment.
final
- state → String
-
State of the commitment.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited