PatchJob class

A high level representation of a patch job that is either in progress or has completed. Instance details are not included in the job. To paginate through instance details, use ListPatchJobInstanceDetails. For more information about patch jobs, see Creating patch jobs.


PatchJob.fromJson(Map _json)


createTime String
Time this patch job was created.
read / write
description String
Description of the patch job. Length of the description is limited to 1024 characters.
read / write
displayName String
Display name for this patch job. This is not a unique identifier.
read / write
dryRun bool
If this patch job is a dry run, the agent reports that it has finished without running any updates on the VM instance.
read / write
duration String
Duration of the patch job. After the duration ends, the patch job times out.
read / write
errorMessage String
If this patch job failed, this message provides information about the failure.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
instanceDetailsSummary PatchJobInstanceDetailsSummary
Summary of instance details.
read / write
instanceFilter PatchInstanceFilter
Instances to patch.
read / write
name String
Unique identifier for this patch job in the form projects / * /patchJobs / *
read / write
patchConfig PatchConfig
Patch configuration being applied.
read / write
patchDeployment String
Output only. Name of the patch deployment that created this patch job.
read / write
percentComplete double
Reflects the overall progress of the patch job in the range of 0.0 being no progress to 100.0 being complete.
read / write
rollout PatchRollout
Rollout strategy being applied.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state String
The current state of the PatchJob. Possible string values are: [...]
read / write
updateTime String
Last time this patch job was updated.
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. [...]