Class DeviceState (1.2.0)

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

The device state, as reported by the device.

Inheritance

Object > DeviceState

Namespace

Google.Cloud.Iot.V1

Assembly

Google.Cloud.Iot.V1.dll

Constructors

DeviceState()

public DeviceState()

DeviceState(DeviceState)

public DeviceState(DeviceState other)
Parameter
NameDescription
otherDeviceState

Properties

BinaryData

public ByteString BinaryData { get; set; }

The device state data.

Property Value
TypeDescription
ByteString

UpdateTime

public Timestamp UpdateTime { get; set; }

[Output only] The time at which this state version was updated in Cloud IoT Core.

Property Value
TypeDescription
Timestamp