Namespace google::cloud::serviceusage_v1 (2.15.1)

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

ServiceUsageLimitedErrorCountRetryPolicy

A retry policy for ServiceUsageConnection based on counting errors.

ServiceUsageLimitedTimeRetryPolicy

A retry policy for ServiceUsageConnection based on elapsed time.

ServiceUsageRetryPolicy

The retry policy for ServiceUsageConnection.

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

ServiceUsagePolicyOptionList

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

The options applicable to ServiceUsage.