Classes
ServiceUsageClient
Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use.
ServiceUsageConnection
The ServiceUsageConnection
object for ServiceUsageClient
.
ServiceUsageConnectionIdempotencyPolicy
Structs
ServiceUsageBackoffPolicyOption
Use with google::cloud::Options
to configure the backoff policy.
ServiceUsageConnectionIdempotencyPolicyOption
Use with google::cloud::Options
to configure which operations are retried.
ServiceUsagePollingPolicyOption
Use with google::cloud::Options
to configure the long-running operations polling policy.
ServiceUsageRetryPolicyOption
Use with google::cloud::Options
to configure the retry policy.
Functions
MakeServiceUsageConnection(Options)
A factory function to construct an object of type ServiceUsageConnection
.
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of ServiceUsageClient.
The optional options
argument may be used to configure aspects of the returned ServiceUsageConnection
. 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< ServiceUsageConnection > |
MakeDefaultServiceUsageConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< ServiceUsageConnectionIdempotencyPolicy > |
Type Aliases
ServiceUsageRetryPolicy
::google::cloud::internal::TraitBasedRetryPolicy< serviceusage_v1_internal::ServiceUsageRetryTraits >
ServiceUsageLimitedTimeRetryPolicy
::google::cloud::internal::LimitedTimeRetryPolicy< serviceusage_v1_internal::ServiceUsageRetryTraits >
ServiceUsageLimitedErrorCountRetryPolicy
::google::cloud::internal::LimitedErrorCountRetryPolicy< serviceusage_v1_internal::ServiceUsageRetryTraits >
ServiceUsagePolicyOptionList
OptionList< ServiceUsageRetryPolicyOption, ServiceUsageBackoffPolicyOption, ServiceUsagePollingPolicyOption, ServiceUsageConnectionIdempotencyPolicyOption >
The options applicable to ServiceUsage.