Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as mod from "https://googleapis.deno.dev/v1/servicecontrol:v2.ts";

§Classes

GoogleAuth
ServiceControl

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

§Variables

auth

§Interfaces

Api

This message defines attributes associated with API operations, such as a network API request. The terminology is based on the conventions used by Google APIs, Istio, and OpenAPI.

AttributeContext

This message defines the standard attribute vocabulary for Google APIs. An attribute is a piece of metadata that describes an activity on a network service. For example, the size of an HTTP request, or the status code of an HTTP response. Each attribute has a type and a name, which is logically defined as a proto message field in AttributeContext. The field type becomes the attribute type, and the field path becomes the attribute name. For example, the attribute source.ip maps to field AttributeContext.source.ip. This message definition is guaranteed not to have any wire breaking change. So you can use it directly for passing attributes across different systems. NOTE: Different system may generate different subset of attributes. Please verify the system specification before relying on an attribute generated a system.

AuditLog

Common audit log format for Google Cloud Platform API operations.

Auth

This message defines request authentication attributes. Terminology is based on the JSON Web Token (JWT) standard, but the terms also correlate to concepts in other standards.

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.

CredentialsClient

Defines the root interface for all clients that generate credentials for calling Google APIs. All clients should implement this interface.

FirstPartyPrincipal

First party identity principal.

OrgPolicyViolationInfo

Represents OrgPolicy Violation information.

Peer

This message defines attributes for a node that handles a network request. The node can be either a service or an application that sends, forwards, or receives the request. Service peers should fill in principal and labels as appropriate.

PolicyViolationInfo

Information related to policy violations for this request.

ReportRequest

Request message for the Report method.

ReportResponse

Response message for the Report method.

Request

This message defines attributes for an HTTP request. If the actual request is not an HTTP request, the runtime system should try to map the actual request to an equivalent HTTP request.

RequestMetadata

Metadata about the request.

Resource

This message defines core attributes for a resource. A resource is an addressable (named) entity provided by the destination service. For example, a file stored on a network storage service.

ResourceInfo

Describes a resource referenced in the request.

ResourceLocation

Location information about a resource.

Response

This message defines attributes for a typical network response. It generally models semantics of an HTTP response.

ServiceAccountDelegationInfo

Identity delegation history of an authenticated service account.

ServiceDelegationHistory

The history of delegation across multiple services as the result of the original user's action. Such as "service A uses its own account to do something for user B". This differs from ServiceAccountDelegationInfo, which only tracks the history of direct token exchanges (impersonation).

ServiceMetadata

Metadata describing the service and additional service specific information used to identify the job or unit of work at hand.

SpanContext

The context of a span. This is attached to an Exemplar in Distribution values during aggregation. It contains the name of a span with format: projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]

Status

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.

ThirdPartyPrincipal

Third party identity principal.

V2HttpRequest

A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message.

V2LogEntry

An individual log entry.

V2LogEntryOperation

Additional information about a potentially long-running operation with which a log entry is associated.

V2LogEntrySourceLocation

Additional information about the source code location that produced the log entry.

ViolationInfo

Provides information about the Policy violation info for this request.