MediaItemsResource class
Constructors
- MediaItemsResource(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
-
batchCreate(
BatchCreateMediaItemsRequest request, {String? $fields}) → Future< BatchCreateMediaItemsResponse> - Creates one or more media items in a user's Google Photos library.
-
batchGet(
{List< String> ? mediaItemIds, String? $fields}) → Future<BatchGetMediaItemsResponse> - Returns the list of media items for the specified media item identifiers.
-
get(
String mediaItemId, {String? $fields}) → Future< MediaItem> - Returns the media item for the specified media item identifier.
-
list(
{int? pageSize, String? pageToken, String? $fields}) → Future< ListMediaItemsResponse> - List all media items from a user's Google Photos library.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
patch(
MediaItem request, String id, {String? updateMask, String? $fields}) → Future< MediaItem> -
Update the media item with the specified
id
. -
search(
SearchMediaItemsRequest request, {String? $fields}) → Future< SearchMediaItemsResponse> - Searches for media items in a user's Google Photos library.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited