View Source GoogleApi.Compute.V1.Model.NamedPort (google_api_compute v0.56.2)

The named port. For example: <"http", 80>.

Attributes

  • name (type: String.t, default: nil) - The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
  • port (type: integer(), default: nil) - The port number, which can be a value between 1 and 65535.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.NamedPort{
  name: String.t() | nil,
  port: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.