class Google::Apis::TpuV2alpha1::RuntimeVersion
A runtime version that a Node
can be configured with.
Attributes
name[RW]
The resource name. Corresponds to the JSON property ‘name` @return [String]
version[RW]
The runtime version. Corresponds to the JSON property ‘version` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/tpu_v2alpha1/classes.rb, line 808 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/tpu_v2alpha1/classes.rb, line 813 def update!(**args) @name = args[:name] if args.key?(:name) @version = args[:version] if args.key?(:version) end