Class: Google::Cloud::SecurityCenter::V2::IpRule

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

Overview

IP rule information.

Defined Under Namespace

Classes: PortRange

Instance Attribute Summary collapse

Instance Attribute Details

#port_ranges::Array<::Google::Cloud::SecurityCenter::V2::IpRule::PortRange>



82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# File 'proto_docs/google/cloud/securitycenter/v2/ip_rules.rb', line 82

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

  # A port range which is inclusive of the min and max values.
  # Values are between 0 and 2^16-1. The max can be equal / must be not smaller
  # than the min value. If min and max are equal this indicates that it is a
  # single port.
  # @!attribute [rw] min
  #   @return [::Integer]
  #     Minimum port value.
  # @!attribute [rw] max
  #   @return [::Integer]
  #     Maximum port value.
  class PortRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#protocol::String



82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# File 'proto_docs/google/cloud/securitycenter/v2/ip_rules.rb', line 82

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

  # A port range which is inclusive of the min and max values.
  # Values are between 0 and 2^16-1. The max can be equal / must be not smaller
  # than the min value. If min and max are equal this indicates that it is a
  # single port.
  # @!attribute [rw] min
  #   @return [::Integer]
  #     Minimum port value.
  # @!attribute [rw] max
  #   @return [::Integer]
  #     Maximum port value.
  class PortRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end