SearchMediaItemsRequest class

Request to search for media items in a user's library.

If the album id is specified, this call will return the list of media items in the album. If neither filters nor album id are specified, this call will return all media items in a user's Google Photos library. If filters are specified, this call will return all media items in the user's library that fulfill the filter criteria. Filters and album id must not both be set, as this will result in an invalid request.

Constructors

SearchMediaItemsRequest({String? albumId, Filters? filters, String? orderBy, int? pageSize, String? pageToken})
SearchMediaItemsRequest.fromJson(Map json_)

Properties

albumId String?
Identifier of an album.
getter/setter pair
filters Filters?
Filters to apply to the request.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
orderBy String?
An optional field to specify the sort order of the search results.
getter/setter pair
pageSize int?
Maximum number of media items to return in the response.
getter/setter pair
pageToken String?
A continuation token to get the next page of the results.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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