SearchResponse
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Phản hồi cho yêu cầu tìm kiếm người dùng đã xác thực, dựa trên một truy vấn.
Biểu diễn dưới dạng JSON |
{
"results": [
{
object (SearchResult )
}
]
} |
SearchResult
Kết quả của một cụm từ tìm kiếm.
Biểu diễn dưới dạng JSON |
{
"person": {
object (Person )
}
} |
Trường |
person |
object (Person )
Người trùng khớp.
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-08-21 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-08-21 UTC."],[[["\u003cp\u003eThis documentation details the response to a search request, providing the structure of the returned data in JSON format.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes a list of search results, with each result containing information about a matched person.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSearchResult\u003c/code\u003e object within the response provides access to the detailed \u003ccode\u003ePerson\u003c/code\u003e object, which contains further information about the individual.\u003c/p\u003e\n"]]],["The core content defines the structure of a search response. A search request returns a JSON object containing an array of `results`. Each `result` is a `SearchResult` object, which in turn contains a `person` object. The `results` array holds the matched people found from the search query, with each person represented by their respective object. The schema is described using JSON.\n"],null,["# SearchResponse\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [SearchResult](#SearchResult)\n - [JSON representation](#SearchResult.SCHEMA_REPRESENTATION)\n\nThe response to a search request for the authenticated user, given a query.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------|\n| ``` { \"results\": [ { object (/people/api/rest/v1/SearchResponse#SearchResult) } ] } ``` |\n\n| Fields ||\n|-------------|----------------------------------------------------------------------------------------------------------|\n| `results[]` | `object (`[SearchResult](/people/api/rest/v1/SearchResponse#SearchResult)`)` The results of the request. |\n\nSearchResult\n------------\n\nA result of a search query.\n\n| JSON representation |\n|----------------------------------------------------------------------|\n| ``` { \"person\": { object (/people/api/rest/v1/people#Person) } } ``` |\n\n| Fields ||\n|----------|------------------------------------------------------------------------------|\n| `person` | `object (`[Person](/people/api/rest/v1/people#Person)`)` The matched Person. |"]]