Classes
RoutesClient
Service for the routes resource.
RoutesConnection
The RoutesConnection
object for RoutesClient
.
RoutesConnectionIdempotencyPolicy
RoutesLimitedErrorCountRetryPolicy
A retry policy for RoutesConnection
based on counting errors.
RoutesLimitedTimeRetryPolicy
A retry policy for RoutesConnection
based on elapsed time.
RoutesRetryPolicy
The retry policy for RoutesConnection
.
Structs
RoutesBackoffPolicyOption
Use with google::cloud::Options
to configure the backoff policy.
RoutesConnectionIdempotencyPolicyOption
Use with google::cloud::Options
to configure which operations are retried.
RoutesPollingPolicyOption
Use with google::cloud::Options
to configure the long-running operations polling policy.
RoutesRetryPolicyOption
Use with google::cloud::Options
to configure the retry policy.
Functions
MakeDefaultRoutesConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< RoutesConnectionIdempotencyPolicy > |
MakeRoutesConnectionRest(Options)
A factory function to construct an object of type RoutesConnection
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 RoutesClient.
The optional options
argument may be used to configure aspects of the returned RoutesConnection
. 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< RoutesConnection > |
Type Aliases
RoutesPolicyOptionList
OptionList< RoutesRetryPolicyOption, RoutesBackoffPolicyOption, RoutesPollingPolicyOption, RoutesConnectionIdempotencyPolicyOption >
The options applicable to Routes.