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.
57067 57068 57069 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 57067 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
57059 57060 57061 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 57059 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
57065 57066 57067 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 57065 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
57072 57073 57074 57075 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 57072 def update!(**args) @recoverablesnapshots = args[:recoverablesnapshots] if args.key?(:recoverablesnapshots) @warning = args[:warning] if args.key?(:warning) end |