Class: Google::Apis::DataprocV1beta2::JobStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataproc_v1beta2/classes.rb,
lib/google/apis/dataproc_v1beta2/representations.rb,
lib/google/apis/dataproc_v1beta2/representations.rb

Overview

Dataproc job status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ JobStatus

Returns a new instance of JobStatus.



1822
1823
1824
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 1822

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

Instance Attribute Details

#detailsString

Output only. Optional Job state details, such as an error description if the state is ERROR. Corresponds to the JSON property details

Returns:

  • (String)


1804
1805
1806
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 1804

def details
  @details
end

#stateString

Output only. A state message specifying the overall job state. Corresponds to the JSON property state

Returns:

  • (String)


1809
1810
1811
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 1809

def state
  @state
end

#state_start_timeString

Output only. The time when this state was entered. Corresponds to the JSON property stateStartTime

Returns:

  • (String)


1814
1815
1816
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 1814

def state_start_time
  @state_start_time
end

#substateString

Output only. Additional state information, which includes status reported by the agent. Corresponds to the JSON property substate

Returns:

  • (String)


1820
1821
1822
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 1820

def substate
  @substate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1827
1828
1829
1830
1831
1832
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 1827

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