Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::BackupConfiguration.
Database instance backup configuration.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup_retention_settings
def backup_retention_settings() -> ::Google::Cloud::Sql::V1::BackupRetentionSettings
Returns
- (::Google::Cloud::Sql::V1::BackupRetentionSettings) — Backup retention settings.
#backup_retention_settings=
def backup_retention_settings=(value) -> ::Google::Cloud::Sql::V1::BackupRetentionSettings
Parameter
- value (::Google::Cloud::Sql::V1::BackupRetentionSettings) — Backup retention settings.
Returns
- (::Google::Cloud::Sql::V1::BackupRetentionSettings) — Backup retention settings.
#backup_tier
def backup_tier() -> ::Google::Cloud::Sql::V1::BackupConfiguration::BackupTier
Returns
- (::Google::Cloud::Sql::V1::BackupConfiguration::BackupTier) — Output only. Backup tier that manages the backups for the instance.
#binary_log_enabled
def binary_log_enabled() -> ::Google::Protobuf::BoolValue
Returns
- (::Google::Protobuf::BoolValue) — (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
#binary_log_enabled=
def binary_log_enabled=(value) -> ::Google::Protobuf::BoolValue
Parameter
- value (::Google::Protobuf::BoolValue) — (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
Returns
- (::Google::Protobuf::BoolValue) — (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
#enabled
def enabled() -> ::Google::Protobuf::BoolValue
Returns
- (::Google::Protobuf::BoolValue) — Whether this configuration is enabled.
#enabled=
def enabled=(value) -> ::Google::Protobuf::BoolValue
Parameter
- value (::Google::Protobuf::BoolValue) — Whether this configuration is enabled.
Returns
- (::Google::Protobuf::BoolValue) — Whether this configuration is enabled.
#kind
def kind() -> ::String
Returns
-
(::String) — This is always
sql#backupConfiguration.
#kind=
def kind=(value) -> ::String
Parameter
-
value (::String) — This is always
sql#backupConfiguration.
Returns
-
(::String) — This is always
sql#backupConfiguration.
#location
def location() -> ::String
Returns
- (::String) — Location of the backup
#location=
def location=(value) -> ::String
Parameter
- value (::String) — Location of the backup
Returns
- (::String) — Location of the backup
#point_in_time_recovery_enabled
def point_in_time_recovery_enabled() -> ::Google::Protobuf::BoolValue
Returns
- (::Google::Protobuf::BoolValue) — Whether point in time recovery is enabled.
#point_in_time_recovery_enabled=
def point_in_time_recovery_enabled=(value) -> ::Google::Protobuf::BoolValue
Parameter
- value (::Google::Protobuf::BoolValue) — Whether point in time recovery is enabled.
Returns
- (::Google::Protobuf::BoolValue) — Whether point in time recovery is enabled.
#replication_log_archiving_enabled
def replication_log_archiving_enabled() -> ::Google::Protobuf::BoolValue
Returns
- (::Google::Protobuf::BoolValue) — Reserved for future use.
#replication_log_archiving_enabled=
def replication_log_archiving_enabled=(value) -> ::Google::Protobuf::BoolValue
Parameter
- value (::Google::Protobuf::BoolValue) — Reserved for future use.
Returns
- (::Google::Protobuf::BoolValue) — Reserved for future use.
#start_time
def start_time() -> ::String
Returns
-
(::String) — Start time for the daily backup configuration in UTC timezone in the 24
hour format -
HH:MM.
#start_time=
def start_time=(value) -> ::String
Parameter
-
value (::String) — Start time for the daily backup configuration in UTC timezone in the 24
hour format -
HH:MM.
Returns
-
(::String) — Start time for the daily backup configuration in UTC timezone in the 24
hour format -
HH:MM.
#transaction_log_retention_days
def transaction_log_retention_days() -> ::Google::Protobuf::Int32Value
Returns
- (::Google::Protobuf::Int32Value) — The number of days of transaction logs we retain for point in time restore, from 1-7.
#transaction_log_retention_days=
def transaction_log_retention_days=(value) -> ::Google::Protobuf::Int32Value
Parameter
- value (::Google::Protobuf::Int32Value) — The number of days of transaction logs we retain for point in time restore, from 1-7.
Returns
- (::Google::Protobuf::Int32Value) — The number of days of transaction logs we retain for point in time restore, from 1-7.
#transactional_log_storage_state
def transactional_log_storage_state() -> ::Google::Cloud::Sql::V1::BackupConfiguration::TransactionalLogStorageState
Returns
- (::Google::Cloud::Sql::V1::BackupConfiguration::TransactionalLogStorageState) — Output only. This value contains the storage location of transactional logs used to perform point-in-time recovery (PITR) for the database.