GoogleApi.Workstations.V1.Model.PortRange (google_api_workstations v0.7.0)

View Source

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.

Attributes

  • first (type: integer(), default: nil) - Required. Starting port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
  • last (type: integer(), default: nil) - Required. Ending port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Workstations.V1.Model.PortRange{
  first: integer() | nil,
  last: integer() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.