class Google::Apis::ComputeV1::FirewallLogConfig

The available logging options for a firewall rule.

Attributes

enable[RW]

This field denotes whether to enable logging for a particular firewall rule. Corresponds to the JSON property `enable` @return [Boolean]

enable?[RW]

This field denotes whether to enable logging for a particular firewall rule. Corresponds to the JSON property `enable` @return [Boolean]

metadata[RW]

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. Corresponds to the JSON property `metadata` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 7308
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 7313
def update!(**args)
  @enable = args[:enable] if args.key?(:enable)
  @metadata = args[:metadata] if args.key?(:metadata)
end