Namespace google::cloud::compute_resource_policies_v1 (2.19.0)

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
TypeDescription
std::unique_ptr< ResourcePoliciesConnectionIdempotencyPolicy >

MakeResourcePoliciesConnectionRest(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:

Parameter
NameDescription
options

(optional) Configure the ResourcePoliciesConnection created by this function.

Returns
TypeDescription
std::shared_ptr< ResourcePoliciesConnection >

Type Aliases

ResourcePoliciesPolicyOptionList

Alias Of: OptionList< ResourcePoliciesRetryPolicyOption, ResourcePoliciesBackoffPolicyOption, ResourcePoliciesPollingPolicyOption, ResourcePoliciesConnectionIdempotencyPolicyOption >

The options applicable to ResourcePolicies.