Class: Google::Apis::DataprocV1beta2::JobStatus
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DataprocV1beta2::JobStatus
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/dataproc_v1beta2/classes.rb,
generated/google/apis/dataproc_v1beta2/representations.rb,
generated/google/apis/dataproc_v1beta2/representations.rb 
Overview
Cloud Dataproc job status.
Instance Attribute Summary collapse
- 
  
    
      #details  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #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.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ JobStatus
Returns a new instance of JobStatus
      1257 1258 1259  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1257 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#details ⇒ String
Output only. Optional job state details, such as an error description if the
state is ERROR.
Corresponds to the JSON property details
      1239 1240 1241  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1239 def details @details end  | 
  
#state ⇒ String
Output only. A state message specifying the overall job state.
Corresponds to the JSON property state
      1244 1245 1246  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1244 def state @state end  | 
  
#state_start_time ⇒ String
Output only. The time when this state was entered.
Corresponds to the JSON property stateStartTime
      1249 1250 1251  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1249 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
      1255 1256 1257  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1255 def substate @substate end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1262 1263 1264 1265 1266 1267  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1262 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  |