GoogleApi.Run.V1.Model.ContainerPort (google_api_run v0.24.5) View Source

ContainerPort represents a network port in a single container.

Attributes

  • containerPort (type: integer(), default: nil) - (Optional) Port number the container listens on. This must be a valid port number, 0 < x < 65536.
  • name (type: String.t, default: nil) - (Optional) If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
  • protocol (type: String.t, default: nil) - (Optional) Protocol for port. Must be "TCP". Defaults to "TCP".

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Run.V1.Model.ContainerPort{
  containerPort: integer() | nil,
  name: String.t() | nil,
  protocol: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.