class Google::Apis::ComputeV1::AllocationSpecificSkuAllocationReservedInstanceProperties

Properties of the SKU instances being reserved. Next ID: 9

Attributes

guest_accelerators[RW]

Specifies accelerator type and count. Corresponds to the JSON property ‘guestAccelerators` @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]

local_ssds[RW]

Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd. Corresponds to the JSON property ‘localSsds` @return [Array<Google::Apis::ComputeV1::AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk>]

location_hint[RW]

An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API. Corresponds to the JSON property ‘locationHint` @return [String]

machine_type[RW]

Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern. Corresponds to the JSON property ‘machineType` @return [String]

min_cpu_platform[RW]

Minimum cpu platform the reservation. Corresponds to the JSON property ‘minCpuPlatform` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 1186
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 1191
def update!(**args)
  @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
  @local_ssds = args[:local_ssds] if args.key?(:local_ssds)
  @location_hint = args[:location_hint] if args.key?(:location_hint)
  @machine_type = args[:machine_type] if args.key?(:machine_type)
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
end