Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::ComputeStorageDescriptor.
Compute Engine storage option descriptor.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#size_gb
def size_gb() -> ::Integer
Returns
- (::Integer) — Disk size in GiB.
#size_gb=
def size_gb=(value) -> ::Integer
Parameter
- value (::Integer) — Disk size in GiB.
Returns
- (::Integer) — Disk size in GiB.
#type
def type() -> ::Google::Cloud::MigrationCenter::V1::PersistentDiskType
Returns
- (::Google::Cloud::MigrationCenter::V1::PersistentDiskType) — Disk type backing the storage.
#type=
def type=(value) -> ::Google::Cloud::MigrationCenter::V1::PersistentDiskType
Parameter
- value (::Google::Cloud::MigrationCenter::V1::PersistentDiskType) — Disk type backing the storage.
Returns
- (::Google::Cloud::MigrationCenter::V1::PersistentDiskType) — Disk type backing the storage.