Compute Engine v1 API - Class FirewallLogConfig (2.7.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

GoogleCloudGoogle.Cloud.ComputeV1

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
bool

HasEnable

public bool HasEnable { get; }

Gets whether the "enable" field is set

Property Value
TypeDescription
bool

HasMetadata

public bool HasMetadata { get; }

Gets whether the "metadata" field is set

Property Value
TypeDescription
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
TypeDescription
string