Image
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Obraz produktu przedstawiony bezpośrednio jako bajty lub identyfikator URI.
Zapis 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 .
} |
Pola |
Pole unii image . image może mieć tylko jedną z tych wartości:
|
uri |
string
Zwykle identyfikator URI, do którego można wysłać żądanie internetowe.
|
data |
string (bytes format)
Surowe bajty obrazu. Ciąg tekstowy zakodowany w formacie Base64.
|
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: 2025-07-26 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-26 UTC."],[],["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"]]