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
- (::Google::Protobuf::Timestamp) — Output only. Creation time of the reservation.
#ignore_idle_slots
def ignore_idle_slots() -> ::Boolean
- (::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
- 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.
- (::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
-
(::String) — The resource name of the reservation, e.g.,
projects/*/locations/*/reservations/team1-prod
.
#name=
def name=(value) -> ::String
-
value (::String) — The resource name of the reservation, e.g.,
projects/*/locations/*/reservations/team1-prod
.
-
(::String) — The resource name of the reservation, e.g.,
projects/*/locations/*/reservations/team1-prod
.
#slot_capacity
def slot_capacity() -> ::Integer
-
(::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
-
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
.
-
(::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
- (::Google::Protobuf::Timestamp) — Output only. Last update time of the reservation.