google_api_run v0.6.0 GoogleApi.Run.V1.Model.ContainerPort View Source

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

ContainerPort represents a network port in a single container.

Attributes

  • containerPort (type: integer(), default: nil) - (Optional)

    Cloud Run fully managed: supported

    Cloud Run for Anthos: supported

    Port number the container listens on. This must be a valid port number, 0 < x < 65536.

  • name (type: String.t, default: nil) - (Optional)

    Cloud Run fully managed: not supported

    Cloud Run for Anthos: supported

    If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".

  • protocol (type: String.t, default: nil) - (Optional)

    Cloud Run fully managed: not supported

    Cloud Run for Anthos: supported

    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

Link to this type

t()

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

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.