Google Cloud Backup Dr V1 Client - Class TargetResource (0.4.0)

Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class TargetResource.

Details of the target resource created/modified as part of restore.

Generated from protobuf message google.cloud.backupdr.v1.TargetResource

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ gcp_resource Google\Cloud\BackupDR\V1\GcpResource

Details of the native Google Cloud resource created as part of restore.

getGcpResource

Details of the native Google Cloud resource created as part of restore.

Returns
Type Description
Google\Cloud\BackupDR\V1\GcpResource|null

hasGcpResource

setGcpResource

Details of the native Google Cloud resource created as part of restore.

Parameter
Name Description
var Google\Cloud\BackupDR\V1\GcpResource
Returns
Type Description
$this

getTargetResourceInfo

Returns
Type Description
string