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 Google Cloud NetApp is 2.37.0-rc, while the most recent stable version available is 2.36.0.\u003c/p\u003e\n"],["\u003cp\u003eThis page provides access to various versions of the NetApp API, ranging from the latest release candidate 2.37.0-rc down to version 2.16.0, each linking to its respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eKey classes within the NetApp API include \u003ccode\u003eNetAppClient\u003c/code\u003e for interacting with the Google Cloud NetApp Files service, and \u003ccode\u003eNetAppConnection\u003c/code\u003e, which acts as the connection object for \u003ccode\u003eNetAppClient\u003c/code\u003e, along with related retry and policy classes.\u003c/p\u003e\n"],["\u003cp\u003eSeveral structs, such as \u003ccode\u003eNetAppBackoffPolicyOption\u003c/code\u003e, \u003ccode\u003eNetAppConnectionIdempotencyPolicyOption\u003c/code\u003e, \u003ccode\u003eNetAppPollingPolicyOption\u003c/code\u003e, and \u003ccode\u003eNetAppRetryPolicyOption\u003c/code\u003e, are provided for configuring various aspects of NetApp interactions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeNetAppConnection\u003c/code\u003e function is used to create a \u003ccode\u003eNetAppConnection\u003c/code\u003e object, that you shouldn't use directly, which can be customized with options like \u003ccode\u003eCommonOptionList\u003c/code\u003e, \u003ccode\u003eGrpcOptionList\u003c/code\u003e, \u003ccode\u003eUnifiedCredentialsOptionList\u003c/code\u003e, and \u003ccode\u003eNetAppPolicyOptionList\u003c/code\u003e, while \u003ccode\u003eMakeDefaultNetAppConnectionIdempotencyPolicy\u003c/code\u003e returns a default idempotency policy.\u003c/p\u003e\n"]]],[],null,["# Namespace google::cloud::netapp_v1 (2.17.0)\n\nVersion 2.17.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.17.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppClient)\n\nNetApp Files Google Cloud Service.\n\n### [NetAppConnection](/cpp/docs/reference/netapp/2.17.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection)\n\nThe [`NetAppConnection`](/cpp/docs/reference/netapp/2.17.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection) object for [`NetAppClient`](/cpp/docs/reference/netapp/2.17.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppClient).\n\n### [NetAppConnectionIdempotencyPolicy](/cpp/docs/reference/netapp/2.17.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnectionIdempotencyPolicy)\n\n### [NetAppLimitedErrorCountRetryPolicy](/cpp/docs/reference/netapp/2.17.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppLimitedErrorCountRetryPolicy)\n\nA retry policy for [`NetAppConnection`](/cpp/docs/reference/netapp/2.17.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection) based on counting errors.\n\n### [NetAppLimitedTimeRetryPolicy](/cpp/docs/reference/netapp/2.17.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppLimitedTimeRetryPolicy)\n\nA retry policy for [`NetAppConnection`](/cpp/docs/reference/netapp/2.17.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection) based on elapsed time.\n\n### [NetAppRetryPolicy](/cpp/docs/reference/netapp/2.17.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppRetryPolicy)\n\nThe retry policy for [`NetAppConnection`](/cpp/docs/reference/netapp/2.17.0/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection).\n\nStructs\n-------\n\n### [NetAppBackoffPolicyOption](/cpp/docs/reference/netapp/2.17.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.17.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.17.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.17.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.17.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.17.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.17.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.17.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."]]