All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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

  • Enclosing class:
    SQLAdmin


    public class SQLAdmin.Users
    extends Object
    The "users" collection of methods.
    • Constructor Detail

      • Users

        public Users()
    • 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