target.apidocs.com.google.api.services.directory.Directory.Groups.Aliases.html Maven / Gradle / Ivy
Directory.Groups.Aliases (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory
Class Directory.Groups.Aliases
- java.lang.Object
-
- com.google.api.services.directory.Directory.Groups.Aliases
-
- Enclosing class:
- Directory.Groups
public class Directory.Groups.Aliases
extends Object
The "aliases" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Directory.Groups.Aliases.Delete
class
Directory.Groups.Aliases.Insert
class
Directory.Groups.Aliases.List
-
Constructor Summary
Constructors
Constructor and Description
Aliases()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Directory.Groups.Aliases.Delete
delete(String groupKey,
String alias)
Removes an alias.
Directory.Groups.Aliases.Insert
insert(String groupKey,
Alias content)
Adds an alias for the group.
Directory.Groups.Aliases.List
list(String groupKey)
Lists all aliases for a group.
-
-
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.