Google Cloud BigQuery C++ Client 2.13.0
A C++ Client Library for Google Cloud BigQuery
Loading...
Searching...
No Matches
Public Member Functions | List of all members
google::cloud::bigquery_reservation_v1::ReservationServiceConnection Class Referenceabstract

The ReservationServiceConnection object for ReservationServiceClient. More...

#include <google/cloud/bigquery/reservation/v1/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_reservation_v1_mocks::MockReservationServiceConnection.

Constructor & Destructor Documentation

◆ ~ReservationServiceConnection()

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

Member Function Documentation

◆ CreateAssignment()

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

◆ CreateCapacityCommitment()

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

◆ CreateReservation()

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

◆ DeleteAssignment()

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

◆ DeleteCapacityCommitment()

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

◆ DeleteReservation()

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

◆ GetBiReservation()

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

◆ GetCapacityCommitment()

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

◆ GetReservation()

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

◆ ListAssignments()

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

◆ ListCapacityCommitments()

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

◆ ListReservations()

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

◆ MergeCapacityCommitments()

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

◆ MoveAssignment()

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

◆ options()

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

◆ SearchAllAssignments()

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

◆ SearchAssignments()

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

◆ SplitCapacityCommitment()

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

◆ UpdateAssignment()

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

◆ UpdateBiReservation()

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

◆ UpdateCapacityCommitment()

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

◆ UpdateReservation()

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