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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eFirewallAction.Types.SetHeaderAction\u003c/code\u003e class within the Google Cloud reCAPTCHA Enterprise v1 API, specifically in the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetHeaderAction\u003c/code\u003e class is designed to set a header in the request to the backend server, enabling custom protection mechanisms.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists various versions of the API, from the latest version 2.17.0 down to 1.2.0, each linking to the specific \u003ccode\u003eSetHeaderAction\u003c/code\u003e documentation for that version.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eSetHeaderAction\u003c/code\u003e inherits from object and implements several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetHeaderAction\u003c/code\u003e class includes two main properties: \u003ccode\u003eKey\u003c/code\u003e which is the header key, and \u003ccode\u003eValue\u003c/code\u003e which is the corresponding header value, both being strings.\u003c/p\u003e\n"]]],[],null,[]]