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"]],[["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."],[[["The `ListDeviceStatesRequest` class is used to request a list of device states within the Cloud IoT v1 API, with the latest version being 2.2.0."],["This class implements multiple interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` to support various functionalities, including message handling, equality checks, deep cloning, and buffer management."],["It provides constructors to create an empty `ListDeviceStatesRequest` or one based on another `ListDeviceStatesRequest` object for replication."],["The class includes properties to specify the device's name (`Name` or `DeviceName`) and the number of states to retrieve (`NumStates`), allowing customization of the request."],["The most recent 6 version of the class are listed on the page, ranging from 2.2.0 down to 1.0.0."]]],[]]