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

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

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






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












com.google.api.services.directory

Class Directory.Groups

  • Enclosing class:
    Directory


    public class Directory.Groups
    extends Object
    The "groups" collection of methods.
    • Constructor Detail

      • Groups

        public Groups()
    • Method Detail

      • delete

        public Directory.Groups.Delete delete(String groupKey)
                                       throws IOException
        Deletes a group. Create a request for the method "groups.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:
        groupKey - Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Directory.Groups.Get get(String groupKey)
                                 throws IOException
        Retrieves a group's properties. Create a request for the method "groups.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:
        groupKey - Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID.
        Returns:
        the request
        Throws:
        IOException
      • list

        public Directory.Groups.List list()
                                   throws IOException
        Retrieves all groups of a domain or of a user given a userKey (paginated). Create a request for the method "groups.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.
        Returns:
        the request
        Throws:
        IOException
      • patch

        public Directory.Groups.Patch patch(String groupKey,
                                            Group content)
                                     throws IOException
        Updates a group's properties. This method supports [patch semantics](/admin- sdk/directory/v1/guides/performance#patch). Create a request for the method "groups.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:
        groupKey - Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID.
        content - the Group
        Returns:
        the request
        Throws:
        IOException
      • update

        public Directory.Groups.Update update(String groupKey,
                                              Group content)
                                       throws IOException
        Updates a group's properties. Create a request for the method "groups.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:
        groupKey - Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID.
        content - the Group
        Returns:
        the request
        Throws:
        IOException
      • aliases

        public Directory.Groups.Aliases aliases()
        An accessor for creating requests from the Aliases collection.

        The typical use is:

            Directory admin = new Directory(...);
            Directory.Aliases.List request = admin.aliases().list(parameters ...)
         
        Returns:
        the resource collection

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy