class Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
AcceleratorConfig defines the accelerator cards to attach to the VM.
Attributes
accelerator_count[RW]
The number of guest accelerator cards exposed to each VM. Corresponds to the JSON property `acceleratorCount` @return [Fixnum]
accelerator_type[RW]
The type of accelerator to attach to each VM, e.g. “nvidia-tesla-k80” for nVidia Tesla K80. Corresponds to the JSON property `acceleratorType` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/remotebuildexecution_v1alpha/classes.rb, line 1785 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/remotebuildexecution_v1alpha/classes.rb, line 1790 def update!(**args) @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count) @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type) end