public sealed class FirewallLogConfig : IMessage<FirewallLogConfig>, IEquatable<FirewallLogConfig>, IDeepCloneable<FirewallLogConfig>, IBufferMessage, IMessage
The available logging options for a firewall rule.
This field can only be specified for a particular firewall rule if logging is enabled for that rule. This field denotes whether to include or exclude metadata for firewall logs.
Check the Metadata enum for the list of possible values.
[[["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-08 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eFirewallLogConfig\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, covering versions from 1.0.0 to 3.6.0, with version 3.6.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFirewallLogConfig\u003c/code\u003e is designed for configuring logging options for firewall rules, and is derived from the \u003ccode\u003eObject\u003c/code\u003e class, implementing 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 class has two constructors, a default one and one that accepts another \u003ccode\u003eFirewallLogConfig\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eFirewallLogConfig\u003c/code\u003e include \u003ccode\u003eEnable\u003c/code\u003e, a boolean flag to turn on logging for a firewall rule, and \u003ccode\u003eMetadata\u003c/code\u003e, which specifies whether to include or exclude metadata in the firewall logs.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains the properties \u003ccode\u003eHasEnable\u003c/code\u003e and \u003ccode\u003eHasMetadata\u003c/code\u003e, these are booleans that reflect if the 'enable' and 'metadata' fields are set, respectively.\u003c/p\u003e\n"]]],[],null,[]]