[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-12 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003ePatchJob\u003c/code\u003e class within the Google Cloud OS Config v1 API, which represents a high-level view of an in-progress or completed patch job.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePatchJob\u003c/code\u003e class offers properties such as \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eDuration\u003c/code\u003e, and \u003ccode\u003eState\u003c/code\u003e to provide comprehensive details about a patch job.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers the \u003ccode\u003ePatchJob\u003c/code\u003e class's implementation of interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, along with its constructors and inherited members.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePatchJob\u003c/code\u003e class includes a collection of versions, ranging from the latest 2.4.0 down to 1.3.0, each linked to their respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003ePatchJob\u003c/code\u003e class allows for the configuration of various settings, including \u003ccode\u003eInstanceFilter\u003c/code\u003e, \u003ccode\u003ePatchConfig\u003c/code\u003e, and \u003ccode\u003eRollout\u003c/code\u003e, to customize how the patch is applied to instances.\u003c/p\u003e\n"]]],[],null,["# Google Cloud OS Config v1 API - Class PatchJob (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.PatchJob)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.4.0/Google.Cloud.OsConfig.V1.PatchJob)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.3.0/Google.Cloud.OsConfig.V1.PatchJob)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.2.0/Google.Cloud.OsConfig.V1.PatchJob)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.1.0/Google.Cloud.OsConfig.V1.PatchJob)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.0.0/Google.Cloud.OsConfig.V1.PatchJob)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.8.0/Google.Cloud.OsConfig.V1.PatchJob)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.7.0/Google.Cloud.OsConfig.V1.PatchJob)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.6.0/Google.Cloud.OsConfig.V1.PatchJob)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.5.0/Google.Cloud.OsConfig.V1.PatchJob)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.4.0/Google.Cloud.OsConfig.V1.PatchJob)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.3.0/Google.Cloud.OsConfig.V1.PatchJob) \n\n public sealed class PatchJob : IMessage\u003cPatchJob\u003e, IEquatable\u003cPatchJob\u003e, IDeepCloneable\u003cPatchJob\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud OS Config v1 API class PatchJob.\n\nA high level representation of a patch job that is either in progress\nor has completed.\n\nInstance details are not included in the job. To paginate through instance\ndetails, use ListPatchJobInstanceDetails.\n\nFor more information about patch jobs, see\n[Creating patch\njobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-job). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PatchJob \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PatchJob](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.PatchJob), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PatchJob](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.PatchJob), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PatchJob](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.PatchJob), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.OsConfig.V1](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.OsConfig.V1.dll\n\nConstructors\n------------\n\n### PatchJob()\n\n public PatchJob()\n\n### PatchJob(PatchJob)\n\n public PatchJob(PatchJob other)\n\nProperties\n----------\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nTime this patch job was created.\n\n### Description\n\n public string Description { get; set; }\n\nDescription of the patch job. Length of the description is limited\nto 1024 characters.\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nDisplay name for this patch job. This is not a unique identifier.\n\n### DryRun\n\n public bool DryRun { get; set; }\n\nIf this patch job is a dry run, the agent reports that it has\nfinished without running any updates on the VM instance.\n\n### Duration\n\n public Duration Duration { get; set; }\n\nDuration of the patch job. After the duration ends, the\npatch job times out.\n\n### ErrorMessage\n\n public string ErrorMessage { get; set; }\n\nIf this patch job failed, this message provides information about the\nfailure.\n\n### InstanceDetailsSummary\n\n public PatchJob.Types.InstanceDetailsSummary InstanceDetailsSummary { get; set; }\n\nSummary of instance details.\n\n### InstanceFilter\n\n public PatchInstanceFilter InstanceFilter { get; set; }\n\nInstances to patch.\n\n### Name\n\n public string Name { get; set; }\n\nUnique identifier for this patch job in the form\n`projects/*/patchJobs/*`\n\n### PatchConfig\n\n public PatchConfig PatchConfig { get; set; }\n\nPatch configuration being applied.\n\n### PatchDeployment\n\n public string PatchDeployment { get; set; }\n\nOutput only. Name of the patch deployment that created this patch job.\n\n### PatchDeploymentAsPatchDeploymentName\n\n public PatchDeploymentName PatchDeploymentAsPatchDeploymentName { get; set; }\n\n[PatchDeploymentName](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.PatchDeploymentName)-typed view over the [PatchDeployment](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.PatchJob#Google_Cloud_OsConfig_V1_PatchJob_PatchDeployment) resource name property.\n\n### PatchJobName\n\n public PatchJobName PatchJobName { get; set; }\n\n[PatchJobName](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.PatchJobName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.PatchJob#Google_Cloud_OsConfig_V1_PatchJob_Name) resource name property.\n\n### PercentComplete\n\n public double PercentComplete { get; set; }\n\nReflects the overall progress of the patch job in the range of\n0.0 being no progress to 100.0 being complete.\n\n### Rollout\n\n public PatchRollout Rollout { get; set; }\n\nRollout strategy being applied.\n\n### State\n\n public PatchJob.Types.State State { get; set; }\n\nThe current state of the PatchJob.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nLast time this patch job was updated."]]