public sealed class DeviceState : IMessage<DeviceState>, IEquatable<DeviceState>, IDeepCloneable<DeviceState>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud IoT v1 API class DeviceState.
The device state, as reported by the device.
Implements
IMessage<DeviceState>, IEquatable<DeviceState>, IDeepCloneable<DeviceState>, IBufferMessage, IMessageNamespace
Google.Cloud.Iot.V1Assembly
Google.Cloud.Iot.V1.dll
Constructors
DeviceState()
public DeviceState()
DeviceState(DeviceState)
public DeviceState(DeviceState other)
Parameter | |
---|---|
Name | Description |
other | DeviceState |
Properties
BinaryData
public ByteString BinaryData { get; set; }
The device state data.
Property Value | |
---|---|
Type | Description |
ByteString |
UpdateTime
public Timestamp UpdateTime { get; set; }
[Output only] The time at which this state version was updated in Cloud IoT Core.
Property Value | |
---|---|
Type | Description |
Timestamp |