Class DevicesResource.ListRequest
Lists/Searches devices.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudIdentity.v1
Assembly: Google.Apis.CloudIdentity.v1.dll
Syntax
public class DevicesResource.ListRequest : CloudIdentityBaseServiceRequest<GoogleAppsCloudidentityDevicesV1ListDevicesResponse>, IClientServiceRequest<GoogleAppsCloudidentityDevicesV1ListDevicesResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService)
Constructs a new List request.
Declaration
public ListRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Customer
Optional. Resource name of the customer in the
format: customers/{customer}
, where customer is the customer to whom the device belongs. If you're
using this API for your own organization, use customers/my_customer
. If you're using this API to
manage another organization, use customers/{customer}
, where customer is the customer to whom the
device belongs.
Declaration
[RequestParameter("customer", RequestParameterType.Query)]
public virtual string Customer { get; set; }
Property Value
Type | Description |
---|---|
string |
Filter
Optional. Additional restrictions when fetching list of devices. For a list of search fields, refer to Mobile device search fields. Multiple search fields are separated by the space character.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
OrderBy
Optional. Order specification for devices in the response. Only one of the following field names may be
used to specify the order: create_time
, last_sync_time
, model
, os_version
, device_type
and
serial_number
. desc
may be specified optionally at the end to specify results to be sorted in
descending order. Default order is ascending.
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type | Description |
---|---|
string |
PageSize
Optional. The maximum number of Devices to return. If unspecified, at most 20 Devices will be returned. The maximum value is 100; values above 100 will be coerced to 100.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. A page token, received from a previous ListDevices
call. Provide this to retrieve the
subsequent page. When paginating, all other parameters provided to ListDevices
must match the call
that provided the page token.
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
View
Optional. The view to use for the List request.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual DevicesResource.ListRequest.ViewEnum? View { get; set; }
Property Value
Type | Description |
---|---|
DevicesResource.ListRequest.ViewEnum? |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()