\Google\Photos\Library\V1SearchMediaItemsResponse

List of media items that match the search parameters.

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

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. Use this token 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 that match the search parameters.

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 that match the search parameters.
@type string $next_page_token
      Output only. Use this token 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 that match the search parameters.

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 that match the search parameters.

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. Use this token 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. Use this token 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