diff --git a/google/cloud/dataproc_v1/proto/clusters_pb2.py b/google/cloud/dataproc_v1/proto/clusters_pb2.py index 845ea5a5..d23317d5 100644 --- a/google/cloud/dataproc_v1/proto/clusters_pb2.py +++ b/google/cloud/dataproc_v1/proto/clusters_pb2.py @@ -3590,11 +3590,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/synth.metadata b/synth.metadata index 6045f07e..d2f13b19 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/python-dataproc.git", - "sha": "69424f2d7735fece95620520fc83ecf88bde7fbb" + "sha": "65c277120e136edd5648047fcb85f8d0cd104408" } }, { @@ -15,6 +15,13 @@ "internalRef": "324941614" } }, + { + "git": { + "name": "synthtool", + "remote": "https://github.com/googleapis/synthtool.git", + "sha": "5f2f711c91199ba2f609d3f06a2fe22aee4e5be3" + } + }, { "git": { "name": "synthtool",