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).
AuthRequirement
User-defined authentication requirements, 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.
BackendRule
A backend rule provides configuration for an individual API element.
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. [...]
BillingDestination
Configuration of a specific billing destination (Currently only support bill against consumer project).
CancelOperationRequest
The request message for Operations.CancelOperation.
Context
Context defines which contexts an API requests. [...]
ContextRule
A context rule provides information about the context for an individual API element.
Control
Selects and configures the service controller used by the service. [...]
CreateAdminQuotaPolicyMetadata
Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by CreateAdminQuotaPolicy.
CustomError
Customize service error responses. [...]
CustomErrorRule
A custom error rule.
CustomHttpPattern
A custom pattern is used for defining custom HTTP verb.
DeleteAdminQuotaPolicyMetadata
Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by DeleteAdminQuotaPolicy.
DisableServiceRequest
Request message for the DisableService method.
DisableServiceResponse
Response message for the DisableService method. [...]
Documentation
Documentation provides the information for describing a service. [...]
DocumentationRule
A documentation rule provides information about individual API elements.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. [...]
EnableFailure
Provides error messages for the failing services.
EnableServiceRequest
Request message for the EnableService method.
EnableServiceResponse
Response message for the EnableService method. [...]
Endpoint
Endpoint describes a network address of a service that serves a set of APIs. [...]
Enum
Enum type definition.
EnumValue
Enum value definition.
Field
A single field of a message type.
GetServiceIdentityMetadata
Metadata for the GetServiceIdentity method.
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.
GoogleApiServiceusageV1beta1ServiceIdentity
Service identity for a service. [...]
GoogleApiServiceusageV1OperationMetadata
The operation metadata returned for the batchend services operation.
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 [...]
ImportAdminOverridesMetadata
Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by ImportAdminOverrides.
ImportAdminOverridesResponse
Response message for ImportAdminOverrides
ImportAdminQuotaPoliciesMetadata
Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by ImportAdminQuotaPolicies.
ImportAdminQuotaPoliciesResponse
Response message for ImportAdminQuotaPolicies
ImportConsumerOverridesMetadata
Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by ImportConsumerOverrides.
ImportConsumerOverridesResponse
Response message for ImportConsumerOverrides
JwtLocation
Specifies a location to extract JWT from an API request.
LabelDescriptor
A description of a label.
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. [...]
LoggingDestination
Configuration of a specific logging destination (the producer project or the consumer project).
Method
Method represents a method of an API interface.
MetricDescriptor
Defines a metric type and its schema. [...]
MetricDescriptorMetadata
Additional annotations that can be used to guide the usage of a metric.
MetricRule
Bind API methods to metrics. [...]
Mixin
Declares an API Interface to be included in this 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. [...]
MonitoringDestination
Configuration of a specific monitoring destination (the producer project or the consumer project).
OAuthRequirements
OAuth scopes are a way to define data and permissions on data. [...]
Operation
This resource represents a long-running operation that is the result of a network API call.
OperationMetadata
The operation metadata returned for the batchend services operation.
OperationsResource
Option
A protocol buffer option, which can be attached to a message, field, enumeration, etc.
Page
Represents a documentation page. [...]
Quota
Quota configuration helps to achieve fairness and budgeting in service usage. [...]
QuotaLimit
QuotaLimit defines a specific limit that applies over a specified duration for a limit type. [...]
QuotaOverride
A quota override
ServiceIdentity
Service identity for a service. [...]
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.
SourceContext
SourceContext represents information about the source of a protobuf element, like the file in which it is defined.
SourceInfo
Source information used to create a Service Config
Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. [...]
SystemParameter
Define a parameter's name and location. [...]
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.
UpdateAdminQuotaPolicyMetadata
Metadata message that provides information such as progress, partial failures, and similar information on each GetOperation call of LRO returned by UpdateAdminQuotaPolicy.
Usage
Configuration controlling usage of a service.
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.