| Modifier and Type | Class and Description |
|---|---|
class |
SQLAdmin.Databases.Delete |
class |
SQLAdmin.Databases.Get |
class |
SQLAdmin.Databases.Insert |
class |
SQLAdmin.Databases.List |
class |
SQLAdmin.Databases.Patch |
class |
SQLAdmin.Databases.Update |
| Constructor and Description |
|---|
Databases() |
| Modifier and Type | Method and Description |
|---|---|
SQLAdmin.Databases.Delete |
delete(String project,
String instance,
String database)
Deletes a database from a Cloud SQL instance.
|
SQLAdmin.Databases.Get |
get(String project,
String instance,
String database)
Retrieves a resource containing information about a database inside a Cloud SQL instance.
|
SQLAdmin.Databases.Insert |
insert(String project,
String instance,
Database content)
Inserts a resource containing information about a database inside a Cloud SQL instance.
|
SQLAdmin.Databases.List |
list(String project,
String instance)
Lists databases in the specified Cloud SQL instance.
|
SQLAdmin.Databases.Patch |
patch(String project,
String instance,
String database,
Database content)
Partially updates a resource containing information about a database inside a Cloud SQL instance.
|
SQLAdmin.Databases.Update |
update(String project,
String instance,
String database,
Database content)
Updates a resource containing information about a database inside a Cloud SQL instance.
|
public SQLAdmin.Databases.Delete delete(String project, String instance, String database) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID of the project that contains the instance.instance - Database instance ID. This does not include the project ID.database - Name of the database to be deleted in the instance.IOExceptionpublic SQLAdmin.Databases.Get get(String project, String instance, String database) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID of the project that contains the instance.instance - Database instance ID. This does not include the project ID.database - Name of the database in the instance.IOExceptionpublic SQLAdmin.Databases.Insert insert(String project, String instance, Database content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID of the project that contains the instance.instance - Database instance ID. This does not include the project ID.content - the DatabaseIOExceptionpublic SQLAdmin.Databases.List list(String project, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID of the project that contains the instance.instance - Cloud SQL instance ID. This does not include the project ID.IOExceptionpublic SQLAdmin.Databases.Patch patch(String project, String instance, String database, Database content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID of the project that contains the instance.instance - Database instance ID. This does not include the project ID.database - Name of the database to be updated in the instance.content - the DatabaseIOExceptionpublic SQLAdmin.Databases.Update update(String project, String instance, String database, Database content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID of the project that contains the instance.instance - Database instance ID. This does not include the project ID.database - Name of the database to be updated in the instance.content - the DatabaseIOExceptionCopyright © 2011–2025 Google. All rights reserved.