Image
Wrapping type for Google hosted images.
JSON representation |
{
"kind": string,
"sourceUri": {
object (ImageUri )
},
"contentDescription": {
object (LocalizedString )
}
} |
Fields |
kind (deprecated) |
string
Identifies what kind of resource this is. Value: the fixed string "walletobjects#image" .
|
sourceUri |
object (ImageUri )
The URI for the image.
|
contentDescription |
object (LocalizedString )
Description of the image used for accessibility.
|
ImageUri
JSON representation |
{
"uri": string,
"description": string,
"localizedDescription": {
object (LocalizedString )
}
} |
Fields |
uri |
string
The location of the image. URIs must have a scheme.
|
description (deprecated) |
string
Additional information about the image, which is unused and retained only for backward compatibility.
|
localizedDescription (deprecated) |
object (LocalizedString )
Translated strings for the description, which are unused and retained only for backward compatibility.
|
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-18 UTC.
[null,null,["Last updated 2025-03-18 UTC."],[[["`Image` object wraps Google hosted images and includes the image URI, and an optional content description."],["The `ImageUri` object defines the location (URI) of the image."],["Both `Image` and `ImageUri` objects include deprecated fields for backward compatibility."]]],["The core content describes the JSON structure for representing images, including `Image` and `ImageUri` types. The `Image` object contains a deprecated `kind` field, a `sourceUri` (an `ImageUri` object), and a `contentDescription` (a `LocalizedString` object). `ImageUri` includes a `uri` (the image's location) and deprecated `description` and `localizedDescription` fields. The `Image` is designed to show Google-hosted images, with the `uri` field specifying the image location.\n"]]