class Google::Apis::NotebooksV1::SwitchRuntimeRequest
Request for switching a Managed Notebook Runtime
.
Attributes
accelerator_config[RW]
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` Corresponds to the JSON property `acceleratorConfig` @return [Google::Apis::NotebooksV1::RuntimeAcceleratorConfig]
machine_type[RW]
machine type. Corresponds to the JSON property `machineType` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/notebooks_v1/classes.rb, line 2483 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 2488 def update!(**args) @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config) @machine_type = args[:machine_type] if args.key?(:machine_type) end