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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.