Class: Google::Apis::ComputeV1::InstantSnapshotsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::InstantSnapshotsScopedList
- 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
-
#instant_snapshots ⇒ Array<Google::Apis::ComputeV1::InstantSnapshot>
[Output Only] A list of instantSnapshots contained in this scope.
-
#warning ⇒ Google::Apis::ComputeV1::InstantSnapshotsScopedList::Warning
[Output Only] Informational warning which replaces the list of instantSnapshots when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstantSnapshotsScopedList
constructor
A new instance of InstantSnapshotsScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstantSnapshotsScopedList
Returns a new instance of InstantSnapshotsScopedList.
19241 19242 19243 |
# File 'lib/google/apis/compute_v1/classes.rb', line 19241 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instant_snapshots ⇒ Array<Google::Apis::ComputeV1::InstantSnapshot>
[Output Only] A list of instantSnapshots contained in this scope.
Corresponds to the JSON property instantSnapshots
19233 19234 19235 |
# File 'lib/google/apis/compute_v1/classes.rb', line 19233 def instant_snapshots @instant_snapshots end |
#warning ⇒ Google::Apis::ComputeV1::InstantSnapshotsScopedList::Warning
[Output Only] Informational warning which replaces the list of
instantSnapshots when the list is empty.
Corresponds to the JSON property warning
19239 19240 19241 |
# File 'lib/google/apis/compute_v1/classes.rb', line 19239 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19246 19247 19248 19249 |
# File 'lib/google/apis/compute_v1/classes.rb', line 19246 def update!(**args) @instant_snapshots = args[:instant_snapshots] if args.key?(:instant_snapshots) @warning = args[:warning] if args.key?(:warning) end |