Namespace google::cloud::compute_target_grpc_proxies_v1 (2.20.0)

Classes

TargetGrpcProxiesClient

Service for the targetGrpcProxies resource.

TargetGrpcProxiesConnection

The TargetGrpcProxiesConnection object for TargetGrpcProxiesClient.

TargetGrpcProxiesConnectionIdempotencyPolicy

TargetGrpcProxiesLimitedErrorCountRetryPolicy

A retry policy for TargetGrpcProxiesConnection based on counting errors.

TargetGrpcProxiesLimitedTimeRetryPolicy

A retry policy for TargetGrpcProxiesConnection based on elapsed time.

TargetGrpcProxiesRetryPolicy

The retry policy for TargetGrpcProxiesConnection.

Structs

TargetGrpcProxiesBackoffPolicyOption

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

TargetGrpcProxiesConnectionIdempotencyPolicyOption

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

TargetGrpcProxiesPollingPolicyOption

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

TargetGrpcProxiesRetryPolicyOption

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

Functions

MakeDefaultTargetGrpcProxiesConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< TargetGrpcProxiesConnectionIdempotencyPolicy >

MakeTargetGrpcProxiesConnectionRest(Options)

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

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

Parameter
Name Description
options

(optional) Configure the TargetGrpcProxiesConnection created by this function.

Returns
Type Description
std::shared_ptr< TargetGrpcProxiesConnection >

Type Aliases

TargetGrpcProxiesPolicyOptionList

Alias Of: OptionList< TargetGrpcProxiesRetryPolicyOption, TargetGrpcProxiesBackoffPolicyOption, TargetGrpcProxiesPollingPolicyOption, TargetGrpcProxiesConnectionIdempotencyPolicyOption >

The options applicable to TargetGrpcProxies.