Reference documentation and code samples for the BigQuery Reservation V1 API class Google::Cloud::Bigquery::Reservation::V1::BiReservation.
Represents a BI Reservation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
-
(::String) — The resource name of the singleton BI reservation.
Reservation names have the form
projects/{project_id}/locations/{location_id}/biReservation
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — The resource name of the singleton BI reservation.
Reservation names have the form
projects/{project_id}/locations/{location_id}/biReservation
.
Returns
-
(::String) — The resource name of the singleton BI reservation.
Reservation names have the form
projects/{project_id}/locations/{location_id}/biReservation
.
#preferred_tables
def preferred_tables() -> ::Array<::Google::Cloud::Bigquery::Reservation::V1::TableReference>
Returns
- (::Array<::Google::Cloud::Bigquery::Reservation::V1::TableReference>) — Preferred tables to use BI capacity for.
#preferred_tables=
def preferred_tables=(value) -> ::Array<::Google::Cloud::Bigquery::Reservation::V1::TableReference>
Parameter
- value (::Array<::Google::Cloud::Bigquery::Reservation::V1::TableReference>) — Preferred tables to use BI capacity for.
Returns
- (::Array<::Google::Cloud::Bigquery::Reservation::V1::TableReference>) — Preferred tables to use BI capacity for.
#size
def size() -> ::Integer
Returns
- (::Integer) — Size of a reservation, in bytes.
#size=
def size=(value) -> ::Integer
Parameter
- value (::Integer) — Size of a reservation, in bytes.
Returns
- (::Integer) — Size of a reservation, in bytes.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The last update timestamp of a reservation.