Class RolesResource.ListRequest
Retrieves a paginated list of all the roles in a domain.
Inheritance
RolesResource.ListRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class RolesResource.ListRequest : DirectoryBaseServiceRequest<Roles>, IClientServiceRequest<Roles>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string customer)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | customer |
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, use this field instead of domain
. You can also use the my_customer
alias
to represent your account's customerId
. The customerId
is also returned as part of the
Users resource. You must provide either the customer
or the
domain
parameter.
Declaration
[RequestParameter("customer", RequestParameterType.Path)]
public virtual string Customer { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MaxResults
Maximum number of results to return.
Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual int? MaxResults { get; set; }
Property Value
Type | Description |
---|---|
int? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageToken
Token to specify the next page in the list.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()