Class: Google::Apis::DataprocV1::SessionStateHistory
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::SessionStateHistory
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb
Overview
Historical state information.
Instance Attribute Summary collapse
-
#state ⇒ String
Output only.
-
#state_message ⇒ String
Output only.
-
#state_start_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SessionStateHistory
constructor
A new instance of SessionStateHistory.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SessionStateHistory
Returns a new instance of SessionStateHistory.
7590 7591 7592 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7590 def initialize(**args) update!(**args) end |
Instance Attribute Details
#state ⇒ String
Output only. The state of the session at this point in the session history.
Corresponds to the JSON property state
7578 7579 7580 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7578 def state @state end |
#state_message ⇒ String
Output only. Details about the state at this point in the session history.
Corresponds to the JSON property stateMessage
7583 7584 7585 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7583 def @state_message end |
#state_start_time ⇒ String
Output only. The time when the session entered the historical state.
Corresponds to the JSON property stateStartTime
7588 7589 7590 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7588 def state_start_time @state_start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7595 7596 7597 7598 7599 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7595 def update!(**args) @state = args[:state] if args.key?(:state) @state_message = args[:state_message] if args.key?(:state_message) @state_start_time = args[:state_start_time] if args.key?(:state_start_time) end |