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\u003eThe latest version available is 2.37.0-rc, with previous versions ranging from 2.36.0 down to 2.16.0 for accessing the Google Cloud Config.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConfigClient\u003c/code\u003e class is used for managing Google Cloud infrastructure resources via the Infrastructure Manager.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eConfigConnection\u003c/code\u003e is the object used with \u003ccode\u003eConfigClient\u003c/code\u003e to create and manage connections to it.\u003c/p\u003e\n"],["\u003cp\u003eVarious classes, such as \u003ccode\u003eConfigLimitedErrorCountRetryPolicy\u003c/code\u003e and \u003ccode\u003eConfigLimitedTimeRetryPolicy\u003c/code\u003e, exist to handle retries for \u003ccode\u003eConfigConnection\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeConfigConnection\u003c/code\u003e function allows for the creation of a \u003ccode\u003eConfigConnection\u003c/code\u003e object and to set various options like \u003ccode\u003eCommonOptionList\u003c/code\u003e, \u003ccode\u003eGrpcOptionList\u003c/code\u003e, \u003ccode\u003eUnifiedCredentialsOptionList\u003c/code\u003e, \u003ccode\u003eConfigPolicyOptionList\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Namespace google::cloud::config_v1 (2.35.0)\n\nVersion 2.35.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.35.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.35.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection)\n\nThe [`ConfigConnection`](/cpp/docs/reference/config/2.35.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection) object for [`ConfigClient`](/cpp/docs/reference/config/2.35.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigClient).\n\n### [ConfigConnectionIdempotencyPolicy](/cpp/docs/reference/config/2.35.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnectionIdempotencyPolicy)\n\n### [ConfigLimitedErrorCountRetryPolicy](/cpp/docs/reference/config/2.35.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigLimitedErrorCountRetryPolicy)\n\nA retry policy for [`ConfigConnection`](/cpp/docs/reference/config/2.35.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection) based on counting errors.\n\n### [ConfigLimitedTimeRetryPolicy](/cpp/docs/reference/config/2.35.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigLimitedTimeRetryPolicy)\n\nA retry policy for [`ConfigConnection`](/cpp/docs/reference/config/2.35.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection) based on elapsed time.\n\n### [ConfigRetryPolicy](/cpp/docs/reference/config/2.35.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigRetryPolicy)\n\nThe retry policy for [`ConfigConnection`](/cpp/docs/reference/config/2.35.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection).\n\nStructs\n-------\n\n### [ConfigBackoffPolicyOption](/cpp/docs/reference/config/2.35.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.35.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.35.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.35.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.35.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.35.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.35.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()"]]