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.
2329 2330 2331 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2329 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
2317 2318 2319 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2317 def event_time @event_time end |
#session_state ⇒ String
Output only. The session_state tracked by this event
Corresponds to the JSON property sessionState
2322 2323 2324 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2322 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
2327 2328 2329 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2327 def @state_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2334 2335 2336 2337 2338 |
# File 'lib/google/apis/testing_v1/classes.rb', line 2334 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 |