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.27.0 being the current version for the displayed content, and 2.37.0-rc being the latest release candidate.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes links to various versions of the library, ranging from 2.16.0 up to the latest release candidate (2.37.0-rc), to access specific versions as needed.\u003c/p\u003e\n"],["\u003cp\u003eKey classes in the library include \u003ccode\u003eConfigClient\u003c/code\u003e, \u003ccode\u003eConfigConnection\u003c/code\u003e, and several retry-related classes such as \u003ccode\u003eConfigLimitedErrorCountRetryPolicy\u003c/code\u003e, \u003ccode\u003eConfigLimitedTimeRetryPolicy\u003c/code\u003e, and \u003ccode\u003eConfigRetryPolicy\u003c/code\u003e, to manage infrastructure resources.\u003c/p\u003e\n"],["\u003cp\u003eThe library has helper struct classes such as \u003ccode\u003eConfigBackoffPolicyOption\u003c/code\u003e, \u003ccode\u003eConfigConnectionIdempotencyPolicyOption\u003c/code\u003e, \u003ccode\u003eConfigPollingPolicyOption\u003c/code\u003e and \u003ccode\u003eConfigRetryPolicyOption\u003c/code\u003e to configure the google cloud options.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeConfigConnection\u003c/code\u003e function creates a \u003ccode\u003eConfigConnection\u003c/code\u003e object, which should be used indirectly to the \u003ccode\u003eConfigClient\u003c/code\u003e, and can be configured with several option types, and the \u003ccode\u003eMakeDefaultConfigConnectionIdempotencyPolicy\u003c/code\u003e function creates the return type of a \u003ccode\u003eConfigConnectionIdempotencyPolicy\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Namespace google::cloud::config_v1 (2.27.0)\n\nVersion 2.27.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.27.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.27.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection)\n\nThe [`ConfigConnection`](/cpp/docs/reference/config/2.27.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection) object for [`ConfigClient`](/cpp/docs/reference/config/2.27.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigClient).\n\n### [ConfigConnectionIdempotencyPolicy](/cpp/docs/reference/config/2.27.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnectionIdempotencyPolicy)\n\n### [ConfigLimitedErrorCountRetryPolicy](/cpp/docs/reference/config/2.27.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigLimitedErrorCountRetryPolicy)\n\nA retry policy for [`ConfigConnection`](/cpp/docs/reference/config/2.27.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection) based on counting errors.\n\n### [ConfigLimitedTimeRetryPolicy](/cpp/docs/reference/config/2.27.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigLimitedTimeRetryPolicy)\n\nA retry policy for [`ConfigConnection`](/cpp/docs/reference/config/2.27.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection) based on elapsed time.\n\n### [ConfigRetryPolicy](/cpp/docs/reference/config/2.27.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigRetryPolicy)\n\nThe retry policy for [`ConfigConnection`](/cpp/docs/reference/config/2.27.0/classgoogle_1_1cloud_1_1config__v1_1_1ConfigConnection).\n\nStructs\n-------\n\n### [ConfigBackoffPolicyOption](/cpp/docs/reference/config/2.27.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.27.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.27.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.27.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.27.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.27.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.27.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()"]]