Google Cloud Sql Admin V1beta4 Client - Class SqlReplicationType (0.7.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1beta4 Client class SqlReplicationType.

Protobuf type google.cloud.sql.v1beta4.SqlReplicationType

Namespace

Google \ Cloud \ Sql \ V1beta4

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

SQL_REPLICATION_TYPE_UNSPECIFIED

Value: 0

This is an unknown replication type for a Cloud SQL instance.

Generated from protobuf enum SQL_REPLICATION_TYPE_UNSPECIFIED = 0;

SYNCHRONOUS

Value: 1

The synchronous replication mode for First Generation instances. It is the default value.

Generated from protobuf enum SYNCHRONOUS = 1;

ASYNCHRONOUS

Value: 2

The asynchronous replication mode for First Generation instances. It provides a slight performance gain, but if an outage occurs while this option is set to asynchronous, you can lose up to a few seconds of updates to your data.

Generated from protobuf enum ASYNCHRONOUS = 2;