Class Backup (2.15.5)

public class Backup extends BackupInfo

Inheritance

java.lang.Object > BackupInfo > Backup

Methods

create()

public OperationFuture<Backup,CreateBackupMetadata> create()
Returns
TypeDescription
OperationFuture<Backup,com.google.spanner.admin.database.v1.CreateBackupMetadata>

delete()

public void delete()
Exceptions
TypeDescription
SpannerException

exists()

public boolean exists()
Returns
TypeDescription
boolean

getIAMPolicy()

public Policy getIAMPolicy()
Returns
TypeDescription
com.google.cloud.Policy

isReady()

public boolean isReady()
Returns
TypeDescription
boolean

listBackupOperations()

public Page<Operation> listBackupOperations()
Returns
TypeDescription
Page<Operation>

reload()

public Backup reload()
Returns
TypeDescription
Backup
Exceptions
TypeDescription
SpannerException

restore(DatabaseId arg0)

public OperationFuture<Database,RestoreDatabaseMetadata> restore(DatabaseId arg0)
Parameter
NameDescription
arg0DatabaseId
Returns
TypeDescription
OperationFuture<Database,com.google.spanner.admin.database.v1.RestoreDatabaseMetadata>

setIAMPolicy(Policy arg0)

public Policy setIAMPolicy(Policy arg0)
Parameter
NameDescription
arg0com.google.cloud.Policy
Returns
TypeDescription
com.google.cloud.Policy

testIAMPermissions(Iterable<String> arg0)

public Iterable<String> testIAMPermissions(Iterable<String> arg0)
Parameter
NameDescription
arg0Iterable<String>
Returns
TypeDescription
Iterable<String>

toBuilder()

public Backup.Builder toBuilder()
Returns
TypeDescription
Builder

updateExpireTime()

public void updateExpireTime()