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 of the Google Cloud Config API is 2.37.0-rc, with numerous previous versions available for reference.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eConfigClient\u003c/code\u003e is used for managing Google Cloud infrastructure resources through the Infrastructure Manager service.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eConfigConnection\u003c/code\u003e is an object related to \u003ccode\u003eConfigClient\u003c/code\u003e and has several policies associated with it, such as retry policies and idempotency.\u003c/p\u003e\n"],["\u003cp\u003eVarious structs are available to configure the connection options, retry, and polling policies via \u003ccode\u003egoogle::cloud::Options\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe function \u003ccode\u003eMakeConfigConnection(Options)\u003c/code\u003e is used to create a \u003ccode\u003eConfigConnection\u003c/code\u003e object and can take various options from different lists to customize the connection.\u003c/p\u003e\n"]]],[],null,["# Namespace google::cloud::config_v1 (2.42.0-rc)\n\nVersion latestkeyboard_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/latest/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/latest/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection)\n\nThe [`ConfigConnection`](/cpp/docs/reference/config/latest/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection) object for [`ConfigClient`](/cpp/docs/reference/config/latest/classgoogle_1_1cloud_1_1config__v1_1_1ConfigClient).\n\n### [ConfigConnectionIdempotencyPolicy](/cpp/docs/reference/config/latest/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnectionIdempotencyPolicy)\n\n### [ConfigLimitedErrorCountRetryPolicy](/cpp/docs/reference/config/latest/classgoogle_1_1cloud_1_1config__v1_1_1ConfigLimitedErrorCountRetryPolicy)\n\nA retry policy for [`ConfigConnection`](/cpp/docs/reference/config/latest/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection) based on counting errors.\n\n### [ConfigLimitedTimeRetryPolicy](/cpp/docs/reference/config/latest/classgoogle_1_1cloud_1_1config__v1_1_1ConfigLimitedTimeRetryPolicy)\n\nA retry policy for [`ConfigConnection`](/cpp/docs/reference/config/latest/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection) based on elapsed time.\n\n### [ConfigRetryPolicy](/cpp/docs/reference/config/latest/classgoogle_1_1cloud_1_1config__v1_1_1ConfigRetryPolicy)\n\nThe retry policy for [`ConfigConnection`](/cpp/docs/reference/config/latest/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection).\n\nStructs\n-------\n\n### [ConfigBackoffPolicyOption](/cpp/docs/reference/config/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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`](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()"]]