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

RouteStatus communicates the observed state of the Route (from the controller).


  • address (type: GoogleApi.Run.V1.Model.Addressable.t, default: nil) - Similar to url, information on where the service is available on HTTP.
  • conditions (type: list(GoogleApi.Run.V1.Model.GoogleCloudRunV1Condition.t), default: nil) - Conditions communicates information about ongoing/complete reconciliation processes that bring the "spec" inline with the observed state of the world.
  • observedGeneration (type: integer(), default: nil) - ObservedGeneration is the 'Generation' of the Route that was last processed by the controller. Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False. Note that providing a trafficTarget that only has a configurationName will result in a Route that does not increment either its metadata.generation or its observedGeneration, as new "latest ready" revisions from the Configuration are processed without an update to the Route's spec.
  • traffic (type: list(GoogleApi.Run.V1.Model.TrafficTarget.t), default: nil) - Traffic holds the configured traffic distribution. These entries will always contain RevisionName references. When ConfigurationName appears in the spec, this will hold the LatestReadyRevisionName that we last observed.
  • url (type: String.t, default: nil) - URL holds the url that will distribute traffic over the provided traffic targets. It generally has the form: https://{route-hash}-{project-hash}-{cluster-level-suffix}

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Run.V1.Model.RouteStatus{
  address: GoogleApi.Run.V1.Model.Addressable.t() | nil,
  conditions: [GoogleApi.Run.V1.Model.GoogleCloudRunV1Condition.t()] | nil,
  observedGeneration: integer() | nil,
  traffic: [GoogleApi.Run.V1.Model.TrafficTarget.t()] | nil,
  url: String.t() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.