Uri
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
การแสดง JSON |
{
"kind": string,
"uri": string,
"description": string,
"localizedDescription": {
object (LocalizedString )
},
"id": string
} |
ช่อง |
kind (deprecated) |
string
ระบุว่าทรัพยากรนี้เป็นประเภทใด ค่า: สตริงคงที่ "walletobjects#uri"
|
uri |
string
ตำแหน่งของหน้าเว็บ รูปภาพ หรือแหล่งข้อมูลอื่นๆ URI ในโมดูล LinksModuleData อาจมีคำนำหน้าที่แตกต่างกันซึ่งระบุประเภทของ URI (ลิงก์ไปยังหน้าเว็บ ลิงก์ไปยังแผนที่ หมายเลขโทรศัพท์ หรืออีเมล) URI ต้องมีรูปแบบ
|
description |
string
ชื่อของ URI ที่ปรากฏในแอปเป็นข้อความ แนะนำให้มีอักขระสูงสุด 20 ตัวเพื่อให้มั่นใจว่าสตริงทั้งหมดจะแสดงในหน้าจอขนาดเล็ก โปรดทราบว่าในบางบริบท ระบบจะไม่ใช้ข้อความนี้ เช่น เมื่อ description เป็นส่วนหนึ่งของรูปภาพ
|
localizedDescription |
object (LocalizedString )
สตริงที่แปลแล้วสำหรับคำอธิบาย แนะนำให้มีอักขระสูงสุด 20 ตัวเพื่อให้มั่นใจว่าสตริงทั้งหมดจะแสดงในหน้าจอขนาดเล็ก
|
id |
string
รหัสที่เชื่อมโยงกับ URI ช่องนี้มีไว้เพื่อให้จัดการ URI ได้ง่าย
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eURI provides a way to link external resources like web pages, images, maps, or contact information within a Wallet Object.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a URI, description, localized descriptions, and an optional ID for management purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ekind\u003c/code\u003e field is deprecated and should not be used.\u003c/p\u003e\n"],["\u003cp\u003eDescriptions should be kept concise, ideally under 20 characters, for optimal display.\u003c/p\u003e\n"],["\u003cp\u003eLocalized descriptions allow for tailoring the URI's title for different languages.\u003c/p\u003e\n"]]],["The JSON representation defines a resource with fields for `kind` (deprecated), `uri`, `description`, `localizedDescription`, and `id`. `uri` stores the location of a web resource, while `description` and `localizedDescription` provide textual titles, with a 20-character recommendation. The `id` field enables easier URI management. The `kind` identifies the resource type, but is marked as deprecated. Various URI prefixes indicate the link's nature (web, map, phone, email).\n"],null,["# Uri\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"uri\": string, \"description\": string, \"localizedDescription\": { object (/wallet/reference/rest/v1/LocalizedString) }, \"id\": string } ``` |\n\n| Fields ||\n|-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` **(deprecated)** | `string` | This item is deprecated! Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#uri\"`. |\n| `uri` | `string` The location of a web page, image, or other resource. URIs in the `LinksModuleData` module can have different prefixes indicating the type of URI (a link to a web page, a link to a map, a telephone number, or an email address). URIs must have a scheme. |\n| `description` | `string` The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image. |\n| `localizedDescription` | `object (`[LocalizedString](/wallet/reference/rest/v1/LocalizedString)`)` Translated strings for the description. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. |\n| `id` | `string` The ID associated with a uri. This field is here to enable ease of management of uris. |"]]