class Google::Apis::DataprocV1beta2::SubmitJobRequest

A request to submit a job.

Attributes

job[RW]

A Dataproc job resource. Corresponds to the JSON property `job` @return [Google::Apis::DataprocV1beta2::Job]

request_id[RW]

Optional. A unique id used to identify the request. If the server receives two SubmitJobRequest (cloud.google.com/dataproc/docs/reference/rpc/google. cloud.dataproc.v1beta2#google.cloud.dataproc.v1.SubmitJobRequest)s with the same id, then the second request will be ignored and the first Job created and stored in the backend is returned.It is recommended to always set this value to a UUID (en.wikipedia.org/wiki/Universally_unique_identifier).The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. Corresponds to the JSON property `requestId` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataproc_v1beta2/classes.rb, line 3337
def update!(**args)
  @job = args[:job] if args.key?(:job)
  @request_id = args[:request_id] if args.key?(:request_id)
end