dataProtectionMode property Null safety

String? dataProtectionMode
read / write

Available data protection modes that the user can choose.

If it's unspecified, data protection mode will be LIMITED_DATA_LOSS by default.

Optional. Possible string values are:

  • "DATA_PROTECTION_MODE_UNSPECIFIED" : Defaults to LIMITED_DATA_LOSS if a data protection mode is not specified.
  • "LIMITED_DATA_LOSS" : 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.
  • "FORCE_DATA_LOSS" : Instance failover will be performed without data loss control.

Implementation

core.String? dataProtectionMode;