Classes
AutoscalersClient
Service for the autoscalers resource.
AutoscalersConnection
The AutoscalersConnection
object for AutoscalersClient
.
AutoscalersConnectionIdempotencyPolicy
AutoscalersLimitedErrorCountRetryPolicy
A retry policy for AutoscalersConnection
based on counting errors.
AutoscalersLimitedTimeRetryPolicy
A retry policy for AutoscalersConnection
based on elapsed time.
AutoscalersRetryPolicy
The retry policy for AutoscalersConnection
.
Structs
AutoscalersBackoffPolicyOption
Use with google::cloud::Options
to configure the backoff policy.
AutoscalersConnectionIdempotencyPolicyOption
Use with google::cloud::Options
to configure which operations are retried.
AutoscalersPollingPolicyOption
Use with google::cloud::Options
to configure the long-running operations polling policy.
AutoscalersRetryPolicyOption
Use with google::cloud::Options
to configure the retry policy.
Functions
MakeDefaultAutoscalersConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< AutoscalersConnectionIdempotencyPolicy > |
MakeAutoscalersConnectionRest(Options)
A factory function to construct an object of type AutoscalersConnection
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 AutoscalersClient.
The optional options
argument may be used to configure aspects of the returned AutoscalersConnection
. 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< AutoscalersConnection > |
Type Aliases
AutoscalersPolicyOptionList
OptionList< AutoscalersRetryPolicyOption, AutoscalersBackoffPolicyOption, AutoscalersPollingPolicyOption, AutoscalersConnectionIdempotencyPolicyOption >
The options applicable to Autoscalers.