Class: Google::Apis::BaremetalsolutionV1alpha1::ListLunsResponse
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV1alpha1::ListLunsResponse
- 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 ListLuns.
Instance Attribute Summary collapse
-
#luns ⇒ Array<Google::Apis::BaremetalsolutionV1alpha1::Lun>
The Luns in this project.
-
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more results in the list.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListLunsResponse
constructor
A new instance of ListLunsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListLunsResponse
Returns a new instance of ListLunsResponse.
282 283 284 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 282 def initialize(**args) update!(**args) end |
Instance Attribute Details
#luns ⇒ Array<Google::Apis::BaremetalsolutionV1alpha1::Lun>
The Luns in this project.
Corresponds to the JSON property luns
274 275 276 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 274 def luns @luns end |
#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
280 281 282 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 280 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
287 288 289 290 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 287 def update!(**args) @luns = args[:luns] if args.key?(:luns) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |