public class SQLAdmin.Users
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
SQLAdmin.Users.Delete |
class |
SQLAdmin.Users.Insert |
class |
SQLAdmin.Users.List |
class |
SQLAdmin.Users.Update |
| Constructor and Description |
|---|
Users() |
| Modifier and Type | Method and Description |
|---|---|
SQLAdmin.Users.Delete |
delete(java.lang.String project,
java.lang.String instance,
java.lang.String host,
java.lang.String name)
Deletes a user from a Cloud SQL instance.
|
SQLAdmin.Users.Insert |
insert(java.lang.String project,
java.lang.String instance,
User content)
Creates a new user in a Cloud SQL instance.
|
SQLAdmin.Users.List |
list(java.lang.String project,
java.lang.String instance)
Lists users in the specified Cloud SQL instance.
|
SQLAdmin.Users.Update |
update(java.lang.String project,
java.lang.String instance,
java.lang.String name,
User content)
Updates an existing user in a Cloud SQL instance.
|
public SQLAdmin.Users.Delete delete(java.lang.String project, java.lang.String instance, java.lang.String host, java.lang.String name) throws java.io.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.host - Host of the user in the instance.name - Name of the user in the instance.java.io.IOExceptionpublic SQLAdmin.Users.Insert insert(java.lang.String project, java.lang.String instance, User content) throws java.io.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 Userjava.io.IOExceptionpublic SQLAdmin.Users.List list(java.lang.String project, java.lang.String instance) throws java.io.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.java.io.IOExceptionpublic SQLAdmin.Users.Update update(java.lang.String project, java.lang.String instance, java.lang.String name, User content) throws java.io.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.name - Name of the user in the instance.content - the Userjava.io.IOException