A factory function to construct an object of typeNetAppConnection.
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor ofNetAppClient.
The optionaloptionsargument may be used to configure aspects of the returnedNetAppConnection. 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 NetApp C++ client library, specifically for version 2.19.0, with links to other versions.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.37.0-rc, and the page lists several prior versions of the NetApp library, including 2.36.0 through 2.16.0.\u003c/p\u003e\n"],["\u003cp\u003eIt documents the \u003ccode\u003eNetAppClient\u003c/code\u003e and \u003ccode\u003eNetAppConnection\u003c/code\u003e classes, which are central to interacting with the NetApp Files service, including other support classes.\u003c/p\u003e\n"],["\u003cp\u003eThe page also details different policy options, such as retry and backoff policies, that can be used to configure the \u003ccode\u003eNetAppConnection\u003c/code\u003e and how they are configured via \u003ccode\u003egoogle::cloud::Options\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt documents the function \u003ccode\u003eMakeNetAppConnection\u003c/code\u003e, which is used to make a connection object for \u003ccode\u003eNetAppClient\u003c/code\u003e, while listing the various parameters.\u003c/p\u003e\n"]]],[],null,["# Namespace google::cloud::netapp_v1 (2.19.0)\n\nVersion 2.19.0keyboard_arrow_down\n\n- [2.42.0-rc (latest)](/cpp/docs/reference/netapp/latest/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.41.0](/cpp/docs/reference/netapp/2.41.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.40.0](/cpp/docs/reference/netapp/2.40.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.39.0](/cpp/docs/reference/netapp/2.39.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.38.0](/cpp/docs/reference/netapp/2.38.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.37.0](/cpp/docs/reference/netapp/2.37.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.36.0](/cpp/docs/reference/netapp/2.36.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.35.0](/cpp/docs/reference/netapp/2.35.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.34.0](/cpp/docs/reference/netapp/2.34.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.33.0](/cpp/docs/reference/netapp/2.33.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.32.0](/cpp/docs/reference/netapp/2.32.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.31.0](/cpp/docs/reference/netapp/2.31.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.30.0](/cpp/docs/reference/netapp/2.30.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.29.0](/cpp/docs/reference/netapp/2.29.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.28.0](/cpp/docs/reference/netapp/2.28.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.27.0](/cpp/docs/reference/netapp/2.27.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.26.0](/cpp/docs/reference/netapp/2.26.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.25.1](/cpp/docs/reference/netapp/2.25.1/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.24.0](/cpp/docs/reference/netapp/2.24.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.23.0](/cpp/docs/reference/netapp/2.23.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.22.1](/cpp/docs/reference/netapp/2.22.1/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.21.0](/cpp/docs/reference/netapp/2.21.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.20.0](/cpp/docs/reference/netapp/2.20.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.19.0](/cpp/docs/reference/netapp/2.19.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.18.0](/cpp/docs/reference/netapp/2.18.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.17.0](/cpp/docs/reference/netapp/2.17.0/namespacegoogle_1_1cloud_1_1netapp__v1)\n- [2.16.0](/cpp/docs/reference/netapp/2.16.0/namespacegoogle_1_1cloud_1_1netapp__v1) \n\nClasses\n-------\n\n### [NetAppClient](/cpp/docs/reference/netapp/2.19.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppClient)\n\nNetApp Files Google Cloud Service.\n\n### [NetAppConnection](/cpp/docs/reference/netapp/2.19.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection)\n\nThe [`NetAppConnection`](/cpp/docs/reference/netapp/2.19.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection) object for [`NetAppClient`](/cpp/docs/reference/netapp/2.19.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppClient).\n\n### [NetAppConnectionIdempotencyPolicy](/cpp/docs/reference/netapp/2.19.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnectionIdempotencyPolicy)\n\n### [NetAppLimitedErrorCountRetryPolicy](/cpp/docs/reference/netapp/2.19.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppLimitedErrorCountRetryPolicy)\n\nA retry policy for [`NetAppConnection`](/cpp/docs/reference/netapp/2.19.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection) based on counting errors.\n\n### [NetAppLimitedTimeRetryPolicy](/cpp/docs/reference/netapp/2.19.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppLimitedTimeRetryPolicy)\n\nA retry policy for [`NetAppConnection`](/cpp/docs/reference/netapp/2.19.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection) based on elapsed time.\n\n### [NetAppRetryPolicy](/cpp/docs/reference/netapp/2.19.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppRetryPolicy)\n\nThe retry policy for [`NetAppConnection`](/cpp/docs/reference/netapp/2.19.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection).\n\nStructs\n-------\n\n### [NetAppBackoffPolicyOption](/cpp/docs/reference/netapp/2.19.0/structgoogle_1_1cloud_1_1netapp__v1_1_1NetAppBackoffPolicyOption)\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### [NetAppConnectionIdempotencyPolicyOption](/cpp/docs/reference/netapp/2.19.0/structgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnectionIdempotencyPolicyOption)\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### [NetAppPollingPolicyOption](/cpp/docs/reference/netapp/2.19.0/structgoogle_1_1cloud_1_1netapp__v1_1_1NetAppPollingPolicyOption)\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### [NetAppRetryPolicyOption](/cpp/docs/reference/netapp/2.19.0/structgoogle_1_1cloud_1_1netapp__v1_1_1NetAppRetryPolicyOption)\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### MakeNetAppConnection(Options)\n\nA factory function to construct an object of type [`NetAppConnection`](/cpp/docs/reference/netapp/2.19.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection). \nThe returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [NetAppClient](/cpp/docs/reference/netapp/2.19.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppClient).\n\nThe optional `options` argument may be used to configure aspects of the returned [`NetAppConnection`](/cpp/docs/reference/netapp/2.19.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection). 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::netapp_v1::NetAppPolicyOptionList`](/cpp/docs/reference/netapp/2.19.0/namespacegoogle_1_1cloud_1_1netapp__v1)\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### MakeDefaultNetAppConnectionIdempotencyPolicy()\n\nType Aliases\n------------\n\n### NetAppPolicyOptionList\n\n**Alias Of** : `OptionList\u003c NetAppRetryPolicyOption, NetAppBackoffPolicyOption, NetAppPollingPolicyOption, NetAppConnectionIdempotencyPolicyOption \u003e` \nThe options applicable to NetApp."]]