Reference documentation and code samples for the BigQuery Reservation V1 API class Google::Cloud::Bigquery::Reservation::V1::ReservationService::Rest::ServiceStub.
REST service stub for the ReservationService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_assignment
def create_assignment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Reservation::V1::Assignment
Baseline implementation for the create_assignment REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::CreateAssignmentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Reservation::V1::Assignment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Reservation::V1::Assignment) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_capacity_commitment
def create_capacity_commitment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment
Baseline implementation for the create_capacity_commitment REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::CreateCapacityCommitmentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_reservation
def create_reservation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Reservation::V1::Reservation
Baseline implementation for the create_reservation REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::CreateReservationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Reservation::V1::Reservation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Reservation::V1::Reservation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_assignment
def delete_assignment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_assignment REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::DeleteAssignmentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_capacity_commitment
def delete_capacity_commitment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_capacity_commitment REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::DeleteCapacityCommitmentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_reservation
def delete_reservation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_reservation REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::DeleteReservationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_bi_reservation
def get_bi_reservation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Reservation::V1::BiReservation
Baseline implementation for the get_bi_reservation REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::GetBiReservationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Reservation::V1::BiReservation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Reservation::V1::BiReservation) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_capacity_commitment
def get_capacity_commitment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment
Baseline implementation for the get_capacity_commitment REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::GetCapacityCommitmentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_reservation
def get_reservation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Reservation::V1::Reservation
Baseline implementation for the get_reservation REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::GetReservationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Reservation::V1::Reservation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Reservation::V1::Reservation) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_assignments
def list_assignments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Reservation::V1::ListAssignmentsResponse
Baseline implementation for the list_assignments REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::ListAssignmentsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Reservation::V1::ListAssignmentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Reservation::V1::ListAssignmentsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_capacity_commitments
def list_capacity_commitments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Reservation::V1::ListCapacityCommitmentsResponse
Baseline implementation for the list_capacity_commitments REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::ListCapacityCommitmentsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Reservation::V1::ListCapacityCommitmentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Reservation::V1::ListCapacityCommitmentsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_reservations
def list_reservations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Reservation::V1::ListReservationsResponse
Baseline implementation for the list_reservations REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::ListReservationsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Reservation::V1::ListReservationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Reservation::V1::ListReservationsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#merge_capacity_commitments
def merge_capacity_commitments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment
Baseline implementation for the merge_capacity_commitments REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::MergeCapacityCommitmentsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment) — A result object deserialized from the server's reply
- (::ArgumentError)
#move_assignment
def move_assignment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Reservation::V1::Assignment
Baseline implementation for the move_assignment REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::MoveAssignmentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Reservation::V1::Assignment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Reservation::V1::Assignment) — A result object deserialized from the server's reply
- (::ArgumentError)
#search_all_assignments
def search_all_assignments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Reservation::V1::SearchAllAssignmentsResponse
Baseline implementation for the search_all_assignments REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::SearchAllAssignmentsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Reservation::V1::SearchAllAssignmentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Reservation::V1::SearchAllAssignmentsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#search_assignments
def search_assignments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Reservation::V1::SearchAssignmentsResponse
Baseline implementation for the search_assignments REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::SearchAssignmentsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Reservation::V1::SearchAssignmentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Reservation::V1::SearchAssignmentsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#split_capacity_commitment
def split_capacity_commitment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Reservation::V1::SplitCapacityCommitmentResponse
Baseline implementation for the split_capacity_commitment REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::SplitCapacityCommitmentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Reservation::V1::SplitCapacityCommitmentResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Reservation::V1::SplitCapacityCommitmentResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_assignment
def update_assignment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Reservation::V1::Assignment
Baseline implementation for the update_assignment REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::UpdateAssignmentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Reservation::V1::Assignment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Reservation::V1::Assignment) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_bi_reservation
def update_bi_reservation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Reservation::V1::BiReservation
Baseline implementation for the update_bi_reservation REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::UpdateBiReservationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Reservation::V1::BiReservation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Reservation::V1::BiReservation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_capacity_commitment
def update_capacity_commitment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment
Baseline implementation for the update_capacity_commitment REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::UpdateCapacityCommitmentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_reservation
def update_reservation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Reservation::V1::Reservation
Baseline implementation for the update_reservation REST call
- request_pb (::Google::Cloud::Bigquery::Reservation::V1::UpdateReservationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Bigquery::Reservation::V1::Reservation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Reservation::V1::Reservation) — A result object deserialized from the server's reply
- (::ArgumentError)