Image
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
// Union field image can be only one of the following:
"uri": string,
"data": string
// End of list of possible types for union field image .
} |
字段 |
联合字段 image 。 image 只能是下列其中一项:
|
uri |
string
通常是可通过网络请求的 URI。
|
data |
string (bytes format)
图片的原始字节。 使用 base64 编码的字符串。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-26。"],[],["The content describes a JSON structure for representing a product image. The `image` field is a union type, meaning it can hold only one value at a time. This value can be either a `uri`, a string representing a web-requestable URI, or `data`, a string containing the image's raw bytes in base64 encoding. The structure allows for either referencing an image via a web link or embedding the image data directly.\n"]]