Send feedback
Class BackupInfo
Stay organized with collections
Save and categorize content based on your preferences.
Version 6.24.0 keyboard_arrow_down
Represents a Cloud Spanner database backup.
Inheritance
Object >
BackupInfo
Methods
equals(Object o)
public boolean equals(Object o)
Parameter
Returns
Overrides
getDatabase()
public DatabaseId getDatabase()
Returns the id of the database that was used to create the backup.
Returns
getEncryptionConfig()
public BackupEncryptionConfig getEncryptionConfig()
Returns the BackupEncryptionConfig to encrypt the backup during its creation. Returns
null
if no customer-managed encryption key should be used.
Returns
getEncryptionInfo()
public EncryptionInfo getEncryptionInfo()
Returns the EncryptionInfo of the backup if the backup is encrypted, or null
if this backup is not encrypted.
Returns
getExpireTime()
public Timestamp getExpireTime()
Returns the expire time of the backup.
Returns
Type Description com.google.cloud.Timestamp
getId()
Returns
getInstanceId()
public InstanceId getInstanceId()
Returns the id of the instance that the backup belongs to.
Returns
getMaxExpireTime()
public Timestamp getMaxExpireTime()
Returns the max expire time of this Backup .
Returns
Type Description com.google.cloud.Timestamp
getProto()
Returns the raw proto instance that was used to construct this Backup .
Returns
getReferencingBackups()
public List<String> getReferencingBackups()
Returns the names of the destination backups being created by copying this source backup Backup .
Returns
getSize()
Returns the size of the backup in bytes.
Returns
getState()
public BackupInfo.State getState()
Returns the state of the backup.
Returns
getVersionTime()
public Timestamp getVersionTime()
Returns the version time of the backup.
Returns
Type Description com.google.cloud.Timestamp
hashCode()
Returns
Overrides
toString()
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-01 UTC.
Need to tell us more?
[[["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 2024-11-01 UTC."],[],[]]