public sealed class AttributeContext.Types.Api : IMessage<AttributeContext.Types.Api>, IEquatable<AttributeContext.Types.Api>, IDeepCloneable<AttributeContext.Types.Api>, IBufferMessage, IMessage
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.
The API operation name. For gRPC requests, it is the fully qualified API
method name, such as "google.pubsub.v1.Publisher.Publish". For OpenAPI
requests, it is the operationId, such as "getPet".
The API service name. It is a logical identifier for a networked API,
such as "pubsub.googleapis.com". The naming syntax depends on the
API management system being used for handling the request.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["This page provides documentation for the `AttributeContext.Types.Api` class, which defines attributes associated with API operations, such as network requests."],["The `AttributeContext.Types.Api` class implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and has methods to manage and compare instances."],["Key properties of `AttributeContext.Types.Api` include `Operation`, `Protocol`, `Service`, and `Version`, which represent the API's operation name, protocol, service name, and version respectively."],["The class includes constructors for creating new `Api` objects, either as a default or by copying from an existing `AttributeContext.Types.Api` instance."],["There are inherited methods, like `Equals` and `GetHashCode`, that are overridden to perform object comparisons and get the object's hash code, and other methods for data manipulation."]]],[]]