Image
ประเภทการตัดรูปภาพสำหรับรูปภาพที่โฮสต์โดย Google รหัสถัดไป: 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 Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-13 UTC
[null,null,["อัปเดตล่าสุด 2024-11-13 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"]]