Class: Google::Apis::BaremetalsolutionV1alpha1::ListVolumeSnapshotsResponse
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV1alpha1::ListVolumeSnapshotsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/baremetalsolution_v1alpha1/classes.rb,
lib/google/apis/baremetalsolution_v1alpha1/representations.rb,
lib/google/apis/baremetalsolution_v1alpha1/representations.rb
Overview
Response for ListVolumeSnapshots.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more results in the list.
-
#volume_snapshots ⇒ Array<Google::Apis::BaremetalsolutionV1alpha1::VolumeSnapshot>
The VolumeSnapshots for the volume.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListVolumeSnapshotsResponse
constructor
A new instance of ListVolumeSnapshotsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListVolumeSnapshotsResponse
Returns a new instance of ListVolumeSnapshotsResponse.
379 380 381 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 379 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more
results in the list.
Corresponds to the JSON property nextPageToken
372 373 374 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 372 def next_page_token @next_page_token end |
#volume_snapshots ⇒ Array<Google::Apis::BaremetalsolutionV1alpha1::VolumeSnapshot>
The VolumeSnapshots for the volume.
Corresponds to the JSON property volumeSnapshots
377 378 379 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 377 def volume_snapshots @volume_snapshots end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
384 385 386 387 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 384 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @volume_snapshots = args[:volume_snapshots] if args.key?(:volume_snapshots) end |