Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::HttpHeaderAction (v2.4.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::HttpHeaderAction.

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

#request_headers_to_add=

def request_headers_to_add=(value) -> ::Array<::Google::Cloud::Compute::V1::HttpHeaderOption>
Parameter
Returns

#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

#response_headers_to_add=

def response_headers_to_add=(value) -> ::Array<::Google::Cloud::Compute::V1::HttpHeaderOption>
Parameter
Returns

#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.