Class: Google::Apis::TestingV1::SessionStateEvent
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::SessionStateEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/testing_v1/classes.rb,
lib/google/apis/testing_v1/representations.rb,
lib/google/apis/testing_v1/representations.rb
Overview
A message encapsulating a series of Session states and the time that the DeviceSession first entered those states.
Instance Attribute Summary collapse
-
#event_time ⇒ String
Output only.
-
#session_state ⇒ String
Output only.
-
#state_message ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SessionStateEvent
constructor
A new instance of SessionStateEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SessionStateEvent
Returns a new instance of SessionStateEvent.
2302 2303 2304 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2302 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event_time ⇒ String
Output only. The time that the session_state first encountered that state.
Corresponds to the JSON property eventTime
2290 2291 2292 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2290 def event_time @event_time end |
#session_state ⇒ String
Output only. The session_state tracked by this event
Corresponds to the JSON property sessionState
2295 2296 2297 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2295 def session_state @session_state end |
#state_message ⇒ String
Output only. A human-readable message to explain the state.
Corresponds to the JSON property stateMessage
2300 2301 2302 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2300 def @state_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2307 2308 2309 2310 2311 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2307 def update!(**args) @event_time = args[:event_time] if args.key?(:event_time) @session_state = args[:session_state] if args.key?(:session_state) @state_message = args[:state_message] if args.key?(:state_message) end |