Class: Google::Apis::TpuV1alpha1::ListTensorFlowVersionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::TpuV1alpha1::ListTensorFlowVersionsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/tpu_v1alpha1/classes.rb,
generated/google/apis/tpu_v1alpha1/representations.rb,
generated/google/apis/tpu_v1alpha1/representations.rb
Overview
Response for ListTensorFlowVersions.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
The next page token or empty if none.
-
#tensorflow_versions ⇒ Array<Google::Apis::TpuV1alpha1::TensorFlowVersion>
The listed nodes.
-
#unreachable ⇒ Array<String>
Locations that could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListTensorFlowVersionsResponse
constructor
A new instance of ListTensorFlowVersionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListTensorFlowVersionsResponse
Returns a new instance of ListTensorFlowVersionsResponse.
198 199 200 |
# File 'generated/google/apis/tpu_v1alpha1/classes.rb', line 198 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
186 187 188 |
# File 'generated/google/apis/tpu_v1alpha1/classes.rb', line 186 def next_page_token @next_page_token end |
#tensorflow_versions ⇒ Array<Google::Apis::TpuV1alpha1::TensorFlowVersion>
The listed nodes.
Corresponds to the JSON property tensorflowVersions
191 192 193 |
# File 'generated/google/apis/tpu_v1alpha1/classes.rb', line 191 def tensorflow_versions @tensorflow_versions end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
196 197 198 |
# File 'generated/google/apis/tpu_v1alpha1/classes.rb', line 196 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
203 204 205 206 207 |
# File 'generated/google/apis/tpu_v1alpha1/classes.rb', line 203 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @tensorflow_versions = args[:tensorflow_versions] if args.key?(:tensorflow_versions) @unreachable = args[:unreachable] if args.key?(:unreachable) end |