Skip to main content

photos_media

Creates, updates, deletes, gets or lists a photos_media resource.

Overview

Namephotos_media
TypeResource
Idgoogle.places.photos_media

Fields

NameDatatypeDescription
namestringThe resource name of a photo media in the format: places/{place_id}/photos/{photo_reference}/media.
photoUristringA short-lived uri that can be used to render the photo.

Methods

NameAccessible byRequired ParamsDescription
get_mediaSELECTphotosId, placesIdGet a photo media with a photo reference string.

SELECT examples

Get a photo media with a photo reference string.

SELECT
name,
photoUri
FROM google.places.photos_media
WHERE photosId = '{{ photosId }}'
AND placesId = '{{ placesId }}';