class Google::Apis::NotebooksV1::RuntimeAcceleratorConfig
Definition of the types of hardware accelerators that can be used. Definition of the types of hardware accelerators that can be used. See [Compute Engine AcceleratorTypes](cloud.google.com/compute/docs/reference/beta/ acceleratorTypes). Examples: * `nvidia-tesla-k80` * `nvidia-tesla-p100` * ` nvidia-tesla-v100` * `nvidia-tesla-p4` * `nvidia-tesla-t4` * `nvidia-tesla- a100`
Attributes
core_count[RW]
Count of cores of this accelerator. Corresponds to the JSON property `coreCount` @return [Fixnum]
type[RW]
Accelerator model. Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/notebooks_v1/classes.rb, line 1911 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/notebooks_v1/classes.rb, line 1916 def update!(**args) @core_count = args[:core_count] if args.key?(:core_count) @type = args[:type] if args.key?(:type) end