public sealed class Api : Protobuf.IMessage<AttributeContext.Types.Api>, Protobuf.IBufferMessage
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 documentation details the `Api` class within the `Google.Rpc.Context.AttributeContext.Types` namespace, used to define attributes for API operations in version 2.2.0 of the `Google.Api.CommonProtos` library."],["The `Api` class inherits from `Object` and implements the `Protobuf.IBufferMessage` interface, offering functionalities for handling API-related data such as service names, operation IDs, versions, and protocols."],["Constructors for the `Api` class allow for the creation of new instances, including one that accepts another `AttributeContext.Types.Api` object for initializing its properties."],["Key properties include `Service`, `Operation`, `Version`, and `Protocol`, which hold string values representing various aspects of the API operation."],["The class provides methods for calculating size, cloning, equality checks, hash code generation, merging, and string conversion, as well as writing to and reading from protocol buffers."]]],[]]