Class: Google::Apis::BaremetalsolutionV1alpha1::ListLunsResponse

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListLunsResponse

Returns a new instance of ListLunsResponse.



275
276
277
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 275

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#lunsArray<Google::Apis::BaremetalsolutionV1alpha1::Lun>

The Luns in this project. Corresponds to the JSON property luns



267
268
269
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 267

def luns
  @luns
end

#next_page_tokenString

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

Returns:

  • (String)


273
274
275
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 273

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



280
281
282
283
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 280

def update!(**args)
  @luns = args[:luns] if args.key?(:luns)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end