Namespace google::cloud::compute_zones_v1 (2.21.0)

Classes

ZonesClient

Service for the zones resource.

ZonesConnection

The ZonesConnection object for ZonesClient.

ZonesConnectionIdempotencyPolicy

ZonesLimitedErrorCountRetryPolicy

A retry policy for ZonesConnection based on counting errors.

ZonesLimitedTimeRetryPolicy

A retry policy for ZonesConnection based on elapsed time.

ZonesRetryPolicy

The retry policy for ZonesConnection.

Structs

ZonesBackoffPolicyOption

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

ZonesConnectionIdempotencyPolicyOption

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

ZonesRetryPolicyOption

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

Functions

MakeDefaultZonesConnectionIdempotencyPolicy()

Returns
TypeDescription
std::unique_ptr< ZonesConnectionIdempotencyPolicy >

MakeZonesConnectionRest(Options)

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

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

Parameter
NameDescription
options

(optional) Configure the ZonesConnection created by this function.

Returns
TypeDescription
std::shared_ptr< ZonesConnection >

Type Aliases

ZonesPolicyOptionList

Alias Of: OptionList< ZonesRetryPolicyOption, ZonesBackoffPolicyOption, ZonesConnectionIdempotencyPolicyOption >

The options applicable to Zones.