PatchDeployment class

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.


PatchDeployment.fromJson(Map _json)


createTime String
Output only. Time the patch deployment was created. Timestamp is in RFC3339 text format.
read / write
description String
Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
read / write
duration String
Optional. Duration of the patch. After the duration ends, the patch times out.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
instanceFilter PatchInstanceFilter
Required. VM instances to patch.
read / write
lastExecuteTime String
Output only. The last time a patch job was started by this deployment. Timestamp is in RFC3339 text format.
read / write
name String
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.
read / write
oneTimeSchedule OneTimeSchedule
Required. Schedule a one-time execution.
read / write
patchConfig PatchConfig
Optional. Patch configuration that is applied.
read / write
recurringSchedule RecurringSchedule
Required. Schedule recurring executions.
read / write
rollout PatchRollout
Optional. Rollout strategy of the patch job.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
updateTime String
Output only. Time the patch deployment was last updated. Timestamp is in RFC3339 text format.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]