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.
47714 47715 47716 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47714 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
47706 47707 47708 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47706 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
47712 47713 47714 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47712 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
47719 47720 47721 47722 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47719 def update!(**args) @recoverablesnapshots = args[:recoverablesnapshots] if args.key?(:recoverablesnapshots) @warning = args[:warning] if args.key?(:warning) end |