\Google\Photos\Library\V1ListSharedAlbumsRequest

Request to retrieve the user's list of shared albums. This will return the list of albums corresponding to the user's 'Sharing' tab in the Google Photos app.

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

Summary

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

Properties

$page_size

$page_size

Maximum number of albums to return in the response. Fewer albums might be returned than the specified number. The default `pageSize` is 20, the maximum is 50.

Generated from protobuf field int32 page_size = 1;

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

Generated from protobuf field string page_token = 2;

$exclude_non_app_created_data

$exclude_non_app_created_data

If set, the results exclude media items that were not created by this app.

Defaults to false (all albums are returned). This field is ignored if the photoslibrary.readonly.appcreateddata scope is used.

Generated from protobuf field bool exclude_non_app_created_data = 3;

Methods

__construct()

__construct(array  $data = NULL) : mixed

Constructor.

Parameters

array $data

{ Optional. Data for populating the Message object.

@type int $page_size
      Maximum number of albums to return in the response. Fewer albums might be
      returned than the specified number. The default `pageSize` is 20, the
      maximum is 50.
@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 `listSharedAlbums` request.
@type bool $exclude_non_app_created_data
      If set, the results exclude media items that were not created by this app.
      Defaults to false (all albums are returned). This field is ignored if the
      photoslibrary.readonly.appcreateddata scope is used.

}

Returns

mixed

getPageSize()

getPageSize() : int

Maximum number of albums to return in the response. Fewer albums might be returned than the specified number. The default `pageSize` is 20, the maximum is 50.

Generated from protobuf field int32 page_size = 1;

Returns

int

setPageSize()

setPageSize(int  $var) : $this

Maximum number of albums to return in the response. Fewer albums might be returned than the specified number. The default `pageSize` is 20, the maximum is 50.

Generated from protobuf field int32 page_size = 1;

Parameters

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

Generated from protobuf field string page_token = 2;

Parameters

string $var

Returns

$this

getExcludeNonAppCreatedData()

getExcludeNonAppCreatedData() : bool

If set, the results exclude media items that were not created by this app.

Defaults to false (all albums are returned). This field is ignored if the photoslibrary.readonly.appcreateddata scope is used.

Generated from protobuf field bool exclude_non_app_created_data = 3;

Returns

bool

setExcludeNonAppCreatedData()

setExcludeNonAppCreatedData(bool  $var) : $this

If set, the results exclude media items that were not created by this app.

Defaults to false (all albums are returned). This field is ignored if the photoslibrary.readonly.appcreateddata scope is used.

Generated from protobuf field bool exclude_non_app_created_data = 3;

Parameters

bool $var

Returns

$this