| Field | Type | Required | Description | Example |
|---|---|---|---|---|
result |
String | ✔️ | N/A | |
keywords |
List<String> | ➖ | A list of all possible keywords for given result. | |
resultType |
Optional<AutocompleteResultResultType> | ➖ | N/A | |
score |
Optional<Double> | ➖ | Higher indicates a more confident match. | |
operatorMetadata |
Optional<OperatorMetadata> | ➖ | N/A | { "name": "Last Updated", "operatorType": "DATE", "scopes": [ { "datasource": "GDRIVE", "docType": "Document" }, { "datasource": "ZENDESK" } ] } |
quicklink |
Optional<Quicklink> | ➖ | An action for a specific datasource that will show up in autocomplete and app card, e.g. "Create new issue" for jira. | |
document |
Optional<Document> | ➖ | N/A | |
url |
Optional<String> | ➖ | N/A | |
structuredResult |
Optional<StructuredResult> | ➖ | A single object that can support any object in the work graph. Only a single object will be populated. | |
trackingToken |
Optional<String> | ➖ | A token to be passed in /feedback events associated with this autocomplete result. | |
ranges |
List<TextRange> | ➖ | Subsections of the result string to which some special formatting should be applied (eg. bold) |