Classes
ResourcePoliciesClient
Service for the resourcePolicies resource.
ResourcePoliciesConnection
The ResourcePoliciesConnection
object for ResourcePoliciesClient
.
ResourcePoliciesConnectionIdempotencyPolicy
ResourcePoliciesLimitedErrorCountRetryPolicy
A retry policy for ResourcePoliciesConnection
based on counting errors.
ResourcePoliciesLimitedTimeRetryPolicy
A retry policy for ResourcePoliciesConnection
based on elapsed time.
ResourcePoliciesRetryPolicy
The retry policy for ResourcePoliciesConnection
.
Structs
ResourcePoliciesBackoffPolicyOption
Use with google::cloud::Options
to configure the backoff policy.
ResourcePoliciesConnectionIdempotencyPolicyOption
Use with google::cloud::Options
to configure which operations are retried.
ResourcePoliciesPollingPolicyOption
Use with google::cloud::Options
to configure the long-running operations polling policy.
ResourcePoliciesRetryPolicyOption
Use with google::cloud::Options
to configure the retry policy.
Functions
MakeDefaultResourcePoliciesConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< ResourcePoliciesConnectionIdempotencyPolicy > |
MakeResourcePoliciesConnectionRest(ExperimentalTag, Options)
A factory function to construct an object of type ResourcePoliciesConnection
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 ResourcePoliciesClient.
The optional options
argument may be used to configure aspects of the returned ResourcePoliciesConnection
. 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< ResourcePoliciesConnection > |
Type Aliases
ResourcePoliciesPolicyOptionList
OptionList< ResourcePoliciesRetryPolicyOption, ResourcePoliciesBackoffPolicyOption, ResourcePoliciesPollingPolicyOption, ResourcePoliciesConnectionIdempotencyPolicyOption >
The options applicable to ResourcePolicies.