Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class PortRange.
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.
Generated from protobuf message google.cloud.securitycenter.v2.IpRule.PortRange
Namespace
Google \ Cloud \ SecurityCenter \ V2 \ IpRuleMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ min
int|string
Minimum port value.
↳ max
int|string
Maximum port value.
getMin
Minimum port value.
int|string
setMin
Minimum port value.
var
int|string
$this
getMax
Maximum port value.
int|string
setMax
Maximum port value.
var
int|string
$this