View Source GoogleApi.Run.V1.Model.Route (google_api_run v0.26.1)

Route is responsible for configuring ingress over a collection of Revisions. Some of the Revisions a Route distributes traffic over may be specified by referencing the Configuration responsible for creating them; in these cases the Route is additionally responsible for monitoring the Configuration for "latest ready" revision changes, and smoothly rolling out latest revisions. See also: Cloud Run currently supports referencing a single Configuration to automatically deploy the "latest ready" Revision from that Configuration.


  • apiVersion (type: String.t, default: nil) - The API version for this call such as "".
  • kind (type: String.t, default: nil) - The kind of this resource, in this case always "Route".
  • metadata (type: GoogleApi.Run.V1.Model.ObjectMeta.t, default: nil) - Metadata associated with this Route, including name, namespace, labels, and annotations.
  • spec (type: GoogleApi.Run.V1.Model.RouteSpec.t, default: nil) - Spec holds the desired state of the Route (from the client).
  • status (type: GoogleApi.Run.V1.Model.RouteStatus.t, default: nil) - Status communicates the observed state of the Route (from the controller).

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Run.V1.Model.Route{
  apiVersion: String.t() | nil,
  kind: String.t() | nil,
  metadata: GoogleApi.Run.V1.Model.ObjectMeta.t() | nil,
  spec: GoogleApi.Run.V1.Model.RouteSpec.t() | nil,
  status: GoogleApi.Run.V1.Model.RouteStatus.t() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.