Class: Google::Apis::TpuV1::ListTensorFlowVersionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::TpuV1::ListTensorFlowVersionsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/tpu_v1/classes.rb,
generated/google/apis/tpu_v1/representations.rb,
generated/google/apis/tpu_v1/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::TpuV1::TensorFlowVersion>
The listed nodes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListTensorFlowVersionsResponse
constructor
A new instance of ListTensorFlowVersionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListTensorFlowVersionsResponse
Returns a new instance of ListTensorFlowVersionsResponse
189 190 191 |
# File 'generated/google/apis/tpu_v1/classes.rb', line 189 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
182 183 184 |
# File 'generated/google/apis/tpu_v1/classes.rb', line 182 def next_page_token @next_page_token end |
#tensorflow_versions ⇒ Array<Google::Apis::TpuV1::TensorFlowVersion>
The listed nodes.
Corresponds to the JSON property tensorflowVersions
187 188 189 |
# File 'generated/google/apis/tpu_v1/classes.rb', line 187 def tensorflow_versions @tensorflow_versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
194 195 196 197 |
# File 'generated/google/apis/tpu_v1/classes.rb', line 194 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) end |