SearchResponse
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
การตอบกลับคำขอการค้นหาสำหรับผู้ใช้ที่ตรวจสอบสิทธิ์แล้ว เมื่อมีคำค้นหา
SearchResult
การแสดง JSON |
{
"person": {
object (Person )
}
} |
ช่อง |
person |
object (Person )
บุคคลที่ตรงกัน
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-21 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]