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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListTensorFlowVersionsResponse

Returns a new instance of ListTensorFlowVersionsResponse



183
184
185
# File 'generated/google/apis/tpu_v1alpha1/classes.rb', line 183

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)


176
177
178
# File 'generated/google/apis/tpu_v1alpha1/classes.rb', line 176

def next_page_token
  @next_page_token
end

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

The listed nodes. Corresponds to the JSON property tensorflowVersions



181
182
183
# File 'generated/google/apis/tpu_v1alpha1/classes.rb', line 181

def tensorflow_versions
  @tensorflow_versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



188
189
190
191
# File 'generated/google/apis/tpu_v1alpha1/classes.rb', line 188

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