Google Cloud BigQuery C++ Client  2.1.0
A C++ Client Library for Google Cloud BigQuery
Public Member Functions | List of all members
google::cloud::bigquery::ReservationServiceConnection Class Referenceabstract

The ReservationServiceConnection object for ReservationServiceClient. More...

#include <google/cloud/bigquery/reservation_connection.h>

Public Member Functions

virtual ~ReservationServiceConnection ()=0
 
virtual Options options ()
 
virtual StatusOr< google::cloud::bigquery::reservation::v1::Reservation > CreateReservation (google::cloud::bigquery::reservation::v1::CreateReservationRequest const &request)
 
virtual StreamRange< google::cloud::bigquery::reservation::v1::Reservation > ListReservations (google::cloud::bigquery::reservation::v1::ListReservationsRequest request)
 
virtual StatusOr< google::cloud::bigquery::reservation::v1::Reservation > GetReservation (google::cloud::bigquery::reservation::v1::GetReservationRequest const &request)
 
virtual Status DeleteReservation (google::cloud::bigquery::reservation::v1::DeleteReservationRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::reservation::v1::Reservation > UpdateReservation (google::cloud::bigquery::reservation::v1::UpdateReservationRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::reservation::v1::CapacityCommitment > CreateCapacityCommitment (google::cloud::bigquery::reservation::v1::CreateCapacityCommitmentRequest const &request)
 
virtual StreamRange< google::cloud::bigquery::reservation::v1::CapacityCommitment > ListCapacityCommitments (google::cloud::bigquery::reservation::v1::ListCapacityCommitmentsRequest request)
 
virtual StatusOr< google::cloud::bigquery::reservation::v1::CapacityCommitment > GetCapacityCommitment (google::cloud::bigquery::reservation::v1::GetCapacityCommitmentRequest const &request)
 
virtual Status DeleteCapacityCommitment (google::cloud::bigquery::reservation::v1::DeleteCapacityCommitmentRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::reservation::v1::CapacityCommitment > UpdateCapacityCommitment (google::cloud::bigquery::reservation::v1::UpdateCapacityCommitmentRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::reservation::v1::SplitCapacityCommitmentResponse > SplitCapacityCommitment (google::cloud::bigquery::reservation::v1::SplitCapacityCommitmentRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::reservation::v1::CapacityCommitment > MergeCapacityCommitments (google::cloud::bigquery::reservation::v1::MergeCapacityCommitmentsRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::reservation::v1::Assignment > CreateAssignment (google::cloud::bigquery::reservation::v1::CreateAssignmentRequest const &request)
 
virtual StreamRange< google::cloud::bigquery::reservation::v1::Assignment > ListAssignments (google::cloud::bigquery::reservation::v1::ListAssignmentsRequest request)
 
virtual Status DeleteAssignment (google::cloud::bigquery::reservation::v1::DeleteAssignmentRequest const &request)
 
virtual StreamRange< google::cloud::bigquery::reservation::v1::Assignment > SearchAssignments (google::cloud::bigquery::reservation::v1::SearchAssignmentsRequest request)
 
virtual StreamRange< google::cloud::bigquery::reservation::v1::Assignment > SearchAllAssignments (google::cloud::bigquery::reservation::v1::SearchAllAssignmentsRequest request)
 
virtual StatusOr< google::cloud::bigquery::reservation::v1::Assignment > MoveAssignment (google::cloud::bigquery::reservation::v1::MoveAssignmentRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::reservation::v1::Assignment > UpdateAssignment (google::cloud::bigquery::reservation::v1::UpdateAssignmentRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::reservation::v1::BiReservation > GetBiReservation (google::cloud::bigquery::reservation::v1::GetBiReservationRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::reservation::v1::BiReservation > UpdateBiReservation (google::cloud::bigquery::reservation::v1::UpdateBiReservationRequest const &request)
 

Detailed Description

The ReservationServiceConnection object for ReservationServiceClient.

This interface defines virtual methods for each of the user-facing overload sets in ReservationServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ReservationServiceClient.

To create a concrete instance, see MakeReservationServiceConnection().

For mocking, see bigquery_mocks::MockReservationServiceConnection.

Definition at line 61 of file reservation_connection.h.

Constructor & Destructor Documentation

◆ ~ReservationServiceConnection()

virtual google::cloud::bigquery::ReservationServiceConnection::~ReservationServiceConnection ( )
pure virtual

Member Function Documentation

◆ CreateAssignment()

virtual StatusOr<google::cloud::bigquery::reservation::v1::Assignment> google::cloud::bigquery::ReservationServiceConnection::CreateAssignment ( google::cloud::bigquery::reservation::v1::CreateAssignmentRequest const &  request)
virtual

◆ CreateCapacityCommitment()

virtual StatusOr<google::cloud::bigquery::reservation::v1::CapacityCommitment> google::cloud::bigquery::ReservationServiceConnection::CreateCapacityCommitment ( google::cloud::bigquery::reservation::v1::CreateCapacityCommitmentRequest const &  request)
virtual

◆ CreateReservation()

virtual StatusOr<google::cloud::bigquery::reservation::v1::Reservation> google::cloud::bigquery::ReservationServiceConnection::CreateReservation ( google::cloud::bigquery::reservation::v1::CreateReservationRequest const &  request)
virtual

◆ DeleteAssignment()

virtual Status google::cloud::bigquery::ReservationServiceConnection::DeleteAssignment ( google::cloud::bigquery::reservation::v1::DeleteAssignmentRequest const &  request)
virtual

◆ DeleteCapacityCommitment()

virtual Status google::cloud::bigquery::ReservationServiceConnection::DeleteCapacityCommitment ( google::cloud::bigquery::reservation::v1::DeleteCapacityCommitmentRequest const &  request)
virtual

◆ DeleteReservation()

virtual Status google::cloud::bigquery::ReservationServiceConnection::DeleteReservation ( google::cloud::bigquery::reservation::v1::DeleteReservationRequest const &  request)
virtual

◆ GetBiReservation()

virtual StatusOr<google::cloud::bigquery::reservation::v1::BiReservation> google::cloud::bigquery::ReservationServiceConnection::GetBiReservation ( google::cloud::bigquery::reservation::v1::GetBiReservationRequest const &  request)
virtual

◆ GetCapacityCommitment()

virtual StatusOr<google::cloud::bigquery::reservation::v1::CapacityCommitment> google::cloud::bigquery::ReservationServiceConnection::GetCapacityCommitment ( google::cloud::bigquery::reservation::v1::GetCapacityCommitmentRequest const &  request)
virtual

◆ GetReservation()

virtual StatusOr<google::cloud::bigquery::reservation::v1::Reservation> google::cloud::bigquery::ReservationServiceConnection::GetReservation ( google::cloud::bigquery::reservation::v1::GetReservationRequest const &  request)
virtual

◆ ListAssignments()

virtual StreamRange<google::cloud::bigquery::reservation::v1::Assignment> google::cloud::bigquery::ReservationServiceConnection::ListAssignments ( google::cloud::bigquery::reservation::v1::ListAssignmentsRequest  request)
virtual

◆ ListCapacityCommitments()

virtual StreamRange< google::cloud::bigquery::reservation::v1::CapacityCommitment> google::cloud::bigquery::ReservationServiceConnection::ListCapacityCommitments ( google::cloud::bigquery::reservation::v1::ListCapacityCommitmentsRequest  request)
virtual

◆ ListReservations()

virtual StreamRange<google::cloud::bigquery::reservation::v1::Reservation> google::cloud::bigquery::ReservationServiceConnection::ListReservations ( google::cloud::bigquery::reservation::v1::ListReservationsRequest  request)
virtual

◆ MergeCapacityCommitments()

virtual StatusOr<google::cloud::bigquery::reservation::v1::CapacityCommitment> google::cloud::bigquery::ReservationServiceConnection::MergeCapacityCommitments ( google::cloud::bigquery::reservation::v1::MergeCapacityCommitmentsRequest const &  request)
virtual

◆ MoveAssignment()

virtual StatusOr<google::cloud::bigquery::reservation::v1::Assignment> google::cloud::bigquery::ReservationServiceConnection::MoveAssignment ( google::cloud::bigquery::reservation::v1::MoveAssignmentRequest const &  request)
virtual

◆ options()

virtual Options google::cloud::bigquery::ReservationServiceConnection::options ( )
inlinevirtual

Definition at line 65 of file reservation_connection.h.

◆ SearchAllAssignments()

virtual StreamRange<google::cloud::bigquery::reservation::v1::Assignment> google::cloud::bigquery::ReservationServiceConnection::SearchAllAssignments ( google::cloud::bigquery::reservation::v1::SearchAllAssignmentsRequest  request)
virtual

◆ SearchAssignments()

virtual StreamRange<google::cloud::bigquery::reservation::v1::Assignment> google::cloud::bigquery::ReservationServiceConnection::SearchAssignments ( google::cloud::bigquery::reservation::v1::SearchAssignmentsRequest  request)
virtual

◆ SplitCapacityCommitment()

virtual StatusOr< google::cloud::bigquery::reservation::v1::SplitCapacityCommitmentResponse> google::cloud::bigquery::ReservationServiceConnection::SplitCapacityCommitment ( google::cloud::bigquery::reservation::v1::SplitCapacityCommitmentRequest const &  request)
virtual

◆ UpdateAssignment()

virtual StatusOr<google::cloud::bigquery::reservation::v1::Assignment> google::cloud::bigquery::ReservationServiceConnection::UpdateAssignment ( google::cloud::bigquery::reservation::v1::UpdateAssignmentRequest const &  request)
virtual

◆ UpdateBiReservation()

virtual StatusOr<google::cloud::bigquery::reservation::v1::BiReservation> google::cloud::bigquery::ReservationServiceConnection::UpdateBiReservation ( google::cloud::bigquery::reservation::v1::UpdateBiReservationRequest const &  request)
virtual

◆ UpdateCapacityCommitment()

virtual StatusOr<google::cloud::bigquery::reservation::v1::CapacityCommitment> google::cloud::bigquery::ReservationServiceConnection::UpdateCapacityCommitment ( google::cloud::bigquery::reservation::v1::UpdateCapacityCommitmentRequest const &  request)
virtual

◆ UpdateReservation()

virtual StatusOr<google::cloud::bigquery::reservation::v1::Reservation> google::cloud::bigquery::ReservationServiceConnection::UpdateReservation ( google::cloud::bigquery::reservation::v1::UpdateReservationRequest const &  request)
virtual