Class: Google::Apis::TpuV1alpha1::ListTensorFlowVersionsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/tpu_v1alpha1/classes.rb,
lib/google/apis/tpu_v1alpha1/representations.rb,
lib/google/apis/tpu_v1alpha1/representations.rb

Overview

DEPRECATED: Please use TPU API v2alpha1 instead. Response for ListTensorFlowVersions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListTensorFlowVersionsResponse

Returns a new instance of ListTensorFlowVersionsResponse.



209
210
211
# File 'lib/google/apis/tpu_v1alpha1/classes.rb', line 209

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)


197
198
199
# File 'lib/google/apis/tpu_v1alpha1/classes.rb', line 197

def next_page_token
  @next_page_token
end

#tensorflow_versionsArray<Google::Apis::TpuV1alpha1::TensorFlowVersion>

The listed nodes. Corresponds to the JSON property tensorflowVersions



202
203
204
# File 'lib/google/apis/tpu_v1alpha1/classes.rb', line 202

def tensorflow_versions
  @tensorflow_versions
end

#unreachableArray<String>

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

Returns:

  • (Array<String>)


207
208
209
# File 'lib/google/apis/tpu_v1alpha1/classes.rb', line 207

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



214
215
216
217
218
# File 'lib/google/apis/tpu_v1alpha1/classes.rb', line 214

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