code: public final Job updateJob(Job job, FieldMask updateMask) {
  
      UpdateJobRequest request =
          UpdateJobRequest.newBuilder().setJob(job).setUpdateMask(updateMask).build();
      return updateJob(request);
    }
docs: Updates a job.
  
  <p>If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is returned. If the job
  does not exist, `NOT_FOUND` is returned.
  
  <p>If UpdateJob does not successfully return, it is possible for the job to be in an
  [Job.State.UPDATE_FAILED][google.cloud.scheduler.v1beta1.Job.State.UPDATE_FAILED] state. A job
  in this state may not be executed. If this happens, retry the UpdateJob request until a
  successful response is received.
  
  <p>Sample code:
  
  <pre><code>
  try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) {
  Job job = Job.newBuilder().build();
  FieldMask updateMask = FieldMask.newBuilder().build();
  Job response = cloudSchedulerClient.updateJob(job, updateMask);
  }
  </code></pre>
  
  @param job Required.
  <p>The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be
  specified.
  <p>Output only fields cannot be modified using UpdateJob. Any value specified for an output
  only field will be ignored.
  @param updateMask A mask used to specify which fields of the job are being updated.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails