$album_id
$album_id :
Identifier of an album. If populated, lists all media items in specified album. Can't set in conjunction with any filters.
Generated from protobuf field string album_id = 1;
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.
Generated from protobuf message google.photos.library.v1.SearchMediaItemsRequest
$page_token :
A continuation token to get the next page of the results. Adding this to the request returns the rows after the `pageToken`. The `pageToken` should be the value returned in the `nextPageToken` parameter in the response to the `searchMediaItems` request.
Generated from protobuf field string page_token = 3;
__construct(array $data = NULL)
Constructor.
array | $data | { Optional. Data for populating the Message object.
} |
getAlbumId() : string
Identifier of an album. If populated, lists all media items in specified album. Can't set in conjunction with any filters.
Generated from protobuf field string album_id = 1;
setAlbumId(string $var) : $this
Identifier of an album. If populated, lists all media items in specified album. Can't set in conjunction with any filters.
Generated from protobuf field string album_id = 1;
string | $var |
getPageSize() : integer
Maximum number of media items to return in the response. Fewer media items might be returned than the specified number. The default `pageSize` is 25, the maximum is 100.
Generated from protobuf field int32 page_size = 2;
setPageSize(integer $var) : $this
Maximum number of media items to return in the response. Fewer media items might be returned than the specified number. The default `pageSize` is 25, the maximum is 100.
Generated from protobuf field int32 page_size = 2;
integer | $var |
getPageToken() : string
A continuation token to get the next page of the results. Adding this to the request returns the rows after the `pageToken`. The `pageToken` should be the value returned in the `nextPageToken` parameter in the response to the `searchMediaItems` request.
Generated from protobuf field string page_token = 3;
setPageToken(string $var) : $this
A continuation token to get the next page of the results. Adding this to the request returns the rows after the `pageToken`. The `pageToken` should be the value returned in the `nextPageToken` parameter in the response to the `searchMediaItems` request.
Generated from protobuf field string page_token = 3;
string | $var |
getFilters() : \Google\Photos\Library\V1\Filters
Filters to apply to the request. Can't be set in conjunction with an `albumId`.
Generated from protobuf field .google.photos.library.v1.Filters filters = 4;
setFilters(\Google\Photos\Library\V1\Filters $var) : $this
Filters to apply to the request. Can't be set in conjunction with an `albumId`.
Generated from protobuf field .google.photos.library.v1.Filters filters = 4;
\Google\Photos\Library\V1\Filters | $var |