FetchDocumentsResponse
Stay organized with collections
Save and categorize content based on your preferences.
Response message for HomepageDataService.FetchDocuments
method.
JSON representation |
{
"results": [
{
object (Result )
}
]
} |
Fields |
results[] |
object (Result )
A list of results. The order represents the ranking of results.
|
Result
Defines a single result being returned from the homepage data service.
Fields |
documentType |
enum (DocumentType )
The type of document.
|
document |
object (Document )
Contains the document data.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-03 UTC.
[[["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 2025-03-03 UTC."],[[["The `HomepageDataService.FetchDocuments` method returns a JSON response containing a list of results."],["Each result in the list is an object that represents a single item returned by the homepage data service."],["The order of results in the list indicates their ranking."],["Each result object includes the `documentType` and the `document` itself, containing relevant document data."],["The `documentType` field is an enum indicating the document type, while the `document` field contains the document details."]]],[]]