public sealed class IpRule.Types.PortRange : IMessage<IpRule.Types.PortRange>, IEquatable<IpRule.Types.PortRange>, IDeepCloneable<IpRule.Types.PortRange>, IBufferMessage, IMessageReference documentation and code samples for the Security Command Center v2 API class IpRule.Types.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.
Implements
IMessageIpRuleTypesPortRange, IEquatableIpRuleTypesPortRange, IDeepCloneableIpRuleTypesPortRange, IBufferMessage, IMessageNamespace
Google.Cloud.SecurityCenter.V2Assembly
Google.Cloud.SecurityCenter.V2.dll
Constructors
PortRange()
public PortRange()PortRange(PortRange)
public PortRange(IpRule.Types.PortRange other)| Parameter | |
|---|---|
| Name | Description |
other |
IpRuleTypesPortRange |
Properties
Max
public long Max { get; set; }Maximum port value.
| Property Value | |
|---|---|
| Type | Description |
long |
|
Min
public long Min { get; set; }Minimum port value.
| Property Value | |
|---|---|
| Type | Description |
long |
|