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 version 2.14.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSetHeaderAction\u003c/code\u003e is used to set a custom header in requests, facilitating the implementation of custom protection mechanisms on the backend.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, making it a robust component of the API.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists all available versions of the \u003ccode\u003eSetHeaderAction\u003c/code\u003e class, from 1.2.0 to the latest 2.17.0, and includes the properties \u003ccode\u003eKey\u003c/code\u003e and \u003ccode\u003eValue\u003c/code\u003e for defining the header's name and content, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetHeaderAction\u003c/code\u003e class has two constructors: one default and one that accepts a \u003ccode\u003eSetHeaderAction\u003c/code\u003e parameter that allows the user to copy an existing object.\u003c/p\u003e\n"]]],[],null,[]]