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

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

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






Directory.Groups.Aliases (Admin SDK API directory_v1-rev20220125-1.32.1)












com.google.api.services.directory

Class Directory.Groups.Aliases

  • Enclosing class:
    Directory.Groups


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

      • Aliases

        public Aliases()
    • Method Detail

      • delete

        public Directory.Groups.Aliases.Delete delete(String groupKey,
                                                      String alias)
                                               throws IOException
        Removes an alias. Create a request for the method "aliases.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.
        alias - The alias to be removed
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Directory.Groups.Aliases.Insert insert(String groupKey,
                                                      Alias content)
                                               throws IOException
        Adds an alias for the group. Create a request for the method "aliases.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:
        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 Alias
        Returns:
        the request
        Throws:
        IOException
      • list

        public Directory.Groups.Aliases.List list(String groupKey)
                                           throws IOException
        Lists all aliases for a group. Create a request for the method "aliases.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:
        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

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy