EntityDisplay
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
องค์ประกอบที่จะแสดงบนผืนผ้าใบเมื่อดึงเอนทิตีของประเภทหนึ่งๆ ออกจากคำค้นหา เกี่ยวข้องกับแอปที่เปิดใช้ Canvas เท่านั้น ข้อความนี้แปลได้
การแสดง YAML |
iconTitle: string
iconUrl: string |
ช่อง |
iconTitle |
string
ไม่บังคับ ชื่อไอคอน
|
iconUrl |
string
ต้องระบุ URL ของไอคอน
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eDefines elements for visual representation of extracted entities on a canvas within canvas-enabled apps.\u003c/p\u003e\n"],["\u003cp\u003eUses YAML to specify an icon's title (optional) and its URL (required) for display.\u003c/p\u003e\n"],["\u003cp\u003eThis configuration is localizable, allowing for adaptation to different languages or regions.\u003c/p\u003e\n"]]],["The document outlines the YAML representation for displaying elements on a canvas when a specific entity type is extracted. It defines two fields: `iconTitle` (optional string, the icon's title) and `iconUrl` (required string, the icon's URL). This information is applicable to canvas-enabled applications and is localizable, allowing customization of the visual representation of extracted entities.\n"],null,["# EntityDisplay\n\n- [YAML representation](#SCHEMA_REPRESENTATION)\n\nElements that will be displayed on the canvas once a particular type's entity is extracted from a query. Only relevant for canvas enabled apps. **This message is localizable.**\n\n| YAML representation ||\n|-------------------------------------------|---|\n| ``` iconTitle: string iconUrl: string ``` |\n\n| Fields ||\n|-------------|---------------------------------------|\n| `iconTitle` | `string` Optional. Title of the icon. |\n| `iconUrl` | `string` Required. Url of the icon. |"]]