Namespace google::cloud::compute_instances_v1 (2.28.0)

Classes

InstancesClient

Service for the instances resource.

InstancesConnection

The InstancesConnection object for InstancesClient.

InstancesConnectionIdempotencyPolicy

InstancesLimitedErrorCountRetryPolicy

A retry policy for InstancesConnection based on counting errors.

InstancesLimitedTimeRetryPolicy

A retry policy for InstancesConnection based on elapsed time.

InstancesRetryPolicy

The retry policy for InstancesConnection.

Structs

InstancesBackoffPolicyOption

Use with google::cloud::Options to configure the backoff policy.

InstancesConnectionIdempotencyPolicyOption

Use with google::cloud::Options to configure which operations are retried.

InstancesPollingPolicyOption

Use with google::cloud::Options to configure the long-running operations polling policy.

InstancesRetryPolicyOption

Use with google::cloud::Options to configure the retry policy.

Functions

MakeDefaultInstancesConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< InstancesConnectionIdempotencyPolicy >

MakeInstancesConnectionRest(Options)

A factory function to construct an object of type InstancesConnection 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 InstancesClient.

The optional options argument may be used to configure aspects of the returned InstancesConnection. Expected options are any of the types in the following option lists:

Parameter
Name Description
options

(optional) Configure the InstancesConnection created by this function.

Returns
Type Description
std::shared_ptr< InstancesConnection >