PhotoView
Stay organized with collections
Save and categorize content based on your preferences.
Specifies which view of the Photo
to include in the response.
Enums |
BASIC |
Server responses do not include the download URL for the photo bytes. The default value. |
INCLUDE_DOWNLOAD_URL |
Server responses include the download URL for the photo bytes. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 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. |"]]