Namespace google::cloud::compute_region_instances_v1 (2.30.0)

Classes

RegionInstancesClient

Service for the regionInstances resource.

RegionInstancesConnection

The RegionInstancesConnection object for RegionInstancesClient.

RegionInstancesConnectionIdempotencyPolicy

RegionInstancesLimitedErrorCountRetryPolicy

A retry policy for RegionInstancesConnection based on counting errors.

RegionInstancesLimitedTimeRetryPolicy

A retry policy for RegionInstancesConnection based on elapsed time.

RegionInstancesRetryPolicy

The retry policy for RegionInstancesConnection.

Structs

RegionInstancesBackoffPolicyOption

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

RegionInstancesConnectionIdempotencyPolicyOption

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

RegionInstancesPollingPolicyOption

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

RegionInstancesRetryPolicyOption

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

Functions

MakeDefaultRegionInstancesConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< RegionInstancesConnectionIdempotencyPolicy >

MakeRegionInstancesConnectionRest(Options)

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

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

Parameter
Name Description
options

(optional) Configure the RegionInstancesConnection created by this function.

Returns
Type Description
std::shared_ptr< RegionInstancesConnection >