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

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

GCPBackupPlanInfo captures the plan configuration details of Google Cloud resources at the time of backup.

Generated from protobuf message google.cloud.backupdr.v1.Backup.GCPBackupPlanInfo

Namespace

Google \ Cloud \ BackupDR \ V1 \ Backup

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ backup_plan string

Resource name of backup plan by which workload is protected at the time of the backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}

↳ backup_plan_rule_id string

The rule id of the backup plan which triggered this backup in case of scheduled backup or used for

getBackupPlan

Resource name of backup plan by which workload is protected at the time of the backup.

Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}

Returns
Type Description
string

setBackupPlan

Resource name of backup plan by which workload is protected at the time of the backup.

Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}

Parameter
Name Description
var string
Returns
Type Description
$this

getBackupPlanRuleId

The rule id of the backup plan which triggered this backup in case of scheduled backup or used for

Returns
Type Description
string

setBackupPlanRuleId

The rule id of the backup plan which triggered this backup in case of scheduled backup or used for

Parameter
Name Description
var string
Returns
Type Description
$this