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-04-17 UTC."],[[["This page provides documentation for the `ListDeviceStatesRequest` class within the Google Cloud IoT v1 API for .NET."],["The `ListDeviceStatesRequest` class is used to request a list of device states from the Cloud IoT service, and it implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["It 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."],["The class has properties such as `DeviceName`, `Name`, and `NumStates`, which allow you to specify the target device and the number of states to retrieve."],["The ListDeviceStatesRequest class has a constructor with no parameters and a constructor which takes another ListDeviceStatesRequest as a parameter."]]],[]]