19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGQUERY_RESERVATION_V1_RESERVATION_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGQUERY_RESERVATION_V1_RESERVATION_CONNECTION_H
22#include "google/cloud/bigquery/reservation/v1/internal/reservation_retry_traits.h"
23#include "google/cloud/bigquery/reservation/v1/reservation_connection_idempotency_policy.h"
24#include "google/cloud/backoff_policy.h"
25#include "google/cloud/options.h"
26#include "google/cloud/status_or.h"
27#include "google/cloud/stream_range.h"
28#include "google/cloud/version.h"
29#include <google/cloud/bigquery/reservation/v1/reservation.pb.h>
35GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
37using ReservationServiceRetryPolicy =
39 bigquery_reservation_v1_internal::ReservationServiceRetryTraits>;
41using ReservationServiceLimitedTimeRetryPolicy =
43 bigquery_reservation_v1_internal::ReservationServiceRetryTraits>;
45using ReservationServiceLimitedErrorCountRetryPolicy =
46 ::
google::
cloud::internal::LimitedErrorCountRetryPolicy<
47 bigquery_reservation_v1_internal::ReservationServiceRetryTraits>;
50
51
52
53
54
55
56
57
58
59
60
61
94 CreateCapacityCommitmentRequest
const& request);
104 GetCapacityCommitmentRequest
const& request);
108 DeleteCapacityCommitmentRequest
const& request);
112 UpdateCapacityCommitmentRequest
const& request);
117 SplitCapacityCommitmentRequest
const& request);
121 MergeCapacityCommitmentsRequest
const& request);
163 UpdateBiReservationRequest
const& request);
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
193GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
The ReservationServiceConnection object for ReservationServiceClient.
Definition: reservation_connection.h:62
virtual StatusOr< google::cloud::bigquery::reservation::v1::BiReservation > UpdateBiReservation(google::cloud::bigquery::reservation::v1::UpdateBiReservationRequest const &request)
virtual StatusOr< google::cloud::bigquery::reservation::v1::CapacityCommitment > GetCapacityCommitment(google::cloud::bigquery::reservation::v1::GetCapacityCommitmentRequest const &request)
virtual StreamRange< google::cloud::bigquery::reservation::v1::Assignment > SearchAssignments(google::cloud::bigquery::reservation::v1::SearchAssignmentsRequest request)
virtual ~ReservationServiceConnection()=0
virtual StreamRange< google::cloud::bigquery::reservation::v1::Assignment > SearchAllAssignments(google::cloud::bigquery::reservation::v1::SearchAllAssignmentsRequest request)
virtual Status DeleteReservation(google::cloud::bigquery::reservation::v1::DeleteReservationRequest const &request)
virtual Options options()
Definition: reservation_connection.h:66
virtual StatusOr< google::cloud::bigquery::reservation::v1::Reservation > CreateReservation(google::cloud::bigquery::reservation::v1::CreateReservationRequest 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::Reservation > GetReservation(google::cloud::bigquery::reservation::v1::GetReservationRequest const &request)
virtual StatusOr< google::cloud::bigquery::reservation::v1::Assignment > UpdateAssignment(google::cloud::bigquery::reservation::v1::UpdateAssignmentRequest const &request)
virtual Status DeleteAssignment(google::cloud::bigquery::reservation::v1::DeleteAssignmentRequest const &request)
virtual StatusOr< google::cloud::bigquery::reservation::v1::BiReservation > GetBiReservation(google::cloud::bigquery::reservation::v1::GetBiReservationRequest const &request)
virtual Status DeleteCapacityCommitment(google::cloud::bigquery::reservation::v1::DeleteCapacityCommitmentRequest 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::Reservation > ListReservations(google::cloud::bigquery::reservation::v1::ListReservationsRequest 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 > UpdateCapacityCommitment(google::cloud::bigquery::reservation::v1::UpdateCapacityCommitmentRequest const &request)
virtual StatusOr< google::cloud::bigquery::reservation::v1::Assignment > MoveAssignment(google::cloud::bigquery::reservation::v1::MoveAssignmentRequest 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 > MergeCapacityCommitments(google::cloud::bigquery::reservation::v1::MergeCapacityCommitmentsRequest const &request)
virtual StreamRange< google::cloud::bigquery::reservation::v1::Assignment > ListAssignments(google::cloud::bigquery::reservation::v1::ListAssignmentsRequest request)
virtual StatusOr< google::cloud::bigquery::reservation::v1::CapacityCommitment > CreateCapacityCommitment(google::cloud::bigquery::reservation::v1::CreateCapacityCommitmentRequest const &request)
Definition: reservation_client.h:32
std::shared_ptr< ReservationServiceConnection > MakeReservationServiceConnection(Options options={})
A factory function to construct an object of type ReservationServiceConnection.
Definition: analytics_hub_client.h:30