Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class VmwareDiskDetails.
The details of a Vmware VM disk.
Generated from protobuf message google.cloud.vmmigration.v1.VmwareSourceVmDetails.VmwareDiskDetails
Namespace
Google \ Cloud \ VMMigration \ V1 \ VmwareSourceVmDetailsMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ disk_number |
int
Output only. The ordinal number of the disk. |
↳ size_gb |
int|string
Output only. Size in GB. |
↳ label |
string
Output only. The disk label. |
getDiskNumber
Output only. The ordinal number of the disk.
Returns | |
---|---|
Type | Description |
int |
setDiskNumber
Output only. The ordinal number of the disk.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getSizeGb
Output only. Size in GB.
Returns | |
---|---|
Type | Description |
int|string |
setSizeGb
Output only. Size in GB.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getLabel
Output only. The disk label.
Returns | |
---|---|
Type | Description |
string |
setLabel
Output only. The disk label.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |