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 شناسه مرتبط با ادرار. این زمینه اینجاست تا مدیریت uris را آسان کند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]