Instance failover will be performed without data loss control.
LimitedDataLoss
Instance failover will be protected with data loss control. More
specifically, the failover will only be performed if the current
replication offset diff between primary and replica is under a certain
threshold.
Unspecified
Defaults to LIMITED_DATA_LOSS if a data protection mode is not
specified.
[[["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\u003eFailoverInstanceRequest.Types.DataProtectionMode\u003c/code\u003e enum within the Google Cloud Memorystore for Redis v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe enum offers three data protection modes: \u003ccode\u003eForceDataLoss\u003c/code\u003e, where failover occurs without data loss control; \u003ccode\u003eLimitedDataLoss\u003c/code\u003e, where failover is contingent upon a replication offset threshold; and \u003ccode\u003eUnspecified\u003c/code\u003e, which defaults to \u003ccode\u003eLimitedDataLoss\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFailoverInstanceRequest.Types.DataProtectionMode\u003c/code\u003e enum is found within the \u003ccode\u003eGoogle.Cloud.Redis.V1\u003c/code\u003e namespace, and more specifically within the Google.Cloud.Redis.V1.dll assembly.\u003c/p\u003e\n"],["\u003cp\u003eThis page lists all the versions of documentation available, with version 3.5.0 being the latest.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Memorystore for Redis v1 API - Enum FailoverInstanceRequest.Types.DataProtectionMode (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.FailoverInstanceRequest.Types.DataProtectionMode)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.4.0/Google.Cloud.Redis.V1.FailoverInstanceRequest.Types.DataProtectionMode)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.3.0/Google.Cloud.Redis.V1.FailoverInstanceRequest.Types.DataProtectionMode)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.2.0/Google.Cloud.Redis.V1.FailoverInstanceRequest.Types.DataProtectionMode)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.1.0/Google.Cloud.Redis.V1.FailoverInstanceRequest.Types.DataProtectionMode)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.0.0/Google.Cloud.Redis.V1.FailoverInstanceRequest.Types.DataProtectionMode)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.5.0/Google.Cloud.Redis.V1.FailoverInstanceRequest.Types.DataProtectionMode)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.4.0/Google.Cloud.Redis.V1.FailoverInstanceRequest.Types.DataProtectionMode)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.3.0/Google.Cloud.Redis.V1.FailoverInstanceRequest.Types.DataProtectionMode)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.2.0/Google.Cloud.Redis.V1.FailoverInstanceRequest.Types.DataProtectionMode) \n\n public enum FailoverInstanceRequest.Types.DataProtectionMode\n\nReference documentation and code samples for the Google Cloud Memorystore for Redis v1 API enum FailoverInstanceRequest.Types.DataProtectionMode.\n\nSpecifies different modes of operation in relation to the data retention.\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"]]