Namespace google::cloud::compute_target_instances_v1 (2.22.0)

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
TypeDescription
std::unique_ptr< TargetInstancesConnectionIdempotencyPolicy >

MakeTargetInstancesConnectionRest(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:

Parameter
NameDescription
options

(optional) Configure the TargetInstancesConnection created by this function.

Returns
TypeDescription
std::shared_ptr< TargetInstancesConnection >

Type Aliases

TargetInstancesPolicyOptionList

Alias Of: OptionList< TargetInstancesRetryPolicyOption, TargetInstancesBackoffPolicyOption, TargetInstancesPollingPolicyOption, TargetInstancesConnectionIdempotencyPolicyOption >

The options applicable to TargetInstances.