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 | |
---|---|
Type | Description |
std::unique_ptr< ZonesConnectionIdempotencyPolicy > |
MakeZonesConnectionRest(ExperimentalTag, 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:
Parameters | |
---|---|
Name | Description |
|
|
options |
(optional) Configure the |
Returns | |
---|---|
Type | Description |
std::shared_ptr< ZonesConnection > |
Type Aliases
ZonesPolicyOptionList
OptionList< ZonesRetryPolicyOption, ZonesBackoffPolicyOption, ZonesConnectionIdempotencyPolicyOption >
The options applicable to Zones.