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}.
Property Value
Type
Description
System.String
NumStates
public int NumStates { get; set; }
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 document provides information about the `ListDeviceStatesRequest` class, which is part of the Google Cloud IoT V1 library, specifically within version 2.0.0."],["`ListDeviceStatesRequest` is used to request a list of device states and implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class inherits from `Object` and includes properties like `DeviceName`, `Name`, and `NumStates`, with `Name` being a required field for specifying the device's resource name."],["The `NumStates` property determines how many device states to list, with a maximum of 10, and if set to zero, it returns all available states."],["There are multiple previous versions of `ListDeviceStatesRequest` available for access, in addition to the latest version 2.2.0."]]],[]]