View Source GoogleApi.Workstations.V1.Model.PortRange (google_api_workstations v0.4.0)

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.
  • last (type: integer(), default: nil) - Required. Ending port number for the current range of ports.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.