The request and response header transformations that take effect before the request is passed along to the selected backendService.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#request_headers_to_add
def request_headers_to_add() -> ::Array<::Google::Cloud::Compute::V1::HttpHeaderOption>
Returns
- (::Array<::Google::Cloud::Compute::V1::HttpHeaderOption>) — Headers to add to a matching request before forwarding the request to the backendService.
#request_headers_to_add=
def request_headers_to_add=(value) -> ::Array<::Google::Cloud::Compute::V1::HttpHeaderOption>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::HttpHeaderOption>) — Headers to add to a matching request before forwarding the request to the backendService.
Returns
- (::Array<::Google::Cloud::Compute::V1::HttpHeaderOption>) — Headers to add to a matching request before forwarding the request to the backendService.
#request_headers_to_remove
def request_headers_to_remove() -> ::Array<::String>
Returns
- (::Array<::String>) — A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
#request_headers_to_remove=
def request_headers_to_remove=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
Returns
- (::Array<::String>) — A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
#response_headers_to_add
def response_headers_to_add() -> ::Array<::Google::Cloud::Compute::V1::HttpHeaderOption>
Returns
- (::Array<::Google::Cloud::Compute::V1::HttpHeaderOption>) — Headers to add the response before sending the response back to the client.
#response_headers_to_add=
def response_headers_to_add=(value) -> ::Array<::Google::Cloud::Compute::V1::HttpHeaderOption>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::HttpHeaderOption>) — Headers to add the response before sending the response back to the client.
Returns
- (::Array<::Google::Cloud::Compute::V1::HttpHeaderOption>) — Headers to add the response before sending the response back to the client.
#response_headers_to_remove
def response_headers_to_remove() -> ::Array<::String>
Returns
- (::Array<::String>) — A list of header names for headers that need to be removed from the response before sending the response back to the client.
#response_headers_to_remove=
def response_headers_to_remove=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — A list of header names for headers that need to be removed from the response before sending the response back to the client.
Returns
- (::Array<::String>) — A list of header names for headers that need to be removed from the response before sending the response back to the client.