| Field | Type | Required | Description |
|---|---|---|---|
mimeType |
Optional<String> | ➖ | The mime type of the snippets, currently either text/plain or text/html. |
text |
Optional<String> | ➖ | A matching snippet from the document with no highlights. |
snippetTextOrdering |
Optional<Long> | ➖ | Used for sorting based off the snippet's location within all_snippetable_text |
ranges |
List<TextRange> | ➖ | The bolded ranges within text. |
url |
Optional<String> | ➖ | A URL, generated based on availability, that links to the position of the snippet text or to the nearest header above the snippet text. |
snippet |
Optional<String> | ➖ | : warning: ** DEPRECATED **: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use 'text' field instead. A matching snippet from the document. Query term matches are marked by the unicode characters uE006 and uE007. Use 'text' field instead. |