Class: Google::Apis::TpuV1::ReimageNodeRequest

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

Overview

Request for ReimageNode.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReimageNodeRequest

Returns a new instance of ReimageNodeRequest.



557
558
559
# File 'lib/google/apis/tpu_v1/classes.rb', line 557

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)


555
556
557
# File 'lib/google/apis/tpu_v1/classes.rb', line 555

def tensorflow_version
  @tensorflow_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



562
563
564
# File 'lib/google/apis/tpu_v1/classes.rb', line 562

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