Class: Google::Apis::ComputeAlpha::StoragePoolsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::StoragePoolsScopedList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#storage_pools ⇒ Array<Google::Apis::ComputeAlpha::StoragePool>
[Output Only] A list of storage pool contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::StoragePoolsScopedList::Warning
[Output Only] Informational warning which replaces the list of storage pool when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StoragePoolsScopedList
constructor
A new instance of StoragePoolsScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StoragePoolsScopedList
Returns a new instance of StoragePoolsScopedList.
46287 46288 46289 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 46287 def initialize(**args) update!(**args) end |
Instance Attribute Details
#storage_pools ⇒ Array<Google::Apis::ComputeAlpha::StoragePool>
[Output Only] A list of storage pool contained in this scope.
Corresponds to the JSON property storagePools
46279 46280 46281 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 46279 def storage_pools @storage_pools end |
#warning ⇒ Google::Apis::ComputeAlpha::StoragePoolsScopedList::Warning
[Output Only] Informational warning which replaces the list of storage pool
when the list is empty.
Corresponds to the JSON property warning
46285 46286 46287 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 46285 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
46292 46293 46294 46295 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 46292 def update!(**args) @storage_pools = args[:storage_pools] if args.key?(:storage_pools) @warning = args[:warning] if args.key?(:warning) end |