Required. The Cloud Dataproc region in which to handle the
request.
Required. The changes to the cluster.
Required. Specifies the path, relative to Cluster, of the
field to update. For example, to change the number of workers
in a cluster to 5, the update_mask parameter would be
specified as config.worker_config.num_instances, and the
PATCH request body would specify the new value, as
follows: :: { "config":{ "workerConfig":{
"numInstances":"5" } } } Similarly, to
change the number of preemptible workers in a cluster to 5,
the update_mask parameter would be
config.secondary_worker_config.num_instances, and the
PATCH request body would be set as follows: :: {
"config":{ "secondaryWorkerConfig":{
"numInstances":"5" } } } Note: Currently,
only the following fields can be updated: .. raw:: html
.. raw:: html .. raw:: html ..
raw:: html .. raw::
html .. raw:: html
.. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw::
html .. raw:: html
.. raw:: html .. raw:: html .. raw:: html
.. raw:: html .. raw:: html .. raw:: html .. raw::
html .. raw:: html
Mask .. raw:: html
Purpose .. raw:: html
labels
.. raw:: html
Update labels
.. raw:: html
config.worker_config.num_instances .. raw:: html
Resize primary worker group .. raw::
html
config.secondary_worker_config.num_instances .. raw:: html
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-09 UTC."],[],[]]