Table of Contents

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 string

Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID.

alias string

The alias to be removed

Returns

GroupsResource.AliasesResource.DeleteRequest

Insert(Alias, string)

Adds an alias for the group.

public virtual GroupsResource.AliasesResource.InsertRequest Insert(Alias body, string groupKey)

Parameters

body Alias

The body of the request.

groupKey string

Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID.

Returns

GroupsResource.AliasesResource.InsertRequest

List(string)

Lists all aliases for a group.

public virtual GroupsResource.AliasesResource.ListRequest List(string groupKey)

Parameters

groupKey string

Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID.

Returns

GroupsResource.AliasesResource.ListRequest