GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ProbeTcpSocketAction (google_api_ai_platform v0.27.0)

View Source

TcpSocketAction probes the health of a container by opening a TCP socket connection.

Attributes

  • host (type: String.t, default: nil) - Optional: Host name to connect to, defaults to the model serving container's IP.
  • port (type: integer(), default: nil) - Number of the port to access on the container. Number must be in the range 1 to 65535.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ProbeTcpSocketAction{
    host: String.t() | nil,
    port: integer() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.