Class: Google::Apis::RunV1::RunJobRequest

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

Overview

Request message for creating a new execution of a job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RunJobRequest

Returns a new instance of RunJobRequest.



2898
2899
2900
# File 'lib/google/apis/run_v1/classes.rb', line 2898

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

Instance Attribute Details

#overridesGoogle::Apis::RunV1::Overrides

RunJob Overrides that contains Execution fields to be overridden on the go. Corresponds to the JSON property overrides



2896
2897
2898
# File 'lib/google/apis/run_v1/classes.rb', line 2896

def overrides
  @overrides
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2903
2904
2905
# File 'lib/google/apis/run_v1/classes.rb', line 2903

def update!(**args)
  @overrides = args[:overrides] if args.key?(:overrides)
end