Class MobiledevicesResource.ListRequest
Retrieves a paginated list of all user-owned mobile devices for an account. To retrieve a list that includes company-owned devices, use the Cloud Identity Devices API instead. This method times out after 60 minutes. For more information, see Troubleshoot error codes.
Inheritance
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class MobiledevicesResource.ListRequest : DirectoryBaseServiceRequest<MobileDevices>, IClientServiceRequest<MobileDevices>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string customerId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | customerId |
Properties
CustomerId
The unique ID for the customer's Google Workspace account. 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 resource.
Declaration
[RequestParameter("customerId", RequestParameterType.Path)]
public virtual string CustomerId { 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. Max allowed value is 100.
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
OrderBy
Device property to use for sorting results.
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual MobiledevicesResource.ListRequest.OrderByEnum? OrderBy { get; set; }
Property Value
Type | Description |
---|---|
MobiledevicesResource.ListRequest.OrderByEnum? |
PageToken
Token to specify next page in the list
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Projection
Restrict information returned to a set of selected fields.
Declaration
[RequestParameter("projection", RequestParameterType.Query)]
public virtual MobiledevicesResource.ListRequest.ProjectionEnum? Projection { get; set; }
Property Value
Type | Description |
---|---|
MobiledevicesResource.ListRequest.ProjectionEnum? |
Query
Search string in the format given at https://developers.google.com/admin-sdk/directory/v1/search-operators
Declaration
[RequestParameter("query", RequestParameterType.Query)]
public virtual string Query { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
SortOrder
Whether to return results in ascending or descending order. Must be used with the orderBy
parameter.
Declaration
[RequestParameter("sortOrder", RequestParameterType.Query)]
public virtual MobiledevicesResource.ListRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
MobiledevicesResource.ListRequest.SortOrderEnum? |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()