Class: Google::Apis::BaremetalsolutionV1alpha1::ListInstancesResponse

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 ListInstances.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListInstancesResponse

Returns a new instance of ListInstancesResponse.



256
257
258
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 256

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

Instance Attribute Details

#instancesArray<Google::Apis::BaremetalsolutionV1alpha1::Instance>

The Instances in this project. Corresponds to the JSON property instances



248
249
250
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 248

def instances
  @instances
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)


254
255
256
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 254

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



261
262
263
264
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 261

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