Class: Google::Apis::TpuV2::ListQueuedResourcesResponse

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

Instance Method Summary collapse

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_tokenString

The next page token or empty if none. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


542
543
544
# File 'lib/google/apis/tpu_v2/classes.rb', line 542

def next_page_token
  @next_page_token
end

#queued_resourcesArray<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

#unreachableArray<String>

Locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


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