class Google::Apis::DataprocV1::JobReference
Encapsulates the full scoping used to reference a job.
Attributes
job_id[RW]
- Required
-
The job ID, which must be unique within the project. The job ID is
generated by the server upon job submission or provided by the user as a means to perform retries without creating duplicate jobs. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 512 characters. Corresponds to the JSON property `jobId` @return [String]
project_id[RW]
- Required
-
The ID of the Google Cloud Platform project that the job belongs to.
Corresponds to the JSON property `projectId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/dataproc_v1/classes.rb, line 757 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/dataproc_v1/classes.rb, line 762 def update!(**args) @project_id = args[:project_id] if args.key?(:project_id) @job_id = args[:job_id] if args.key?(:job_id) end