Compute Engine v1 API - Class FirewallLogConfig (2.15.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
Name Description
other FirewallLogConfig

Properties

Enable

public bool Enable { get; set; }

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

Property Value
Type Description
bool

HasEnable

public bool HasEnable { get; }

Gets whether the "enable" field is set

Property Value
Type Description
bool

HasMetadata

public bool HasMetadata { get; }

Gets whether the "metadata" field is set

Property Value
Type Description
bool

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
Type Description
string