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) — 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) — 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) — 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.