REST Resource: projects.patchJobs.instanceDetails Stay organized with collections Save and categorize content based on your preferences.
Resource: PatchJobInstanceDetails
Patch details for a VM instance. For more information about reviewing VM instance details, seeListing all VM instance details for a specific patch job.
| JSON representation |
|---|
{"name":string,"instanceSystemId":string,"state":enum ( |
| Fields | |
|---|---|
name |
The instance name in the form |
instanceSystemId |
The unique identifier for the instance. This identifier is defined by the server. |
state |
Current state of instance patch. |
failureReason |
If the patch fails, this field provides the reason. |
attemptCount |
The number of times the agent that the agent attempts to apply the patch. |
PatchState
Patch state of an instance.
| Enums | |
|---|---|
PATCH_STATE_UNSPECIFIED | Unspecified. |
PENDING | The instance is not yet notified. |
INACTIVE | Instance is inactive and cannot be patched. |
NOTIFIED | The instance is notified that it should be patched. |
STARTED | The instance has started the patching process. |
DOWNLOADING_PATCHES | The instance is downloading patches. |
APPLYING_PATCHES | The instance is applying patches. |
REBOOTING | The instance is rebooting. |
SUCCEEDED | The instance has completed applying patches. |
SUCCEEDED_REBOOT_REQUIRED | The instance has completed applying patches but a reboot is required. |
FAILED | The instance has failed to apply the patch. |
ACKED | The instance acked the notification and will start shortly. |
TIMED_OUT | The instance exceeded the time out while applying the patch. |
RUNNING_PRE_PATCH_STEP | The instance is running the pre-patch step. |
RUNNING_POST_PATCH_STEP | The instance is running the post-patch step. |
NO_AGENT_DETECTED | 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. |
SKIPPED | The instance was skipped during patching due to one of two reasons:
|
Methods | |
|---|---|
| Get a list of instance details for a given patch job. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-17 UTC.