Image
Jenis penggabungan untuk gambar yang dihosting Google. ID Berikutnya: 7
Representasi JSON |
{
"kind": string,
"sourceUri": {
object (ImageUri )
},
"contentDescription": {
object (LocalizedString )
}
} |
Kolom |
kind (deprecated) |
string
Mengidentifikasi jenis resource ini. Nilai: string tetap "walletobjects#image" .
|
sourceUri |
object (ImageUri )
URI untuk gambar.
|
contentDescription |
object (LocalizedString )
Deskripsi gambar yang digunakan untuk aksesibilitas.
|
ImageUri
Representasi JSON |
{
"uri": string,
"description": string,
"localizedDescription": {
object (LocalizedString )
}
} |
Kolom |
uri |
string
Lokasi gambar. URI harus memiliki skema.
|
description (deprecated) |
string
Informasi tambahan tentang gambar, yang tidak digunakan dan dipertahankan hanya untuk kompatibilitas mundur.
|
localizedDescription (deprecated) |
object (LocalizedString )
String terjemahan untuk deskripsi, yang tidak digunakan dan hanya disimpan untuk kompatibilitas mundur.
|
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-11-13 UTC.
[null,null,["Terakhir diperbarui pada 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"]]