View Source GoogleApi.Run.V2.Model.GoogleCloudRunV2ContainerPort (google_api_run v0.30.0)

ContainerPort represents a network port in a single container.

Attributes

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

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Run.V2.Model.GoogleCloudRunV2ContainerPort{
  containerPort: integer() | nil,
  name: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.