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 the Google Cloud IoT C++ client library, specifically for managing devices.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the client library is 2.15.0-rc, with older versions (2.14.0, 2.13.0, 2.12.0, and 2.11.0) also available.\u003c/p\u003e\n"],["\u003cp\u003eKey classes include \u003ccode\u003eDeviceManagerClient\u003c/code\u003e, which is the main class to use the Internet of Things (IoT) service, and \u003ccode\u003eDeviceManagerConnection\u003c/code\u003e, which allows configuration and connection management for the client.\u003c/p\u003e\n"],["\u003cp\u003eThe library offers several retry and backoff policies, such as \u003ccode\u003eDeviceManagerLimitedErrorCountRetryPolicy\u003c/code\u003e, \u003ccode\u003eDeviceManagerLimitedTimeRetryPolicy\u003c/code\u003e, and \u003ccode\u003eDeviceManagerRetryPolicy\u003c/code\u003e, that can be configured for managing network errors.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeDeviceManagerConnection\u003c/code\u003e function creates a \u003ccode\u003eDeviceManagerConnection\u003c/code\u003e object that should be used with \u003ccode\u003eDeviceManagerClient\u003c/code\u003e and can be configured using various options including common, gRPC, unified credentials, and device manager-specific options.\u003c/p\u003e\n"]]],[],null,["# Namespace google::cloud::iot_v1 (2.15.0-rc)\n\nVersion latestkeyboard_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/latest/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerClient)\n\nInternet of Things (IoT) service.\n\n### [DeviceManagerConnection](/cpp/docs/reference/iot/latest/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerConnection)\n\nThe [`DeviceManagerConnection`](/cpp/docs/reference/iot/latest/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerConnection) object for [`DeviceManagerClient`](/cpp/docs/reference/iot/latest/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerClient).\n\n### [DeviceManagerConnectionIdempotencyPolicy](/cpp/docs/reference/iot/latest/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerConnectionIdempotencyPolicy)\n\n### [DeviceManagerLimitedErrorCountRetryPolicy](/cpp/docs/reference/iot/latest/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerLimitedErrorCountRetryPolicy)\n\nA retry policy for [`DeviceManagerConnection`](/cpp/docs/reference/iot/latest/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerConnection) based on counting errors.\n\n### [DeviceManagerLimitedTimeRetryPolicy](/cpp/docs/reference/iot/latest/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerLimitedTimeRetryPolicy)\n\nA retry policy for [`DeviceManagerConnection`](/cpp/docs/reference/iot/latest/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerConnection) based on elapsed time.\n\n### [DeviceManagerRetryPolicy](/cpp/docs/reference/iot/latest/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerRetryPolicy)\n\nThe retry policy for [`DeviceManagerConnection`](/cpp/docs/reference/iot/latest/classgoogle_1_1cloud_1_1iot__v1_1_1DeviceManagerConnection).\n\nStructs\n-------\n\n### [DeviceManagerBackoffPolicyOption](/cpp/docs/reference/iot/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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`](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::iot_v1::DeviceManagerPolicyOptionList`](/cpp/docs/reference/iot/latest/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."]]