Class: Google::Apis::ComputeAlpha::SnapshotsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::SnapshotsScopedList
- 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
-
#snapshots ⇒ Array<Google::Apis::ComputeAlpha::Snapshot>
[Output Only] A list of snapshots contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::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.
73085 73086 73087 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 73085 def initialize(**args) update!(**args) end |
Instance Attribute Details
#snapshots ⇒ Array<Google::Apis::ComputeAlpha::Snapshot>
[Output Only] A list of snapshots contained in this scope.
Corresponds to the JSON property snapshots
73077 73078 73079 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 73077 def snapshots @snapshots end |
#warning ⇒ Google::Apis::ComputeAlpha::SnapshotsScopedList::Warning
[Output Only] Informational warning which replaces the list of snapshots
when the list is empty.
Corresponds to the JSON property warning
73083 73084 73085 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 73083 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
73090 73091 73092 73093 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 73090 def update!(**args) @snapshots = args[:snapshots] if args.key?(:snapshots) @warning = args[:warning] if args.key?(:warning) end |