Class Google::Cloud::Bigquery::Reservation::V1::Reservation (v0.4.2)

A reservation is a mechanism used to guarantee slots to users.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#creation_time

def creation_time() -> ::Google::Protobuf::Timestamp
Returns

#ignore_idle_slots

def ignore_idle_slots() -> ::Boolean
Returns
  • (::Boolean) — If false, any query or pipeline job using this reservation will use idle slots from other reservations within the same admin project. If true, a query or pipeline job using this reservation will execute with the slot capacity specified in the slot_capacity field at most.

#ignore_idle_slots=

def ignore_idle_slots=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If false, any query or pipeline job using this reservation will use idle slots from other reservations within the same admin project. If true, a query or pipeline job using this reservation will execute with the slot capacity specified in the slot_capacity field at most.
Returns
  • (::Boolean) — If false, any query or pipeline job using this reservation will use idle slots from other reservations within the same admin project. If true, a query or pipeline job using this reservation will execute with the slot capacity specified in the slot_capacity field at most.

#name

def name() -> ::String
Returns
  • (::String) — The resource name of the reservation, e.g., projects/*/locations/*/reservations/team1-prod.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The resource name of the reservation, e.g., projects/*/locations/*/reservations/team1-prod.
Returns
  • (::String) — The resource name of the reservation, e.g., projects/*/locations/*/reservations/team1-prod.

#slot_capacity

def slot_capacity() -> ::Integer
Returns
  • (::Integer) — Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism.

    Queries using this reservation might use more slots during runtime if ignore_idle_slots is set to false.

    If the new reservation's slot capacity exceed the parent's slot capacity or if total slot capacity of the new reservation and its siblings exceeds the parent's slot capacity, the request will fail with google.rpc.Code.RESOURCE_EXHAUSTED.

#slot_capacity=

def slot_capacity=(value) -> ::Integer
Parameter
  • value (::Integer) — Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism.

    Queries using this reservation might use more slots during runtime if ignore_idle_slots is set to false.

    If the new reservation's slot capacity exceed the parent's slot capacity or if total slot capacity of the new reservation and its siblings exceeds the parent's slot capacity, the request will fail with google.rpc.Code.RESOURCE_EXHAUSTED.

Returns
  • (::Integer) — Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism.

    Queries using this reservation might use more slots during runtime if ignore_idle_slots is set to false.

    If the new reservation's slot capacity exceed the parent's slot capacity or if total slot capacity of the new reservation and its siblings exceeds the parent's slot capacity, the request will fail with google.rpc.Code.RESOURCE_EXHAUSTED.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns