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 documentation covers versions ranging from 2.37.0-rc down to 2.16.0, each with its own specific page and associated namespace, specifically \u003ccode\u003egoogle::cloud::config_v1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt details various classes such as \u003ccode\u003eConfigClient\u003c/code\u003e, \u003ccode\u003eConfigConnection\u003c/code\u003e, and several retry-related classes like \u003ccode\u003eConfigLimitedErrorCountRetryPolicy\u003c/code\u003e, within the \u003ccode\u003econfig_v1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe page also outlines structs like \u003ccode\u003eConfigBackoffPolicyOption\u003c/code\u003e, \u003ccode\u003eConfigConnectionIdempotencyPolicyOption\u003c/code\u003e, and \u003ccode\u003eConfigRetryPolicyOption\u003c/code\u003e, which are used to configure the behavior of the client library.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a function, \u003ccode\u003eMakeConfigConnection\u003c/code\u003e, that serves as a factory for creating \u003ccode\u003eConfigConnection\u003c/code\u003e objects and describes the various options that can be used to customize the generated connection, also providing a function called \u003ccode\u003eMakeDefaultConfigConnectionIdempotencyPolicy\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Namespace google::cloud::config_v1 (2.24.0)\n\nVersion 2.24.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.24.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.24.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection)\n\nThe [`ConfigConnection`](/cpp/docs/reference/config/2.24.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection) object for [`ConfigClient`](/cpp/docs/reference/config/2.24.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigClient).\n\n### [ConfigConnectionIdempotencyPolicy](/cpp/docs/reference/config/2.24.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnectionIdempotencyPolicy)\n\n### [ConfigLimitedErrorCountRetryPolicy](/cpp/docs/reference/config/2.24.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigLimitedErrorCountRetryPolicy)\n\nA retry policy for [`ConfigConnection`](/cpp/docs/reference/config/2.24.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection) based on counting errors.\n\n### [ConfigLimitedTimeRetryPolicy](/cpp/docs/reference/config/2.24.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigLimitedTimeRetryPolicy)\n\nA retry policy for [`ConfigConnection`](/cpp/docs/reference/config/2.24.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection) based on elapsed time.\n\n### [ConfigRetryPolicy](/cpp/docs/reference/config/2.24.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigRetryPolicy)\n\nThe retry policy for [`ConfigConnection`](/cpp/docs/reference/config/2.24.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection).\n\nStructs\n-------\n\n### [ConfigBackoffPolicyOption](/cpp/docs/reference/config/2.24.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.24.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.24.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.24.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.24.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.24.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.24.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`](about:invalid#zCSafez)\n- [`google::cloud::GrpcOptionList`](https://cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)\n- [`google::cloud::UnifiedCredentialsOptionList`](about:invalid#zCSafez)\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()"]]