Class ListDeviceStatesRequest (2.0.0)

public sealed class ListDeviceStatesRequest : IMessage<ListDeviceStatesRequest>, IEquatable<ListDeviceStatesRequest>, IDeepCloneable<ListDeviceStatesRequest>, IBufferMessage, IMessage

Request for ListDeviceStates.

Inheritance

Object > ListDeviceStatesRequest

Namespace

Google.Cloud.Iot.V1

Assembly

Google.Cloud.Iot.V1.dll

Constructors

ListDeviceStatesRequest()

public ListDeviceStatesRequest()

ListDeviceStatesRequest(ListDeviceStatesRequest)

public ListDeviceStatesRequest(ListDeviceStatesRequest other)
Parameter
NameDescription
otherListDeviceStatesRequest

Properties

DeviceName

public DeviceName DeviceName { get; set; }

DeviceName-typed view over the Name resource name property.

Property Value
TypeDescription
DeviceName

Name

public string Name { get; set; }

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
TypeDescription
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.

Property Value
TypeDescription
Int32