Google BigQuery Reservation V1 Client - Class State (2.0.0)

Reference documentation and code samples for the Google BigQuery Reservation V1 Client class State.

Capacity commitment can either become ACTIVE right away or transition from PENDING to ACTIVE or FAILED.

Protobuf type google.cloud.bigquery.reservation.v1.CapacityCommitment.State

Namespace

Google \ Cloud \ BigQuery \ Reservation \ V1 \ CapacityCommitment

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

Invalid state value.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

PENDING

Value: 1

Capacity commitment is pending provisioning. Pending capacity commitment does not contribute to the project's slot_capacity.

Generated from protobuf enum PENDING = 1;

ACTIVE

Value: 2

Once slots are provisioned, capacity commitment becomes active.

slot_count is added to the project's slot_capacity.

Generated from protobuf enum ACTIVE = 2;

FAILED

Value: 3

Capacity commitment is failed to be activated by the backend.

Generated from protobuf enum FAILED = 3;