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"]],[["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-03-21 UTC."],[[["This page details the `ListDeviceStatesRequest` class, which is used to request a list of device states within the Google Cloud IoT service."],["The `ListDeviceStatesRequest` class implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, enabling it to interact within the Google Protocol Buffers framework."],["Key properties of the `ListDeviceStatesRequest` include `Name`, which represents the required device name, and `NumStates`, which defines the number of device states to be retrieved, with a maximum of 10."],["The `ListDeviceStatesRequest` class has two constructors, a default constructor, and another that copies an existing `ListDeviceStatesRequest` object."],["The Google.Cloud.Iot.V1 assembly contains the ListDeviceStatesRequest, available in different versions from 1.0.0 up to 2.2.0."]]],[]]