Namespace google::cloud::compute_reservations_v1 (2.29.0)

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 ReservationsConnection created by this function.

Returns
Type Description
std::shared_ptr< ReservationsConnection >