public sealed class GcpBackupConfig : IMessage<GcpBackupConfig>, IEquatable<GcpBackupConfig>, IDeepCloneable<GcpBackupConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup and DR Service v1 API 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eGcpBackupConfig\u003c/code\u003e class within the Backup and DR Service v1 API, outlining its purpose, inheritance, and implemented interfaces.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGcpBackupConfig\u003c/code\u003e class is responsible for capturing backup configuration details for Google Cloud resources, ensuring protection through backup plan associations.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists available versions of the \u003ccode\u003eGcpBackupConfig\u003c/code\u003e, ranging from version 1.0.0-beta02 to the latest 2.1.0, each with its own link to the specific documentation.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eGcpBackupConfig\u003c/code\u003e include \u003ccode\u003eBackupPlan\u003c/code\u003e, \u003ccode\u003eBackupPlanAsBackupPlanName\u003c/code\u003e, \u003ccode\u003eBackupPlanAssociation\u003c/code\u003e, \u003ccode\u003eBackupPlanAssociationAsBackupPlanAssociationName\u003c/code\u003e, \u003ccode\u003eBackupPlanDescription\u003c/code\u003e, and \u003ccode\u003eBackupPlanRules\u003c/code\u003e, each detailed with their types and descriptions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGcpBackupConfig\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, also detailing the members of the inherited class.\u003c/p\u003e\n"]]],[],null,["# Backup and DR Service v1 API - Class GcpBackupConfig (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.GcpBackupConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/2.1.0/Google.Cloud.BackupDR.V1.GcpBackupConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/2.0.0/Google.Cloud.BackupDR.V1.GcpBackupConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.2.0/Google.Cloud.BackupDR.V1.GcpBackupConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.1.0/Google.Cloud.BackupDR.V1.GcpBackupConfig)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.0.0-beta02/Google.Cloud.BackupDR.V1.GcpBackupConfig) \n\n public sealed class GcpBackupConfig : IMessage\u003cGcpBackupConfig\u003e, IEquatable\u003cGcpBackupConfig\u003e, IDeepCloneable\u003cGcpBackupConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Backup and DR Service v1 API 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\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GcpBackupConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GcpBackupConfig](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.GcpBackupConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GcpBackupConfig](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.GcpBackupConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GcpBackupConfig](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.GcpBackupConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.BackupDR.V1](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.BackupDR.V1.dll\n\nConstructors\n------------\n\n### GcpBackupConfig()\n\n public GcpBackupConfig()\n\n### GcpBackupConfig(GcpBackupConfig)\n\n public GcpBackupConfig(GcpBackupConfig other)\n\nProperties\n----------\n\n### BackupPlan\n\n public string BackupPlan { get; set; }\n\nThe name of the backup plan.\n\n### BackupPlanAsBackupPlanName\n\n public BackupPlanName BackupPlanAsBackupPlanName { get; set; }\n\n[BackupPlanName](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.BackupPlanName)-typed view over the [BackupPlan](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.GcpBackupConfig#Google_Cloud_BackupDR_V1_GcpBackupConfig_BackupPlan) resource name property.\n\n### BackupPlanAssociation\n\n public string BackupPlanAssociation { get; set; }\n\nThe name of the backup plan association.\n\n### BackupPlanAssociationAsBackupPlanAssociationName\n\n public BackupPlanAssociationName BackupPlanAssociationAsBackupPlanAssociationName { get; set; }\n\n[BackupPlanAssociationName](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.BackupPlanAssociationName)-typed view over the [BackupPlanAssociation](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.GcpBackupConfig#Google_Cloud_BackupDR_V1_GcpBackupConfig_BackupPlanAssociation) resource\nname property.\n\n### BackupPlanDescription\n\n public string BackupPlanDescription { get; set; }\n\nThe description of the backup plan.\n\n### BackupPlanRevisionId\n\n public string BackupPlanRevisionId { get; set; }\n\nThe user friendly id of the backup plan revision.\nE.g. v0, v1 etc.\n\n### BackupPlanRevisionName\n\n public string BackupPlanRevisionName { get; set; }\n\nThe name of the backup plan revision.\n\n### BackupPlanRules\n\n public RepeatedField\u003cstring\u003e BackupPlanRules { get; }\n\nThe names of the backup plan rules which point to this backupvault"]]