Namespace Google.Rpc.Context (2.15.0)

Classes

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.

AttributeContext.Types

Container for nested types declared in the AttributeContext message type.

AttributeContext.Types.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.Types.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.

AttributeContext.Types.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.

AttributeContext.Types.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.

AttributeContext.Types.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.

AttributeContext.Types.Response

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

AttributeContextReflection

Holder for reflection information generated from google/rpc/context/attribute_context.proto

AuditContext

AuditContext provides information that is needed for audit logging.

AuditContextReflection

Holder for reflection information generated from google/rpc/context/audit_context.proto