Class: Google::Apis::ComputeAlpha::RecoverableSnapshotsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::RecoverableSnapshotsScopedList
- 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
-
#recoverablesnapshots ⇒ Array<Google::Apis::ComputeAlpha::RecoverableSnapshot>
[Output Only] A list of recoverablesnapshots contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::RecoverableSnapshotsScopedList::Warning
[Output Only] Informational warning which replaces the list of recoverablesnapshots when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RecoverableSnapshotsScopedList
constructor
A new instance of RecoverableSnapshotsScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RecoverableSnapshotsScopedList
Returns a new instance of RecoverableSnapshotsScopedList.
57308 57309 57310 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 57308 def initialize(**args) update!(**args) end |
Instance Attribute Details
#recoverablesnapshots ⇒ Array<Google::Apis::ComputeAlpha::RecoverableSnapshot>
[Output Only] A list of recoverablesnapshots contained in this scope.
Corresponds to the JSON property recoverablesnapshots
57300 57301 57302 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 57300 def recoverablesnapshots @recoverablesnapshots end |
#warning ⇒ Google::Apis::ComputeAlpha::RecoverableSnapshotsScopedList::Warning
[Output Only] Informational warning which replaces the list of
recoverablesnapshots when the list is empty.
Corresponds to the JSON property warning
57306 57307 57308 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 57306 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
57313 57314 57315 57316 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 57313 def update!(**args) @recoverablesnapshots = args[:recoverablesnapshots] if args.key?(:recoverablesnapshots) @warning = args[:warning] if args.key?(:warning) end |