title: Add shutdown script to Dataproc instance
body: <p>I am creating Dataproc clusters via REST API (of ZEPPELIN type). Before shutdown I would like to copy some setting to GS (for example Interpreter instance) and then load it after startup. Initialization part is easy with <code>initializationActions</code> option, but I can't find any option to set some script that will be executed on one of the nodes just before shutdown. Computation instance itself contains such option (<a href="https://cloud.google.com/compute/docs/shutdownscript" rel="nofollow noreferrer">https://cloud.google.com/compute/docs/shutdownscript</a>) but how to integrate it with cluster creation via REST API?</p>
  
  <p>Should I perform additional REST call like <a href="https://cloud.google.com/compute/docs/startupscript#startupscriptrunninginstances" rel="nofollow noreferrer">https://cloud.google.com/compute/docs/startupscript#startupscriptrunninginstances</a> after cluster is created?</p>