\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
No protected properties found
N/A
No private methods found
$media_items
$next_page_token
N/A

Properties

$media_items

$media_items : 

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

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

Type

$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;

Type

Methods

__construct()

__construct(array  $data = NULL) 

Constructor.

Parameters

array $data

{ Optional. Data for populating the Message object.

@type \Google\Photos\Library\V1\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.

}

getMediaItems()

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

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

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

Returns

\Google\Protobuf\Internal\RepeatedField

setMediaItems()

setMediaItems(array<mixed,\Google\Photos\Library\V1\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.library.v1.MediaItem media_items = 1;

Parameters

array<mixed,\Google\Photos\Library\V1\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