Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class GcpBackupConfig.
GcpBackupConfig captures the Backup configuration details for Google Cloud
resources. All Google Cloud resources regardless of type are protected with
backup plan associations.
Generated from protobuf messagegoogle.cloud.backupdr.v1.GcpBackupConfig
Namespace
Google \ Cloud \ BackupDR \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ backup_plan
string
The name of the backup plan.
↳ backup_plan_description
string
The description of the backup plan.
↳ backup_plan_association
string
The name of the backup plan association.
↳ backup_plan_rules
array
The names of the backup plan rules which point to this backupvault
↳ backup_plan_revision_name
string
The name of the backup plan revision.
↳ backup_plan_revision_id
string
The user friendly id of the backup plan revision. E.g. v0, v1 etc.
getBackupPlan
The name of the backup plan.
Returns
Type
Description
string
setBackupPlan
The name of the backup plan.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getBackupPlanDescription
The description of the backup plan.
Returns
Type
Description
string
setBackupPlanDescription
The description of the backup plan.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getBackupPlanAssociation
The name of the backup plan association.
Returns
Type
Description
string
setBackupPlanAssociation
The name of the backup plan association.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getBackupPlanRules
The names of the backup plan rules which point to this backupvault
[[["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 GcpBackupConfig (0.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.7.0 (latest)](/php/docs/reference/cloud-backupdr/latest/V1.GcpBackupConfig)\n- [0.6.2](/php/docs/reference/cloud-backupdr/0.6.2/V1.GcpBackupConfig)\n- [0.5.1](/php/docs/reference/cloud-backupdr/0.5.1/V1.GcpBackupConfig)\n- [0.4.2](/php/docs/reference/cloud-backupdr/0.4.2/V1.GcpBackupConfig)\n- [0.3.0](/php/docs/reference/cloud-backupdr/0.3.0/V1.GcpBackupConfig)\n- [0.2.0](/php/docs/reference/cloud-backupdr/0.2.0/V1.GcpBackupConfig)\n- [0.1.0](/php/docs/reference/cloud-backupdr/0.1.0/V1.GcpBackupConfig) \nReference documentation and code samples for the Google Cloud Backup Dr V1 Client class GcpBackupConfig.\n\nGcpBackupConfig captures the Backup configuration details for Google Cloud\nresources. All Google Cloud resources regardless of type are protected with\nbackup plan associations.\n\nGenerated from protobuf message `google.cloud.backupdr.v1.GcpBackupConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BackupDR \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getBackupPlan\n\nThe name of the backup plan.\n\n### setBackupPlan\n\nThe name of the backup plan.\n\n### getBackupPlanDescription\n\nThe description of the backup plan.\n\n### setBackupPlanDescription\n\nThe description of the backup plan.\n\n### getBackupPlanAssociation\n\nThe name of the backup plan association.\n\n### setBackupPlanAssociation\n\nThe name of the backup plan association.\n\n### getBackupPlanRules\n\nThe names of the backup plan rules which point to this backupvault\n\n### setBackupPlanRules\n\nThe names of the backup plan rules which point to this backupvault\n\n### getBackupPlanRevisionName\n\nThe name of the backup plan revision.\n\n### setBackupPlanRevisionName\n\nThe name of the backup plan revision.\n\n### getBackupPlanRevisionId\n\nThe user friendly id of the backup plan revision.\n\nE.g. v0, v1 etc.\n\n### setBackupPlanRevisionId\n\nThe user friendly id of the backup plan revision.\n\nE.g. v0, v1 etc."]]