Class GroupsResource.ListRequest
- Namespace
- Google.Apis.Admin.Directory.directory_v1
- Assembly
- Google.Apis.Admin.Directory.directory_v1.dll
Retrieve all groups of a domain or of a user given a userKey (paginated)
public class GroupsResource.ListRequest : DirectoryBaseServiceRequest<Groups>
- Inheritance
-
GroupsResource.ListRequest
- Inherited Members
Constructors
ListRequest(IClientService)
Constructs a new List request.
public ListRequest(IClientService service)
Parameters
service
IClientService
Properties
Customer
The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch
all groups for a customer, fill this field instead of domain. As an account administrator, you can also
use the my_customer
alias to represent your account's customerId
. The customerId
is also returned
as part of the Users
public virtual string Customer { get; set; }
Property Value
Domain
The domain name. Use this field to get fields from only one domain. To return all domains for a customer
account, use the customer
query parameter instead.
public virtual string Domain { get; set; }
Property Value
HttpMethod
Gets the HTTP method.
public override string HttpMethod { get; }
Property Value
MaxResults
Maximum number of results to return. Max allowed value is 200.
public virtual int? MaxResults { get; set; }
Property Value
- int?
MethodName
Gets the method name.
public override string MethodName { get; }
Property Value
OrderBy
Column to use for sorting results
public virtual GroupsResource.ListRequest.OrderByEnum? OrderBy { get; set; }
Property Value
PageToken
Token to specify next page in the list
public virtual string PageToken { get; set; }
Property Value
Query
Query string search. Should be of the form "". Complete documentation is at https: //developers.google.com/admin-sdk/directory/v1/guides/search-groups
public virtual string Query { get; set; }
Property Value
RestPath
Gets the REST path.
public override string RestPath { get; }
Property Value
SortOrder
Whether to return results in ascending or descending order. Only of use when orderBy is also used
public virtual GroupsResource.ListRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
UserKey
Email or immutable ID of the user if only those groups are to be listed, the given user is a member of. If it's an ID, it should match with the ID of the user object.
public virtual string UserKey { get; set; }
Property Value
Methods
InitParameters()
Initializes List parameter list.
protected override void InitParameters()