Class: Google::Cloud::RecaptchaEnterprise::V1::FirewallAction::SetHeaderAction

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#key::String

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



1552
1553
1554
1555
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 1552

class SetHeaderAction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#value::String

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



1552
1553
1554
1555
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 1552

class SetHeaderAction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end