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 document provides reference information for the Google Cloud NetApp C++ client library, detailing its various versions, with the latest release candidate being 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe NetApp client library provides classes such as \u003ccode\u003eNetAppClient\u003c/code\u003e and \u003ccode\u003eNetAppConnection\u003c/code\u003e, which are used to interact with the NetApp Files Google Cloud Service.\u003c/p\u003e\n"],["\u003cp\u003eVarious retry policies and their configuration options are available, including \u003ccode\u003eNetAppLimitedErrorCountRetryPolicy\u003c/code\u003e, \u003ccode\u003eNetAppLimitedTimeRetryPolicy\u003c/code\u003e, and related options like \u003ccode\u003eNetAppRetryPolicyOption\u003c/code\u003e and \u003ccode\u003eNetAppBackoffPolicyOption\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA factory function, \u003ccode\u003eMakeNetAppConnection\u003c/code\u003e, is available to create \u003ccode\u003eNetAppConnection\u003c/code\u003e objects, and it allows for configuration using option lists such as \u003ccode\u003eCommonOptionList\u003c/code\u003e and \u003ccode\u003eNetAppPolicyOptionList\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetAppPolicyOptionList\u003c/code\u003e type alias is defined as an \u003ccode\u003eOptionList\u003c/code\u003e that combines multiple NetApp-specific option types for retry, backoff, polling, and idempotency policies.\u003c/p\u003e\n"]]],[],null,["# Namespace google::cloud::netapp_v1 (2.22.1)\n\nVersion 2.22.1keyboard_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.22.1/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppClient)\n\nNetApp Files Google Cloud Service.\n\n### [NetAppConnection](/cpp/docs/reference/netapp/2.22.1/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection)\n\nThe [`NetAppConnection`](/cpp/docs/reference/netapp/2.22.1/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection) object for [`NetAppClient`](/cpp/docs/reference/netapp/2.22.1/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppClient).\n\n### [NetAppConnectionIdempotencyPolicy](/cpp/docs/reference/netapp/2.22.1/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnectionIdempotencyPolicy)\n\n### [NetAppLimitedErrorCountRetryPolicy](/cpp/docs/reference/netapp/2.22.1/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppLimitedErrorCountRetryPolicy)\n\nA retry policy for [`NetAppConnection`](/cpp/docs/reference/netapp/2.22.1/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection) based on counting errors.\n\n### [NetAppLimitedTimeRetryPolicy](/cpp/docs/reference/netapp/2.22.1/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppLimitedTimeRetryPolicy)\n\nA retry policy for [`NetAppConnection`](/cpp/docs/reference/netapp/2.22.1/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection) based on elapsed time.\n\n### [NetAppRetryPolicy](/cpp/docs/reference/netapp/2.22.1/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppRetryPolicy)\n\nThe retry policy for [`NetAppConnection`](/cpp/docs/reference/netapp/2.22.1/classgoogle_1_1cloud_1_1netapp__v1_1_1NetAppConnection).\n\nStructs\n-------\n\n### [NetAppBackoffPolicyOption](/cpp/docs/reference/netapp/2.22.1/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.22.1/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.22.1/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.22.1/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.22.1/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.22.1/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.22.1/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`](about:invalid#zCSafez)\n- [`google::cloud::UnifiedCredentialsOptionList`](about:invalid#zCSafez)\n- [`google::cloud::netapp_v1::NetAppPolicyOptionList`](/cpp/docs/reference/netapp/2.22.1/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."]]