Class: Google::Cloud::NetworkServices::V1::HttpRoute::HeaderModifier
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkServices::V1::HttpRoute::HeaderModifier
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/networkservices/v1/http_route.rb
Overview
The specification for modifying HTTP header in HTTP request and HTTP response.
Defined Under Namespace
Instance Attribute Summary collapse
-
#add ⇒ ::Google::Protobuf::Map{::String => ::String}
Add the headers with given map where key is the name of the header, value is the value of the header.
-
#remove ⇒ ::Array<::String>
Remove headers (matching by header names) specified in the list.
-
#set ⇒ ::Google::Protobuf::Map{::String => ::String}
Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
Instance Attribute Details
#add ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Add the headers with given map where key is the name of the header, value is the value of the header.
426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 |
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 426 class HeaderModifier include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class SetEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AddEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#remove ⇒ ::Array<::String>
Returns Remove headers (matching by header names) specified in the list.
426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 |
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 426 class HeaderModifier include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class SetEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AddEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#set ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 |
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 426 class HeaderModifier include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class SetEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AddEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |