[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud OsConfig V1 Client - Class PatchJobInstanceDetails (2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/php/docs/reference/cloud-osconfig/latest/V1.PatchJobInstanceDetails)\n- [2.0.5](/php/docs/reference/cloud-osconfig/2.0.5/V1.PatchJobInstanceDetails)\n- [1.3.5](/php/docs/reference/cloud-osconfig/1.3.5/V1.PatchJobInstanceDetails)\n- [1.2.2](/php/docs/reference/cloud-osconfig/1.2.2/V1.PatchJobInstanceDetails)\n- [1.1.1](/php/docs/reference/cloud-osconfig/1.1.1/V1.PatchJobInstanceDetails)\n- [1.0.5](/php/docs/reference/cloud-osconfig/1.0.5/V1.PatchJobInstanceDetails) \nReference documentation and code samples for the Google Cloud OsConfig V1 Client 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\nGenerated from protobuf message `google.cloud.osconfig.v1.PatchJobInstanceDetails`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ OsConfig \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nThe instance name in the form `projects/*/zones/*/instances/*`\n\n### setName\n\nThe instance name in the form `projects/*/zones/*/instances/*`\n\n### getInstanceSystemId\n\nThe unique identifier for the instance. This identifier is\ndefined by the server.\n\n### setInstanceSystemId\n\nThe unique identifier for the instance. This identifier is\ndefined by the server.\n\n### getState\n\nCurrent state of instance patch.\n\n### setState\n\nCurrent state of instance patch.\n\n### getFailureReason\n\nIf the patch fails, this field provides the reason.\n\n### setFailureReason\n\nIf the patch fails, this field provides the reason.\n\n### getAttemptCount\n\nThe number of times the agent that the agent attempts to apply the patch.\n\n### setAttemptCount\n\nThe number of times the agent that the agent attempts to apply the patch."]]