The returned connection object should not be used directly; instead it should be passed as an argument to the constructor ofBackupDRClient.
The optionaloptionsargument may be used to configure aspects of the returnedBackupDRConnection. Expected options are any of the types in the following option lists:
[[["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."],[[["\u003cp\u003eThis webpage provides documentation for the Google Cloud Backup and Disaster Recovery (BackupDR) service, specifically within the \u003ccode\u003egoogle::cloud::backupdr_v1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release candidate is version 2.37.0-rc, and the content includes a detailed overview of versions ranging from 2.37.0-rc down to 2.23.0.\u003c/p\u003e\n"],["\u003cp\u003eKey classes documented include \u003ccode\u003eBackupDRClient\u003c/code\u003e, which represents the main client for the service, and \u003ccode\u003eBackupDRConnection\u003c/code\u003e, which is the connection object for the \u003ccode\u003eBackupDRClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also details various policy classes and structs, such as retry policies, backoff policies, and connection idempotency policies, all within the context of \u003ccode\u003eBackupDRConnection\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eMakeBackupDRConnection\u003c/code\u003e function is provided to create a \u003ccode\u003eBackupDRConnection\u003c/code\u003e object, with options to configure the connection and the documentation outlines the different optional parameters and their functions.\u003c/p\u003e\n"]]],[],null,["# Namespace google::cloud::backupdr_v1 (2.28.0)\n\nVersion 2.28.0keyboard_arrow_down\n\n- [2.42.0-rc (latest)](/cpp/docs/reference/backupdr/latest/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.41.0](/cpp/docs/reference/backupdr/2.41.0/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.40.0](/cpp/docs/reference/backupdr/2.40.0/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.39.0](/cpp/docs/reference/backupdr/2.39.0/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.38.0](/cpp/docs/reference/backupdr/2.38.0/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.37.0](/cpp/docs/reference/backupdr/2.37.0/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.36.0](/cpp/docs/reference/backupdr/2.36.0/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.35.0](/cpp/docs/reference/backupdr/2.35.0/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.34.0](/cpp/docs/reference/backupdr/2.34.0/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.33.0](/cpp/docs/reference/backupdr/2.33.0/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.32.0](/cpp/docs/reference/backupdr/2.32.0/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.31.0](/cpp/docs/reference/backupdr/2.31.0/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.30.0](/cpp/docs/reference/backupdr/2.30.0/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.29.0](/cpp/docs/reference/backupdr/2.29.0/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.28.0](/cpp/docs/reference/backupdr/2.28.0/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.27.0](/cpp/docs/reference/backupdr/2.27.0/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.26.0](/cpp/docs/reference/backupdr/2.26.0/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.25.1](/cpp/docs/reference/backupdr/2.25.1/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.24.0](/cpp/docs/reference/backupdr/2.24.0/namespacegoogle_1_1cloud_1_1backupdr__v1)\n- [2.23.0](/cpp/docs/reference/backupdr/2.23.0/namespacegoogle_1_1cloud_1_1backupdr__v1) \n\nClasses\n-------\n\n### [BackupDRClient](/cpp/docs/reference/backupdr/2.28.0/classgoogle_1_1cloud_1_1backupdr__v1_1_1BackupDRClient)\n\nThe BackupDR Service.\n\n### [BackupDRConnection](/cpp/docs/reference/backupdr/2.28.0/classgoogle_1_1cloud_1_1backupdr__v1_1_1BackupDRConnection)\n\nThe [`BackupDRConnection`](/cpp/docs/reference/backupdr/2.28.0/classgoogle_1_1cloud_1_1backupdr__v1_1_1BackupDRConnection) object for [`BackupDRClient`](/cpp/docs/reference/backupdr/2.28.0/classgoogle_1_1cloud_1_1backupdr__v1_1_1BackupDRClient).\n\n### [BackupDRConnectionIdempotencyPolicy](/cpp/docs/reference/backupdr/2.28.0/classgoogle_1_1cloud_1_1backupdr__v1_1_1BackupDRConnectionIdempotencyPolicy)\n\n### [BackupDRLimitedErrorCountRetryPolicy](/cpp/docs/reference/backupdr/2.28.0/classgoogle_1_1cloud_1_1backupdr__v1_1_1BackupDRLimitedErrorCountRetryPolicy)\n\nA retry policy for [`BackupDRConnection`](/cpp/docs/reference/backupdr/2.28.0/classgoogle_1_1cloud_1_1backupdr__v1_1_1BackupDRConnection) based on counting errors.\n\n### [BackupDRLimitedTimeRetryPolicy](/cpp/docs/reference/backupdr/2.28.0/classgoogle_1_1cloud_1_1backupdr__v1_1_1BackupDRLimitedTimeRetryPolicy)\n\nA retry policy for [`BackupDRConnection`](/cpp/docs/reference/backupdr/2.28.0/classgoogle_1_1cloud_1_1backupdr__v1_1_1BackupDRConnection) based on elapsed time.\n\n### [BackupDRRetryPolicy](/cpp/docs/reference/backupdr/2.28.0/classgoogle_1_1cloud_1_1backupdr__v1_1_1BackupDRRetryPolicy)\n\nThe retry policy for [`BackupDRConnection`](/cpp/docs/reference/backupdr/2.28.0/classgoogle_1_1cloud_1_1backupdr__v1_1_1BackupDRConnection).\n\nStructs\n-------\n\n### [BackupDRBackoffPolicyOption](/cpp/docs/reference/backupdr/2.28.0/structgoogle_1_1cloud_1_1backupdr__v1_1_1BackupDRBackoffPolicyOption)\n\nUse with [`google::cloud::Options`](https://cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.\n\n### [BackupDRConnectionIdempotencyPolicyOption](/cpp/docs/reference/backupdr/2.28.0/structgoogle_1_1cloud_1_1backupdr__v1_1_1BackupDRConnectionIdempotencyPolicyOption)\n\nUse with [`google::cloud::Options`](https://cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.\n\n### [BackupDRPollingPolicyOption](/cpp/docs/reference/backupdr/2.28.0/structgoogle_1_1cloud_1_1backupdr__v1_1_1BackupDRPollingPolicyOption)\n\nUse with [`google::cloud::Options`](https://cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the long-running operations polling policy.\n\n### [BackupDRRetryPolicyOption](/cpp/docs/reference/backupdr/2.28.0/structgoogle_1_1cloud_1_1backupdr__v1_1_1BackupDRRetryPolicyOption)\n\nUse with [`google::cloud::Options`](https://cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.\n\nFunctions\n---------\n\n### MakeBackupDRConnection(Options)\n\nA factory function to construct an object of type [`BackupDRConnection`](/cpp/docs/reference/backupdr/2.28.0/classgoogle_1_1cloud_1_1backupdr__v1_1_1BackupDRConnection). \nThe returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [BackupDRClient](/cpp/docs/reference/backupdr/2.28.0/classgoogle_1_1cloud_1_1backupdr__v1_1_1BackupDRClient).\n\nThe optional `options` argument may be used to configure aspects of the returned [`BackupDRConnection`](/cpp/docs/reference/backupdr/2.28.0/classgoogle_1_1cloud_1_1backupdr__v1_1_1BackupDRConnection). Expected options are any of the types in the following option lists:\n\n- [`google::cloud::CommonOptionList`](https://cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)\n- [`google::cloud::GrpcOptionList`](https://cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)\n- [`google::cloud::UnifiedCredentialsOptionList`](https://cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)\n- [`google::cloud::backupdr_v1::BackupDRPolicyOptionList`](about:invalid#zCSafez)\n\n| **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.\n\n### MakeDefaultBackupDRConnectionIdempotencyPolicy()"]]