Class: Google::Apis::TpuV1::ReimageNodeRequest
- Inherits:
-
Object
- Object
- Google::Apis::TpuV1::ReimageNodeRequest
- 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
-
#tensorflow_version ⇒ String
The version for reimage to create.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReimageNodeRequest
constructor
A new instance of ReimageNodeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReimageNodeRequest
Returns a new instance of ReimageNodeRequest.
560 561 562 |
# File 'lib/google/apis/tpu_v1/classes.rb', line 560 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tensorflow_version ⇒ String
The version for reimage to create.
Corresponds to the JSON property tensorflowVersion
558 559 560 |
# File 'lib/google/apis/tpu_v1/classes.rb', line 558 def tensorflow_version @tensorflow_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
565 566 567 |
# File 'lib/google/apis/tpu_v1/classes.rb', line 565 def update!(**args) @tensorflow_version = args[:tensorflow_version] if args.key?(:tensorflow_version) end |