Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::DiskEntry.
Single disk entry.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#capacity_bytes
def capacity_bytes() -> ::Integer
Returns
- (::Integer) — Disk capacity.
#capacity_bytes=
def capacity_bytes=(value) -> ::Integer
Parameter
- value (::Integer) — Disk capacity.
Returns
- (::Integer) — Disk capacity.
#disk_label
def disk_label() -> ::String
Returns
- (::String) — Disk label.
#disk_label=
def disk_label=(value) -> ::String
Parameter
- value (::String) — Disk label.
Returns
- (::String) — Disk label.
#disk_label_type
def disk_label_type() -> ::String
Returns
- (::String) — Disk label type (e.g. BIOS/GPT)
#disk_label_type=
def disk_label_type=(value) -> ::String
Parameter
- value (::String) — Disk label type (e.g. BIOS/GPT)
Returns
- (::String) — Disk label type (e.g. BIOS/GPT)
#free_bytes
def free_bytes() -> ::Integer
Returns
- (::Integer) — Disk free space.
#free_bytes=
def free_bytes=(value) -> ::Integer
Parameter
- value (::Integer) — Disk free space.
Returns
- (::Integer) — Disk free space.
#hw_address
def hw_address() -> ::String
Returns
- (::String) — Disk hardware address (e.g. 0:1 for SCSI).
#hw_address=
def hw_address=(value) -> ::String
Parameter
- value (::String) — Disk hardware address (e.g. 0:1 for SCSI).
Returns
- (::String) — Disk hardware address (e.g. 0:1 for SCSI).
#interface_type
def interface_type() -> ::Google::Cloud::MigrationCenter::V1::DiskEntry::InterfaceType
Returns
- (::Google::Cloud::MigrationCenter::V1::DiskEntry::InterfaceType) — Disks interface type.
#interface_type=
def interface_type=(value) -> ::Google::Cloud::MigrationCenter::V1::DiskEntry::InterfaceType
Parameter
- value (::Google::Cloud::MigrationCenter::V1::DiskEntry::InterfaceType) — Disks interface type.
Returns
- (::Google::Cloud::MigrationCenter::V1::DiskEntry::InterfaceType) — Disks interface type.
#partitions
def partitions() -> ::Google::Cloud::MigrationCenter::V1::DiskPartitionList
Returns
- (::Google::Cloud::MigrationCenter::V1::DiskPartitionList) — Partition layout.
#partitions=
def partitions=(value) -> ::Google::Cloud::MigrationCenter::V1::DiskPartitionList
Parameter
- value (::Google::Cloud::MigrationCenter::V1::DiskPartitionList) — Partition layout.
Returns
- (::Google::Cloud::MigrationCenter::V1::DiskPartitionList) — Partition layout.
#vmware
def vmware() -> ::Google::Cloud::MigrationCenter::V1::VmwareDiskConfig
Returns
- (::Google::Cloud::MigrationCenter::V1::VmwareDiskConfig) — VMware disk details.
#vmware=
def vmware=(value) -> ::Google::Cloud::MigrationCenter::V1::VmwareDiskConfig
Parameter
- value (::Google::Cloud::MigrationCenter::V1::VmwareDiskConfig) — VMware disk details.
Returns
- (::Google::Cloud::MigrationCenter::V1::VmwareDiskConfig) — VMware disk details.