Classes
GatewayControlClient
GatewayControl is the control plane API for Connect Gateway.
GatewayControlConnection
The GatewayControlConnection
object for GatewayControlClient
.
GatewayControlConnectionIdempotencyPolicy
GatewayControlLimitedErrorCountRetryPolicy
A retry policy for GatewayControlConnection
based on counting errors.
GatewayControlLimitedTimeRetryPolicy
A retry policy for GatewayControlConnection
based on elapsed time.
GatewayControlRetryPolicy
The retry policy for GatewayControlConnection
.
Structs
GatewayControlBackoffPolicyOption
Use with google::cloud::Options
to configure the backoff policy.
GatewayControlConnectionIdempotencyPolicyOption
Use with google::cloud::Options
to configure which operations are retried.
GatewayControlRetryPolicyOption
Use with google::cloud::Options
to configure the retry policy.
Functions
MakeDefaultGatewayControlConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< GatewayControlConnectionIdempotencyPolicy > |
MakeGatewayControlConnectionRest(Options)
A factory function to construct an object of type GatewayControlConnection
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 GatewayControlClient.
The optional options
argument may be used to configure aspects of the returned GatewayControlConnection
. Expected options are any of the types in the following option lists:
Parameter | |
---|---|
Name | Description |
options |
(optional) Configure the |
Returns | |
---|---|
Type | Description |
std::shared_ptr< GatewayControlConnection > |