Class RoleAssignmentsResource.ListRequest
Retrieves a paginated list of all roleAssignments.
Inheritance
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class RoleAssignmentsResource.ListRequest : DirectoryBaseServiceRequest<RoleAssignments>, IClientServiceRequest<RoleAssignments>, 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
IncludeIndirectRoleAssignments
When set to true
, fetches indirect role assignments (i.e. role assignment via a group) as well as
direct ones. Defaults to false
. You must specify user_key
or the indirect role assignments will not
be included.
Declaration
[RequestParameter("includeIndirectRoleAssignments", RequestParameterType.Query)]
public virtual bool? IncludeIndirectRoleAssignments { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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
RoleId
Immutable ID of a role. If included in the request, returns only role assignments containing this role ID.
Declaration
[RequestParameter("roleId", RequestParameterType.Query)]
public virtual string RoleId { get; set; }
Property Value
Type | Description |
---|---|
string |
UserKey
The primary email address, alias email address, or unique user or group ID. If included in the request, returns role assignments only for this user or group.
Declaration
[RequestParameter("userKey", RequestParameterType.Query)]
public virtual string UserKey { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()