Class GroupsResource.AliasesResource
The "aliases" collection of methods.
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class GroupsResource.AliasesResource
Constructors
AliasesResource(IClientService)
Constructs a new resource.
Declaration
public AliasesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string, string)
Removes an alias.
Declaration
public virtual GroupsResource.AliasesResource.DeleteRequest Delete(string groupKey, string alias)
Parameters
Type | Name | Description |
---|---|---|
string | groupKey | Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID. |
string | alias | The alias to be removed |
Returns
Type | Description |
---|---|
GroupsResource.AliasesResource.DeleteRequest |
Insert(Alias, string)
Adds an alias for the group.
Declaration
public virtual GroupsResource.AliasesResource.InsertRequest Insert(Alias body, string groupKey)
Parameters
Type | Name | Description |
---|---|---|
Alias | body | The body of the request. |
string | 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
Type | Description |
---|---|
GroupsResource.AliasesResource.InsertRequest |
List(string)
Lists all aliases for a group.
Declaration
public virtual GroupsResource.AliasesResource.ListRequest List(string groupKey)
Parameters
Type | Name | Description |
---|---|---|
string | 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
Type | Description |
---|---|
GroupsResource.AliasesResource.ListRequest |