Class: Google::Apis::RunV1alpha1::RevisionStatus
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::RevisionStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/run_v1alpha1/classes.rb,
generated/google/apis/run_v1alpha1/representations.rb,
generated/google/apis/run_v1alpha1/representations.rb
Overview
RevisionStatus communicates the observed state of the Revision (from the controller).
Instance Attribute Summary collapse
-
#conditions ⇒ Array<Google::Apis::RunV1alpha1::RevisionCondition>
Conditions communicates information about ongoing/complete reconciliation processes that bring the "spec" inline with the observed state of the world.
-
#image_digest ⇒ String
ImageDigest holds the resolved digest for the image specified within .Spec.Container.Image.
-
#log_url ⇒ String
Specifies the generated logging url for this particular revision based on the revision url template specified in the controller's config.
-
#observed_generation ⇒ Fixnum
ObservedGeneration is the 'Generation' of the Revision that was last processed by the controller.
-
#service_name ⇒ String
Not currently used by Cloud Run.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RevisionStatus
constructor
A new instance of RevisionStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RevisionStatus
Returns a new instance of RevisionStatus
3358 3359 3360 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3358 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conditions ⇒ Array<Google::Apis::RunV1alpha1::RevisionCondition>
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 "ResourcesAvailable", "ContainerHealthy", and "Active",
which contribute to the overall "Ready" condition.
Corresponds to the JSON property conditions
3327 3328 3329 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3327 def conditions @conditions end |
#image_digest ⇒ String
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
3335 3336 3337 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3335 def image_digest @image_digest end |
#log_url ⇒ String
Specifies the generated logging url for this particular revision
based on the revision url template specified in the controller's config.
+optional
Corresponds to the JSON property logUrl
3342 3343 3344 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3342 def log_url @log_url end |
#observed_generation ⇒ Fixnum
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
3351 3352 3353 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3351 def observed_generation @observed_generation end |
#service_name ⇒ String
Not currently used by Cloud Run.
Corresponds to the JSON property serviceName
3356 3357 3358 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3356 def service_name @service_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3363 3364 3365 3366 3367 3368 3369 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3363 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 |