Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::FirewallLogConfig (v2.11.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::FirewallLogConfig.

The available logging options for a firewall rule.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enable

def enable() -> ::Boolean
Returns
  • (::Boolean) — This field denotes whether to enable logging for a particular firewall rule.

#enable=

def enable=(value) -> ::Boolean
Parameter
  • value (::Boolean) — This field denotes whether to enable logging for a particular firewall rule.
Returns
  • (::Boolean) — This field denotes whether to enable logging for a particular firewall rule.

#metadata

def metadata() -> ::String
Returns
  • (::String) — 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.

#metadata=

def metadata=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.