# Class Diagnostic (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.1 1.12.0 1.11.0 1.10.1 1.8.5 1.7.0 1.6.1 1.5.1 1.4.0 1.3.3 1.2.3 1.1.1 1.0.4 0.1.0

    Diagnostic(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a diagnostic message (error or warning)

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `location` | `str` File name and line number of the error or warning. |
| `kind` | `https://docs.cloud.google.com/python/docs/reference/servicemanagement/latest/google.cloud.servicemanagement_v1.types.Diagnostic.Kind` The kind of diagnostic information provided. |
| `message` | `str` Message describing the error or warning. |

## Classes

### Kind

    Kind(value)

The kind of diagnostic information possible.