Class GroupsResource.AliasesResource
- Namespace
- Google.Apis.Admin.Directory.directory_v1
- Assembly
- Google.Apis.Admin.Directory.directory_v1.dll
The "aliases" collection of methods.
public class GroupsResource.AliasesResource
- Inheritance
-
GroupsResource.AliasesResource
- Inherited Members
Constructors
AliasesResource(IClientService)
Constructs a new resource.
public AliasesResource(IClientService service)
Parameters
service
IClientService
Methods
Delete(string, string)
Removes an alias.
public virtual GroupsResource.AliasesResource.DeleteRequest Delete(string groupKey, string alias)
Parameters
groupKey
stringIdentifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID.
alias
stringThe alias to be removed
Returns
Insert(Alias, string)
Adds an alias for the group.
public virtual GroupsResource.AliasesResource.InsertRequest Insert(Alias body, string groupKey)
Parameters
body
AliasThe body of the request.
groupKey
stringIdentifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID.
Returns
List(string)
Lists all aliases for a group.
public virtual GroupsResource.AliasesResource.ListRequest List(string groupKey)
Parameters
groupKey
stringIdentifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID.