The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of DeviceManagerClient.
The optional options argument may be used to configure aspects of the returned DeviceManagerConnection. 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"]],[["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 page provides documentation for version 2.14.0 of the Google Cloud IoT C++ client library, including links to previous and the latest release candidate versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeviceManagerClient\u003c/code\u003e and \u003ccode\u003eDeviceManagerConnection\u003c/code\u003e classes are central to interacting with the Internet of Things (IoT) service, and are used for device management.\u003c/p\u003e\n"],["\u003cp\u003eSeveral retry and backoff policies, such as \u003ccode\u003eDeviceManagerLimitedErrorCountRetryPolicy\u003c/code\u003e and \u003ccode\u003eDeviceManagerLimitedTimeRetryPolicy\u003c/code\u003e, are available for managing connection reliability.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides factory function \u003ccode\u003eMakeDeviceManagerConnection\u003c/code\u003e to generate the \u003ccode\u003eDeviceManagerConnection\u003c/code\u003e and its various configurable options.\u003c/p\u003e\n"],["\u003cp\u003eThere are struct types available, such as \u003ccode\u003eDeviceManagerBackoffPolicyOption\u003c/code\u003e and \u003ccode\u003eDeviceManagerRetryPolicyOption\u003c/code\u003e to configure backoff and retry policies, respectively, and a \u003ccode\u003eDeviceManagerPolicyOptionList\u003c/code\u003e type alias that brings together all of these configurable options.\u003c/p\u003e\n"]]],[],null,["# Namespace google::cloud::iot_v1 (2.14.0)\n\nVersion 2.14.0keyboard_arrow_down\n\n- [2.15.0-rc (latest)](/cpp/docs/reference/iot/latest/namespacegoogle_1_1cloud_1_1iot__v1)\n- [2.14.0](/cpp/docs/reference/iot/2.14.0/namespacegoogle_1_1cloud_1_1iot__v1)\n- [2.13.0](/cpp/docs/reference/iot/2.13.0/namespacegoogle_1_1cloud_1_1iot__v1)\n- [2.12.0](/cpp/docs/reference/iot/2.12.0/namespacegoogle_1_1cloud_1_1iot__v1)\n- [2.11.0](/cpp/docs/reference/iot/2.11.0/namespacegoogle_1_1cloud_1_1iot__v1) \n\nClasses\n-------\n\n### [DeviceManagerClient](/cpp/docs/reference/iot/2.14.0/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerClient)\n\nInternet of Things (IoT) service.\n\n### [DeviceManagerConnection](/cpp/docs/reference/iot/2.14.0/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerConnection)\n\nThe [`DeviceManagerConnection`](/cpp/docs/reference/iot/2.14.0/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerConnection) object for [`DeviceManagerClient`](/cpp/docs/reference/iot/2.14.0/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerClient).\n\n### [DeviceManagerConnectionIdempotencyPolicy](/cpp/docs/reference/iot/2.14.0/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerConnectionIdempotencyPolicy)\n\n### [DeviceManagerLimitedErrorCountRetryPolicy](/cpp/docs/reference/iot/2.14.0/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerLimitedErrorCountRetryPolicy)\n\nA retry policy for [`DeviceManagerConnection`](/cpp/docs/reference/iot/2.14.0/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerConnection) based on counting errors.\n\n### [DeviceManagerLimitedTimeRetryPolicy](/cpp/docs/reference/iot/2.14.0/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerLimitedTimeRetryPolicy)\n\nA retry policy for [`DeviceManagerConnection`](/cpp/docs/reference/iot/2.14.0/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerConnection) based on elapsed time.\n\n### [DeviceManagerRetryPolicy](/cpp/docs/reference/iot/2.14.0/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerRetryPolicy)\n\nThe retry policy for [`DeviceManagerConnection`](/cpp/docs/reference/iot/2.14.0/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerConnection).\n\nStructs\n-------\n\n### [DeviceManagerBackoffPolicyOption](/cpp/docs/reference/iot/2.14.0/structgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerBackoffPolicyOption)\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### [DeviceManagerConnectionIdempotencyPolicyOption](/cpp/docs/reference/iot/2.14.0/structgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerConnectionIdempotencyPolicyOption)\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### [DeviceManagerRetryPolicyOption](/cpp/docs/reference/iot/2.14.0/structgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerRetryPolicyOption)\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### MakeDeviceManagerConnection(Options)\n\nA factory function to construct an object of type [`DeviceManagerConnection`](/cpp/docs/reference/iot/2.14.0/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerConnection). \nThe returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [DeviceManagerClient](/cpp/docs/reference/iot/2.14.0/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerClient).\n\nThe optional `options` argument may be used to configure aspects of the returned [`DeviceManagerConnection`](/cpp/docs/reference/iot/2.14.0/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerConnection). 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`](about:invalid#zCSafez)\n- [`google::cloud::UnifiedCredentialsOptionList`](https://cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)\n- [`google::cloud::iot_v1::DeviceManagerPolicyOptionList`](/cpp/docs/reference/iot/2.14.0/namespacegoogle_1_1cloud_1_1iot__v1)\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### MakeDefaultDeviceManagerConnectionIdempotencyPolicy()\n\nType Aliases\n------------\n\n### DeviceManagerPolicyOptionList\n\n**Alias Of** : `OptionList\u003c DeviceManagerRetryPolicyOption, DeviceManagerBackoffPolicyOption, DeviceManagerConnectionIdempotencyPolicyOption \u003e` \nThe options applicable to DeviceManager."]]