public sealed class FirewallLogConfig : IMessage<FirewallLogConfig>, IEquatable<FirewallLogConfig>, IDeepCloneable<FirewallLogConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class FirewallLogConfig.
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\u003eThe \u003ccode\u003eFirewallLogConfig\u003c/code\u003e class in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace provides logging options for firewall rules in the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.6.0 is the latest release, while version 3.5.0 is the current version with additional links to prior releases ranging from 3.4.0 all the way to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFirewallLogConfig\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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, providing methods for message handling, equality checks, deep cloning, and buffered message operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnable\u003c/code\u003e property determines if logging is enabled for a given firewall rule, and \u003ccode\u003eMetadata\u003c/code\u003e allows for the inclusion or exclusion of metadata in the firewall logs when enabled.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are provided to both create an empty \u003ccode\u003eFirewallLogConfig\u003c/code\u003e, or one based on an existing \u003ccode\u003eFirewallLogConfig\u003c/code\u003e class passed as a parameter.\u003c/p\u003e\n"]]],[],null,[]]