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

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

HTTPGetAction describes an action based on HTTP Get requests.

Attributes

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

    Cloud Run fully managed: not supported

    Cloud Run for Anthos: supported

    Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.

  • httpHeaders (type: list(GoogleApi.Run.V1.Model.HTTPHeader.t), default: nil) - (Optional)

    Cloud Run fully managed: not supported

    Cloud Run for Anthos: supported

    Custom headers to set in the request. HTTP allows repeated headers.

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

    Cloud Run fully managed: not supported

    Cloud Run for Anthos: supported

    Path to access on the HTTP server.

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

    Cloud Run fully managed: not supported

    Cloud Run for Anthos: supported

    Scheme to use for connecting to the host. Defaults to HTTP.

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.HTTPGetAction{
  host: String.t(),
  httpHeaders: [GoogleApi.Run.V1.Model.HTTPHeader.t()],
  path: String.t(),
  scheme: 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.