AttributeContext class
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.
Constructors
Properties
- api ↔ Api?
-
Represents an API operation that is involved to a network activity.
getter/setter pair
- destination ↔ Peer?
-
The destination of a network activity, such as accepting a TCP connection.
getter/setter pair
-
extensions
↔ List<
Map< ?String, Object?> > -
Supports extensions for advanced use cases, such as logs and metrics.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- origin ↔ Peer?
-
The origin of a network activity.
getter/setter pair
- request ↔ Request?
-
Represents a network request, such as an HTTP request.
getter/setter pair
- resource ↔ Resource?
-
Represents a target resource that is involved with a network activity.
getter/setter pair
- response ↔ Response?
-
Represents a network response, such as an HTTP response.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source ↔ Peer?
-
The source of a network activity, such as starting a TCP connection.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited