Class Backup (2.19.3)

public class Backup extends BackupInfo

Inheritance

java.lang.Object > BackupInfo > Backup

Methods

create()

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

delete()

public void delete()
Exceptions
Type Description
SpannerException

exists()

public boolean exists()
Returns
Type Description
boolean

getIAMPolicy()

public Policy getIAMPolicy()
Returns
Type Description
com.google.cloud.Policy

isReady()

public boolean isReady()
Returns
Type Description
boolean

listBackupOperations()

public Page<Operation> listBackupOperations()
Returns
Type Description
Page<Operation>

reload()

public Backup reload()
Returns
Type Description
Backup
Exceptions
Type Description
SpannerException

restore(DatabaseId arg0)

public OperationFuture<Database,RestoreDatabaseMetadata> restore(DatabaseId arg0)
Parameter
Name Description
arg0 DatabaseId
Returns
Type Description
OperationFuture<Database,com.google.spanner.admin.database.v1.RestoreDatabaseMetadata>

setIAMPolicy(Policy arg0)

public Policy setIAMPolicy(Policy arg0)
Parameter
Name Description
arg0 com.google.cloud.Policy
Returns
Type Description
com.google.cloud.Policy

testIAMPermissions(Iterable<String> arg0)

public Iterable<String> testIAMPermissions(Iterable<String> arg0)
Parameter
Name Description
arg0 Iterable<String>
Returns
Type Description
Iterable<String>

toBuilder()

public Backup.Builder toBuilder()
Returns
Type Description
Builder

updateExpireTime()

public void updateExpireTime()