# ServiceContextFilter

- [JSON representation](https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/ServiceContextFilter#SCHEMA_REPRESENTATION)

Specifies criteria for filtering a subset of service contexts. The fields in the filter correspond to the fields in `ServiceContext`. Only exact, case-sensitive matches are supported. If a field is unset or empty, it matches arbitrary values.

| JSON representation |
|---|
| ``` { "service": string, "version": string, "resourceType": string } ``` |

| Fields ||
|---|---|
| `service` | `string` Optional. The exact value to match against [`ServiceContext.service`](https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). |
| `version` | `string` Optional. The exact value to match against [`ServiceContext.version`](https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). |
| `resourceType` | `string` Optional. The exact value to match against [`ServiceContext.resource_type`](https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). |