Class: Google::Api::ContextRule
- Inherits:
-
Object
- Object
- Google::Api::ContextRule
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/api/context.rb
Overview
A context rule provides information about the context for an individual API element.
Instance Attribute Summary collapse
-
#allowed_request_extensions ⇒ ::Array<::String>
A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.
-
#allowed_response_extensions ⇒ ::Array<::String>
A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.
-
#provided ⇒ ::Array<::String>
A list of full type names of provided contexts.
-
#requested ⇒ ::Array<::String>
A list of full type names of requested contexts, only the requested context will be made available to the backend.
-
#selector ⇒ ::String
Selects the methods to which this rule applies.
Instance Attribute Details
#allowed_request_extensions ⇒ ::Array<::String>
Returns A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.
92 93 94 95 |
# File 'proto_docs/google/api/context.rb', line 92 class ContextRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#allowed_response_extensions ⇒ ::Array<::String>
Returns A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.
92 93 94 95 |
# File 'proto_docs/google/api/context.rb', line 92 class ContextRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#provided ⇒ ::Array<::String>
Returns A list of full type names of provided contexts. It is used to support propagating HTTP headers and ETags from the response extension.
92 93 94 95 |
# File 'proto_docs/google/api/context.rb', line 92 class ContextRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#requested ⇒ ::Array<::String>
Returns A list of full type names of requested contexts, only the requested context will be made available to the backend.
92 93 94 95 |
# File 'proto_docs/google/api/context.rb', line 92 class ContextRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |