Class: Google::Apis::RunV1alpha1::StorageStatus
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::StorageStatus
- 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
StorageStatus represents the current state of a Storage.
Instance Attribute Summary collapse
-
#conditions ⇒ Array<Google::Apis::RunV1alpha1::Condition>
Array of observed StorageConditions, indicating the current state of the Storage.
-
#observed_generation ⇒ Fixnum
ObservedGeneration is the 'Generation' of the Storage that was last processed by the controller.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StorageStatus
constructor
A new instance of StorageStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ StorageStatus
Returns a new instance of StorageStatus.
4590 4591 4592 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4590 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conditions ⇒ Array<Google::Apis::RunV1alpha1::Condition>
Array of observed StorageConditions, indicating the current state
of the Storage.
Corresponds to the JSON property conditions
4582 4583 4584 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4582 def conditions @conditions end |
#observed_generation ⇒ Fixnum
ObservedGeneration is the 'Generation' of the Storage that
was last processed by the controller.
Corresponds to the JSON property observedGeneration
4588 4589 4590 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4588 def observed_generation @observed_generation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4595 4596 4597 4598 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4595 def update!(**args) @conditions = args[:conditions] if args.key?(:conditions) @observed_generation = args[:observed_generation] if args.key?(:observed_generation) end |