Class UpdateClusterRequest (0.7.0)

A request to update a cluster.

Required. The 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 .. 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 Resize secondary worker group .. raw:: html
config.autoscaling_config.policy_uri .. raw:: html Use, stop using, or change autoscaling policies .. raw:: html