Namespace google::cloud::serviceusage_v1 (2.12.0)

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 ServiceUsageConnection created by this function.

Returns
Type Description
std::shared_ptr< ServiceUsageConnection >

MakeDefaultServiceUsageConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< ServiceUsageConnectionIdempotencyPolicy >

Type Aliases

ServiceUsageRetryPolicy

Alias Of: ::google::cloud::internal::TraitBasedRetryPolicy< serviceusage_v1_internal::ServiceUsageRetryTraits >

ServiceUsageLimitedTimeRetryPolicy

Alias Of: ::google::cloud::internal::LimitedTimeRetryPolicy< serviceusage_v1_internal::ServiceUsageRetryTraits >

ServiceUsageLimitedErrorCountRetryPolicy

Alias Of: ::google::cloud::internal::LimitedErrorCountRetryPolicy< serviceusage_v1_internal::ServiceUsageRetryTraits >

ServiceUsagePolicyOptionList

Alias Of: OptionList< ServiceUsageRetryPolicyOption, ServiceUsageBackoffPolicyOption, ServiceUsagePollingPolicyOption, ServiceUsageConnectionIdempotencyPolicyOption >

The options applicable to ServiceUsage.