Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk (v1.10.0)

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#disk_size_gb

def disk_size_gb() -> ::Integer
Returns
  • (::Integer) — Specifies the size of the disk in base-2 GB.

#disk_size_gb=

def disk_size_gb=(value) -> ::Integer
Parameter
  • value (::Integer) — Specifies the size of the disk in base-2 GB.
Returns
  • (::Integer) — Specifies the size of the disk in base-2 GB.

#interface

def interface() -> ::String
Returns
  • (::String) — Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. Check the Interface enum for the list of possible values.

#interface=

def interface=(value) -> ::String
Parameter
  • value (::String) — Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. Check the Interface enum for the list of possible values.
Returns
  • (::String) — Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. Check the Interface enum for the list of possible values.