Class: Google::Cloud::Compute::V1::FirewallLogConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

The available logging options for a firewall rule.

Defined Under Namespace

Modules: Metadata

Instance Attribute Summary collapse

Instance Attribute Details

#enable::Boolean

Returns 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.



7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 7135

class FirewallLogConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  module Metadata
    # A value indicating that the enum field is not set.
    UNDEFINED_METADATA = 0

    EXCLUDE_ALL_METADATA = 334_519_954

    INCLUDE_ALL_METADATA = 164_619_908
  end
end

#metadata::String

Returns 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.



7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 7135

class FirewallLogConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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.
  module Metadata
    # A value indicating that the enum field is not set.
    UNDEFINED_METADATA = 0

    EXCLUDE_ALL_METADATA = 334_519_954

    INCLUDE_ALL_METADATA = 164_619_908
  end
end