Class: Google::Apis::TpuV1::ListAcceleratorTypesResponse
- Inherits:
-
Object
- Object
- Google::Apis::TpuV1::ListAcceleratorTypesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/tpu_v1/classes.rb,
lib/google/apis/tpu_v1/representations.rb,
lib/google/apis/tpu_v1/representations.rb
Overview
Response for ListAcceleratorTypes.
Instance Attribute Summary collapse
-
#accelerator_types ⇒ Array<Google::Apis::TpuV1::AcceleratorType>
The listed nodes.
-
#next_page_token ⇒ String
The next page token or empty if none.
-
#unreachable ⇒ Array<String>
Locations that could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAcceleratorTypesResponse
constructor
A new instance of ListAcceleratorTypesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListAcceleratorTypesResponse
Returns a new instance of ListAcceleratorTypesResponse.
85 86 87 |
# File 'lib/google/apis/tpu_v1/classes.rb', line 85 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accelerator_types ⇒ Array<Google::Apis::TpuV1::AcceleratorType>
The listed nodes.
Corresponds to the JSON property acceleratorTypes
73 74 75 |
# File 'lib/google/apis/tpu_v1/classes.rb', line 73 def accelerator_types @accelerator_types end |
#next_page_token ⇒ String
The next page token or empty if none.
Corresponds to the JSON property nextPageToken
78 79 80 |
# File 'lib/google/apis/tpu_v1/classes.rb', line 78 def next_page_token @next_page_token end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
83 84 85 |
# File 'lib/google/apis/tpu_v1/classes.rb', line 83 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
90 91 92 93 94 |
# File 'lib/google/apis/tpu_v1/classes.rb', line 90 def update!(**args) @accelerator_types = args[:accelerator_types] if args.key?(:accelerator_types) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @unreachable = args[:unreachable] if args.key?(:unreachable) end |