Class: Google::Apis::BaremetalsolutionV1alpha1::ListInstancesResponse
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV1alpha1::ListInstancesResponse
- 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
-
#instances ⇒ Array<Google::Apis::BaremetalsolutionV1alpha1::Instance>
The Instances 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) ⇒ ListInstancesResponse
constructor
A new instance of ListInstancesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListInstancesResponse
Returns a new instance of ListInstancesResponse.
249 250 251 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 249 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instances ⇒ Array<Google::Apis::BaremetalsolutionV1alpha1::Instance>
The Instances in this project.
Corresponds to the JSON property instances
241 242 243 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 241 def instances @instances 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
247 248 249 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 247 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
254 255 256 257 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 254 def update!(**args) @instances = args[:instances] if args.key?(:instances) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |