Reference documentation and code samples for the Device Streaming V1 API class Google::Cloud::DeviceStreaming::V1::DeviceSession::SessionStateEvent.
A message encapsulating a series of Session states and the time that the DeviceSession first entered those states.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#event_time
def event_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time that the session_state first encountered that state.
#session_state
def session_state() -> ::Google::Cloud::DeviceStreaming::V1::DeviceSession::SessionState
Returns
- (::Google::Cloud::DeviceStreaming::V1::DeviceSession::SessionState) — Output only. The session_state tracked by this event
#state_message
def state_message() -> ::String
Returns
- (::String) — Output only. A human-readable message to explain the state.