title: Is there a way to update a Dataflow job using the gcloud command?
body: <p>I am trying to write a script to automate the deployment of a Java Dataflow job. The script creates a template and then uses the command </p>
  
  <pre><code>gcloud dataflow jobs run my-job --gcs-location=gs://my_bucket/template
  </code></pre>
  
  <p>The issue is, I want to update the job if the job already exists and it's running. I can do the update if I run the job via maven, but I need to do this via gcloud so I can have a service account for deployment and another one for running the job. I tried different things (adding --parameters update to the command line), but I always get an error. Is there a way to update a Dataflow job exclusively via gcloud dataflow jobs run?</p>