Namespace google::cloud::compute_region_commitments_v1 (2.34.0-rc)

Classes

RegionCommitmentsClient

Service for the regionCommitments resource.

RegionCommitmentsConnection

The RegionCommitmentsConnection object for RegionCommitmentsClient.

RegionCommitmentsConnectionIdempotencyPolicy

RegionCommitmentsLimitedErrorCountRetryPolicy

A retry policy for RegionCommitmentsConnection based on counting errors.

RegionCommitmentsLimitedTimeRetryPolicy

A retry policy for RegionCommitmentsConnection based on elapsed time.

RegionCommitmentsRetryPolicy

The retry policy for RegionCommitmentsConnection.

Structs

RegionCommitmentsBackoffPolicyOption

Use with google::cloud::Options to configure the backoff policy.

RegionCommitmentsConnectionIdempotencyPolicyOption

Use with google::cloud::Options to configure which operations are retried.

RegionCommitmentsPollingPolicyOption

Use with google::cloud::Options to configure the long-running operations polling policy.

RegionCommitmentsRetryPolicyOption

Use with google::cloud::Options to configure the retry policy.

Functions

MakeDefaultRegionCommitmentsConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< RegionCommitmentsConnectionIdempotencyPolicy >

MakeRegionCommitmentsConnectionRest(Options)

A factory function to construct an object of type RegionCommitmentsConnection 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 RegionCommitmentsClient.

The optional options argument may be used to configure aspects of the returned RegionCommitmentsConnection. Expected options are any of the types in the following option lists:

Parameter
Name Description
options

(optional) Configure the RegionCommitmentsConnection created by this function.

Returns
Type Description
std::shared_ptr< RegionCommitmentsConnection >