Class: Google::Apis::TpuV2alpha1::ListQueuedResourcesResponse

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListQueuedResourcesResponse

Returns a new instance of ListQueuedResourcesResponse.



574
575
576
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 574

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)


562
563
564
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 562

def next_page_token
  @next_page_token
end

#queued_resourcesArray<Google::Apis::TpuV2alpha1::QueuedResource>

The listed queued resources. Corresponds to the JSON property queuedResources



567
568
569
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 567

def queued_resources
  @queued_resources
end

#unreachableArray<String>

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

Returns:

  • (Array<String>)


572
573
574
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 572

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



579
580
581
582
583
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 579

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