google_api_run v0.10.0 GoogleApi.Run.V1.Model.TCPSocketAction View Source

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

TCPSocketAction describes an action based on opening a socket

Attributes

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

    Cloud Run fully managed: not supported

    Cloud Run for Anthos: supported

    Optional: Host name to connect to, defaults to the pod IP.

  • port (type: GoogleApi.Run.V1.Model.IntOrString.t, default: nil) - Cloud Run fully managed: not supported

    Cloud Run for Anthos: supported

    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.

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.TCPSocketAction{
  host: String.t(),
  port: GoogleApi.Run.V1.Model.IntOrString.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.