Class PortRange
A PortRange defines a range of ports. Both first and last are inclusive. To specify a single port, both first and last should be the same.
Implements
Inherited Members
Namespace: Google.Apis.CloudWorkstations.v1.Data
Assembly: Google.Apis.CloudWorkstations.v1.dll
Syntax
public class PortRange : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
First
Required. Starting port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
Declaration
[JsonProperty("first")]
public virtual int? First { get; set; }
Property Value
Type | Description |
---|---|
int? |
Last
Required. Ending port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
Declaration
[JsonProperty("last")]
public virtual int? Last { get; set; }
Property Value
Type | Description |
---|---|
int? |