AlbumsResource class

Constructors

AlbumsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEnrichment(AddEnrichmentToAlbumRequest request, String albumId, {String? $fields}) Future<AddEnrichmentToAlbumResponse>
Adds an enrichment at a specified position in a defined album.
batchAddMediaItems(BatchAddMediaItemsToAlbumRequest request, String albumId, {String? $fields}) Future<BatchAddMediaItemsToAlbumResponse>
Adds one or more media items in a user's Google Photos library to an album.
batchRemoveMediaItems(BatchRemoveMediaItemsFromAlbumRequest request, String albumId, {String? $fields}) Future<BatchRemoveMediaItemsFromAlbumResponse>
Removes one or more media items from a specified album.
create(CreateAlbumRequest request, {String? $fields}) Future<Album>
Creates an album in a user's Google Photos library.
get(String albumId, {String? $fields}) Future<Album>
Returns the album based on the specified albumId.
list({bool? excludeNonAppCreatedData, int? pageSize, String? pageToken, String? $fields}) Future<ListAlbumsResponse>
Lists all albums shown to a user in the Albums tab of the Google Photos app.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Album request, String id, {String? updateMask, String? $fields}) Future<Album>
Update the album with the specified id.
share(ShareAlbumRequest request, String albumId, {String? $fields}) Future<ShareAlbumResponse>
Marks an album as shared and accessible to other users.
toString() String
A string representation of this object.
inherited
unshare(UnshareAlbumRequest request, String albumId, {String? $fields}) Future<UnshareAlbumResponse>
Marks a previously shared album as private.

Operators

operator ==(Object other) bool
The equality operator.
inherited