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 reference documentation for the \u003ccode\u003eFirewallAction.Types.SetHeaderAction\u003c/code\u003e class within the Google Cloud reCAPTCHA Enterprise v1 API, focusing on version 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetHeaderAction\u003c/code\u003e class is designed to set a custom header and forward the request to a backend server, which can be leveraged for implementing custom protection.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for message manipulation, equality comparisons, deep cloning, and buffered message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties \u003ccode\u003eKey\u003c/code\u003e and \u003ccode\u003eValue\u003c/code\u003e, which allow you to define the custom header key and header value respectively to be set in the request going to the backend server.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also includes links to older versions of the documentation, ranging from version 1.2.0 to the latest 2.17.0, providing a comprehensive history of the class.\u003c/p\u003e\n"]]],[],null,[]]