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
Methods
Delete(string)
Deletes a group.
public virtual GroupsResource.DeleteRequest Delete(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.
Returns
Get(string)
Retrieves a group's properties.
public virtual GroupsResource.GetRequest Get(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.
Returns
Insert(Group)
Creates a group.
public virtual GroupsResource.InsertRequest Insert(Group body)
Parameters
body
GroupThe body of the request.
Returns
List()
Retrieve all groups of a domain or of a user given a userKey (paginated)
public virtual GroupsResource.ListRequest List()
Returns
Patch(Group, string)
Updates a group's properties. This method supports patch semantics.
public virtual GroupsResource.PatchRequest Patch(Group body, string groupKey)
Parameters
body
GroupThe 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
Update(Group, string)
Updates a group's properties.
public virtual GroupsResource.UpdateRequest Update(Group body, string groupKey)
Parameters
body
GroupThe 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.