Reference documentation and code samples for the Cloud IoT V1 API class Google::Cloud::Iot::V1::DeviceState.
The device state, as reported by the device.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#binary_data
def binary_data() -> ::String
Returns
- (::String) — The device state data.
#binary_data=
def binary_data=(value) -> ::String
Parameter
- value (::String) — The device state data.
Returns
- (::String) — The device state data.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — [Output only] The time at which this state version was updated in Cloud IoT Core.
#update_time=
def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — [Output only] The time at which this state version was updated in Cloud IoT Core.
Returns
- (::Google::Protobuf::Timestamp) — [Output only] The time at which this state version was updated in Cloud IoT Core.