Table of Contents

Class GroupsResource

Namespace
Google.Apis.Admin.Directory.directory_v1
Assembly
Google.Apis.Admin.Directory.directory_v1.dll

The "groups" collection of methods.

public class GroupsResource
Inheritance
GroupsResource
Inherited Members

Constructors

GroupsResource(IClientService)

Constructs a new resource.

public GroupsResource(IClientService service)

Parameters

service IClientService

Properties

Aliases

Gets the Aliases resource.

public virtual GroupsResource.AliasesResource Aliases { get; }

Property Value

GroupsResource.AliasesResource

Methods

Delete(string)

Deletes a group.

public virtual GroupsResource.DeleteRequest Delete(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.DeleteRequest

Get(string)

Retrieves a group's properties.

public virtual GroupsResource.GetRequest Get(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.GetRequest

Insert(Group)

Creates a group.

public virtual GroupsResource.InsertRequest Insert(Group body)

Parameters

body Group

The body of the request.

Returns

GroupsResource.InsertRequest

List()

Retrieve all groups of a domain or of a user given a userKey (paginated)

public virtual GroupsResource.ListRequest List()

Returns

GroupsResource.ListRequest

Patch(Group, string)

Updates a group's properties. This method supports patch semantics.

public virtual GroupsResource.PatchRequest Patch(Group body, string groupKey)

Parameters

body Group

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.PatchRequest

Update(Group, string)

Updates a group's properties.

public virtual GroupsResource.UpdateRequest Update(Group body, string groupKey)

Parameters

body Group

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.UpdateRequest