Compute Engine v1 API - Class FirewallLogConfig (2.2.0)

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.

Inheritance

Object > FirewallLogConfig

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

FirewallLogConfig()

public FirewallLogConfig()

FirewallLogConfig(FirewallLogConfig)

public FirewallLogConfig(FirewallLogConfig other)
Parameter
NameDescription
otherFirewallLogConfig

Properties

Enable

public bool Enable { get; set; }

This field denotes whether to enable logging for a particular firewall rule.

Property Value
TypeDescription
Boolean

HasEnable

public bool HasEnable { get; }

Gets whether the "enable" field is set

Property Value
TypeDescription
Boolean

HasMetadata

public bool HasMetadata { get; }

Gets whether the "metadata" field is set

Property Value
TypeDescription
Boolean

Metadata

public string Metadata { get; set; }

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.

Property Value
TypeDescription
String