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\u003eThe latest release candidate version for the NetApp API is 2.37.0-rc, while the most recent stable version listed is 2.36.0.\u003c/p\u003e\n"],["\u003cp\u003eThe available documentation spans versions from 2.16.0 up to the latest release candidate of 2.37.0-rc, providing comprehensive coverage of the API's evolution.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNetAppClient\u003c/code\u003e is the main class for interacting with the NetApp Files Google Cloud Service, while \u003ccode\u003eNetAppConnection\u003c/code\u003e manages the connection details.\u003c/p\u003e\n"],["\u003cp\u003eVarious retry policies, such as \u003ccode\u003eNetAppLimitedErrorCountRetryPolicy\u003c/code\u003e and \u003ccode\u003eNetAppLimitedTimeRetryPolicy\u003c/code\u003e, are provided for handling transient errors when interacting with \u003ccode\u003eNetAppConnection\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMakeNetAppConnection\u003c/code\u003e is a function to create a \u003ccode\u003eNetAppConnection\u003c/code\u003e object and configure it using several options lists.\u003c/p\u003e\n"]]],[],null,["# Namespace google::cloud::netapp_v1 (2.24.0)\n\nVersion 2.24.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.24.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppClient)\n\nNetApp Files Google Cloud Service.\n\n### [NetAppConnection](/cpp/docs/reference/netapp/2.24.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection)\n\nThe [`NetAppConnection`](/cpp/docs/reference/netapp/2.24.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection) object for [`NetAppClient`](/cpp/docs/reference/netapp/2.24.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppClient).\n\n### [NetAppConnectionIdempotencyPolicy](/cpp/docs/reference/netapp/2.24.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnectionIdempotencyPolicy)\n\n### [NetAppLimitedErrorCountRetryPolicy](/cpp/docs/reference/netapp/2.24.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppLimitedErrorCountRetryPolicy)\n\nA retry policy for [`NetAppConnection`](/cpp/docs/reference/netapp/2.24.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection) based on counting errors.\n\n### [NetAppLimitedTimeRetryPolicy](/cpp/docs/reference/netapp/2.24.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppLimitedTimeRetryPolicy)\n\nA retry policy for [`NetAppConnection`](/cpp/docs/reference/netapp/2.24.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection) based on elapsed time.\n\n### [NetAppRetryPolicy](/cpp/docs/reference/netapp/2.24.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppRetryPolicy)\n\nThe retry policy for [`NetAppConnection`](/cpp/docs/reference/netapp/2.24.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection).\n\nStructs\n-------\n\n### [NetAppBackoffPolicyOption](/cpp/docs/reference/netapp/2.24.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.24.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.24.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.24.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.24.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.24.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.24.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`](about:invalid#zCSafez)\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::netapp_v1::NetAppPolicyOptionList`](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### MakeDefaultNetAppConnectionIdempotencyPolicy()"]]