Class: Google::Apis::ComputeV1::DiskTypesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::DiskTypesScopedList
- Defined in:
- generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#disk_types ⇒ Array<Google::Apis::ComputeV1::DiskType>
[Output Only] A list of disk types contained in this scope.
-
#warning ⇒ Google::Apis::ComputeV1::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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ DiskTypesScopedList
Returns a new instance of DiskTypesScopedList
4537 4538 4539 |
# File 'generated/google/apis/compute_v1/classes.rb', line 4537 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disk_types ⇒ Array<Google::Apis::ComputeV1::DiskType>
[Output Only] A list of disk types contained in this scope.
Corresponds to the JSON property diskTypes
4529 4530 4531 |
# File 'generated/google/apis/compute_v1/classes.rb', line 4529 def disk_types @disk_types end |
#warning ⇒ Google::Apis::ComputeV1::DiskTypesScopedList::Warning
[Output Only] Informational warning which replaces the list of disk types when
the list is empty.
Corresponds to the JSON property warning
4535 4536 4537 |
# File 'generated/google/apis/compute_v1/classes.rb', line 4535 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4542 4543 4544 4545 |
# File 'generated/google/apis/compute_v1/classes.rb', line 4542 def update!(**args) @disk_types = args[:disk_types] if args.key?(:disk_types) @warning = args[:warning] if args.key?(:warning) end |