Show / Hide Table of Contents

Class 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.

Inheritance
object
AttributeContext
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ServiceControl.v2.Data
Assembly: Google.Apis.ServiceControl.v2.dll
Syntax
public class AttributeContext : IDirectResponseSchema

Properties

Api

Represents an API operation that is involved to a network activity.

Declaration
[JsonProperty("api")]
public virtual Api Api { get; set; }
Property Value
Type Description
Api

Destination

The destination of a network activity, such as accepting a TCP connection. In a multi hop network activity, the destination represents the receiver of the last hop.

Declaration
[JsonProperty("destination")]
public virtual Peer Destination { get; set; }
Property Value
Type Description
Peer

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Extensions

Supports extensions for advanced use cases, such as logs and metrics.

Declaration
[JsonProperty("extensions")]
public virtual IList<IDictionary<string, object>> Extensions { get; set; }
Property Value
Type Description
IList<IDictionary<string, object>>

Origin

The origin of a network activity. In a multi hop network activity, the origin represents the sender of the first hop. For the first hop, the source and the origin must have the same content.

Declaration
[JsonProperty("origin")]
public virtual Peer Origin { get; set; }
Property Value
Type Description
Peer

Request

Represents a network request, such as an HTTP request.

Declaration
[JsonProperty("request")]
public virtual Request Request { get; set; }
Property Value
Type Description
Request

Resource

Represents a target resource that is involved with a network activity. If multiple resources are involved with an activity, this must be the primary one.

Declaration
[JsonProperty("resource")]
public virtual Resource Resource { get; set; }
Property Value
Type Description
Resource

Response

Represents a network response, such as an HTTP response.

Declaration
[JsonProperty("response")]
public virtual Response Response { get; set; }
Property Value
Type Description
Response

Source

The source of a network activity, such as starting a TCP connection. In a multi hop network activity, the source represents the sender of the last hop.

Declaration
[JsonProperty("source")]
public virtual Peer Source { get; set; }
Property Value
Type Description
Peer

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX