public sealed class ListDeviceStatesRequest : IMessage<ListDeviceStatesRequest>, IEquatable<ListDeviceStatesRequest>, IDeepCloneable<ListDeviceStatesRequest>, IBufferMessage, IMessage
Request for ListDeviceStates
.
Implements
IMessage<ListDeviceStatesRequest>, IEquatable<ListDeviceStatesRequest>, IDeepCloneable<ListDeviceStatesRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Iot.V1Assembly
Google.Cloud.Iot.V1.dll
Constructors
ListDeviceStatesRequest()
public ListDeviceStatesRequest()
ListDeviceStatesRequest(ListDeviceStatesRequest)
public ListDeviceStatesRequest(ListDeviceStatesRequest other)
Parameter | |
---|---|
Name | Description |
other | ListDeviceStatesRequest |
Properties
DeviceName
public DeviceName DeviceName { get; set; }
DeviceName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
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.
Property Value | |
---|---|
Type | Description |
Int32 |