Class: Google::Apis::RunV1alpha1::ConfigurationStatus
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::ConfigurationStatus
- 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
ConfigurationStatus communicates the observed state of the Configuration (from the controller).
Instance Attribute Summary collapse
-
#conditions ⇒ Array<Google::Apis::RunV1alpha1::ConfigurationCondition>
Conditions communicates information about ongoing/complete reconciliation processes that bring the "spec" inline with the observed state of the world.
-
#latest_created_revision_name ⇒ String
LatestCreatedRevisionName is the last revision that was created from this Configuration.
-
#latest_ready_revision_name ⇒ String
LatestReadyRevisionName holds the name of the latest Revision stamped out from this Configuration that has had its "Ready" condition become "True".
-
#observed_generation ⇒ Fixnum
ObservedGeneration is the 'Generation' of the Configuration that was last processed by the controller.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConfigurationStatus
constructor
A new instance of ConfigurationStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ConfigurationStatus
Returns a new instance of ConfigurationStatus
462 463 464 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 462 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conditions ⇒ Array<Google::Apis::RunV1alpha1::ConfigurationCondition>
Conditions communicates information about ongoing/complete
reconciliation processes that bring the "spec" inline with the observed
state of the world.
Corresponds to the JSON property conditions
437 438 439 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 437 def conditions @conditions end |
#latest_created_revision_name ⇒ String
LatestCreatedRevisionName is the last revision that was created from this
Configuration. It might not be ready yet, for that use
LatestReadyRevisionName.
Corresponds to the JSON property latestCreatedRevisionName
444 445 446 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 444 def latest_created_revision_name @latest_created_revision_name end |
#latest_ready_revision_name ⇒ String
LatestReadyRevisionName holds the name of the latest Revision stamped out
from this Configuration that has had its "Ready" condition become "True".
Corresponds to the JSON property latestReadyRevisionName
450 451 452 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 450 def latest_ready_revision_name @latest_ready_revision_name end |
#observed_generation ⇒ Fixnum
ObservedGeneration is the 'Generation' of the Configuration that
was last processed by the controller. The observed generation is updated
even if the controller failed to process the spec and create the Revision.
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
460 461 462 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 460 def observed_generation @observed_generation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
467 468 469 470 471 472 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 467 def update!(**args) @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) end |