Namespace google::cloud::compute_regions_v1 (2.22.0)

Classes

RegionsClient

Service for the regions resource.

RegionsConnection

The RegionsConnection object for RegionsClient.

RegionsConnectionIdempotencyPolicy

RegionsLimitedErrorCountRetryPolicy

A retry policy for RegionsConnection based on counting errors.

RegionsLimitedTimeRetryPolicy

A retry policy for RegionsConnection based on elapsed time.

RegionsRetryPolicy

The retry policy for RegionsConnection.

Structs

RegionsBackoffPolicyOption

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

RegionsConnectionIdempotencyPolicyOption

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

RegionsRetryPolicyOption

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

Functions

MakeDefaultRegionsConnectionIdempotencyPolicy()

Returns
TypeDescription
std::unique_ptr< RegionsConnectionIdempotencyPolicy >

MakeRegionsConnectionRest(Options)

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

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

Parameter
NameDescription
options

(optional) Configure the RegionsConnection created by this function.

Returns
TypeDescription
std::shared_ptr< RegionsConnection >

Type Aliases

RegionsPolicyOptionList

Alias Of: OptionList< RegionsRetryPolicyOption, RegionsBackoffPolicyOption, RegionsConnectionIdempotencyPolicyOption >

The options applicable to Regions.