This documentation was generated from Photos Library crate version 1.0.7+20181004, where 20181004 is the exact revision of the photoslibrary:v1 schema built by the mako code generator v1.0.7.
Everything else about the Photos Library v1 API can be found at the official documentation site. The original source code is on github.
Request to add an enrichment to a specific album at a specific position.
The enrichment item that's created.
Representation of an album in Google Photos. Albums are containers for media items. If an album has been shared by the application, it contains an extra shareInfo property.
Returns the album based on the specified albumId or shareToken. Exactly one of albumId and shareToken must be set. The albumId should be the ID of an album owned by the user or a shared album that the user has joined.
A builder providing access to all methods supported on album resources. It is not used directly, but through the PhotosLibrary hub.
Specifies a position in an album.
Marks an album as shared and accessible to other users. This action can only be performed on albums which were created by the developer via the API.
Request to create one or more media items in a user's Google Photos library. If an albumid is specified, the media items are also added to that album. albumPosition is optional and can only be specified if an albumId is set.
List of media items created.
Request to create an album in Google Photos.
Request to join a shared album on behalf of the user. This uses a shareToken which can be acquired via the shareAlbum or listSharedAlbums calls.
Response to successfully joining the shared album on behalf of the user.
List of all media items from the user's Google Photos library.
List of shared albums requested.
An enrichment containing a single location.
An enrichment containing a map, showing origin and destination locations.
Returns the media item for the specified media item id.
A builder providing access to all methods supported on mediaItem resources. It is not used directly, but through the PhotosLibrary hub.
A new enrichment item to be added to an album, used by the albums.addEnrichment call.
New media item that's created in a user's Google Photos account.
Result of creating a new media item.
Request to search for media items in a user's library.
Request to make an album shared in Google Photos.
Response to successfully sharing an album.
Information about albums that are shared. This information is only included if you created the album, it is shared and you have the sharing scope.
A builder providing access to all methods supported on sharedAlbum resources. It is not used directly, but through the PhotosLibrary hub.
Options that control the sharing of an album.
A simple media item to be created in Google Photos via an upload token.