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.
2355 2356 2357 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2355 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
2343 2344 2345 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2343 def event_time @event_time end |
#session_state ⇒ String
Output only. The session_state tracked by this event
Corresponds to the JSON property sessionState
2348 2349 2350 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2348 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
2353 2354 2355 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2353 def @state_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2360 2361 2362 2363 2364 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2360 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 |