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

target.apidocs.com.google.api.services.directory.Directory.Roles.html Maven / Gradle / Ivy

There is a newer version: directory_v1-rev20240709-2.0.0
Show newest version






Directory.Roles (Admin SDK API directory_v1-rev20220802-2.0.0)












com.google.api.services.directory

Class Directory.Roles

  • Enclosing class:
    Directory


    public class Directory.Roles
    extends Object
    The "roles" collection of methods.
    • Constructor Detail

      • Roles

        public Roles()
    • Method Detail

      • delete

        public Directory.Roles.Delete delete(String customer,
                                             String roleId)
                                      throws IOException
        Deletes a role. Create a request for the method "roles.delete". This request holds the parameters needed by the admin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        customer - Immutable ID of the Google Workspace account.
        roleId - Immutable ID of the role.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Directory.Roles.Get get(String customer,
                                       String roleId)
                                throws IOException
        Retrieves a role. Create a request for the method "roles.get". This request holds the parameters needed by the admin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        customer - Immutable ID of the Google Workspace account.
        roleId - Immutable ID of the role.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Directory.Roles.Insert insert(String customer,
                                             Role content)
                                      throws IOException
        Creates a role. Create a request for the method "roles.insert". This request holds the parameters needed by the admin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        customer - Immutable ID of the Google Workspace account.
        content - the Role
        Returns:
        the request
        Throws:
        IOException
      • list

        public Directory.Roles.List list(String customer)
                                  throws IOException
        Retrieves a paginated list of all the roles in a domain. Create a request for the method "roles.list". This request holds the parameters needed by the admin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        customer - Immutable ID of the Google Workspace account.
        Returns:
        the request
        Throws:
        IOException
      • patch

        public Directory.Roles.Patch patch(String customer,
                                           String roleId,
                                           Role content)
                                    throws IOException
        Patches a role. Create a request for the method "roles.patch". This request holds the parameters needed by the admin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        customer - Immutable ID of the Google Workspace account.
        roleId - Immutable ID of the role.
        content - the Role
        Returns:
        the request
        Throws:
        IOException
      • update

        public Directory.Roles.Update update(String customer,
                                             String roleId,
                                             Role content)
                                      throws IOException
        Updates a role. Create a request for the method "roles.update". This request holds the parameters needed by the admin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        customer - Immutable ID of the Google Workspace account.
        roleId - Immutable ID of the role.
        content - the Role
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy