Creates an upload session to start uploading photo bytes. The method uses the upload URL of the returned
UploadRef to upload the bytes for the
In addition to the photo requirements shown in https://support.google.com/maps/answer/7012050?ref_topic=6275604, the photo must meet the following requirements:
- Photo Sphere XMP metadata must be included in the photo metadata. See https://developers.google.com/streetview/spherical-metadata for the required fields.
- The pixel size of the photo must meet the size requirements listed in https://support.google.com/maps/answer/7012050?ref_topic=6275604, and the photo must be a full 360 horizontally.
After the upload completes, the method uses
photo.create to create the
Photo object entry.
The URL uses gRPC Transcoding syntax.
The request body must be empty.
If successful, the response body contains an instance of
Requires the following OAuth scope:
For more information, see the OAuth 2.0 Overview.