[][src]Struct google_run1::ServiceStatus

pub struct ServiceStatus {
    pub observed_generation: Option<i32>,
    pub traffic: Option<Vec<TrafficTarget>>,
    pub latest_ready_revision_name: Option<String>,
    pub url: Option<String>,
    pub address: Option<Addressable>,
    pub conditions: Option<Vec<GoogleCloudRunV1Condition>>,
    pub latest_created_revision_name: Option<String>,
}

The current state of the Service. Output only.

This type is not used in any activity, and only used as part of another schema.

Fields

observed_generation: Option<i32>

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.

traffic: Option<Vec<TrafficTarget>>

From RouteStatus. 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.

latest_ready_revision_name: Option<String>

From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest Revision stamped out from this Service's Configuration that has had its "Ready" condition become "True".

url: Option<String>

From RouteStatus. 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}.a.run.app

address: Option<Addressable>

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

conditions: Option<Vec<GoogleCloudRunV1Condition>>

Conditions communicates 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 both the underlying Route and Configuration are ready.
latest_created_revision_name: Option<String>

From ConfigurationStatus. LatestCreatedRevisionName is the last revision that was created from this Service's Configuration. It might not be ready yet, for that use LatestReadyRevisionName.

Trait Implementations

impl Clone for ServiceStatus[src]

impl Debug for ServiceStatus[src]

impl Default for ServiceStatus[src]

impl<'de> Deserialize<'de> for ServiceStatus[src]

impl Part for ServiceStatus[src]

impl Serialize for ServiceStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any