Cloud SQL Admin V1 API - Class Google::Cloud::Sql::V1::BackupConfiguration (v0.1.0)

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

#backup_retention_settings=

def backup_retention_settings=(value) -> ::Google::Cloud::Sql::V1::BackupRetentionSettings
Parameter
Returns

#backup_tier

def backup_tier() -> ::Google::Cloud::Sql::V1::BackupConfiguration::BackupTier
Returns

#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

#enabled=

def enabled=(value) -> ::Google::Protobuf::BoolValue
Parameter
Returns

#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

#point_in_time_recovery_enabled=

def point_in_time_recovery_enabled=(value) -> ::Google::Protobuf::BoolValue
Parameter
Returns

#replication_log_archiving_enabled

def replication_log_archiving_enabled() -> ::Google::Protobuf::BoolValue
Returns

#replication_log_archiving_enabled=

def replication_log_archiving_enabled=(value) -> ::Google::Protobuf::BoolValue
Parameter
Returns

#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

#transaction_log_retention_days=

def transaction_log_retention_days=(value) -> ::Google::Protobuf::Int32Value
Parameter
Returns

#transactional_log_storage_state

def transactional_log_storage_state() -> ::Google::Cloud::Sql::V1::BackupConfiguration::TransactionalLogStorageState
Returns