Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::FirewallAction::SetHeaderAction.
A set header action sets a header and forwards the request to the backend. This can be used to trigger custom protection implemented on the backend.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#key
def key() -> ::String
Returns
- (::String) — Optional. The header key to set in the request to the backend server.
#key=
def key=(value) -> ::String
Parameter
- value (::String) — Optional. The header key to set in the request to the backend server.
Returns
- (::String) — Optional. The header key to set in the request to the backend server.
#value
def value() -> ::String
Returns
- (::String) — Optional. The header value to set in the request to the backend server.
#value=
def value=(value) -> ::String
Parameter
- value (::String) — Optional. The header value to set in the request to the backend server.
Returns
- (::String) — Optional. The header value to set in the request to the backend server.