The fields of the Device resource to be returned in the response. The
fields id and num_id are always returned, along with any
other fields specified in snake_case format, for example:
last_heartbeat_time.
The maximum number of devices to return in the response. If this value
is zero, the service will select a default size. A call may return fewer
objects than requested. A non-empty next_page_token in the response
indicates that more data is available.
The value returned by the last ListDevicesResponse; indicates
that this is a continuation of a prior ListDevices call and
the system should return the next page of data.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003eListDevicesRequest\u003c/code\u003e class within the Google Cloud IoT v1 API, used for requesting a list of devices.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 2.2.0, with older versions available dating back to 1.0.0, as per the provided listing.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIPageRequest\u003c/code\u003e, extending its functionality.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eListDevicesRequest\u003c/code\u003e include \u003ccode\u003eDeviceIds\u003c/code\u003e, \u003ccode\u003eDeviceNumIds\u003c/code\u003e, \u003ccode\u003eFieldMask\u003c/code\u003e, \u003ccode\u003eGatewayListOptions\u003c/code\u003e, \u003ccode\u003ePageSize\u003c/code\u003e, \u003ccode\u003ePageToken\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsRegistryName\u003c/code\u003e, each serving a specific purpose in defining the request criteria.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are available for creating a new \u003ccode\u003eListDevicesRequest\u003c/code\u003e instance, either as a default or by cloning from an existing one, ensuring flexibility in usage.\u003c/p\u003e\n"]]],[],null,["# Cloud IoT v1 API - Class ListDevicesRequest (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.ListDevicesRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/2.1.0/Google.Cloud.Iot.V1.ListDevicesRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/2.0.0/Google.Cloud.Iot.V1.ListDevicesRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/1.2.0/Google.Cloud.Iot.V1.ListDevicesRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/1.1.0/Google.Cloud.Iot.V1.ListDevicesRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/1.0.0/Google.Cloud.Iot.V1.ListDevicesRequest) \n\n public sealed class ListDevicesRequest : IMessage\u003cListDevicesRequest\u003e, IEquatable\u003cListDevicesRequest\u003e, IDeepCloneable\u003cListDevicesRequest\u003e, IBufferMessage, IMessage, IPageRequest\n\nReference documentation and code samples for the Cloud IoT v1 API class ListDevicesRequest.\n\nRequest for `ListDevices`. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListDevicesRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListDevicesRequest](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.ListDevicesRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListDevicesRequest](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.ListDevicesRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListDevicesRequest](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.ListDevicesRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html), [IPageRequest](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/PagedEnumerableCommon.cs) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Iot.V1](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Iot.V1.dll\n\nConstructors\n------------\n\n### ListDevicesRequest()\n\n public ListDevicesRequest()\n\n### ListDevicesRequest(ListDevicesRequest)\n\n public ListDevicesRequest(ListDevicesRequest other)\n\nProperties\n----------\n\n### DeviceIds\n\n public RepeatedField\u003cstring\u003e DeviceIds { get; }\n\nA list of device string IDs. For example, `['device0', 'device12']`.\nIf empty, this field is ignored. Maximum IDs: 10,000\n\n### DeviceNumIds\n\n public RepeatedField\u003culong\u003e DeviceNumIds { get; }\n\nA list of device numeric IDs. If empty, this field is ignored. Maximum\nIDs: 10,000.\n\n### FieldMask\n\n public FieldMask FieldMask { get; set; }\n\nThe fields of the `Device` resource to be returned in the response. The\nfields `id` and `num_id` are always returned, along with any\nother fields specified in snake_case format, for example:\n`last_heartbeat_time`.\n\n### GatewayListOptions\n\n public GatewayListOptions GatewayListOptions { get; set; }\n\nOptions related to gateways.\n\n### PageSize\n\n public int PageSize { get; set; }\n\nThe maximum number of devices to return in the response. If this value\nis zero, the service will select a default size. A call may return fewer\nobjects than requested. A non-empty `next_page_token` in the response\nindicates that more data is available.\n\n### PageToken\n\n public string PageToken { get; set; }\n\nThe value returned by the last `ListDevicesResponse`; indicates\nthat this is a continuation of a prior `ListDevices` call and\nthe system should return the next page of data.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The device registry path. Required. For example,\n`projects/my-project/locations/us-central1/registries/my-registry`.\n\n### ParentAsRegistryName\n\n public RegistryName ParentAsRegistryName { get; set; }\n\n[RegistryName](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.RegistryName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.ListDevicesRequest#Google_Cloud_Iot_V1_ListDevicesRequest_Parent) resource name property."]]