Namespace google::cloud::compute_target_vpn_gateways_v1 (2.32.0-rc)

Classes

TargetVpnGatewaysClient

Service for the targetVpnGateways resource.

TargetVpnGatewaysConnection

The TargetVpnGatewaysConnection object for TargetVpnGatewaysClient.

TargetVpnGatewaysConnectionIdempotencyPolicy

TargetVpnGatewaysLimitedErrorCountRetryPolicy

A retry policy for TargetVpnGatewaysConnection based on counting errors.

TargetVpnGatewaysLimitedTimeRetryPolicy

A retry policy for TargetVpnGatewaysConnection based on elapsed time.

TargetVpnGatewaysRetryPolicy

The retry policy for TargetVpnGatewaysConnection.

Structs

TargetVpnGatewaysBackoffPolicyOption

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

TargetVpnGatewaysConnectionIdempotencyPolicyOption

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

TargetVpnGatewaysPollingPolicyOption

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

TargetVpnGatewaysRetryPolicyOption

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

Functions

MakeDefaultTargetVpnGatewaysConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< TargetVpnGatewaysConnectionIdempotencyPolicy >

MakeTargetVpnGatewaysConnectionRest(Options)

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

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

Parameter
Name Description
options

(optional) Configure the TargetVpnGatewaysConnection created by this function.

Returns
Type Description
std::shared_ptr< TargetVpnGatewaysConnection >