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

View Source

HttpGetAction describes an action based on HTTP Get requests.

Attributes

  • host (type: String.t, default: nil) - Host name to connect to, defaults to the model serving container's IP. You probably want to set "Host" in httpHeaders instead.
  • httpHeaders (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ProbeHttpHeader.t), default: nil) - Custom headers to set in the request. HTTP allows repeated headers.
  • path (type: String.t, default: nil) - Path to access on the HTTP server.
  • port (type: integer(), default: nil) - Number of the port to access on the container. Number must be in the range 1 to 65535.
  • scheme (type: String.t, default: nil) - Scheme to use for connecting to the host. Defaults to HTTP. Acceptable values are "HTTP" or "HTTPS".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ProbeHttpGetAction{
  host: String.t() | nil,
  httpHeaders:
    [GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ProbeHttpHeader.t()]
    | nil,
  path: String.t() | nil,
  port: integer() | nil,
  scheme: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.