# Class ExecutePatchJobRequest (1.25.0)

1.25.0 (latest) 1.24.0 1.23.0 1.22.0 1.21.0 1.20.2 1.19.0 1.18.1 1.17.5 1.16.0 1.15.3 1.14.1 1.13.0 1.12.4 1.11.2 1.10.0 1.9.0 1.8.0 1.7.1 1.6.0 1.5.2 1.4.0 1.3.2 1.2.0 1.1.0 1.0.0 0.1.2

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

A request message to initiate patching across Compute Engine
instances.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `parent` | `str` Required. The project in which to run this patch in the form `projects/*` |
| `description` | `str` Description of the patch job. Length of the description is limited to 1024 characters. |
| `instance_filter` | `https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.PatchInstanceFilter` Required. Instances to patch, either explicitly or filtered by some criteria such as zone or labels. |
| `patch_config` | `https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.PatchConfig` Patch configuration being applied. If omitted, instances are patched using the default configurations. |
| `duration` | `google.protobuf.duration_pb2.Duration` Duration of the patch job. After the duration ends, the patch job times out. |
| `dry_run` | `bool` If this patch is a dry-run only, instances are contacted but will do nothing. |
| `display_name` | `str` Display name for this patch job. This does not have to be unique. |
| `rollout` | `https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.PatchRollout` Rollout strategy of the patch job. |