Namespace google::cloud::compute_routers_v1 (2.22.0)

Classes

RoutersClient

Service for the routers resource.

RoutersConnection

The RoutersConnection object for RoutersClient.

RoutersConnectionIdempotencyPolicy

RoutersLimitedErrorCountRetryPolicy

A retry policy for RoutersConnection based on counting errors.

RoutersLimitedTimeRetryPolicy

A retry policy for RoutersConnection based on elapsed time.

RoutersRetryPolicy

The retry policy for RoutersConnection.

Structs

RoutersBackoffPolicyOption

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

RoutersConnectionIdempotencyPolicyOption

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

RoutersPollingPolicyOption

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

RoutersRetryPolicyOption

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

Functions

MakeDefaultRoutersConnectionIdempotencyPolicy()

Returns
TypeDescription
std::unique_ptr< RoutersConnectionIdempotencyPolicy >

MakeRoutersConnectionRest(Options)

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

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

Parameter
NameDescription
options

(optional) Configure the RoutersConnection created by this function.

Returns
TypeDescription
std::shared_ptr< RoutersConnection >

Type Aliases

RoutersPolicyOptionList

Alias Of: OptionList< RoutersRetryPolicyOption, RoutersBackoffPolicyOption, RoutersPollingPolicyOption, RoutersConnectionIdempotencyPolicyOption >

The options applicable to Routers.