Image
Typ pakowania obrazów hostowanych przez Google. Następny identyfikator: 7
Zapis JSON |
{
"kind": string,
"sourceUri": {
object (ImageUri )
},
"contentDescription": {
object (LocalizedString )
}
} |
Pola |
kind (deprecated) |
string
Określa rodzaj danego zasobu. Wartość: ustalony ciąg znaków "walletobjects#image" .
|
sourceUri |
object (ImageUri )
Identyfikator URI obrazu.
|
contentDescription |
object (LocalizedString )
Opis obrazu używanego na potrzeby ułatwień dostępu.
|
ImageUri
Zapis JSON |
{
"uri": string,
"description": string,
"localizedDescription": {
object (LocalizedString )
}
} |
Pola |
uri |
string
Lokalizacja obrazu. Identyfikatory URI muszą mieć schemat.
|
description (deprecated) |
string
Dodatkowe informacje o obrazie, które nie są używane i zostały zachowane tylko po to, by zapewnić zgodność wsteczną.
|
localizedDescription (deprecated) |
object (LocalizedString )
Przetłumaczone ciągi znaków opisu. Nie są używane i zostały zachowane tylko po to, by zapewnić zgodność wsteczną.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-13 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]