Class: Google::Apis::ComputeBeta::SnapshotsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::SnapshotsScopedList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#snapshots ⇒ Array<Google::Apis::ComputeBeta::Snapshot>
[Output Only] A list of snapshots contained in this scope.
-
#warning ⇒ Google::Apis::ComputeBeta::SnapshotsScopedList::Warning
[Output Only] Informational warning which replaces the list of snapshots when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SnapshotsScopedList
constructor
A new instance of SnapshotsScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SnapshotsScopedList
Returns a new instance of SnapshotsScopedList.
58590 58591 58592 |
# File 'lib/google/apis/compute_beta/classes.rb', line 58590 def initialize(**args) update!(**args) end |
Instance Attribute Details
#snapshots ⇒ Array<Google::Apis::ComputeBeta::Snapshot>
[Output Only] A list of snapshots contained in this scope.
Corresponds to the JSON property snapshots
58582 58583 58584 |
# File 'lib/google/apis/compute_beta/classes.rb', line 58582 def snapshots @snapshots end |
#warning ⇒ Google::Apis::ComputeBeta::SnapshotsScopedList::Warning
[Output Only] Informational warning which replaces the list of snapshots
when the list is empty.
Corresponds to the JSON property warning
58588 58589 58590 |
# File 'lib/google/apis/compute_beta/classes.rb', line 58588 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
58595 58596 58597 58598 |
# File 'lib/google/apis/compute_beta/classes.rb', line 58595 def update!(**args) @snapshots = args[:snapshots] if args.key?(:snapshots) @warning = args[:warning] if args.key?(:warning) end |