public function startUpload(Google_Service_StreetViewPublish_StreetviewpublishEmpty $postBody, $optParams = array())
  {
    $params = array('postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('startUpload', array($params), "Google_Service_StreetViewPublish_UploadRef");
  }
public function startUpload(Google_Service_StreetViewPublish_StreetviewpublishEmpty $postBody, $optParams = array())
  {
    $params = array('postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('startUpload', array($params), "Google_Service_StreetViewPublish_UploadRef");
  }
public function startUpload ( Google_Service_StreetViewPublish_StreetviewpublishEmpty $ postBody , $ optParams = array ( ) ) { $ params = array ( 'postBody' => $ postBody ) ; $ params = array_merge ( $ params , $ optParams ) ; return $ this -> call ( 'startUpload' , array ( $ params ) , "Google_Service_StreetViewPublish_UploadRef" ) ; }
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 Photo.

In addition to the photo requirements shown in
https://support.google.com/maps/answer/7012050?hl=en_topic=6275604, the photo
must meet the following requirements:

* Photo Sphere XMP metadata must be included in the photo medadata. 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?hl=en_topic=6275604, and
the photo must be a full 360 horizontally.

After the upload completes, the method uses UploadRef with CreatePhoto to
create the Photo object entry. (photo.startUpload)

@param Google_Service_StreetViewPublish_StreetviewpublishEmpty $postBody
@param array $optParams Optional parameters.
@return Google_Service_StreetViewPublish_UploadRef
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 Photo .