Uri
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.
Biểu diễn dưới dạng JSON |
{
"kind": string,
"uri": string,
"description": string,
"localizedDescription": {
object (LocalizedString )
},
"id": string
} |
Trường |
kind (deprecated) |
string
Xác định loại tài nguyên này. Giá trị: chuỗi cố định "walletobjects#uri" .
|
uri |
string
Vị trí của một trang web, hình ảnh hoặc tài nguyên khác. URI trong mô-đun LinksModuleData có thể có nhiều tiền tố cho biết loại URI (đường liên kết đến trang web, đường liên kết đến bản đồ, số điện thoại hoặc địa chỉ email). URI phải có lược đồ.
|
description |
string
Tiêu đề của URI xuất hiện trong ứng dụng dưới dạng văn bản. Số ký tự tối đa được đề xuất là 20 ký tự để đảm bảo chuỗi đầy đủ hiển thị trên các màn hình nhỏ hơn. Xin lưu ý rằng trong một số trường hợp, văn bản này không được sử dụng, chẳng hạn như khi description là một phần của hình ảnh.
|
localizedDescription |
object (LocalizedString )
Các chuỗi được dịch cho nội dung mô tả. Số ký tự tối đa được đề xuất là 20 ký tự để đảm bảo chuỗi đầy đủ hiển thị trên các màn hình nhỏ hơn.
|
id |
string
Mã nhận dạng được liên kết với một URI. Trường này được dùng để cho phép dễ dàng quản lý URI.
|
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: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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. |"]]