A factory function to construct an object of typeConfigConnection.
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor ofConfigClient.
The optionaloptionsargument may be used to configure aspects of the returnedConfigConnection. 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 Config C++ client library, with version 2.37.0-rc being the latest release candidate.\u003c/p\u003e\n"],["\u003cp\u003eThe content includes links to documentation for multiple versions, ranging from 2.37.0-rc down to version 2.16.0, for reference and specific version information.\u003c/p\u003e\n"],["\u003cp\u003eIt covers various classes such as \u003ccode\u003eConfigClient\u003c/code\u003e, \u003ccode\u003eConfigConnection\u003c/code\u003e, and different retry and policy-related classes, alongside options and struct definitions.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes a factory function, \u003ccode\u003eMakeConfigConnection\u003c/code\u003e, which is used to construct a \u003ccode\u003eConfigConnection\u003c/code\u003e object, and further details on the different options it has.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation contains the \u003ccode\u003eMakeDefaultConfigConnectionIdempotencyPolicy()\u003c/code\u003e function, which creates a default idempotency policy object.\u003c/p\u003e\n"]]],[],null,["# Namespace google::cloud::config_v1 (2.32.0)\n\nVersion 2.32.0keyboard_arrow_down\n\n- [2.42.0-rc (latest)](/cpp/docs/reference/config/latest/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.41.0](/cpp/docs/reference/config/2.41.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.40.0](/cpp/docs/reference/config/2.40.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.39.0](/cpp/docs/reference/config/2.39.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.38.0](/cpp/docs/reference/config/2.38.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.37.0](/cpp/docs/reference/config/2.37.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.36.0](/cpp/docs/reference/config/2.36.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.35.0](/cpp/docs/reference/config/2.35.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.34.0](/cpp/docs/reference/config/2.34.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.33.0](/cpp/docs/reference/config/2.33.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.32.0](/cpp/docs/reference/config/2.32.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.31.0](/cpp/docs/reference/config/2.31.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.30.0](/cpp/docs/reference/config/2.30.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.29.0](/cpp/docs/reference/config/2.29.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.28.0](/cpp/docs/reference/config/2.28.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.27.0](/cpp/docs/reference/config/2.27.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.26.0](/cpp/docs/reference/config/2.26.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.25.1](/cpp/docs/reference/config/2.25.1/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.24.0](/cpp/docs/reference/config/2.24.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.23.0](/cpp/docs/reference/config/2.23.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.22.1](/cpp/docs/reference/config/2.22.1/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.21.0](/cpp/docs/reference/config/2.21.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.20.0](/cpp/docs/reference/config/2.20.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.19.0](/cpp/docs/reference/config/2.19.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.18.0](/cpp/docs/reference/config/2.18.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.17.0](/cpp/docs/reference/config/2.17.0/namespacegoogle_1_1cloud_1_1config__v1)\n- [2.16.0](/cpp/docs/reference/config/2.16.0/namespacegoogle_1_1cloud_1_1config__v1) \n\nClasses\n-------\n\n### [ConfigClient](/cpp/docs/reference/config/2.32.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigClient)\n\nInfrastructure Manager is a managed service that automates the deployment and management of Google Cloud infrastructure resources.\n\n### [ConfigConnection](/cpp/docs/reference/config/2.32.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection)\n\nThe [`ConfigConnection`](/cpp/docs/reference/config/2.32.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection) object for [`ConfigClient`](/cpp/docs/reference/config/2.32.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigClient).\n\n### [ConfigConnectionIdempotencyPolicy](/cpp/docs/reference/config/2.32.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnectionIdempotencyPolicy)\n\n### [ConfigLimitedErrorCountRetryPolicy](/cpp/docs/reference/config/2.32.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigLimitedErrorCountRetryPolicy)\n\nA retry policy for [`ConfigConnection`](/cpp/docs/reference/config/2.32.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection) based on counting errors.\n\n### [ConfigLimitedTimeRetryPolicy](/cpp/docs/reference/config/2.32.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigLimitedTimeRetryPolicy)\n\nA retry policy for [`ConfigConnection`](/cpp/docs/reference/config/2.32.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection) based on elapsed time.\n\n### [ConfigRetryPolicy](/cpp/docs/reference/config/2.32.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigRetryPolicy)\n\nThe retry policy for [`ConfigConnection`](/cpp/docs/reference/config/2.32.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection).\n\nStructs\n-------\n\n### [ConfigBackoffPolicyOption](/cpp/docs/reference/config/2.32.0/structgoogle_1_1cloud_1_1config__v1_1_1ConfigBackoffPolicyOption)\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### [ConfigConnectionIdempotencyPolicyOption](/cpp/docs/reference/config/2.32.0/structgoogle_1_1cloud_1_1config__v1_1_1ConfigConnectionIdempotencyPolicyOption)\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### [ConfigPollingPolicyOption](/cpp/docs/reference/config/2.32.0/structgoogle_1_1cloud_1_1config__v1_1_1ConfigPollingPolicyOption)\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### [ConfigRetryPolicyOption](/cpp/docs/reference/config/2.32.0/structgoogle_1_1cloud_1_1config__v1_1_1ConfigRetryPolicyOption)\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### MakeConfigConnection(Options)\n\nA factory function to construct an object of type [`ConfigConnection`](/cpp/docs/reference/config/2.32.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection). \nThe returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [ConfigClient](/cpp/docs/reference/config/2.32.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigClient).\n\nThe optional `options` argument may be used to configure aspects of the returned [`ConfigConnection`](/cpp/docs/reference/config/2.32.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection). 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::config_v1::ConfigPolicyOptionList`](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### MakeDefaultConfigConnectionIdempotencyPolicy()"]]