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

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 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
GcpResource|null

hasGcpResource

setGcpResource

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

Parameter
Name Description
var GcpResource
Returns
Type Description
$this

getTargetResourceInfo

Returns
Type Description
string