Class DeviceState (1.0.0)

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

The device state, as reported by the device.

Inheritance

System.Object > DeviceState

Implements

Google.Protobuf.IMessage<DeviceState>, System.IEquatable<DeviceState>, Google.Protobuf.IDeepCloneable<DeviceState>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

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
Google.Protobuf.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
Google.Protobuf.WellKnownTypes.Timestamp