class Google::Apis::ComputeV1::MachineType::Accelerator

Attributes

guest_accelerator_count[RW]

Number of accelerator cards exposed to the guest. Corresponds to the JSON property `guestAcceleratorCount` @return [Fixnum]

guest_accelerator_type[RW]

The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'. Corresponds to the JSON property `guestAcceleratorType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 18890
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 18895
def update!(**args)
  @guest_accelerator_count = args[:guest_accelerator_count] if args.key?(:guest_accelerator_count)
  @guest_accelerator_type = args[:guest_accelerator_type] if args.key?(:guest_accelerator_type)
end