Class: Google::Apis::ComputeV1::StoragePoolsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::StoragePoolsScopedList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#storage_pools ⇒ Array<Google::Apis::ComputeV1::StoragePool>
[Output Only] A list of storage pool contained in this scope.
-
#warning ⇒ Google::Apis::ComputeV1::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.
43042 43043 43044 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43042 def initialize(**args) update!(**args) end |
Instance Attribute Details
#storage_pools ⇒ Array<Google::Apis::ComputeV1::StoragePool>
[Output Only] A list of storage pool contained in this scope.
Corresponds to the JSON property storagePools
43034 43035 43036 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43034 def storage_pools @storage_pools end |
#warning ⇒ Google::Apis::ComputeV1::StoragePoolsScopedList::Warning
[Output Only] Informational warning which replaces the list of storage pool
when the list is empty.
Corresponds to the JSON property warning
43040 43041 43042 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43040 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
43047 43048 43049 43050 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43047 def update!(**args) @storage_pools = args[:storage_pools] if args.key?(:storage_pools) @warning = args[:warning] if args.key?(:warning) end |