Interface FirewallLogConfigOrBuilder (1.55.0)

public interface FirewallLogConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnable()

public abstract boolean getEnable()

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

optional bool enable = 311764355;

Returns
Type Description
boolean

The enable.

getMetadata()

public abstract String getMetadata()

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.

optional string metadata = 86866735;

Returns
Type Description
String

The metadata.

getMetadataBytes()

public abstract ByteString getMetadataBytes()

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.

optional string metadata = 86866735;

Returns
Type Description
ByteString

The bytes for metadata.

hasEnable()

public abstract boolean hasEnable()

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

optional bool enable = 311764355;

Returns
Type Description
boolean

Whether the enable field is set.

hasMetadata()

public abstract boolean hasMetadata()

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.

optional string metadata = 86866735;

Returns
Type Description
boolean

Whether the metadata field is set.