Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class ComputeEngineDisksTargetDefaults.
ComputeEngineDisksTargetDefaults is a collection of details for creating Persistent Disks in a target Compute Engine project.
Generated from protobuf message google.cloud.vmmigration.v1.ComputeEngineDisksTargetDefaults
Namespace
Google \ Cloud \ VMMigration \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ zone |
string
The zone in which to create the Persistent Disks. |
↳ disks_target_defaults |
DisksMigrationDisksTargetDefaults
Details of the disk only migration target. |
↳ vm_target_defaults |
DisksMigrationVmTargetDefaults
Details of the VM migration target. |
↳ target_project |
string
The full path of the resource of type TargetProject which represents the Compute Engine project in which to create the Persistent Disks. |
↳ disks |
array<PersistentDiskDefaults>
The details of each Persistent Disk to create. |
getZone
The zone in which to create the Persistent Disks.
Returns | |
---|---|
Type | Description |
string |
hasZone
setZone
The zone in which to create the Persistent Disks.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDisksTargetDefaults
Details of the disk only migration target.
Returns | |
---|---|
Type | Description |
DisksMigrationDisksTargetDefaults|null |
hasDisksTargetDefaults
setDisksTargetDefaults
Details of the disk only migration target.
Parameter | |
---|---|
Name | Description |
var |
DisksMigrationDisksTargetDefaults
|
Returns | |
---|---|
Type | Description |
$this |
getVmTargetDefaults
Details of the VM migration target.
Returns | |
---|---|
Type | Description |
DisksMigrationVmTargetDefaults|null |
hasVmTargetDefaults
setVmTargetDefaults
Details of the VM migration target.
Parameter | |
---|---|
Name | Description |
var |
DisksMigrationVmTargetDefaults
|
Returns | |
---|---|
Type | Description |
$this |
getTargetProject
The full path of the resource of type TargetProject which represents the Compute Engine project in which to create the Persistent Disks.
Returns | |
---|---|
Type | Description |
string |
setTargetProject
The full path of the resource of type TargetProject which represents the Compute Engine project in which to create the Persistent Disks.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDisks
The details of each Persistent Disk to create.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setDisks
The details of each Persistent Disk to create.
Parameter | |
---|---|
Name | Description |
var |
array<PersistentDiskDefaults>
|
Returns | |
---|---|
Type | Description |
$this |
getLocation
Returns | |
---|---|
Type | Description |
string |
getVmTarget
Returns | |
---|---|
Type | Description |
string |