Submits a Pyspark job to a Dataproc cluster.
Code sample
Python
Before trying this sample, follow the Python setup instructions in the Dataproc Quickstart Using Client Libraries. For more information, see the Dataproc Python API reference documentation.