Class: Google::Apis::ComputeAlpha::DiskTypesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::DiskTypesScopedList
- 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
-
#disk_types ⇒ Array<Google::Apis::ComputeAlpha::DiskType>
[Output Only] A list of disk types contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::DiskTypesScopedList::Warning
[Output Only] Informational warning which replaces the list of disk types when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiskTypesScopedList
constructor
A new instance of DiskTypesScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiskTypesScopedList
Returns a new instance of DiskTypesScopedList.
8292 8293 8294 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8292 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disk_types ⇒ Array<Google::Apis::ComputeAlpha::DiskType>
[Output Only] A list of disk types contained in this scope.
Corresponds to the JSON property diskTypes
8284 8285 8286 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8284 def disk_types @disk_types end |
#warning ⇒ Google::Apis::ComputeAlpha::DiskTypesScopedList::Warning
[Output Only] Informational warning which replaces the list of disk types when
the list is empty.
Corresponds to the JSON property warning
8290 8291 8292 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8290 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8297 8298 8299 8300 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8297 def update!(**args) @disk_types = args[:disk_types] if args.key?(:disk_types) @warning = args[:warning] if args.key?(:warning) end |