View Source GoogleApi.Run.V1.Model.ServiceStatus (google_api_run v0.30.0)

The current state of the Service. Output only.

Attributes

  • 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 communicate information about ongoing/complete reconciliation processes that bring the spec inline with the observed state of the world. Service-specific conditions include: ConfigurationsReady: True when the underlying Configuration is ready. RoutesReady: True when the underlying Route is ready. * Ready: True when all underlying resources are ready.
  • latestCreatedRevisionName (type: String.t, default: nil) - Name of the last revision that was created from this Service's Configuration. It might not be ready yet, for that use LatestReadyRevisionName.
  • latestReadyRevisionName (type: String.t, default: nil) - Name of the latest Revision from this Service's Configuration that has had its Ready condition become True.
  • observedGeneration (type: integer(), default: nil) - Returns the generation last seen by the system. Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.
  • traffic (type: list(GoogleApi.Run.V1.Model.TrafficTarget.t), default: nil) - 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 that will distribute traffic over the provided traffic targets. It generally has the form https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Run.V1.Model.ServiceStatus{
  address: GoogleApi.Run.V1.Model.Addressable.t() | nil,
  conditions: [GoogleApi.Run.V1.Model.GoogleCloudRunV1Condition.t()] | nil,
  latestCreatedRevisionName: String.t() | nil,
  latestReadyRevisionName: String.t() | nil,
  observedGeneration: integer() | nil,
  traffic: [GoogleApi.Run.V1.Model.TrafficTarget.t()] | nil,
  url: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.