# Capacity Planner V1BETA API - Class Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AllocatedDisk (v0.5.0)

0.5.0 (latest) 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AllocatedDisk.

A specification of the interface and size of disk attached to
the instance.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #disk_interface

    def disk_interface() -> ::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AllocatedDisk::DiskInterface

**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AllocatedDisk::DiskInterface](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-Allocation-SpecificSKUAllocation-AllocatedInstanceProperties-AllocatedDisk-DiskInterface)) --- Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.

### #disk_interface=

    def disk_interface=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AllocatedDisk::DiskInterface

**Parameter**

- **value** ([::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AllocatedDisk::DiskInterface](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-Allocation-SpecificSKUAllocation-AllocatedInstanceProperties-AllocatedDisk-DiskInterface)) --- Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.
**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AllocatedDisk::DiskInterface](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-Allocation-SpecificSKUAllocation-AllocatedInstanceProperties-AllocatedDisk-DiskInterface)) --- Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.

### #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.