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

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

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.

Instance Attribute Summary collapse

Instance Attribute Details

#max::Integer

Returns Maximum port value.

Returns:

  • (::Integer)

    Maximum port value.



96
97
98
99
# File 'proto_docs/google/cloud/securitycenter/v2/ip_rules.rb', line 96

class PortRange
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#min::Integer

Returns Minimum port value.

Returns:

  • (::Integer)

    Minimum port value.



96
97
98
99
# File 'proto_docs/google/cloud/securitycenter/v2/ip_rules.rb', line 96

class PortRange
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end