public sealed class ListDeviceStatesRequest : IMessage<ListDeviceStatesRequest>, IEquatable<ListDeviceStatesRequest>, IDeepCloneable<ListDeviceStatesRequest>, IBufferMessage, IMessage
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 details the \u003ccode\u003eListDeviceStatesRequest\u003c/code\u003e class, which is used to request a list of device states within the Google Cloud IoT service.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListDeviceStatesRequest\u003c/code\u003e class 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, enabling it to interact within the Google Protocol Buffers framework.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eListDeviceStatesRequest\u003c/code\u003e include \u003ccode\u003eName\u003c/code\u003e, which represents the required device name, and \u003ccode\u003eNumStates\u003c/code\u003e, which defines the number of device states to be retrieved, with a maximum of 10.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListDeviceStatesRequest\u003c/code\u003e class has two constructors, a default constructor, and another that copies an existing \u003ccode\u003eListDeviceStatesRequest\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe Google.Cloud.Iot.V1 assembly contains the ListDeviceStatesRequest, available in different versions from 1.0.0 up to 2.2.0.\u003c/p\u003e\n"]]],[],null,[]]