public sealed class PatchJobInstanceDetails : IMessage<PatchJobInstanceDetails>, IEquatable<PatchJobInstanceDetails>, IDeepCloneable<PatchJobInstanceDetails>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud OS Config v1 API class PatchJobInstanceDetails.
[[["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\u003eThe latest version of the \u003ccode\u003ePatchJobInstanceDetails\u003c/code\u003e class in the Google Cloud OS Config v1 API is 2.4.0, with several previous versions available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePatchJobInstanceDetails\u003c/code\u003e provides detailed information about a VM instance's patch status within a patch job.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class, providing methods such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003ePatchJobInstanceDetails\u003c/code\u003e class include \u003ccode\u003eAttemptCount\u003c/code\u003e, \u003ccode\u003eFailureReason\u003c/code\u003e, \u003ccode\u003eInstanceName\u003c/code\u003e, \u003ccode\u003eInstanceSystemId\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eState\u003c/code\u003e, providing comprehensive details about the patch attempt.\u003c/p\u003e\n"],["\u003cp\u003eThe class also includes a constructor for creating new instances, either empty or based on an existing \u003ccode\u003ePatchJobInstanceDetails\u003c/code\u003e object, allowing for flexibility in creation.\u003c/p\u003e\n"]]],[],null,["# Google Cloud OS Config v1 API - Class PatchJobInstanceDetails (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.PatchJobInstanceDetails)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.4.0/Google.Cloud.OsConfig.V1.PatchJobInstanceDetails)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.3.0/Google.Cloud.OsConfig.V1.PatchJobInstanceDetails)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.2.0/Google.Cloud.OsConfig.V1.PatchJobInstanceDetails)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.1.0/Google.Cloud.OsConfig.V1.PatchJobInstanceDetails)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.0.0/Google.Cloud.OsConfig.V1.PatchJobInstanceDetails)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.8.0/Google.Cloud.OsConfig.V1.PatchJobInstanceDetails)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.7.0/Google.Cloud.OsConfig.V1.PatchJobInstanceDetails)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.6.0/Google.Cloud.OsConfig.V1.PatchJobInstanceDetails)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.5.0/Google.Cloud.OsConfig.V1.PatchJobInstanceDetails)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.4.0/Google.Cloud.OsConfig.V1.PatchJobInstanceDetails)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.3.0/Google.Cloud.OsConfig.V1.PatchJobInstanceDetails) \n\n public sealed class PatchJobInstanceDetails : IMessage\u003cPatchJobInstanceDetails\u003e, IEquatable\u003cPatchJobInstanceDetails\u003e, IDeepCloneable\u003cPatchJobInstanceDetails\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud OS Config v1 API class PatchJobInstanceDetails.\n\nPatch details for a VM instance. For more information about reviewing VM\ninstance details, see\n[Listing all VM instance details for a specific patch\njob](https://cloud.google.com/compute/docs/os-patch-management/manage-patch-jobs#list-instance-details). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PatchJobInstanceDetails \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PatchJobInstanceDetails](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.PatchJobInstanceDetails), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PatchJobInstanceDetails](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.PatchJobInstanceDetails), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PatchJobInstanceDetails](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.PatchJobInstanceDetails), [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### PatchJobInstanceDetails()\n\n public PatchJobInstanceDetails()\n\n### PatchJobInstanceDetails(PatchJobInstanceDetails)\n\n public PatchJobInstanceDetails(PatchJobInstanceDetails other)\n\nProperties\n----------\n\n### AttemptCount\n\n public long AttemptCount { get; set; }\n\nThe number of times the agent that the agent attempts to apply the patch.\n\n### FailureReason\n\n public string FailureReason { get; set; }\n\nIf the patch fails, this field provides the reason.\n\n### InstanceName\n\n public InstanceName InstanceName { get; set; }\n\n[InstanceName](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.InstanceName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.PatchJobInstanceDetails#Google_Cloud_OsConfig_V1_PatchJobInstanceDetails_Name) resource name property.\n\n### InstanceSystemId\n\n public string InstanceSystemId { get; set; }\n\nThe unique identifier for the instance. This identifier is\ndefined by the server.\n\n### Name\n\n public string Name { get; set; }\n\nThe instance name in the form `projects/*/zones/*/instances/*`\n\n### State\n\n public Instance.Types.PatchState State { get; set; }\n\nCurrent state of instance patch."]]