public abstract class DatabaseAdminStub implements BackgroundResource
Base stub class for the DatabaseAdmin service API.
This class is for advanced usage and reflects the underlying API directly.
Constructors
DatabaseAdminStub()
public DatabaseAdminStub()
Methods
close()
public abstract void close()
createBackupCallable()
public UnaryCallable<CreateBackupRequest,Operation> createBackupCallable()
Returns
createBackupOperationCallable()
public OperationCallable<CreateBackupRequest,Backup,CreateBackupMetadata> createBackupOperationCallable()
Returns
createDatabaseCallable()
public UnaryCallable<CreateDatabaseRequest,Operation> createDatabaseCallable()
Returns
createDatabaseOperationCallable()
public OperationCallable<CreateDatabaseRequest,Database,CreateDatabaseMetadata> createDatabaseOperationCallable()
Returns
deleteBackupCallable()
public UnaryCallable<DeleteBackupRequest,Empty> deleteBackupCallable()
Returns
dropDatabaseCallable()
public UnaryCallable<DropDatabaseRequest,Empty> dropDatabaseCallable()
Returns
getBackupCallable()
public UnaryCallable<GetBackupRequest,Backup> getBackupCallable()
Returns
getDatabaseCallable()
public UnaryCallable<GetDatabaseRequest,Database> getDatabaseCallable()
Returns
getDatabaseDdlCallable()
public UnaryCallable<GetDatabaseDdlRequest,GetDatabaseDdlResponse> getDatabaseDdlCallable()
Returns
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
getOperationsStub()
public OperationsStub getOperationsStub()
Returns
listBackupOperationsCallable()
public UnaryCallable<ListBackupOperationsRequest,ListBackupOperationsResponse> listBackupOperationsCallable()
Returns
listBackupOperationsPagedCallable()
public UnaryCallable<ListBackupOperationsRequest,DatabaseAdminClient.ListBackupOperationsPagedResponse> listBackupOperationsPagedCallable()
Returns
listBackupsCallable()
public UnaryCallable<ListBackupsRequest,ListBackupsResponse> listBackupsCallable()
Returns
listBackupsPagedCallable()
public UnaryCallable<ListBackupsRequest,DatabaseAdminClient.ListBackupsPagedResponse> listBackupsPagedCallable()
Returns
listDatabaseOperationsCallable()
public UnaryCallable<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse> listDatabaseOperationsCallable()
Returns
listDatabaseOperationsPagedCallable()
public UnaryCallable<ListDatabaseOperationsRequest,DatabaseAdminClient.ListDatabaseOperationsPagedResponse> listDatabaseOperationsPagedCallable()
Returns
listDatabasesCallable()
public UnaryCallable<ListDatabasesRequest,ListDatabasesResponse> listDatabasesCallable()
Returns
listDatabasesPagedCallable()
public UnaryCallable<ListDatabasesRequest,DatabaseAdminClient.ListDatabasesPagedResponse> listDatabasesPagedCallable()
Returns
restoreDatabaseCallable()
public UnaryCallable<RestoreDatabaseRequest,Operation> restoreDatabaseCallable()
Returns
restoreDatabaseOperationCallable()
public OperationCallable<RestoreDatabaseRequest,Database,RestoreDatabaseMetadata> restoreDatabaseOperationCallable()
Returns
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> | |
updateBackupCallable()
public UnaryCallable<UpdateBackupRequest,Backup> updateBackupCallable()
Returns
updateDatabaseDdlCallable()
public UnaryCallable<UpdateDatabaseDdlRequest,Operation> updateDatabaseDdlCallable()
Returns
updateDatabaseDdlOperationCallable()
public OperationCallable<UpdateDatabaseDdlRequest,Empty,UpdateDatabaseDdlMetadata> updateDatabaseDdlOperationCallable()
Returns