Namespace google::cloud::compute_region_instances_v1 (2.19.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
TypeDescription
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
NameDescription
options

(optional) Configure the RegionInstancesConnection created by this function.

Returns
TypeDescription
std::shared_ptr< RegionInstancesConnection >

Type Aliases

RegionInstancesPolicyOptionList

Alias Of: OptionList< RegionInstancesRetryPolicyOption, RegionInstancesBackoffPolicyOption, RegionInstancesPollingPolicyOption, RegionInstancesConnectionIdempotencyPolicyOption >

The options applicable to RegionInstances.