Send feedback
Interface DatabaseAdminClient (2.22.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.22.1 keyboard_arrow_down
public interface DatabaseAdminClient
Methods
cancelOperation(String arg0)
public abstract void cancelOperation ( String arg0 )
Parameter
Name
Description
arg0
String
copyBackup(BackupId arg0, Backup arg1)
public default OperationFuture<Backup , CopyBackupMetadata > copyBackup ( BackupId arg0 , Backup arg1 )
copyBackup(String arg0, String arg1, String arg2, Timestamp arg3)
public default OperationFuture<Backup , CopyBackupMetadata > copyBackup ( String arg0 , String arg1 , String arg2 , Timestamp arg3 )
Parameters
Name
Description
arg0
String
arg1
String
arg2
String
arg3
com.google.cloud.Timestamp
createBackup(Backup arg0)
public abstract OperationFuture<Backup , CreateBackupMetadata > createBackup ( Backup arg0 )
Parameter
Name
Description
arg0
Backup
Returns
Type
Description
OperationFuture <Backup ,com.google.spanner.admin.database.v1.CreateBackupMetadata >
createBackup(String arg0, String arg1, String arg2, Timestamp arg3)
public abstract OperationFuture<Backup , CreateBackupMetadata > createBackup ( String arg0 , String arg1 , String arg2 , Timestamp arg3 )
Parameters
Name
Description
arg0
String
arg1
String
arg2
String
arg3
com.google.cloud.Timestamp
Returns
Type
Description
OperationFuture <Backup ,com.google.spanner.admin.database.v1.CreateBackupMetadata >
createDatabase(Database arg0, Iterable<String> arg1)
public abstract OperationFuture<Database , CreateDatabaseMetadata > createDatabase ( Database arg0 , Iterable<String> arg1 )
createDatabase(String arg0, String arg1, Dialect arg2, Iterable<String> arg3)
public default OperationFuture<Database , CreateDatabaseMetadata > createDatabase ( String arg0 , String arg1 , Dialect arg2 , Iterable<String> arg3 )
createDatabase(String arg0, String arg1, Iterable<String> arg2)
public abstract OperationFuture<Database , CreateDatabaseMetadata > createDatabase ( String arg0 , String arg1 , Iterable<String> arg2 )
deleteBackup(String arg0, String arg1)
public abstract void deleteBackup ( String arg0 , String arg1 )
dropDatabase(String arg0, String arg1)
public abstract void dropDatabase ( String arg0 , String arg1 )
getBackup(String arg0, String arg1)
public abstract Backup getBackup ( String arg0 , String arg1 )
Returns
Type
Description
Backup
getBackupIAMPolicy(String arg0, String arg1)
public abstract Policy getBackupIAMPolicy ( String arg0 , String arg1 )
Returns
Type
Description
com.google.cloud.Policy
getDatabase(String arg0, String arg1)
public abstract Database getDatabase ( String arg0 , String arg1 )
getDatabaseDdl(String arg0, String arg1)
public abstract List<String> getDatabaseDdl ( String arg0 , String arg1 )
getDatabaseDdlResponse(String arg0, String arg1)
public abstract GetDatabaseDdlResponse getDatabaseDdlResponse ( String arg0 , String arg1 )
Returns
Type
Description
com.google.spanner.admin.database.v1.GetDatabaseDdlResponse
getDatabaseIAMPolicy(String arg0, String arg1, int arg2)
public abstract Policy getDatabaseIAMPolicy ( String arg0 , String arg1 , int arg2 )
Returns
Type
Description
com.google.cloud.Policy
getOperation(String arg0)
public abstract Operation getOperation ( String arg0 )
Parameter
Name
Description
arg0
String
listBackupOperations(String arg0, Options.ListOption[] arg1)
public abstract Page<Operation> listBackupOperations ( String arg0 , Options . ListOption [] arg1 )
listBackups(String arg0, Options.ListOption[] arg1)
public abstract Page<Backup> listBackups ( String arg0 , Options . ListOption [] arg1 )
listDatabaseOperations(String arg0, Options.ListOption[] arg1)
public abstract Page<Operation> listDatabaseOperations ( String arg0 , Options . ListOption [] arg1 )
listDatabaseRoles(String arg0, String arg1, Options.ListOption[] arg2)
public abstract Page<DatabaseRole> listDatabaseRoles ( String arg0 , String arg1 , Options . ListOption [] arg2 )
listDatabases(String arg0, Options.ListOption[] arg1)
public abstract Page<Database> listDatabases ( String arg0 , Options . ListOption [] arg1 )
newBackupBuilder(BackupId arg0)
public abstract Backup . Builder newBackupBuilder ( BackupId arg0 )
Parameter
Name
Description
arg0
BackupId
newDatabaseBuilder(DatabaseId arg0)
public abstract Database . Builder newDatabaseBuilder ( DatabaseId arg0 )
newRestoreBuilder(BackupId arg0, DatabaseId arg1)
public abstract Restore . Builder newRestoreBuilder ( BackupId arg0 , DatabaseId arg1 )
restoreDatabase(Restore arg0)
public abstract OperationFuture<Database , RestoreDatabaseMetadata > restoreDatabase ( Restore arg0 )
Parameter
Name
Description
arg0
Restore
restoreDatabase(String arg0, String arg1, String arg2, String arg3)
public abstract OperationFuture<Database , RestoreDatabaseMetadata > restoreDatabase ( String arg0 , String arg1 , String arg2 , String arg3 )
setBackupIAMPolicy(String arg0, String arg1, Policy arg2)
public abstract Policy setBackupIAMPolicy ( String arg0 , String arg1 , Policy arg2 )
Parameters
Name
Description
arg0
String
arg1
String
arg2
com.google.cloud.Policy
Returns
Type
Description
com.google.cloud.Policy
setDatabaseIAMPolicy(String arg0, String arg1, Policy arg2)
public abstract Policy setDatabaseIAMPolicy ( String arg0 , String arg1 , Policy arg2 )
Parameters
Name
Description
arg0
String
arg1
String
arg2
com.google.cloud.Policy
Returns
Type
Description
com.google.cloud.Policy
testBackupIAMPermissions(String arg0, String arg1, Iterable<String> arg2)
public abstract Iterable<String> testBackupIAMPermissions ( String arg0 , String arg1 , Iterable<String> arg2 )
testDatabaseIAMPermissions(String arg0, String arg1, Iterable<String> arg2)
public abstract Iterable<String> testDatabaseIAMPermissions ( String arg0 , String arg1 , Iterable<String> arg2 )
updateBackup(String arg0, String arg1, Timestamp arg2)
public abstract Backup updateBackup ( String arg0 , String arg1 , Timestamp arg2 )
Parameters
Name
Description
arg0
String
arg1
String
arg2
com.google.cloud.Timestamp
Returns
Type
Description
Backup
updateDatabase(Database arg0, DatabaseInfo.DatabaseField[] arg1)
public abstract OperationFuture<Database , UpdateDatabaseMetadata > updateDatabase ( Database arg0 , DatabaseInfo . DatabaseField [] arg1 )
updateDatabaseDdl(Database arg0, Iterable<String> arg1, String arg2)
public abstract OperationFuture<Void , UpdateDatabaseDdlMetadata > updateDatabaseDdl ( Database arg0 , Iterable<String> arg1 , String arg2 )
Returns
Type
Description
OperationFuture <Void ,com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata >
updateDatabaseDdl(String arg0, String arg1, Iterable<String> arg2, String arg3)
public abstract OperationFuture<Void , UpdateDatabaseDdlMetadata > updateDatabaseDdl ( String arg0 , String arg1 , Iterable<String> arg2 , String arg3 )
Returns
Type
Description
OperationFuture <Void ,com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata >
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-06 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-06 UTC."],[],[]]