Classes
TargetInstancesClient
Service for the targetInstances resource.
TargetInstancesConnection
The TargetInstancesConnection
object for TargetInstancesClient
.
TargetInstancesConnectionIdempotencyPolicy
TargetInstancesLimitedErrorCountRetryPolicy
A retry policy for TargetInstancesConnection
based on counting errors.
TargetInstancesLimitedTimeRetryPolicy
A retry policy for TargetInstancesConnection
based on elapsed time.
TargetInstancesRetryPolicy
The retry policy for TargetInstancesConnection
.
Structs
TargetInstancesBackoffPolicyOption
Use with google::cloud::Options
to configure the backoff policy.
TargetInstancesConnectionIdempotencyPolicyOption
Use with google::cloud::Options
to configure which operations are retried.
TargetInstancesPollingPolicyOption
Use with google::cloud::Options
to configure the long-running operations polling policy.
TargetInstancesRetryPolicyOption
Use with google::cloud::Options
to configure the retry policy.
Functions
MakeDefaultTargetInstancesConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< TargetInstancesConnectionIdempotencyPolicy > |
MakeTargetInstancesConnectionRest(ExperimentalTag, Options)
A factory function to construct an object of type TargetInstancesConnection
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 TargetInstancesClient.
The optional options
argument may be used to configure aspects of the returned TargetInstancesConnection
. Expected options are any of the types in the following option lists:
Parameters | |
---|---|
Name | Description |
|
|
options |
(optional) Configure the |
Returns | |
---|---|
Type | Description |
std::shared_ptr< TargetInstancesConnection > |
Type Aliases
TargetInstancesPolicyOptionList
OptionList< TargetInstancesRetryPolicyOption, TargetInstancesBackoffPolicyOption, TargetInstancesPollingPolicyOption, TargetInstancesConnectionIdempotencyPolicyOption >
The options applicable to TargetInstances.