Class ProjectsResource.LocationsResource.DevicesResource.ListRequest
Lists all devices.
Inheritance
Inherited Members
Namespace: Google.Apis.DeviceRun.v1alpha
Assembly: Google.Apis.DeviceRun.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.DevicesResource.ListRequest : DeviceRunBaseServiceRequest<CatalogListDevicesResponse>, IClientServiceRequest<CatalogListDevicesResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | parent |
Properties
Filter
Optional. An AIP-160 (https://google.aip.dev/160) filter expression restricting which devices
are returned. An empty filter returns all devices. Filtering is supported over the Device
fields, including nested fields via dot-path. Enum and string values must be double-quoted.
Examples: * platform = "ANDROID" * platform = "ANDROID" AND os_version = "34" *
hardware_type = "PHYSICAL" AND form_factor = "PHONE" * android_details.build_type = "userdebug" * availability.capacity = "HIGH"
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
PageSize
Optional. The maximum number of devices to return. The server may return fewer items than this value.
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 receive 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 |
Parent
Required. The parent of the collection of devices. Format:
projects/{project}/locations/global.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
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()