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)
Delete Group
public virtual GroupsResource.DeleteRequest Delete(string groupKey)
Parameters
groupKey
stringEmail or immutable ID of the group
Returns
Get(string)
Retrieve Group
public virtual GroupsResource.GetRequest Get(string groupKey)
Parameters
groupKey
stringEmail or immutable ID of the group
Returns
Insert(Group)
Create Group
public virtual GroupsResource.InsertRequest Insert(Group body)
Parameters
body
GroupThe body of the request.
Returns
List()
Retrieve all groups in a domain (paginated)
public virtual GroupsResource.ListRequest List()
Returns
Patch(Group, string)
Update Group. This method supports patch semantics.
public virtual GroupsResource.PatchRequest Patch(Group body, string groupKey)
Parameters
body
GroupThe body of the request.
groupKey
stringEmail or immutable ID of the group. If ID, it should match with id of group object
Returns
Update(Group, string)
Update Group
public virtual GroupsResource.UpdateRequest Update(Group body, string groupKey)
Parameters
body
GroupThe body of the request.
groupKey
stringEmail or immutable ID of the group. If ID, it should match with id of group object