Classes
ReservationsClient
Service for the reservations resource.
ReservationsConnection
The ReservationsConnection
object for ReservationsClient
.
ReservationsConnectionIdempotencyPolicy
ReservationsLimitedErrorCountRetryPolicy
A retry policy for ReservationsConnection
based on counting errors.
ReservationsLimitedTimeRetryPolicy
A retry policy for ReservationsConnection
based on elapsed time.
ReservationsRetryPolicy
The retry policy for ReservationsConnection
.
Structs
ReservationsBackoffPolicyOption
Use with google::cloud::Options
to configure the backoff policy.
ReservationsConnectionIdempotencyPolicyOption
Use with google::cloud::Options
to configure which operations are retried.
ReservationsPollingPolicyOption
Use with google::cloud::Options
to configure the long-running operations polling policy.
ReservationsRetryPolicyOption
Use with google::cloud::Options
to configure the retry policy.
Functions
MakeDefaultReservationsConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< ReservationsConnectionIdempotencyPolicy > |
MakeReservationsConnectionRest(Options)
A factory function to construct an object of type ReservationsConnection
that uses REST over HTTP as transport in lieu of gRPC.
REST transport should only be used for services that do not support gRPC or if the existing network configuration precludes using gRPC.
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of ReservationsClient.
The optional options
argument may be used to configure aspects of the returned ReservationsConnection
. Expected options are any of the types in the following option lists:
Parameter | |
---|---|
Name | Description |
options |
(optional) Configure the |
Returns | |
---|---|
Type | Description |
std::shared_ptr< ReservationsConnection > |
Type Aliases
ReservationsPolicyOptionList
OptionList< ReservationsRetryPolicyOption, ReservationsBackoffPolicyOption, ReservationsPollingPolicyOption, ReservationsConnectionIdempotencyPolicyOption >
The options applicable to Reservations.