# DisruptionEvent

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

DisruptionEvent is a notification sent to customers about the disruption event of a resource.

| JSON representation |
|---|
| ``` { "disruptionType": enum (`https://docs.cloud.google.com/kubernetes-engine/docs/reference/rest/v1/DisruptionType`), "pdbBlockedNode": string, "pdbBlockedPod": [ { object (`https://docs.cloud.google.com/kubernetes-engine/docs/reference/rest/v1/DisruptionEvent#PdbBlockedPod`) } ], "pdbViolationTimeout": string } ``` |

| Fields ||
|---|---|
| `disruptionType` | ``enum (`https://docs.cloud.google.com/kubernetes-engine/docs/reference/rest/v1/DisruptionType`)`` The type of the disruption event. |
| `pdbBlockedNode` | `string` The node whose drain is blocked by PDB. This field is set for both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event. |
| `pdbBlockedPod[]` | ``object (`https://docs.cloud.google.com/kubernetes-engine/docs/reference/rest/v1/DisruptionEvent#PdbBlockedPod`)`` The pods whose evictions are blocked by PDB. This field is set for both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event. |
| `pdbViolationTimeout` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#duration` format)`` The timeout in seconds for which the node drain is blocked by PDB. After this timeout, pods are forcefully evicted. This field is only populated when eventType is POD_PDB_VIOLATION. A duration in seconds with up to nine fractional digits, ending with '`s`'. Example: `"3.5s"`. |

## PdbBlockedPod

The namespace/name of the pod whose eviction is blocked by PDB.

| JSON representation |
|---|
| ``` { "namespace": string, "name": string } ``` |

| Fields ||
|---|---|
| `namespace` | `string` The namespace of the pod. |
| `name` | `string` The name of the pod. |