serviceusage/v1 library

Service Usage API - v1

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.

For more information, see cloud.google.com/service-usage/

Create an instance of ServiceUsageApi to access these resources:

Classes

Api
Api is a light-weight descriptor for an API Interface.
Authentication
Authentication defines the authentication configuration for API methods provided by an API service.
AuthenticationRule
Authentication rules for the service.
AuthProvider
Configuration for an authentication provider, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
BatchEnableServicesRequest
Request message for the BatchEnableServices method.
BatchGetServicesResponse
Response message for the BatchGetServices method.
DisableServiceRequest
Request message for the DisableService method.
Documentation
Documentation provides the information for describing a service.
GoogleApiServiceusageV1Service
A service that is available for use by the consumer.
GoogleApiServiceusageV1ServiceConfig
The configuration of the service.
ListOperationsResponse
The response message for Operations.ListOperations.
ListServicesResponse
Response message for the ListServices method.
Method
Method represents a method of an API interface.
MonitoredResourceDescriptor
An object that describes the schema of a MonitoredResource object using a type name and a set of labels.
Monitoring
Monitoring configuration of the service.
Operation
This resource represents a long-running operation that is the result of a network API call.
OperationsResource
Page
Represents a documentation page.
Quota
Quota configuration helps to achieve fairness and budgeting in service usage.
ServicesResource
ServiceUsageApi
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.
Usage
Configuration controlling usage of a service.

Typedefs

AuthRequirement = $AuthRequirement
User-defined authentication requirements, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
CancelOperationRequest = $Empty
The request message for Operations.CancelOperation.
DocumentationRule = $DocumentationRule
A documentation rule provides information about individual API elements.
Empty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
EnableServiceRequest = $Empty
Request message for the EnableService method.
Endpoint = $Endpoint
Endpoint describes a network address of a service that serves a set of APIs.
JwtLocation = $JwtLocation
Specifies a location to extract JWT from an API request.
LabelDescriptor = $LabelDescriptor
A description of a label.
MetricRule = $MetricRule
Bind API methods to metrics.
Mixin = $Mixin
Declares an API Interface to be included in this interface.
MonitoringDestination = $MonitoringDestination
Configuration of a specific monitoring destination (the producer project or the consumer project).
OAuthRequirements = $OAuthRequirements
OAuth scopes are a way to define data and permissions on data.
Option = $Option
A protocol buffer option, which can be attached to a message, field, enumeration, etc.
QuotaLimit = $QuotaLimit
QuotaLimit defines a specific limit that applies over a specified duration for a limit type.
SourceContext = $SourceContext
SourceContext represents information about the source of a protobuf element, like the file in which it is defined.
Status = $Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
UsageRule = $UsageRule
Usage configuration rules for the service.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.