diff --git a/packages/google-cloud-dataproc/google/cloud/dataproc_v1/proto/clusters_pb2.py b/packages/google-cloud-dataproc/google/cloud/dataproc_v1/proto/clusters_pb2.py index c97bff9786be..509e3a223e9a 100644 --- a/packages/google-cloud-dataproc/google/cloud/dataproc_v1/proto/clusters_pb2.py +++ b/packages/google-cloud-dataproc/google/cloud/dataproc_v1/proto/clusters_pb2.py @@ -3355,11 +3355,11 @@ completed. By default, executables are run on master and all worker nodes. You can test a node’s ``role`` metadata to run an executable on a master or worker node, as shown below using - ``curl`` (you can also use ``wget``): ROLE=\ :math:`(curl -H - Metadata-Flavor:Google http://metadata/computeMetadata/v1/ins - tance/attributes/dataproc-role) if [[ "`\ {ROLE}" == ‘Master’ - ]]; then … master specific actions … else … worker specific - actions … fi + ``curl`` (you can also use ``wget``): :: ROLE=$(curl -H + Metadata-Flavor:Google http://metadata/computeMetadata/v1/i + nstance/attributes/dataproc-role) if [[ "${ROLE}" == + 'Master' ]]; then ... master specific actions ... else + ... worker specific actions ... fi encryption_config: Optional. Encryption settings for the cluster. autoscaling_config: diff --git a/packages/google-cloud-dataproc/synth.metadata b/packages/google-cloud-dataproc/synth.metadata index 9de5c41bd9f9..52c264ed6cf3 100644 --- a/packages/google-cloud-dataproc/synth.metadata +++ b/packages/google-cloud-dataproc/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/python-dataproc.git", - "sha": "5cf831f5c97a1607b34c710ba47edbbf89b1c13d" + "sha": "8ea85136fa2daceff4558c683dad112c8c542dc6" } }, {