Classes
HostsClient
Service for the hosts resource.
HostsConnection
The HostsConnection object for HostsClient.
HostsConnectionIdempotencyPolicy
HostsLimitedErrorCountRetryPolicy
A retry policy for HostsConnection based on counting errors.
HostsLimitedTimeRetryPolicy
A retry policy for HostsConnection based on elapsed time.
HostsRetryPolicy
The retry policy for HostsConnection.
Structs
HostsBackoffPolicyOption
Use with google::cloud::Options to configure the backoff policy.
HostsConnectionIdempotencyPolicyOption
Use with google::cloud::Options to configure which operations are retried.
HostsPollingPolicyOption
Use with google::cloud::Options to configure the long-running operations polling policy.
HostsRetryPolicyOption
Use with google::cloud::Options to configure the retry policy.
Functions
MakeDefaultHostsConnectionIdempotencyPolicy()
| Returns | |
|---|---|
| Type | Description |
std::unique_ptr< HostsConnectionIdempotencyPolicy > |
|
MakeHostsConnectionRest(Options)
A factory function to construct an object of type HostsConnection 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 HostsClient.
The optional options argument may be used to configure aspects of the returned HostsConnection. 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< HostsConnection > |
|