class Google::Apis::DataprocV1::JobStatus

Cloud Dataproc job status.

Attributes

details[RW]
Optional

Job state details, such as an error description if the state is

ERROR. Corresponds to the JSON property `details` @return [String]

state[RW]
Required

A state message specifying the overall job state.

Corresponds to the JSON property `state` @return [String]

state_start_time[RW]
Output-only

The time when this state was entered.

Corresponds to the JSON property `stateStartTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/dataproc_v1/classes.rb, line 1247
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dataproc_v1/classes.rb, line 1252
def update!(**args)
  @state = args[:state] if args.key?(:state)
  @details = args[:details] if args.key?(:details)
  @state_start_time = args[:state_start_time] if args.key?(:state_start_time)
end