class Google::Apis::NotebooksV1::SetInstanceAcceleratorRequest

Request for setting instance accelerator.

Attributes

core_count[RW]

Required. Count of cores of this accelerator. Note that not all combinations of `type` and `core_count` are valid. Check [GPUs on Compute Engine](https:// cloud.google.com/compute/docs/gpus/#gpus-list) to find a valid combination. TPUs are not supported. Corresponds to the JSON property `coreCount` @return [Fixnum]

type[RW]

Required. Type of this accelerator. 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 2280
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 2285
def update!(**args)
  @core_count = args[:core_count] if args.key?(:core_count)
  @type = args[:type] if args.key?(:type)
end