class Google::Apis::ComputeV1::AllocationSpecificSkuAllocationReservedInstanceProperties
Properties of the SKU instances being reserved. Next ID: 9
Attributes
Specifies accelerator type and count. Corresponds to the JSON property ‘guestAccelerators` @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
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>]
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]
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]
Minimum cpu platform the reservation. Corresponds to the JSON property ‘minCpuPlatform` @return [String]
Public Class Methods
# File lib/google/apis/compute_v1/classes.rb, line 1186 def initialize(**args) update!(**args) end
Public Instance Methods
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