PhotoView
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Określa widok Photo
, który ma być uwzględniony w odpowiedzi.
Wartości w polu enum |
BASIC |
Odpowiedzi serwera nie zawierają adresu URL pobierania. Wartość domyślna. |
INCLUDE_DOWNLOAD_URL |
Odpowiedzi serwera zawierają adres URL pobierania (w bajtach zdjęć). |
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-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003ePhoto response can be customized to include or exclude the download URL for the photo bytes.\u003c/p\u003e\n"],["\u003cp\u003eBy default, the server response will not include the download URL (\u003ccode\u003eBASIC\u003c/code\u003e view).\u003c/p\u003e\n"],["\u003cp\u003eUsing \u003ccode\u003eINCLUDE_DOWNLOAD_URL\u003c/code\u003e enum will explicitly include the download URL in the server response.\u003c/p\u003e\n"]]],["The content defines options for the response view of a `Photo` object. `BASIC`, the default, omits the photo's download URL. `INCLUDE_DOWNLOAD_URL` includes the download URL in the server response. This controls whether the server provides the direct link to retrieve the photo's data when responding to a request about the `Photo`.\n"],null,["# PhotoView\n\nSpecifies which view of the [Photo](/streetview/publish/reference/rest/v1/photo#Photo) to include in the response.\n\n| Enums ||\n|------------------------|------------------------------------------------------------------------------------------|\n| `BASIC` | Server responses do not include the download URL for the photo bytes. The default value. |\n| `INCLUDE_DOWNLOAD_URL` | Server responses include the download URL for the photo bytes. |"]]