[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Sql Admin V1 Client - Class BackupConfiguration (1.2.6)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.6 (latest)](/php/docs/reference/cloud-sql-admin/latest/V1.BackupConfiguration)\n- [1.2.5](/php/docs/reference/cloud-sql-admin/1.2.5/V1.BackupConfiguration)\n- [1.1.0](/php/docs/reference/cloud-sql-admin/1.1.0/V1.BackupConfiguration)\n- [1.0.0](/php/docs/reference/cloud-sql-admin/1.0.0/V1.BackupConfiguration)\n- [0.19.0](/php/docs/reference/cloud-sql-admin/0.19.0/V1.BackupConfiguration)\n- [0.18.0](/php/docs/reference/cloud-sql-admin/0.18.0/V1.BackupConfiguration)\n- [0.17.1](/php/docs/reference/cloud-sql-admin/0.17.1/V1.BackupConfiguration)\n- [0.16.1](/php/docs/reference/cloud-sql-admin/0.16.1/V1.BackupConfiguration)\n- [0.12.0](/php/docs/reference/cloud-sql-admin/0.12.0/V1.BackupConfiguration)\n- [0.11.0](/php/docs/reference/cloud-sql-admin/0.11.0/V1.BackupConfiguration)\n- [0.10.0](/php/docs/reference/cloud-sql-admin/0.10.0/V1.BackupConfiguration)\n- [0.9.0](/php/docs/reference/cloud-sql-admin/0.9.0/V1.BackupConfiguration)\n- [0.8.0](/php/docs/reference/cloud-sql-admin/0.8.0/V1.BackupConfiguration)\n- [0.7.0](/php/docs/reference/cloud-sql-admin/0.7.0/V1.BackupConfiguration)\n- [0.6.0](/php/docs/reference/cloud-sql-admin/0.6.0/V1.BackupConfiguration)\n- [0.5.0](/php/docs/reference/cloud-sql-admin/0.5.0/V1.BackupConfiguration)\n- [0.4.1](/php/docs/reference/cloud-sql-admin/0.4.1/V1.BackupConfiguration)\n- [0.3.1](/php/docs/reference/cloud-sql-admin/0.3.1/V1.BackupConfiguration)\n- [0.2.12](/php/docs/reference/cloud-sql-admin/0.2.12/V1.BackupConfiguration) \nReference documentation and code samples for the Google Cloud Sql Admin V1 Client class BackupConfiguration.\n\nDatabase instance backup configuration.\n\nGenerated from protobuf message `google.cloud.sql.v1.BackupConfiguration`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Sql \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getStartTime\n\nStart time for the daily backup configuration in UTC timezone in the 24\nhour format - `HH:MM`.\n\n### setStartTime\n\nStart time for the daily backup configuration in UTC timezone in the 24\nhour format - `HH:MM`.\n\n### getEnabled\n\nWhether this configuration is enabled.\n\n### hasEnabled\n\n### clearEnabled\n\n### getEnabledUnwrapped\n\nReturns the unboxed value from `getEnabled()`\n\nWhether this configuration is enabled.\n\n### setEnabled\n\nWhether this configuration is enabled.\n\n### setEnabledUnwrapped\n\nSets the field by wrapping a primitive type in a Google\\\\Protobuf\\\\BoolValue object.\n\nWhether this configuration is enabled.\n\n### getKind\n\nThis is always `sql#backupConfiguration`.\n\n### setKind\n\nThis is always `sql#backupConfiguration`.\n\n### getBinaryLogEnabled\n\n(MySQL only) Whether binary log is enabled. If backup configuration is\ndisabled, binarylog must be disabled as well.\n\n### hasBinaryLogEnabled\n\n### clearBinaryLogEnabled\n\n### getBinaryLogEnabledUnwrapped\n\nReturns the unboxed value from `getBinaryLogEnabled()`\n\n(MySQL only) Whether binary log is enabled. If backup configuration is\ndisabled, binarylog must be disabled as well.\n\n### setBinaryLogEnabled\n\n(MySQL only) Whether binary log is enabled. If backup configuration is\ndisabled, binarylog must be disabled as well.\n\n### setBinaryLogEnabledUnwrapped\n\nSets the field by wrapping a primitive type in a Google\\\\Protobuf\\\\BoolValue object.\n\n(MySQL only) Whether binary log is enabled. If backup configuration is\ndisabled, binarylog must be disabled as well.\n\n### getReplicationLogArchivingEnabled\n\nReserved for future use.\n\n### hasReplicationLogArchivingEnabled\n\n### clearReplicationLogArchivingEnabled\n\n### getReplicationLogArchivingEnabledUnwrapped\n\nReturns the unboxed value from `getReplicationLogArchivingEnabled()`\n\nReserved for future use.\n\n### setReplicationLogArchivingEnabled\n\nReserved for future use.\n\n### setReplicationLogArchivingEnabledUnwrapped\n\nSets the field by wrapping a primitive type in a Google\\\\Protobuf\\\\BoolValue object.\n\nReserved for future use.\n\n### getLocation\n\nLocation of the backup\n\n### setLocation\n\nLocation of the backup\n\n### getPointInTimeRecoveryEnabled\n\nWhether point in time recovery is enabled.\n\n### hasPointInTimeRecoveryEnabled\n\n### clearPointInTimeRecoveryEnabled\n\n### getPointInTimeRecoveryEnabledUnwrapped\n\nReturns the unboxed value from `getPointInTimeRecoveryEnabled()`\n\nWhether point in time recovery is enabled.\n\n### setPointInTimeRecoveryEnabled\n\nWhether point in time recovery is enabled.\n\n### setPointInTimeRecoveryEnabledUnwrapped\n\nSets the field by wrapping a primitive type in a Google\\\\Protobuf\\\\BoolValue object.\n\nWhether point in time recovery is enabled.\n\n### getBackupRetentionSettings\n\nBackup retention settings.\n\n### hasBackupRetentionSettings\n\n### clearBackupRetentionSettings\n\n### setBackupRetentionSettings\n\nBackup retention settings.\n\n### getTransactionLogRetentionDays\n\nThe number of days of transaction logs we retain for point in time\nrestore, from 1-7.\n\n### hasTransactionLogRetentionDays\n\n### clearTransactionLogRetentionDays\n\n### getTransactionLogRetentionDaysUnwrapped\n\nReturns the unboxed value from `getTransactionLogRetentionDays()`\n\nThe number of days of transaction logs we retain for point in time\nrestore, from 1-7.\n\n### setTransactionLogRetentionDays\n\nThe number of days of transaction logs we retain for point in time\nrestore, from 1-7.\n\n### setTransactionLogRetentionDaysUnwrapped\n\nSets the field by wrapping a primitive type in a Google\\\\Protobuf\\\\Int32Value object.\n\nThe number of days of transaction logs we retain for point in time\nrestore, from 1-7.\n\n### getTransactionalLogStorageState\n\nOutput only. This value contains the storage location of transactional logs\nused to perform point-in-time recovery (PITR) for the database.\n\n### hasTransactionalLogStorageState\n\n### clearTransactionalLogStorageState\n\n### setTransactionalLogStorageState\n\nOutput only. This value contains the storage location of transactional logs\nused to perform point-in-time recovery (PITR) for the database."]]