\Google\Photos\Library\V1ListMediaItemsResponse

List of all media items from the user's Google Photos library.

Generated from protobuf message google.photos.library.v1.ListMediaItemsResponse

Summary

Methods
Properties
Constants
__construct()
getMediaItems()
setMediaItems()
getNextPageToken()
setNextPageToken()
No public properties found
No constants found
No protected methods found
$next_page_token
N/A
No private methods found
$media_items
N/A

Properties

$next_page_token

$next_page_token

Output only. Token to use to get the next set of media items. Its presence is the only reliable indicator of more media items being available in the next request.

Generated from protobuf field string next_page_token = 2;

$media_items

$media_items

Output only. List of media items in the user's library.

Generated from protobuf field repeated .google.photos.types.MediaItem media_items = 1;

Methods

__construct()

__construct(array  $data = NULL) : mixed

Constructor.

Parameters

array $data

{ Optional. Data for populating the Message object.

@type \Google\Photos\Types\MediaItem[]|\Google\Protobuf\Internal\RepeatedField $media_items
      Output only. List of media items in the user's library.
@type string $next_page_token
      Output only. Token to use to get the next set of media items. Its presence
      is the only reliable indicator of more media items being available in the
      next request.

}

Returns

mixed

getMediaItems()

getMediaItems() : \Google\Protobuf\Internal\RepeatedField

Output only. List of media items in the user's library.

Generated from protobuf field repeated .google.photos.types.MediaItem media_items = 1;

Returns

\Google\Protobuf\Internal\RepeatedField

setMediaItems()

setMediaItems(\Google\Photos\Types\MediaItem[]|\Google\Protobuf\Internal\RepeatedField  $var) : $this

Output only. List of media items in the user's library.

Generated from protobuf field repeated .google.photos.types.MediaItem media_items = 1;

Parameters

\Google\Photos\Types\MediaItem[]|\Google\Protobuf\Internal\RepeatedField $var

Returns

$this

getNextPageToken()

getNextPageToken() : string

Output only. Token to use to get the next set of media items. Its presence is the only reliable indicator of more media items being available in the next request.

Generated from protobuf field string next_page_token = 2;

Returns

string

setNextPageToken()

setNextPageToken(string  $var) : $this

Output only. Token to use to get the next set of media items. Its presence is the only reliable indicator of more media items being available in the next request.

Generated from protobuf field string next_page_token = 2;

Parameters

string $var

Returns

$this