Uri
JSON representation |
{
"kind": string,
"uri": string,
"description": string,
"localizedDescription": {
object (LocalizedString )
},
"id": string
} |
Fields |
kind (deprecated) |
string
Identifies what kind of resource this is. Value: the fixed string "walletobjects#uri" .
|
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.
|
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.
|
localizedDescription |
object (LocalizedString )
Translated strings for the description. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens.
|
id |
string
The ID associated with a uri. This field is here to enable ease of management of uris.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-13 UTC.
[null,null,["Last updated 2025-03-13 UTC."],[[["URI provides a way to link external resources like web pages, images, maps, or contact information within a Wallet Object."],["It includes a URI, description, localized descriptions, and an optional ID for management purposes."],["The `kind` field is deprecated and should not be used."],["Descriptions should be kept concise, ideally under 20 characters, for optimal display."],["Localized descriptions allow for tailoring the URI's title for different languages."]]],["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"]]