A request to update a cluster.
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
Mask .. raw:: html | Purpose .. raw:: html |
labels .. raw:: html | Updates 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.lifecycle_config.auto_delete_ttl .. raw:: html | Reset MAX TTL duration .. raw:: html |
config.lifecycle_config.auto_delete_time .. raw:: html | Update MAX TTL deletion timestamp .. raw:: html |
config.lifecycle_config.idle_delete_ttl .. raw:: html | Update Idle TTL duration .. raw:: html |
config.autoscaling_config.policy_uri .. raw:: html | Use, stop using, or change autoscaling policies .. raw:: html |