Class: Google::Apis::DataprocV1beta2::JobScheduling
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DataprocV1beta2::JobScheduling
 
- 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
Job scheduling options.
Instance Attribute Summary collapse
- 
  
    
      #max_failures_per_hour  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ JobScheduling 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of JobScheduling. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ JobScheduling
Returns a new instance of JobScheduling
| 1128 1129 1130 | # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1128 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#max_failures_per_hour ⇒ Fixnum
Optional. Maximum number of times per hour a driver may be restarted as a
result of driver terminating with non-zero code before job is reported failed.
A job may be reported as thrashing if driver exits with non-zero code 4 times
within 10 minute window.Maximum value is 10.
Corresponds to the JSON property maxFailuresPerHour
| 1126 1127 1128 | # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1126 def max_failures_per_hour @max_failures_per_hour end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1133 1134 1135 | # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 1133 def update!(**args) @max_failures_per_hour = args[:max_failures_per_hour] if args.key?(:max_failures_per_hour) end |