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 messagegoogle.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
↳ 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Backup Dr V1 Client - Class GCPBackupPlanInfo (0.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.7.0 (latest)](/php/docs/reference/cloud-backupdr/latest/V1.Backup.GCPBackupPlanInfo)\n- [0.6.2](/php/docs/reference/cloud-backupdr/0.6.2/V1.Backup.GCPBackupPlanInfo)\n- [0.5.1](/php/docs/reference/cloud-backupdr/0.5.1/V1.Backup.GCPBackupPlanInfo)\n- [0.4.2](/php/docs/reference/cloud-backupdr/0.4.2/V1.Backup.GCPBackupPlanInfo)\n- [0.3.0](/php/docs/reference/cloud-backupdr/0.3.0/V1.Backup.GCPBackupPlanInfo)\n- [0.2.0](/php/docs/reference/cloud-backupdr/0.2.0/V1.Backup.GCPBackupPlanInfo)\n- [0.1.0](/php/docs/reference/cloud-backupdr/0.1.0/V1.Backup.GCPBackupPlanInfo) \nReference documentation and code samples for the Google Cloud Backup Dr V1 Client class GCPBackupPlanInfo.\n\nGCPBackupPlanInfo captures the plan configuration details of Google Cloud\nresources at the time of backup.\n\nGenerated from protobuf message `google.cloud.backupdr.v1.Backup.GCPBackupPlanInfo`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BackupDR \\\\ V1 \\\\ Backup\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getBackupPlan\n\nResource name of backup plan by which workload is protected at the time\nof the backup.\n\nFormat:\nprojects/{project}/locations/{location}/backupPlans/{backupPlanId}\n\n### setBackupPlan\n\nResource name of backup plan by which workload is protected at the time\nof the backup.\n\nFormat:\nprojects/{project}/locations/{location}/backupPlans/{backupPlanId}\n\n### getBackupPlanRuleId\n\nThe rule id of the backup plan which triggered this backup in case of\nscheduled backup or used for\n\n### setBackupPlanRuleId\n\nThe rule id of the backup plan which triggered this backup in case of\nscheduled backup or used for\n\n### getBackupPlanRevisionName\n\nResource name of the backup plan revision which triggered this backup in\ncase of scheduled backup or used for on demand backup.\n\nFormat:\nprojects/{project}/locations/{location}/backupPlans/{backupPlanId}/revisions/{revisionId}\n\n### setBackupPlanRevisionName\n\nResource name of the backup plan revision which triggered this backup in\ncase of scheduled backup or used for on demand backup.\n\nFormat:\nprojects/{project}/locations/{location}/backupPlans/{backupPlanId}/revisions/{revisionId}\n\n### getBackupPlanRevisionId\n\nThe user friendly id of the backup plan revision which triggered this\nbackup in case of scheduled backup or used for on demand backup.\n\n### setBackupPlanRevisionId\n\nThe user friendly id of the backup plan revision which triggered this\nbackup in case of scheduled backup or used for on demand backup."]]