servicecontrol.v1 library Null safety

Service Control API - v1

Provides admission control and telemetry reporting for services integrated with Service Infrastructure.

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

Create an instance of ServiceControlApi to access these resources:

Classes

AllocateInfo
AllocateQuotaRequest
Request message for the AllocateQuota method.
AllocateQuotaResponse
Response message for the AllocateQuota method.
Attributes
A set of attributes, each in the format [KEY]:[VALUE].
AttributeValue
The allowed types for [VALUE] in a [KEY]:[VALUE] attribute.
CheckError
Defines the errors to be returned in google.api.servicecontrol.v1.CheckResponse.check_errors.
CheckInfo
Contains additional information about the check operation.
CheckRequest
Request message for the Check method.
CheckResponse
Response message for the Check method.
ConsumerInfo
ConsumerInfo provides information about the consumer.
Distribution
Distribution represents a frequency distribution of double-valued sample points. [...]
Exemplar
Exemplars are example points that may be used to annotate aggregated distribution values. [...]
ExplicitBuckets
Describing buckets with arbitrary user-provided width.
ExponentialBuckets
Describing buckets with exponentially growing width.
HttpRequest
A common proto for logging HTTP requests. [...]
LinearBuckets
Describing buckets with constant width.
LogEntry
An individual log entry.
LogEntryOperation
Additional information about a potentially long-running operation with which a log entry is associated.
LogEntrySourceLocation
Additional information about the source code location that produced the log entry.
MetricValue
Represents a single metric value.
MetricValueSet
Represents a set of metric values in the same metric. [...]
Operation
Represents information regarding an operation.
QuotaError
Represents error information for QuotaOperation.
QuotaInfo
Contains the quota information for a quota check response.
QuotaOperation
Represents information regarding a quota operation.
QuotaProperties
Represents the properties needed for quota operations.
ReportError
Represents the processing error of one Operation in the request.
ReportRequest
Request message for the Report method.
ReportResponse
Response message for the Report method.
ResourceInfo
Describes a resource associated with this operation.
ServiceControlApi
Provides admission control and telemetry reporting for services integrated with Service Infrastructure.
ServicesResource
TraceSpan
A span represents a single operation within a trace. [...]

Typedefs

Money = $Money
Represents an amount of money with its currency type.
Status = $Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. [...]
TruncatableString = $TruncatableString
Represents a string that might be shortened to a specified length.

Exceptions / Errors

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