Classes
ReservationBlocksClient
Service for the reservationBlocks resource.
ReservationBlocksConnection
The ReservationBlocksConnection
object for ReservationBlocksClient
.
ReservationBlocksConnectionIdempotencyPolicy
ReservationBlocksLimitedErrorCountRetryPolicy
A retry policy for ReservationBlocksConnection
based on counting errors.
ReservationBlocksLimitedTimeRetryPolicy
A retry policy for ReservationBlocksConnection
based on elapsed time.
ReservationBlocksRetryPolicy
The retry policy for ReservationBlocksConnection
.
Structs
ReservationBlocksBackoffPolicyOption
Use with google::cloud::Options
to configure the backoff policy.
ReservationBlocksConnectionIdempotencyPolicyOption
Use with google::cloud::Options
to configure which operations are retried.
ReservationBlocksPollingPolicyOption
Use with google::cloud::Options
to configure the long-running operations polling policy.
ReservationBlocksRetryPolicyOption
Use with google::cloud::Options
to configure the retry policy.
Functions
MakeDefaultReservationBlocksConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< ReservationBlocksConnectionIdempotencyPolicy > |
MakeReservationBlocksConnectionRest(Options)
A factory function to construct an object of type ReservationBlocksConnection
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 ReservationBlocksClient.
The optional options
argument may be used to configure aspects of the returned ReservationBlocksConnection
. 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< ReservationBlocksConnection > |