Classes
AdviceClient
Service for the advice resource.
AdviceConnection
The AdviceConnection object for AdviceClient.
AdviceConnectionIdempotencyPolicy
AdviceLimitedErrorCountRetryPolicy
A retry policy for AdviceConnection based on counting errors.
AdviceLimitedTimeRetryPolicy
A retry policy for AdviceConnection based on elapsed time.
AdviceRetryPolicy
The retry policy for AdviceConnection.
Structs
AdviceBackoffPolicyOption
Use with google::cloud::Options to configure the backoff policy.
AdviceConnectionIdempotencyPolicyOption
Use with google::cloud::Options to configure which operations are retried.
AdviceRetryPolicyOption
Use with google::cloud::Options to configure the retry policy.
Functions
MakeDefaultAdviceConnectionIdempotencyPolicy()
| Returns | |
|---|---|
| Type | Description |
std::unique_ptr< AdviceConnectionIdempotencyPolicy > |
|
MakeAdviceConnectionRest(Options)
A factory function to construct an object of type AdviceConnection 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 AdviceClient.
The optional options argument may be used to configure aspects of the returned AdviceConnection. Expected options are any of the types in the following option lists:
| Parameter | |
|---|---|
| Name | Description |
options |
Options(optional) Configure the |
| Returns | |
|---|---|
| Type | Description |
std::shared_ptr< AdviceConnection > |
|