\Google\Photos\Library\V1ListMediaItemsRequest

Request to list all media items in a user's Google Photos library.

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

Summary

Methods
Properties
Constants
__construct()
getPageSize()
setPageSize()
getPageToken()
setPageToken()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$page_size
$page_token
N/A

Properties

$page_size

$page_size : 

Maximum number of media items to return in the response. The default number of media items to return at a time is 25. The maximum `pageSize` is 100.

Generated from protobuf field int32 page_size = 1;

Type

$page_token

$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 `listMediaItems` request.

Generated from protobuf field string page_token = 2;

Type

Methods

__construct()

__construct(array  $data = NULL) 

Constructor.

Parameters

array $data

{ Optional. Data for populating the Message object.

@type int $page_size
      Maximum number of media items to return in the response. The default number
      of media items to return at a time is 25. The maximum `pageSize` is 100.
@type string $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 `listMediaItems` request.

}

getPageSize()

getPageSize() : integer

Maximum number of media items to return in the response. The default number of media items to return at a time is 25. The maximum `pageSize` is 100.

Generated from protobuf field int32 page_size = 1;

Returns

integer

setPageSize()

setPageSize(integer  $var) : $this

Maximum number of media items to return in the response. The default number of media items to return at a time is 25. The maximum `pageSize` is 100.

Generated from protobuf field int32 page_size = 1;

Parameters

integer $var

Returns

$this

getPageToken()

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 `listMediaItems` request.

Generated from protobuf field string page_token = 2;

Returns

string

setPageToken()

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 `listMediaItems` request.

Generated from protobuf field string page_token = 2;

Parameters

string $var

Returns

$this