SearchResponse
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
SearchResult
JSON 表示法 |
{
"person": {
object (Person )
}
} |
欄位 |
person |
object (Person )
相符的「使用者」。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-21 (世界標準時間)。
[null,null,["上次更新時間:2024-08-21 (世界標準時間)。"],[[["\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. |"]]