# StateCondition

- [JSON representation](https://docs.cloud.google.com/eventarc/docs/reference/rest/Shared.Types/StateCondition#SCHEMA_REPRESENTATION)

A condition that is part of the trigger state computation.

| JSON representation |
|---|
| ``` { "code": enum (`https://docs.cloud.google.com/eventarc/docs/reference/rest/Shared.Types/Code`), "message": string } ``` |

| Fields ||
|---|---|
| `code` | ``enum (`https://docs.cloud.google.com/eventarc/docs/reference/rest/Shared.Types/Code`)`` The canonical code of the condition. |
| `message` | `string` Human-readable message. |