# CustomCheck

- [JSON representation](https://docs.cloud.google.com/deploy/docs/api/reference/rest/v1/CustomCheck#SCHEMA_REPRESENTATION)

CustomCheck configures a third-party metric provider to run the analysis, via a Task that runs at a specified frequency.

| JSON representation |
|---|
| ``` { "id": string, "frequency": string, "task": { object (`https://docs.cloud.google.com/deploy/docs/api/reference/rest/v1/Task`) } } ``` |

| Fields ||
|---|---|
| `id` | `string` Required. The ID of the custom Analysis check. |
| `frequency` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#duration` format)`` Optional. The frequency at which the custom check will be run, with a minimum and default of 5 minutes. A duration in seconds with up to nine fractional digits, ending with '`s`'. Example: `"3.5s"`. |
| `task` | ``object (`https://docs.cloud.google.com/deploy/docs/api/reference/rest/v1/Task`)`` Required. The Task to be run for this custom check. |