Cloud IoT v1 API - Class DeviceState (2.1.0)

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.

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