target.apidocs.com.google.api.services.sqladmin.SQLAdmin.Users.html Maven / Gradle / Ivy
The newest version!
SQLAdmin.Users (Cloud SQL Admin API v1-rev20241108-2.0.0)
com.google.api.services.sqladmin
Class SQLAdmin.Users
- java.lang.Object
-
- com.google.api.services.sqladmin.SQLAdmin.Users
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
SQLAdmin.Users.Delete
class
SQLAdmin.Users.Get
class
SQLAdmin.Users.Insert
class
SQLAdmin.Users.List
class
SQLAdmin.Users.Update
-
Constructor Summary
Constructors
Constructor and Description
Users()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
SQLAdmin.Users.Delete
delete(String project,
String instance)
Deletes a user from a Cloud SQL instance.
SQLAdmin.Users.Get
get(String project,
String instance,
String name)
Retrieves a resource containing information about a user.
SQLAdmin.Users.Insert
insert(String project,
String instance,
User content)
Creates a new user in a Cloud SQL instance.
SQLAdmin.Users.List
list(String project,
String instance)
Lists users in the specified Cloud SQL instance.
SQLAdmin.Users.Update
update(String project,
String instance,
User content)
Updates an existing user in a Cloud SQL instance.
-
-
Method Detail
-
delete
public SQLAdmin.Users.Delete delete(String project,
String instance)
throws IOException
Deletes a user from a Cloud SQL instance.
Create a request for the method "users.delete".
This request holds the parameters needed by the sqladmin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID of the project that contains the instance.
instance
- Database instance ID. This does not include the project ID.
- Returns:
- the request
- Throws:
IOException
-
get
public SQLAdmin.Users.Get get(String project,
String instance,
String name)
throws IOException
Retrieves a resource containing information about a user.
Create a request for the method "users.get".
This request holds the parameters needed by the sqladmin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID of the project that contains the instance.
instance
- Database instance ID. This does not include the project ID.
name
- User of the instance.
- Returns:
- the request
- Throws:
IOException
-
insert
public SQLAdmin.Users.Insert insert(String project,
String instance,
User content)
throws IOException
Creates a new user in a Cloud SQL instance.
Create a request for the method "users.insert".
This request holds the parameters needed by the sqladmin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID of the project that contains the instance.
instance
- Database instance ID. This does not include the project ID.
content
- the User
- Returns:
- the request
- Throws:
IOException
-
list
public SQLAdmin.Users.List list(String project,
String instance)
throws IOException
Lists users in the specified Cloud SQL instance.
Create a request for the method "users.list".
This request holds the parameters needed by the sqladmin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID of the project that contains the instance.
instance
- Database instance ID. This does not include the project ID.
- Returns:
- the request
- Throws:
IOException
-
update
public SQLAdmin.Users.Update update(String project,
String instance,
User content)
throws IOException
Updates an existing user in a Cloud SQL instance.
Create a request for the method "users.update".
This request holds the parameters needed by the sqladmin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID of the project that contains the instance.
instance
- Database instance ID. This does not include the project ID.
content
- the User
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy