# Class UpdateWorkerPoolRequest (0.16.1)

0.16.1 (latest) 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.19 0.9.1 0.8.1 0.7.1 0.6.0 0.5.0 0.4.2 0.3.0 0.2.1 0.1.0

    UpdateWorkerPoolRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for updating a worker pool.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `update_mask` | `google.protobuf.field_mask_pb2.FieldMask` Optional. The list of fields to be updated. |
| `worker_pool` | `https://docs.cloud.google.com/python/docs/reference/run/latest/google.cloud.run_v2.types.WorkerPool` Required. The WorkerPool to be updated. |
| `validate_only` | `bool` Optional. Indicates that the request should be validated and default values populated, without persisting the request or updating any resources. |
| `allow_missing` | `bool` Optional. If set to true, and if the WorkerPool does not exist, it will create a new one. The caller must have 'run.workerpools.create' permissions if this is set to true and the WorkerPool does not exist. |
| `force_new_revision` | `bool` Optional. If set to true, a new revision will be created from the template even if the system doesn't detect any changes from the previously deployed revision. This may be useful for cases where the underlying resources need to be recreated or reinitialized. For example if the image is specified by label, but the underlying image digest has changed) or if the container performs deployment initialization work that needs to be performed again. |