Class: Google::Apis::TpuV1alpha1::ReimageNodeRequest

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

Request for ReimageNode.

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) ⇒ ReimageNodeRequest

Returns a new instance of ReimageNodeRequest



575
576
577
# File 'generated/google/apis/tpu_v1alpha1/classes.rb', line 575

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#tensorflow_versionString

The version for reimage to create. Corresponds to the JSON property tensorflowVersion

Returns:

  • (String)


573
574
575
# File 'generated/google/apis/tpu_v1alpha1/classes.rb', line 573

def tensorflow_version
  @tensorflow_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



580
581
582
# File 'generated/google/apis/tpu_v1alpha1/classes.rb', line 580

def update!(**args)
  @tensorflow_version = args[:tensorflow_version] if args.key?(:tensorflow_version)
end