Class PatchDeployment (1.1.0)

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

Patch deployments are configurations that individual patch jobs use to complete a patch. These configurations include instance filter, package repository settings, and a schedule. For more information about creating and managing patch deployments, see Scheduling patch jobs <https://cloud.google.com/compute/docs/os-patch-management/schedule-patch-jobs>__.

Attributes

NameDescription
name str
Unique name for the patch deployment resource in a project. The patch deployment name is in the form: projects/{project_id}/patchDeployments/{patch_deployment_id}. This field is ignored when you create a new patch deployment.
description str
Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
instance_filter .patch_jobs.PatchInstanceFilter
Required. VM instances to patch.
patch_config .patch_jobs.PatchConfig
Optional. Patch configuration that is applied.
duration .gp_duration.Duration
Optional. Duration of the patch. After the duration ends, the patch times out.
one_time_schedule .gco_patch_deployments.OneTimeSchedule
Required. Schedule a one-time execution.
recurring_schedule .gco_patch_deployments.RecurringSchedule
Required. Schedule recurring executions.
create_time .timestamp.Timestamp
Output only. Time the patch deployment was created. Timestamp is in RFC3339 __ text format.
update_time .timestamp.Timestamp
Output only. Time the patch deployment was last updated. Timestamp is in RFC3339 __ text format.
last_execute_time .timestamp.Timestamp
Output only. The last time a patch job was started by this deployment. Timestamp is in RFC3339 __ text format.
rollout .patch_jobs.PatchRollout
Optional. Rollout strategy of the patch job.