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\u003eThe latest version of the \u003ccode\u003eFirewallAction.Types.SetHeaderAction\u003c/code\u003e API class is 2.17.0, and this page provides access to documentation for versions ranging from 1.2.0 to 2.17.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFirewallAction.Types.SetHeaderAction\u003c/code\u003e is part of the Google Cloud reCAPTCHA Enterprise v1 API and allows setting a header to forward requests to a backend server, which may trigger backend custom protection.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetHeaderAction\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \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\u003eThis class includes two string properties: \u003ccode\u003eKey\u003c/code\u003e, which is the header key, and \u003ccode\u003eValue\u003c/code\u003e, which represents the header's value.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetHeaderAction\u003c/code\u003e class contains two constructors, one default and another which allows you to construct it from another \u003ccode\u003eSetHeaderAction\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]