Connect via direct peering to the Memorystore for Redis hosted service.
PrivateServiceAccess
Connect your Memorystore for Redis instance using Private Service
Access. Private services access provides an IP address range for multiple
Google Cloud services, including Memorystore.
[[["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-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eInstance.Types.ConnectMode\u003c/code\u003e enum in the Google Cloud Memorystore for Redis v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is 3.5.0, with previous versions dating back to 2.2.0 also available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConnectMode\u003c/code\u003e enum defines the available connection modes for Memorystore for Redis instances.\u003c/p\u003e\n"],["\u003cp\u003eThe available connection modes are \u003ccode\u003eDirectPeering\u003c/code\u003e, \u003ccode\u003ePrivateServiceAccess\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e, each with specific connection characteristics.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this API is \u003ccode\u003eGoogle.Cloud.Redis.V1\u003c/code\u003e and is part of the \u003ccode\u003eGoogle.Cloud.Redis.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Memorystore for Redis v1 API - Enum Instance.Types.ConnectMode (3.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.Instance.Types.ConnectMode)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.4.0/Google.Cloud.Redis.V1.Instance.Types.ConnectMode)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.3.0/Google.Cloud.Redis.V1.Instance.Types.ConnectMode)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.2.0/Google.Cloud.Redis.V1.Instance.Types.ConnectMode)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.1.0/Google.Cloud.Redis.V1.Instance.Types.ConnectMode)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.0.0/Google.Cloud.Redis.V1.Instance.Types.ConnectMode)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.5.0/Google.Cloud.Redis.V1.Instance.Types.ConnectMode)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.4.0/Google.Cloud.Redis.V1.Instance.Types.ConnectMode)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.3.0/Google.Cloud.Redis.V1.Instance.Types.ConnectMode)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.2.0/Google.Cloud.Redis.V1.Instance.Types.ConnectMode) \n\n public enum Instance.Types.ConnectMode\n\nReference documentation and code samples for the Google Cloud Memorystore for Redis v1 API enum Instance.Types.ConnectMode.\n\nAvailable connection modes.\n\nNamespace\n---------\n\n[Google.Cloud.Redis.V1](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Redis.V1.dll"]]