[[["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 State (2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/php/docs/reference/cloud-osconfig/latest/V1.PatchJob.State)\n- [2.0.5](/php/docs/reference/cloud-osconfig/2.0.5/V1.PatchJob.State)\n- [1.3.5](/php/docs/reference/cloud-osconfig/1.3.5/V1.PatchJob.State)\n- [1.2.2](/php/docs/reference/cloud-osconfig/1.2.2/V1.PatchJob.State)\n- [1.1.1](/php/docs/reference/cloud-osconfig/1.1.1/V1.PatchJob.State)\n- [1.0.5](/php/docs/reference/cloud-osconfig/1.0.5/V1.PatchJob.State) \nReference documentation and code samples for the Google Cloud OsConfig V1 Client class State.\n\nEnumeration of the various states a patch job passes through as it\nexecutes.\n\nProtobuf type `google.cloud.osconfig.v1.PatchJob.State`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ OsConfig \\\\ V1 \\\\ PatchJob\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### STATE_UNSPECIFIED\n\n Value: 0\n\nState must be specified.\n\nGenerated from protobuf enum `STATE_UNSPECIFIED = 0;`\n\n### STARTED\n\n Value: 1\n\nThe patch job was successfully initiated.\n\nGenerated from protobuf enum `STARTED = 1;`\n\n### INSTANCE_LOOKUP\n\n Value: 2\n\nThe patch job is looking up instances to run the patch on.\n\nGenerated from protobuf enum `INSTANCE_LOOKUP = 2;`\n\n### PATCHING\n\n Value: 3\n\nInstances are being patched.\n\nGenerated from protobuf enum `PATCHING = 3;`\n\n### SUCCEEDED\n\n Value: 4\n\nPatch job completed successfully.\n\nGenerated from protobuf enum `SUCCEEDED = 4;`\n\n### COMPLETED_WITH_ERRORS\n\n Value: 5\n\nPatch job completed but there were errors.\n\nGenerated from protobuf enum `COMPLETED_WITH_ERRORS = 5;`\n\n### CANCELED\n\n Value: 6\n\nThe patch job was canceled.\n\nGenerated from protobuf enum `CANCELED = 6;`\n\n### TIMED_OUT\n\n Value: 7\n\nThe patch job timed out.\n\nGenerated from protobuf enum `TIMED_OUT = 7;`"]]