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

target.apidocs.com.google.api.services.sql.SQLAdmin.Users.html Maven / Gradle / Ivy







SQLAdmin.Users (Cloud SQL Admin API v1beta4-rev20201026-1.30.10)












com.google.api.services.sql

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 sql 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
      • 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 sql 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 sql 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 sql 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–2020 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy