QueryDiagnostic is a datatype for a diagnostic message from query validation.

This datatype is used by two datatypes: QueryValidationResult, which is used by the validateQuery() query field; and SourceEventsQueryResultType, which is ultimately used by the queryAnalysis() query field.

Table: QueryDiagnostic

ParameterTypeRequiredDefaultStabilityDescription
Some input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for the results.
Table last updated: Oct 2, 2024
codestringyes PreviewThe code returned for the diagnostic. This is a preview for internal testing.
messagestringyes PreviewThe message for the query diagnostic. This is a preview for internal testing.
severitySeverityyes PreviewThe severity of the diagnostic. See Severity.