Photos
class Photos extends Resource (View source)
The "photos" collection of methods.
Typical usage is:
$streetviewpublishService = new Google\Service\StreetViewPublish(...);
$photos = $streetviewpublishService->photos;
Methods
Deletes a list of Photos and their metadata. Note that if BatchDeletePhotos fails, either critical fields are missing or there is an authentication error. Even if BatchDeletePhotos succeeds, individual photos in the batch may have failures. These failures are specified in each PhotoResponse.status in BatchDeletePhotosResponse.results. See DeletePhoto for specific failures that can occur per photo. (photos.batchDelete)
Gets the metadata of the specified Photo batch. Note that if BatchGetPhotos fails, either critical fields are missing or there is an authentication error. Even if BatchGetPhotos succeeds, individual photos in the batch may have failures. These failures are specified in each PhotoResponse.status in BatchGetPhotosResponse.results. See GetPhoto for specific failures that can occur per photo. (photos.batchGet)
Updates the metadata of Photos, such as pose, place association, connections,
etc. Changing the pixels of photos is not supported. Note that if
BatchUpdatePhotos fails, either critical fields are missing or there is an
authentication error. Even if BatchUpdatePhotos succeeds, individual photos
in the batch may have failures. These failures are specified in each
PhotoResponse.status in BatchUpdatePhotosResponse.results. See UpdatePhoto
for specific failures that can occur per photo. Only the fields specified in
updateMask field are used. If updateMask
is not present, the update applies
to all fields. The number of UpdatePhotoRequest messages in a
BatchUpdatePhotosRequest must not exceed 20. > Note: To update Pose.altitude,
Pose.latLngPair has to be filled as well. Otherwise, the request will fail.
Lists all the Photos that belong to the user. > Note: Recently created photos that are still being indexed are not returned in the response.
Details
BatchDeletePhotosResponse
batchDelete(BatchDeletePhotosRequest $postBody, array $optParams = [])
Deletes a list of Photos and their metadata. Note that if BatchDeletePhotos fails, either critical fields are missing or there is an authentication error. Even if BatchDeletePhotos succeeds, individual photos in the batch may have failures. These failures are specified in each PhotoResponse.status in BatchDeletePhotosResponse.results. See DeletePhoto for specific failures that can occur per photo. (photos.batchDelete)
BatchGetPhotosResponse
batchGet(array $optParams = [])
Gets the metadata of the specified Photo batch. Note that if BatchGetPhotos fails, either critical fields are missing or there is an authentication error. Even if BatchGetPhotos succeeds, individual photos in the batch may have failures. These failures are specified in each PhotoResponse.status in BatchGetPhotosResponse.results. See GetPhoto for specific failures that can occur per photo. (photos.batchGet)
BatchUpdatePhotosResponse
batchUpdate(BatchUpdatePhotosRequest $postBody, array $optParams = [])
Updates the metadata of Photos, such as pose, place association, connections,
etc. Changing the pixels of photos is not supported. Note that if
BatchUpdatePhotos fails, either critical fields are missing or there is an
authentication error. Even if BatchUpdatePhotos succeeds, individual photos
in the batch may have failures. These failures are specified in each
PhotoResponse.status in BatchUpdatePhotosResponse.results. See UpdatePhoto
for specific failures that can occur per photo. Only the fields specified in
updateMask field are used. If updateMask
is not present, the update applies
to all fields. The number of UpdatePhotoRequest messages in a
BatchUpdatePhotosRequest must not exceed 20. > Note: To update Pose.altitude,
Pose.latLngPair has to be filled as well. Otherwise, the request will fail.
(photos.batchUpdate)
ListPhotosResponse
listPhotos(array $optParams = [])
Lists all the Photos that belong to the user. > Note: Recently created photos that are still being indexed are not returned in the response.
(photos.listPhotos)