serviceusage.v1 library Null safety

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

AdminQuotaPolicy
Quota policy created by quota administrator.
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).
Backend
Backend defines the backend configuration for a service.
BatchCreateAdminOverridesResponse
Response message for BatchCreateAdminOverrides
BatchCreateConsumerOverridesResponse
Response message for BatchCreateConsumerOverrides
BatchEnableServicesRequest
Request message for the BatchEnableServices method.
BatchEnableServicesResponse
Response message for the BatchEnableServices method. [...]
BatchGetServicesResponse
Response message for the BatchGetServices method.
Billing
Billing related configuration of the service. [...]
Context
Context defines which contexts an API requests. [...]
CustomError
Customize service error responses. [...]
DisableServiceRequest
Request message for the DisableService method.
DisableServiceResponse
Response message for the DisableService method. [...]
Documentation
Documentation provides the information for describing a service. [...]
EnableFailure
Provides error messages for the failing services.
EnableServiceResponse
Response message for the EnableService method. [...]
Enum
Enum type definition.
EnumValue
Enum value definition.
Field
A single field of a message type.
GetServiceIdentityResponse
Response message for getting service identity.
GoogleApiService
Service is the root object of Google API service configuration (service config). [...]
GoogleApiServiceusageV1beta1GetServiceIdentityResponse
Response message for getting service identity.
GoogleApiServiceusageV1Service
A service that is available for use by the consumer.
GoogleApiServiceusageV1ServiceConfig
The configuration of the service.
Http
Defines the HTTP configuration for an API service. [...]
HttpRule
gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC [...]
ImportAdminOverridesResponse
Response message for ImportAdminOverrides
ImportAdminQuotaPoliciesResponse
Response message for ImportAdminQuotaPolicies
ImportConsumerOverridesResponse
Response message for ImportConsumerOverrides
ListOperationsResponse
The response message for Operations.ListOperations.
ListServicesResponse
Response message for the ListServices method.
LogDescriptor
A description of a log type. [...]
Logging
Logging configuration of the service. [...]
Method
Method represents a method of an API interface.
MetricDescriptor
Defines a metric type and its schema. [...]
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. [...]
QuotaOverride
A quota override
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.
SystemParameterRule
Define a system parameter rule mapping system parameter definitions to methods.
SystemParameters
System parameter configuration A system parameter is a special kind of [...]
Type
A protocol buffer message type.
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).
BackendRule = $BackendRule
A backend rule provides configuration for an individual API element.
BillingDestination = $BillingDestination
Configuration of a specific billing destination (Currently only support bill against consumer project).
CancelOperationRequest = $Empty
The request message for Operations.CancelOperation.
ContextRule = $ContextRule
A context rule provides information about the context for an individual API element.
Control = $Control
Selects and configures the service controller used by the service. [...]
CreateAdminQuotaPolicyMetadata = $Empty
Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by CreateAdminQuotaPolicy.
CustomErrorRule = $CustomErrorRule
A custom error rule.
CustomHttpPattern = $CustomHttpPattern
A custom pattern is used for defining custom HTTP verb.
DeleteAdminQuotaPolicyMetadata = $Empty
Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by DeleteAdminQuotaPolicy.
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. [...]
GetServiceIdentityMetadata = $Empty
Metadata for the GetServiceIdentity method.
GoogleApiServiceusageV1beta1ServiceIdentity = $ServiceIdentity
Service identity for a service. [...]
GoogleApiServiceusageV1OperationMetadata = $OperationMetadata06
The operation metadata returned for the batchend services operation.
ImportAdminOverridesMetadata = $Empty
Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by ImportAdminOverrides.
ImportAdminQuotaPoliciesMetadata = $Empty
Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by ImportAdminQuotaPolicies.
ImportConsumerOverridesMetadata = $Empty
Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by ImportConsumerOverrides.
JwtLocation = $JwtLocation
Specifies a location to extract JWT from an API request.
LabelDescriptor = $LabelDescriptor
A description of a label.
LoggingDestination = $LoggingDestination
Configuration of a specific logging destination (the producer project or the consumer project).
MetricDescriptorMetadata = $MetricDescriptorMetadata00
Additional annotations that can be used to guide the usage of a metric.
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. [...]
OperationMetadata = $OperationMetadata06
The operation metadata returned for the batchend services operation.
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. [...]
ServiceIdentity = $ServiceIdentity
Service identity for a service. [...]
SourceContext = $SourceContext
SourceContext represents information about the source of a protobuf element, like the file in which it is defined.
SourceInfo = $SourceInfo
Source information used to create a Service Config
Status = $Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. [...]
SystemParameter = $SystemParameter
Define a parameter's name and location. [...]
UpdateAdminQuotaPolicyMetadata = $Empty
Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by UpdateAdminQuotaPolicy.
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.