Classes
RoutersClient
Service for the routers resource.
RoutersConnection
The RoutersConnection
object for RoutersClient
.
RoutersConnectionIdempotencyPolicy
RoutersLimitedErrorCountRetryPolicy
A retry policy for RoutersConnection
based on counting errors.
RoutersLimitedTimeRetryPolicy
A retry policy for RoutersConnection
based on elapsed time.
RoutersRetryPolicy
The retry policy for RoutersConnection
.
Structs
RoutersBackoffPolicyOption
Use with google::cloud::Options
to configure the backoff policy.
RoutersConnectionIdempotencyPolicyOption
Use with google::cloud::Options
to configure which operations are retried.
RoutersPollingPolicyOption
Use with google::cloud::Options
to configure the long-running operations polling policy.
RoutersRetryPolicyOption
Use with google::cloud::Options
to configure the retry policy.
Functions
MakeDefaultRoutersConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< RoutersConnectionIdempotencyPolicy > |
MakeRoutersConnectionRest(Options)
A factory function to construct an object of type RoutersConnection
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 RoutersClient.
The optional options
argument may be used to configure aspects of the returned RoutersConnection
. Expected options are any of the types in the following option lists:
Parameter | |
---|---|
Name | Description |
options |
(optional) Configure the |
Returns | |
---|---|
Type | Description |
std::shared_ptr< RoutersConnection > |
Type Aliases
RoutersPolicyOptionList
OptionList< RoutersRetryPolicyOption, RoutersBackoffPolicyOption, RoutersPollingPolicyOption, RoutersConnectionIdempotencyPolicyOption >
The options applicable to Routers.