public sealed class ListDeviceStatesRequest : IMessage<ListDeviceStatesRequest>, IEquatable<ListDeviceStatesRequest>, IDeepCloneable<ListDeviceStatesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud IoT v1 API class ListDeviceStatesRequest.
Required. The name of the device. For example,
projects/p0/locations/us-central1/registries/registry0/devices/device0 or
projects/p0/locations/us-central1/registries/registry0/devices/{num_id}.
The number of states to list. States are listed in descending order of
update time. The maximum number of states retained is 10. If this
value is zero, it will return all the states available.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eListDeviceStatesRequest\u003c/code\u003e class within the Google Cloud IoT v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListDeviceStatesRequest\u003c/code\u003e class is used to request a list of device states from the Cloud IoT service, and it implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt supports several versions of the API, with the latest being version 2.2.0, and older versions going back to 1.0.0 are also documented.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties such as \u003ccode\u003eDeviceName\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eNumStates\u003c/code\u003e, which allow you to specify the target device and the number of states to retrieve.\u003c/p\u003e\n"],["\u003cp\u003eThe ListDeviceStatesRequest class has a constructor with no parameters and a constructor which takes another ListDeviceStatesRequest as a parameter.\u003c/p\u003e\n"]]],[],null,[]]