Class: Google::Apis::ComputeAlpha::RecoverableSnapshotsScopedList

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#recoverablesnapshotsArray<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

#warningGoogle::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