View Source GoogleApi.Run.V2.Model.GoogleCloudRunV2HTTPGetAction (google_api_run v0.30.0)

HTTPGetAction describes an action based on HTTP Get requests.

Attributes

  • httpHeaders (type: list(GoogleApi.Run.V2.Model.GoogleCloudRunV2HTTPHeader.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. Defaults to '/'.
  • port (type: integer(), default: nil) - Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Run.V2.Model.GoogleCloudRunV2HTTPGetAction{
  httpHeaders: [GoogleApi.Run.V2.Model.GoogleCloudRunV2HTTPHeader.t()] | nil,
  path: String.t() | nil,
  port: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.