class Google::Apis::RunV1::RevisionStatus

RevisionStatus communicates the observed state of the Revision (from the controller).

Attributes

conditions[RW]

Conditions communicates information about ongoing/complete reconciliation processes that bring the “spec” inline with the observed state of the world. As a Revision is being prepared, it will incrementally update conditions. Revision-specific conditions include: * “ResourcesAvailable”: True when underlying resources have been provisioned. * “ContainerHealthy”: True when the Revision readiness check completes. * “Active”: True when the Revision may receive traffic. Corresponds to the JSON property `conditions` @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]

image_digest[RW]

ImageDigest holds the resolved digest for the image specified within .Spec. Container.Image. The digest is resolved during the creation of Revision. This field holds the digest value regardless of whether a tag or digest was originally specified in the Container object. Corresponds to the JSON property `imageDigest` @return [String]

log_url[RW]

Optional. Specifies the generated logging url for this particular revision based on the revision url template specified in the controller's config. Corresponds to the JSON property `logUrl` @return [String]

observed_generation[RW]

ObservedGeneration is the 'Generation' of the Revision 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]

service_name[RW]

Not currently used by Cloud Run. Corresponds to the JSON property `serviceName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/run_v1/classes.rb, line 2114
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 2119
def update!(**args)
  @conditions = args[:conditions] if args.key?(:conditions)
  @image_digest = args[:image_digest] if args.key?(:image_digest)
  @log_url = args[:log_url] if args.key?(:log_url)
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
  @service_name = args[:service_name] if args.key?(:service_name)
end