ServiceStatusResponse

data class ServiceStatusResponse(val address: AddressableResponse, val conditions: List<GoogleCloudRunV1ConditionResponse>, val latestCreatedRevisionName: String, val latestReadyRevisionName: String, val observedGeneration: Int, val traffic: List<TrafficTargetResponse>, val url: String)

The current state of the Service. Output only.

Constructors

Link copied to clipboard
constructor(address: AddressableResponse, conditions: List<GoogleCloudRunV1ConditionResponse>, latestCreatedRevisionName: String, latestReadyRevisionName: String, observedGeneration: Int, traffic: List<TrafficTargetResponse>, url: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Similar to url, information on where the service is available on HTTP.

Link copied to clipboard

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.

Link copied to clipboard

Name of the last revision that was created from this Service's Configuration. It might not be ready yet, for that use LatestReadyRevisionName.

Link copied to clipboard

Name of the latest Revision from this Service's Configuration that has had its Ready condition become True.

Link copied to clipboard

Returns the generation last fully processed by the system. This will only match metadata.generation when reconciliation is complete. Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.

Link copied to clipboard

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.

Link copied to clipboard
val url: String

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