Google Photos
googlephotosGoogle Photos is a cloud-based photo storage and organization service offering automatic backups, AI-assisted search, and shared albums for personal and collaborative media management
Acciones disponibles (13)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Add EnrichmentGOOGLEPHOTOS_ADD_ENRICHMENTAcciónAdds an enrichment at a specified position in a defined album.
GOOGLEPHOTOS_ADD_ENRICHMENTAcciónAdds an enrichment at a specified position in a defined album.
Parámetros de entrada
albumIdstringObligatorioIdentifier of the album where the enrichment is to be added
albumPositionobjectPosition in the album where the enrichment is to be inserted. Valid options are: POSITION_TYPE_UNSPECIFIED, FIRST_IN_ALBUM, LAST_IN_ALBUM, AFTER_MEDIA_ITEM, AFTER_ENRICHMENT_ITEM
newEnrichmentItemobjectObligatorioThe enrichment to be added, can be a text, location, or map enrichment
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Batch Add Media ItemsGOOGLEPHOTOS_BATCH_ADD_MEDIA_ITEMSAcciónAdds one or more media items to an album in google photos.
GOOGLEPHOTOS_BATCH_ADD_MEDIA_ITEMSAcciónAdds one or more media items to an album in google photos.
Parámetros de entrada
albumIdstringObligatorioIdentifier of the Album that the media items are added to
mediaItemIdsstring[]ObligatorioIdentifiers of the MediaItems to be added. Maximum 50 items.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Batch Create Media ItemsGOOGLEPHOTOS_BATCH_CREATE_MEDIA_ITEMSAcciónUnified action to upload media files and create them as items in google photos.
GOOGLEPHOTOS_BATCH_CREATE_MEDIA_ITEMSAcciónUnified action to upload media files and create them as items in google photos.
Parámetros de entrada
filesobject[]ObligatorioList of media files to upload and create as media items.
albumIdstringObligatorioIdentifier of the album where the media items are to be added.
albumPositionobjectPosition in the album to add the media items.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Batch Get Media ItemsGOOGLEPHOTOS_BATCH_GET_MEDIA_ITEMSAcciónReturns the list of media items for the specified media item identifiers.
GOOGLEPHOTOS_BATCH_GET_MEDIA_ITEMSAcciónReturns the list of media items for the specified media item identifiers.
Parámetros de entrada
mediaItemIdsstring[]ObligatorioIdentifiers of the media items to be requested. Must not contain duplicates.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create AlbumGOOGLEPHOTOS_CREATE_ALBUMAcciónCreates a new album in google photos.
GOOGLEPHOTOS_CREATE_ALBUMAcciónCreates a new album in google photos.
Parámetros de entrada
idstringIdentifier for the album
titlestringObligatorioName of the album to be created in Google Photos. Maximum 500 characters.
productUrlstringGoogle Photos URL for the album
isWriteablebooleanWhether media items can be created in this album
mediaItemsCountstringNumber of media items in the album
coverPhotoBaseUrlstringURL to the cover photo
coverPhotoMediaItemIdstringID of the cover photo media item
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get AlbumGOOGLEPHOTOS_GET_ALBUMAcciónReturns the album based on the specified albumid.
GOOGLEPHOTOS_GET_ALBUMAcciónReturns the album based on the specified albumid.
Parámetros de entrada
albumIdstringObligatorioIdentifier of the album to be requested.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Download Photos Media ItemGOOGLEPHOTOS_GET_MEDIA_ITEM_DOWNLOADAcciónDownloads a media item from google photos and returns it as a file.
GOOGLEPHOTOS_GET_MEDIA_ITEM_DOWNLOADAcciónDownloads a media item from google photos and returns it as a file.
Parámetros de entrada
mediaItemIdstringObligatorioID of the media item to download
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List AlbumsGOOGLEPHOTOS_LIST_ALBUMSAcciónLists all albums shown to a user in the albums tab of google photos.
GOOGLEPHOTOS_LIST_ALBUMSAcciónLists all albums shown to a user in the albums tab of google photos.
Parámetros de entrada
pageSizeintegerMaximum number of albums to return. Default 20, maximum 50.
pageTokenstringContinuation token for getting the next page of results
excludeNonAppCreatedDatabooleanIf true, excludes media items not created by this app
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Media ItemsGOOGLEPHOTOS_LIST_MEDIA_ITEMSAcciónLists all media items from a user's google photos library.
GOOGLEPHOTOS_LIST_MEDIA_ITEMSAcciónLists all media items from a user's google photos library.
Parámetros de entrada
pageSizeintegerMaximum number of items to return. Default 25, maximum 100.
pageTokenstringToken for getting the next page of results
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search Media ItemsGOOGLEPHOTOS_SEARCH_MEDIA_ITEMSAcciónSearches for media items in a user's google photos library.
GOOGLEPHOTOS_SEARCH_MEDIA_ITEMSAcciónSearches for media items in a user's google photos library.
Parámetros de entrada
albumIdstringAlbum to search within
filtersobjectSearch filters
orderBystringSort order for results, e.g. 'MediaMetadata.creation_time desc'
pageSizeintegerMaximum number of items to return. Default 25, maximum 100.
pageTokenstringToken for getting the next page
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update AlbumGOOGLEPHOTOS_UPDATE_ALBUMAcciónUpdates an album's title or cover photo in google photos.
GOOGLEPHOTOS_UPDATE_ALBUMAcciónUpdates an album's title or cover photo in google photos.
Parámetros de entrada
titlestringNew title for the album. Maximum 500 characters.
albumIdstringObligatorioIdentifier of the album to update
coverPhotoMediaItemIdstringID of the media item to use as album cover photo
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Media ItemGOOGLEPHOTOS_UPDATE_MEDIA_ITEMAcciónUpdates a media item's description in google photos.
GOOGLEPHOTOS_UPDATE_MEDIA_ITEMAcciónUpdates a media item's description in google photos.
Parámetros de entrada
descriptionstringNew description for the media item. Must be shorter than 1000 characters.
mediaItemIdstringObligatorioIdentifier of the media item to update
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upload MediaGOOGLEPHOTOS_UPLOAD_MEDIAAcciónUpload a media file to google photos. supports images (up to 200mb) and videos (up to 20gb).
GOOGLEPHOTOS_UPLOAD_MEDIAAcciónUpload a media file to google photos. supports images (up to 200mb) and videos (up to 20gb).
Parámetros de entrada
descriptionstringOptional description for the media item
file_to_uploadobjectObligatorioThe media file to upload to Google Photos
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not