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.



623
624
625
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 623

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)


611
612
613
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 611

def next_page_token
  @next_page_token
end

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

#unreachableArray<String>

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

Returns:

  • (Array<String>)


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