Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class OSDisk.
A message describing the OS disk.
Generated from protobuf message google.cloud.vmmigration.v1.AzureVmDetails.OSDisk
Namespace
Google \ Cloud \ VMMigration \ V1 \ AzureVmDetailsMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ type |
string
The disk's type. |
↳ name |
string
The disk's full name. |
↳ size_gb |
int
The disk's size in GB. |
getType
The disk's type.
Returns | |
---|---|
Type | Description |
string |
setType
The disk's type.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getName
The disk's full name.
Returns | |
---|---|
Type | Description |
string |
setName
The disk's full name.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSizeGb
The disk's size in GB.
Returns | |
---|---|
Type | Description |
int |
setSizeGb
The disk's size in GB.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |