\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.types.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\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.

}

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

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;

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

\Google\Protobuf\Internal\RepeatedField

setMediaItems()

setMediaItems(array<mixed,\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

array<mixed,\Google\Photos\Types\MediaItem>|\Google\Protobuf\Internal\RepeatedField $var
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

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;

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

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
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

$this