Class: Google::Apis::DataprocV1::SessionStateHistory

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SessionStateHistory

Returns a new instance of SessionStateHistory.



5091
5092
5093
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5091

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#stateString

Output only. The state of the session at this point in the session history. Corresponds to the JSON property state

Returns:

  • (String)


5079
5080
5081
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5079

def state
  @state
end

#state_messageString

Output only. Details about the state at this point in the session history. Corresponds to the JSON property stateMessage

Returns:

  • (String)


5084
5085
5086
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5084

def state_message
  @state_message
end

#state_start_timeString

Output only. The time when the session entered the historical state. Corresponds to the JSON property stateStartTime

Returns:

  • (String)


5089
5090
5091
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5089

def state_start_time
  @state_start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5096
5097
5098
5099
5100
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5096

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