GetCapacityCommitmentResult

data class GetCapacityCommitmentResult(val commitmentEndTime: String, val commitmentStartTime: String, val edition: String, val failureStatus: StatusResponse, val multiRegionAuxiliary: Boolean, val name: String, val plan: String, val renewalPlan: String, val slotCount: String, val state: String)

Constructors

Link copied to clipboard
fun GetCapacityCommitmentResult(commitmentEndTime: String, commitmentStartTime: String, edition: String, failureStatus: StatusResponse, multiRegionAuxiliary: Boolean, name: String, plan: String, renewalPlan: String, slotCount: String, state: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.

Link copied to clipboard

The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.

Link copied to clipboard

Edition of the capacity commitment.

Link copied to clipboard

For FAILED commitment plan, provides the reason of failure.

Link copied to clipboard

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.

Link copied to clipboard

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. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.

Link copied to clipboard

Capacity commitment commitment plan.

Link copied to clipboard

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.

Link copied to clipboard

Number of slots in this commitment.

Link copied to clipboard

State of the commitment.