The above specifies that all methods in the API request
google.rpc.context.ProjectContext and
google.rpc.context.OriginContext.
Available context types are defined in package
google.rpc.context.
This also provides mechanism to allowlist any protobuf message extension that
can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
“x-goog-ext-<extension_id>-jspb” format. For example, list any service
specific protobuf types that can appear in grpc metadata as follows in your
yaml file:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["`Context` is a class that defines the contexts requested by an API, specifying rules for which contexts, like `google.rpc.context.ProjectContext`, are needed for API methods."],["The `Context` class allows for defining allowed request and response extensions in gRPC metadata, including specifying extension IDs or fully qualified extension names in the service's YAML configuration."],["The class implements several interfaces, including `IMessage`, `IEquatable\u003cContext\u003e`, `IDeepCloneable\u003cContext\u003e`, and `IBufferMessage`, providing functionalities like message manipulation, equality checks, deep cloning, and buffer management."],["The class has a `Rules` property of type `RepeatedField\u003cContextRule\u003e`, allowing the setting of rules that apply to individual API methods, where the order of rules follows a \"last one wins\" precedence."],["`Context` objects can be constructed using a default constructor `Context()` or by passing another `Context` object as a parameter in the `Context(Context other)` constructor, enabling the creation of new context instances or copies."]]],[]]