Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class ComputeInstanceTargetEnvironment.
ComputeInstanceTargetEnvironment represents Compute Engine target environment to be used during restore.
Generated from protobuf message google.cloud.backupdr.v1.ComputeInstanceTargetEnvironment
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ project |
string
Required. Target project for the Compute Engine instance. |
↳ zone |
string
Required. The zone of the Compute Engine instance. |
getProject
Required. Target project for the Compute Engine instance.
Returns | |
---|---|
Type | Description |
string |
setProject
Required. Target project for the Compute Engine instance.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getZone
Required. The zone of the Compute Engine instance.
Returns | |
---|---|
Type | Description |
string |
setZone
Required. The zone of the Compute Engine instance.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |