Class: Google::Apis::DataprocV1::JobStatus
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::JobStatus
- 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
Dataproc job status.
Instance Attribute Summary collapse
-
#details ⇒ String
Optional.
-
#state ⇒ String
Output only.
-
#state_start_time ⇒ String
Output only.
-
#substate ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JobStatus
constructor
A new instance of JobStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JobStatus
Returns a new instance of JobStatus.
2463 2464 2465 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2463 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ String
Optional. Output only. Job state details, such as an error description if the
state is ERROR.
Corresponds to the JSON property details
2445 2446 2447 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2445 def details @details end |
#state ⇒ String
Output only. A state message specifying the overall job state.
Corresponds to the JSON property state
2450 2451 2452 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2450 def state @state end |
#state_start_time ⇒ String
Output only. The time when this state was entered.
Corresponds to the JSON property stateStartTime
2455 2456 2457 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2455 def state_start_time @state_start_time end |
#substate ⇒ String
Output only. Additional state information, which includes status reported by
the agent.
Corresponds to the JSON property substate
2461 2462 2463 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2461 def substate @substate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2468 2469 2470 2471 2472 2473 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2468 def update!(**args) @details = args[:details] if args.key?(:details) @state = args[:state] if args.key?(:state) @state_start_time = args[:state_start_time] if args.key?(:state_start_time) @substate = args[:substate] if args.key?(:substate) end |