Reference documentation and code samples for the BigQuery Reservation V1 API class Google::Cloud::Bigquery::Reservation::V1::CreateReservationRequest.
The request for ReservationService.CreateReservation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. Project, location. E.g.,
projects/myproject/locations/US
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. Project, location. E.g.,
projects/myproject/locations/US
Returns
-
(::String) — Required. Project, location. E.g.,
projects/myproject/locations/US
#reservation
def reservation() -> ::Google::Cloud::Bigquery::Reservation::V1::Reservation
Returns
- (::Google::Cloud::Bigquery::Reservation::V1::Reservation) — Definition of the new reservation to create.
#reservation=
def reservation=(value) -> ::Google::Cloud::Bigquery::Reservation::V1::Reservation
Parameter
- value (::Google::Cloud::Bigquery::Reservation::V1::Reservation) — Definition of the new reservation to create.
Returns
- (::Google::Cloud::Bigquery::Reservation::V1::Reservation) — Definition of the new reservation to create.
#reservation_id
def reservation_id() -> ::String
Returns
- (::String) — The reservation ID. It 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.
#reservation_id=
def reservation_id=(value) -> ::String
Parameter
- value (::String) — The reservation ID. It 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.
Returns
- (::String) — The reservation ID. It 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.