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 version 2.18.0, with links to documentation for other available versions.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release candidate is version 2.37.0-rc, and older versions are listed sequentially down to 2.16.0, each with a link to its respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation details available classes, such as \u003ccode\u003eNetAppClient\u003c/code\u003e, \u003ccode\u003eNetAppConnection\u003c/code\u003e, and various retry and policy classes, all within the \u003ccode\u003egoogle::cloud::netapp_v1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe page also documents structs like \u003ccode\u003eNetAppBackoffPolicyOption\u003c/code\u003e and \u003ccode\u003eNetAppRetryPolicyOption\u003c/code\u003e used to configure options with \u003ccode\u003egoogle::cloud::Options\u003c/code\u003e, along with a function, \u003ccode\u003eMakeNetAppConnection\u003c/code\u003e, to create a \u003ccode\u003eNetAppConnection\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe type alias \u003ccode\u003eNetAppPolicyOptionList\u003c/code\u003e describes the applicable options for NetApp, including \u003ccode\u003eNetAppRetryPolicyOption\u003c/code\u003e, \u003ccode\u003eNetAppBackoffPolicyOption\u003c/code\u003e, \u003ccode\u003eNetAppPollingPolicyOption\u003c/code\u003e, and \u003ccode\u003eNetAppConnectionIdempotencyPolicyOption\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Namespace google::cloud::netapp_v1 (2.18.0)\n\nVersion 2.18.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.18.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppClient)\n\nNetApp Files Google Cloud Service.\n\n### [NetAppConnection](/cpp/docs/reference/netapp/2.18.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection)\n\nThe [`NetAppConnection`](/cpp/docs/reference/netapp/2.18.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection) object for [`NetAppClient`](/cpp/docs/reference/netapp/2.18.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppClient).\n\n### [NetAppConnectionIdempotencyPolicy](/cpp/docs/reference/netapp/2.18.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnectionIdempotencyPolicy)\n\n### [NetAppLimitedErrorCountRetryPolicy](/cpp/docs/reference/netapp/2.18.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppLimitedErrorCountRetryPolicy)\n\nA retry policy for [`NetAppConnection`](/cpp/docs/reference/netapp/2.18.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection) based on counting errors.\n\n### [NetAppLimitedTimeRetryPolicy](/cpp/docs/reference/netapp/2.18.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppLimitedTimeRetryPolicy)\n\nA retry policy for [`NetAppConnection`](/cpp/docs/reference/netapp/2.18.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection) based on elapsed time.\n\n### [NetAppRetryPolicy](/cpp/docs/reference/netapp/2.18.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppRetryPolicy)\n\nThe retry policy for [`NetAppConnection`](/cpp/docs/reference/netapp/2.18.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection).\n\nStructs\n-------\n\n### [NetAppBackoffPolicyOption](/cpp/docs/reference/netapp/2.18.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.18.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.18.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.18.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.18.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.18.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.18.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.18.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."]]