- [JSON representation](https://docs.cloud.google.com/kubernetes-engine/docs/reference/rest/v1/UpgradeEvent#SCHEMA_REPRESENTATION)

UpgradeEvent is a notification sent to customers by the cluster server when a resource is upgrading.

| JSON representation |
|---|
| ``` { "resourceType": enum (`https://docs.cloud.google.com/kubernetes-engine/docs/reference/rest/v1/UpgradeResourceType`), "operation": string, "operationStartTime": string, "currentVersion": string, "targetVersion": string, "currentEmulatedVersion": string, "targetEmulatedVersion": string, "resource": string } ``` |

| Fields ||
|---|---|
| `resourceType` | ``enum (`https://docs.cloud.google.com/kubernetes-engine/docs/reference/rest/v1/UpgradeResourceType`)`` The resource type that is upgrading. |
| `operation` | `string` The operation associated with this upgrade. |
| `operationStartTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The time when the operation was started. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `currentVersion` | `string` The current version before the upgrade. |
| `targetVersion` | `string` The target version for the upgrade. |
| `currentEmulatedVersion` | `string` Output only. The current emulated version before the upgrade. |
| `targetEmulatedVersion` | `string` Output only. The target emulated version for the upgrade. |
| `resource` | `string` Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool. |