Class ExecutePatchJobRequest (1.16.0)

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

A request message to initiate patching across Compute Engine instances.

Attributes

NameDescription
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 google.cloud.osconfig_v1.types.PatchInstanceFilter
Required. Instances to patch, either explicitly or filtered by some criteria such as zone or labels.
patch_config 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 google.cloud.osconfig_v1.types.PatchRollout
Rollout strategy of the patch job.