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.
54200 54201 54202 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 54200 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
54192 54193 54194 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 54192 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
54198 54199 54200 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 54198 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
54205 54206 54207 54208 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 54205 def update!(**args) @recoverablesnapshots = args[:recoverablesnapshots] if args.key?(:recoverablesnapshots) @warning = args[:warning] if args.key?(:warning) end |