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

Not supported by Cloud Run TCPSocketAction describes an action based on opening a socket

Attributes

  • host (type: String.t, default: nil) - (Optional) Optional: Host name to connect to, defaults to the pod IP.
  • port (type: integer(), default: nil) - Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. This field is currently limited to integer types only because of proto's inability to properly support the IntOrString golang type.

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.TCPSocketAction{
  host: 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.