Class: Google::Apis::RunV1alpha1::StorageStatus

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#conditionsArray<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_generationFixnum

ObservedGeneration is the 'Generation' of the Storage that was last processed by the controller. Corresponds to the JSON property observedGeneration

Returns:

  • (Fixnum)


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