Classes
NetworksClient
Service for the networks resource.
NetworksConnection
The NetworksConnection
object for NetworksClient
.
NetworksConnectionIdempotencyPolicy
NetworksLimitedErrorCountRetryPolicy
A retry policy for NetworksConnection
based on counting errors.
NetworksLimitedTimeRetryPolicy
A retry policy for NetworksConnection
based on elapsed time.
NetworksRetryPolicy
The retry policy for NetworksConnection
.
Structs
NetworksBackoffPolicyOption
Use with google::cloud::Options
to configure the backoff policy.
NetworksConnectionIdempotencyPolicyOption
Use with google::cloud::Options
to configure which operations are retried.
NetworksPollingPolicyOption
Use with google::cloud::Options
to configure the long-running operations polling policy.
NetworksRetryPolicyOption
Use with google::cloud::Options
to configure the retry policy.
Functions
MakeDefaultNetworksConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< NetworksConnectionIdempotencyPolicy > |
MakeNetworksConnectionRest(ExperimentalTag, Options)
A factory function to construct an object of type NetworksConnection
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 NetworksClient.
The optional options
argument may be used to configure aspects of the returned NetworksConnection
. Expected options are any of the types in the following option lists:
Parameters | |
---|---|
Name | Description |
|
|
options |
(optional) Configure the |
Returns | |
---|---|
Type | Description |
std::shared_ptr< NetworksConnection > |
Type Aliases
NetworksPolicyOptionList
OptionList< NetworksRetryPolicyOption, NetworksBackoffPolicyOption, NetworksPollingPolicyOption, NetworksConnectionIdempotencyPolicyOption >
The options applicable to Networks.