Class: Google::Apis::TpuV2::ListQueuedResourcesResponse
- Inherits:
-
Object
- Object
- Google::Apis::TpuV2::ListQueuedResourcesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/tpu_v2/classes.rb,
lib/google/apis/tpu_v2/representations.rb,
lib/google/apis/tpu_v2/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::TpuV2::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.
554 555 556 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 554 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
542 543 544 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 542 def next_page_token @next_page_token end |
#queued_resources ⇒ Array<Google::Apis::TpuV2::QueuedResource>
The listed queued resources.
Corresponds to the JSON property queuedResources
547 548 549 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 547 def queued_resources @queued_resources end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
552 553 554 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 552 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
559 560 561 562 563 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 559 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 |