Note: This documentation set is for the Standard, Plus, Pay-as-you-go, and Frontline editions of Gemini Enterprise. For the Business edition documentation, see the Gemini Enterprise - Business edition Help Center.
Document captures all raw metadata information of items to be recommended or searched.
JSON representation
{"document": string,// The following is a list of mutually exclusive fields. At most one of the// fields will be set in a response:"jsonData": string// End of mutually exclusive fields.}
Fields
document
string
Required. Full resource name of the referenced document, in the format projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*.
Output format of the processed document. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
jsonData
string
The JSON string representation of the processed document.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-09-03 UTC."],[],[]]