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 \ BackupMethods
__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 |
↳ backup_plan_revision_name |
string
Resource name of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup. Format: projects/{project}/locations/{___location}/backupPlans/{backupPlanId}/revisions/{revisionId} |
↳ backup_plan_revision_id |
string
The user friendly id of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup. |
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 |
getBackupPlanRevisionName
Resource name of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup.
Format: projects/{project}/locations/{___location}/backupPlans/{backupPlanId}/revisions/{revisionId}
Returns | |
---|---|
Type | Description |
string |
setBackupPlanRevisionName
Resource name of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup.
Format: projects/{project}/locations/{___location}/backupPlans/{backupPlanId}/revisions/{revisionId}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getBackupPlanRevisionId
The user friendly id of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup.
Returns | |
---|---|
Type | Description |
string |
setBackupPlanRevisionId
The user friendly id of the backup plan revision which triggered this backup in case of scheduled backup or used for on demand backup.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |