Class: Google::Cloud::SecurityCenter::V2::IpRule::PortRange
- Inherits:
-
Object
- Object
- Google::Cloud::SecurityCenter::V2::IpRule::PortRange
- 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
-
#max ⇒ ::Integer
Maximum port value.
-
#min ⇒ ::Integer
Minimum port value.
Instance Attribute Details
#max ⇒ ::Integer
Returns 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.
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 |