Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::AllocationSpecificSKUAllocationReservedInstanceProperties (v1.9.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::AllocationSpecificSKUAllocationReservedInstanceProperties.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#guest_accelerators

def guest_accelerators() -> ::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>
Returns

#guest_accelerators=

def guest_accelerators=(value) -> ::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>
Parameter
Returns

#local_ssds

def local_ssds() -> ::Array<::Google::Cloud::Compute::V1::AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk>
Returns

#local_ssds=

def local_ssds=(value) -> ::Array<::Google::Cloud::Compute::V1::AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk>
Parameter
Returns

#location_hint

def location_hint() -> ::String
Returns
  • (::String) — 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.

#location_hint=

def location_hint=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#machine_type

def machine_type() -> ::String
Returns
  • (::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.

#machine_type=

def machine_type=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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.

#min_cpu_platform

def min_cpu_platform() -> ::String
Returns
  • (::String) — Minimum cpu platform the reservation.

#min_cpu_platform=

def min_cpu_platform=(value) -> ::String
Parameter
  • value (::String) — Minimum cpu platform the reservation.
Returns
  • (::String) — Minimum cpu platform the reservation.