Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class TransactionalLogStorageState.
This value contains the storage location of the transactional logs used to perform point-in-time recovery (PITR) for the database.
Protobuf type google.cloud.sql.v1.BackupConfiguration.TransactionalLogStorageState
Namespace
Google \ Cloud \ Sql \ V1 \ BackupConfigurationMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIED
Value: 0
Unspecified.
Generated from protobuf enum TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIED = 0;
DISK
Value: 1
The transaction logs used for PITR for the instance are stored on a data disk.
Generated from protobuf enum DISK = 1;
SWITCHING_TO_CLOUD_STORAGE
Value: 2
The transaction logs used for PITR for the instance are switching from being stored on a data disk to being stored in Cloud Storage.
Only applicable to MySQL.
Generated from protobuf enum SWITCHING_TO_CLOUD_STORAGE = 2;
SWITCHED_TO_CLOUD_STORAGE
Value: 3
The transaction logs used for PITR for the instance are now stored in Cloud Storage. Previously, they were stored on a data disk.
Only applicable to MySQL.
Generated from protobuf enum SWITCHED_TO_CLOUD_STORAGE = 3;
CLOUD_STORAGE
Value: 4
The transaction logs used for PITR for the instance are stored in Cloud Storage. Only applicable to MySQL and PostgreSQL.
Generated from protobuf enum CLOUD_STORAGE = 4;