Generated from protobuf enumPATCH_STATE_UNSPECIFIED = 0;
PENDING
Value: 1
The instance is not yet notified.
Generated from protobuf enumPENDING = 1;
INACTIVE
Value: 2
Instance is inactive and cannot be patched.
Generated from protobuf enumINACTIVE = 2;
NOTIFIED
Value: 3
The instance is notified that it should be patched.
Generated from protobuf enumNOTIFIED = 3;
STARTED
Value: 4
The instance has started the patching process.
Generated from protobuf enumSTARTED = 4;
DOWNLOADING_PATCHES
Value: 5
The instance is downloading patches.
Generated from protobuf enumDOWNLOADING_PATCHES = 5;
APPLYING_PATCHES
Value: 6
The instance is applying patches.
Generated from protobuf enumAPPLYING_PATCHES = 6;
REBOOTING
Value: 7
The instance is rebooting.
Generated from protobuf enumREBOOTING = 7;
SUCCEEDED
Value: 8
The instance has completed applying patches.
Generated from protobuf enumSUCCEEDED = 8;
SUCCEEDED_REBOOT_REQUIRED
Value: 9
The instance has completed applying patches but a reboot is required.
Generated from protobuf enumSUCCEEDED_REBOOT_REQUIRED = 9;
FAILED
Value: 10
The instance has failed to apply the patch.
Generated from protobuf enumFAILED = 10;
ACKED
Value: 11
The instance acked the notification and will start shortly.
Generated from protobuf enumACKED = 11;
TIMED_OUT
Value: 12
The instance exceeded the time out while applying the patch.
Generated from protobuf enumTIMED_OUT = 12;
RUNNING_PRE_PATCH_STEP
Value: 13
The instance is running the pre-patch step.
Generated from protobuf enumRUNNING_PRE_PATCH_STEP = 13;
RUNNING_POST_PATCH_STEP
Value: 14
The instance is running the post-patch step.
Generated from protobuf enumRUNNING_POST_PATCH_STEP = 14;
NO_AGENT_DETECTED
Value: 15
The service could not detect the presence of the agent. Check to ensure
that the agent is installed, running, and able to communicate with the
service.
Generated from protobuf enumNO_AGENT_DETECTED = 15;
[[["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 PatchState (2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/php/docs/reference/cloud-osconfig/latest/V1.Instance.PatchState)\n- [2.0.5](/php/docs/reference/cloud-osconfig/2.0.5/V1.Instance.PatchState)\n- [1.3.5](/php/docs/reference/cloud-osconfig/1.3.5/V1.Instance.PatchState)\n- [1.2.2](/php/docs/reference/cloud-osconfig/1.2.2/V1.Instance.PatchState)\n- [1.1.1](/php/docs/reference/cloud-osconfig/1.1.1/V1.Instance.PatchState)\n- [1.0.5](/php/docs/reference/cloud-osconfig/1.0.5/V1.Instance.PatchState) \nReference documentation and code samples for the Google Cloud OsConfig V1 Client class PatchState.\n\nPatch state of an instance.\n\nProtobuf type `google.cloud.osconfig.v1.Instance.PatchState`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ OsConfig \\\\ V1 \\\\ Instance\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### PATCH_STATE_UNSPECIFIED\n\n Value: 0\n\nUnspecified.\n\nGenerated from protobuf enum `PATCH_STATE_UNSPECIFIED = 0;`\n\n### PENDING\n\n Value: 1\n\nThe instance is not yet notified.\n\nGenerated from protobuf enum `PENDING = 1;`\n\n### INACTIVE\n\n Value: 2\n\nInstance is inactive and cannot be patched.\n\nGenerated from protobuf enum `INACTIVE = 2;`\n\n### NOTIFIED\n\n Value: 3\n\nThe instance is notified that it should be patched.\n\nGenerated from protobuf enum `NOTIFIED = 3;`\n\n### STARTED\n\n Value: 4\n\nThe instance has started the patching process.\n\nGenerated from protobuf enum `STARTED = 4;`\n\n### DOWNLOADING_PATCHES\n\n Value: 5\n\nThe instance is downloading patches.\n\nGenerated from protobuf enum `DOWNLOADING_PATCHES = 5;`\n\n### APPLYING_PATCHES\n\n Value: 6\n\nThe instance is applying patches.\n\nGenerated from protobuf enum `APPLYING_PATCHES = 6;`\n\n### REBOOTING\n\n Value: 7\n\nThe instance is rebooting.\n\nGenerated from protobuf enum `REBOOTING = 7;`\n\n### SUCCEEDED\n\n Value: 8\n\nThe instance has completed applying patches.\n\nGenerated from protobuf enum `SUCCEEDED = 8;`\n\n### SUCCEEDED_REBOOT_REQUIRED\n\n Value: 9\n\nThe instance has completed applying patches but a reboot is required.\n\nGenerated from protobuf enum `SUCCEEDED_REBOOT_REQUIRED = 9;`\n\n### FAILED\n\n Value: 10\n\nThe instance has failed to apply the patch.\n\nGenerated from protobuf enum `FAILED = 10;`\n\n### ACKED\n\n Value: 11\n\nThe instance acked the notification and will start shortly.\n\nGenerated from protobuf enum `ACKED = 11;`\n\n### TIMED_OUT\n\n Value: 12\n\nThe instance exceeded the time out while applying the patch.\n\nGenerated from protobuf enum `TIMED_OUT = 12;`\n\n### RUNNING_PRE_PATCH_STEP\n\n Value: 13\n\nThe instance is running the pre-patch step.\n\nGenerated from protobuf enum `RUNNING_PRE_PATCH_STEP = 13;`\n\n### RUNNING_POST_PATCH_STEP\n\n Value: 14\n\nThe instance is running the post-patch step.\n\nGenerated from protobuf enum `RUNNING_POST_PATCH_STEP = 14;`\n\n### NO_AGENT_DETECTED\n\n Value: 15\n\nThe service could not detect the presence of the agent. Check to ensure\nthat the agent is installed, running, and able to communicate with the\nservice.\n\nGenerated from protobuf enum `NO_AGENT_DETECTED = 15;`"]]