Class: Google::Apis::TpuV2alpha1::ListQueuedResourcesResponse
- Inherits:
-
Object
- Object
- Google::Apis::TpuV2alpha1::ListQueuedResourcesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/tpu_v2alpha1/classes.rb,
lib/google/apis/tpu_v2alpha1/representations.rb,
lib/google/apis/tpu_v2alpha1/representations.rb
Overview
Response for ListQueuedResources.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
The next page token or empty if none.
-
#queued_resources ⇒ Array<Google::Apis::TpuV2alpha1::QueuedResource>
The listed queued resources.
-
#unreachable ⇒ Array<String>
Locations that could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListQueuedResourcesResponse
constructor
A new instance of ListQueuedResourcesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListQueuedResourcesResponse
Returns a new instance of ListQueuedResourcesResponse.
623 624 625 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 623 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
The next page token or empty if none.
Corresponds to the JSON property nextPageToken
611 612 613 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 611 def next_page_token @next_page_token end |
#queued_resources ⇒ Array<Google::Apis::TpuV2alpha1::QueuedResource>
The listed queued resources.
Corresponds to the JSON property queuedResources
616 617 618 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 616 def queued_resources @queued_resources end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
621 622 623 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 621 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
628 629 630 631 632 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 628 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @queued_resources = args[:queued_resources] if args.key?(:queued_resources) @unreachable = args[:unreachable] if args.key?(:unreachable) end |