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 | |
---|---|
Type | Description |
std::unique_ptr< RegionsConnectionIdempotencyPolicy > |
MakeRegionsConnectionRest(ExperimentalTag, 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:
Parameters | |
---|---|
Name | Description |
|
|
options |
(optional) Configure the |
Returns | |
---|---|
Type | Description |
std::shared_ptr< RegionsConnection > |
Type Aliases
RegionsPolicyOptionList
OptionList< RegionsRetryPolicyOption, RegionsBackoffPolicyOption, RegionsConnectionIdempotencyPolicyOption >
The options applicable to Regions.