Namespace google::cloud::compute_target_instances_v1 (2.27.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
Type Description
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
Name Description
options

(optional) Configure the TargetInstancesConnection created by this function.

Returns
Type Description
std::shared_ptr< TargetInstancesConnection >