Google Cloud reCAPTCHA Enterprise v1 API - Class FirewallAction.Types.SetHeaderAction (2.15.0)

public sealed class FirewallAction.Types.SetHeaderAction : IMessage<FirewallAction.Types.SetHeaderAction>, IEquatable<FirewallAction.Types.SetHeaderAction>, IDeepCloneable<FirewallAction.Types.SetHeaderAction>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class FirewallAction.Types.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.

Inheritance

object > FirewallAction.Types.SetHeaderAction

Namespace

Google.Cloud.RecaptchaEnterprise.V1

Assembly

Google.Cloud.RecaptchaEnterprise.V1.dll

Constructors

SetHeaderAction()

public SetHeaderAction()

SetHeaderAction(SetHeaderAction)

public SetHeaderAction(FirewallAction.Types.SetHeaderAction other)
Parameter
Name Description
other FirewallActionTypesSetHeaderAction

Properties

Key

public string Key { get; set; }

Optional. The header key to set in the request to the backend server.

Property Value
Type Description
string

Value

public string Value { get; set; }

Optional. The header value to set in the request to the backend server.

Property Value
Type Description
string