Image
Google 托管的图片的封装类型。下一个 ID:7
JSON 表示法 |
{
"kind": string,
"sourceUri": {
object (ImageUri )
},
"contentDescription": {
object (LocalizedString )
}
} |
字段 |
kind (deprecated) |
string
表明这是哪类资源。值:固定字符串 "walletobjects#image" 。
|
sourceUri |
object (ImageUri )
图片的 URI。
|
contentDescription |
object (LocalizedString )
用于确保可访问性的图片的说明。
|
ImageUri
JSON 表示法 |
{
"uri": string,
"description": string,
"localizedDescription": {
object (LocalizedString )
}
} |
字段 |
uri |
string
图片的位置。URI 必须要有架构。
|
description (deprecated) |
string
有关图片的附加信息,目前不使用,仅为保证向后兼容性而保留。
|
localizedDescription (deprecated) |
object (LocalizedString )
说明的已翻译字符串,目前不使用,仅为保证向后兼容性而保留。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-13。
[null,null,["最后更新时间 (UTC):2024-11-13。"],[[["`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"]]