# Class CompilationDiagnostic (0.6.0)

0.6.0 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

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

CompilationDiagnostic represents a compilation diagnostic
generated during a rule's compilation, such as a compilation
error or a compilation warning.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `message` | `str` Output only. The diagnostic message. |
| `position` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-chronicle/latest/google.cloud.chronicle_v1.types.CompilationPosition` Output only. The approximate position in the rule text associated with the compilation diagnostic. Compilation Position may be empty. |
| `severity` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-chronicle/latest/google.cloud.chronicle_v1.types.CompilationDiagnostic.Severity` Output only. The severity of a rule's compilation diagnostic. |
| `uri` | `str` Output only. Link to documentation that describes a diagnostic in more detail. |

## Classes

### Severity

    Severity(value)

The severity level of the compilation diagnostic.