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>
__.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
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 |
google.cloud.osconfig_v1.types.PatchInstanceFilter
Required. VM instances to patch. |
patch_config |
google.cloud.osconfig_v1.types.PatchConfig
Optional. Patch configuration that is applied. |
duration |
google.protobuf.duration_pb2.Duration
Optional. Duration of the patch. After the duration ends, the patch times out. |
one_time_schedule |
google.cloud.osconfig_v1.types.OneTimeSchedule
Required. Schedule a one-time execution. This field is a member of oneof _ schedule .
|
recurring_schedule |
google.cloud.osconfig_v1.types.RecurringSchedule
Required. Schedule recurring executions. This field is a member of oneof _ schedule .
|
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Time the patch deployment was created. Timestamp is in RFC3339 __ text
format.
|
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Time the patch deployment was last updated. Timestamp is in RFC3339 __ text
format.
|
last_execute_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The last time a patch job was started by this deployment. Timestamp is in RFC3339 __ text
format.
|
rollout |
google.cloud.osconfig_v1.types.PatchRollout
Optional. Rollout strategy of the patch job. |