servicecontrol.v2 library Null safety

Service Control API - v2

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

Api
This message defines attributes associated with API operations, such as a network API request. [...]
AttributeContext
This message defines the standard attribute vocabulary for Google APIs. [...]
AuditLog
Common audit log format for Google Cloud Platform API operations.
AuthenticationInfo
Authentication information for the operation.
AuthorizationInfo
Authorization information for the operation.
CheckRequest
Request message for the Check method.
CheckResponse
Response message for the Check method.
ReportRequest
Request message for the Report method.
Request
This message defines attributes for an HTTP request. [...]
RequestMetadata
Metadata about the request.
ResourceInfo
Describes a resource referenced in the request.
Response
This message defines attributes for a typical network response. [...]
ServiceAccountDelegationInfo
Identity delegation history of an authenticated service account.
ServiceControlApi
Provides admission control and telemetry reporting for services integrated with Service Infrastructure.
ServicesResource

Typedefs

Auth = $Auth
This message defines request authentication attributes. [...]
FirstPartyPrincipal = $FirstPartyPrincipal
First party identity principal.
Peer = $Peer
This message defines attributes for a node that handles a network request. [...]
ReportResponse = $Empty
Response message for the Report method. [...]
Resource = $Resource01
This message defines core attributes for a resource. [...]
ResourceLocation = $ResourceLocation
Location information about a resource.
SpanContext = $SpanContext
The context of a span. [...]
Status = $Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. [...]
ThirdPartyPrincipal = $ThirdPartyPrincipal
Third party identity principal.

Exceptions / Errors

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