Classes
LookupServiceClient
Service Directory API for looking up service data at runtime.
LookupServiceConnection
The LookupServiceConnection
object for LookupServiceClient
.
LookupServiceConnectionIdempotencyPolicy
LookupServiceLimitedErrorCountRetryPolicy
A retry policy for LookupServiceConnection
based on counting errors.
LookupServiceLimitedTimeRetryPolicy
A retry policy for LookupServiceConnection
based on elapsed time.
LookupServiceRetryPolicy
The retry policy for LookupServiceConnection
.
RegistrationServiceClient
Service Directory API for registering services.
RegistrationServiceConnection
The RegistrationServiceConnection
object for RegistrationServiceClient
.
RegistrationServiceConnectionIdempotencyPolicy
RegistrationServiceLimitedErrorCountRetryPolicy
A retry policy for RegistrationServiceConnection
based on counting errors.
RegistrationServiceLimitedTimeRetryPolicy
A retry policy for RegistrationServiceConnection
based on elapsed time.
RegistrationServiceRetryPolicy
The retry policy for RegistrationServiceConnection
.
Structs
LookupServiceBackoffPolicyOption
Use with google::cloud::Options
to configure the backoff policy.
LookupServiceConnectionIdempotencyPolicyOption
Use with google::cloud::Options
to configure which operations are retried.
LookupServiceRetryPolicyOption
Use with google::cloud::Options
to configure the retry policy.
RegistrationServiceBackoffPolicyOption
Use with google::cloud::Options
to configure the backoff policy.
RegistrationServiceConnectionIdempotencyPolicyOption
Use with google::cloud::Options
to configure which operations are retried.
RegistrationServiceRetryPolicyOption
Use with google::cloud::Options
to configure the retry policy.
Functions
MakeLookupServiceConnection(Options)
A factory function to construct an object of type LookupServiceConnection
.
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of LookupServiceClient.
The optional options
argument may be used to configure aspects of the returned LookupServiceConnection
. 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< LookupServiceConnection > |
MakeDefaultLookupServiceConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< LookupServiceConnectionIdempotencyPolicy > |
MakeRegistrationServiceConnection(Options)
A factory function to construct an object of type RegistrationServiceConnection
.
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of RegistrationServiceClient.
The optional options
argument may be used to configure aspects of the returned RegistrationServiceConnection
. 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< RegistrationServiceConnection > |
MakeDefaultRegistrationServiceConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< RegistrationServiceConnectionIdempotencyPolicy > |