class Google::Apis::RunV1::ServiceStatus

The current state of the Service. Output only.

Attributes

address[RW]

Information for connecting over HTTP(s). Corresponds to the JSON property `address` @return [Google::Apis::RunV1::Addressable]

conditions[RW]

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. Corresponds to the JSON property `conditions` @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]

latest_created_revision_name[RW]

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. Corresponds to the JSON property `latestCreatedRevisionName` @return [String]

latest_ready_revision_name[RW]

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”. Corresponds to the JSON property `latestReadyRevisionName` @return [String]

observed_generation[RW]

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. Corresponds to the JSON property `observedGeneration` @return [Fixnum]

traffic[RW]

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. Corresponds to the JSON property `traffic` @return [Array<Google::Apis::RunV1::TrafficTarget>]

url[RW]

From RouteStatus. URL holds the url that will distribute traffic over the provided traffic targets. It generally has the form `route-hash`-` project-hash`-`cluster-level-suffix`.a.run.app Corresponds to the JSON property `url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/run_v1/classes.rb, line 2588
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/run_v1/classes.rb, line 2593
def update!(**args)
  @address = args[:address] if args.key?(:address)
  @conditions = args[:conditions] if args.key?(:conditions)
  @latest_created_revision_name = args[:latest_created_revision_name] if args.key?(:latest_created_revision_name)
  @latest_ready_revision_name = args[:latest_ready_revision_name] if args.key?(:latest_ready_revision_name)
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
  @traffic = args[:traffic] if args.key?(:traffic)
  @url = args[:url] if args.key?(:url)
end