GoogleApi.CloudRun.V1alpha1.Model.HTTPGetAction (google_api_cloud_run v0.42.0) View Source

HTTPGetAction describes an action based on HTTP Get requests.


  • host (type: String.t, default: nil) - Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. +optional
  • httpHeaders (type: list(GoogleApi.CloudRun.V1alpha1.Model.HTTPHeader.t), default: nil) - Custom headers to set in the request. HTTP allows repeated headers. +optional
  • path (type: String.t, default: nil) - Path to access on the HTTP server. +optional
  • port (type: GoogleApi.CloudRun.V1alpha1.Model.IntOrString.t, default: nil) - Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
  • scheme (type: String.t, default: nil) - Scheme to use for connecting to the host. Defaults to HTTP. +optional

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.CloudRun.V1alpha1.Model.HTTPGetAction{
  host: String.t(),
  httpHeaders: [GoogleApi.CloudRun.V1alpha1.Model.HTTPHeader.t()],
  path: String.t(),
  port: GoogleApi.CloudRun.V1alpha1.Model.IntOrString.t(),
  scheme: String.t()

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.