\Google\Photos\Library\V1ListAlbumsResponse

List of albums requested.

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

Summary

Methods
Properties
Constants
__construct()
getAlbums()
setAlbums()
getNextPageToken()
setNextPageToken()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$albums
$next_page_token
N/A

Properties

$albums

$albums : 

[Output only] List of albums shown in the Albums tab of the user's Google Photos app.

Generated from protobuf field repeated .google.photos.library.v1.Album albums = 1;

Type

$next_page_token

$next_page_token : 

[Output only] Token to use to get the next set of albums. Populated if there are more albums to retrieve for this 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\Album[]|\Google\Protobuf\Internal\RepeatedField $albums
      [Output only] List of albums shown in the Albums tab of the user's Google
      Photos app.
@type string $next_page_token
      [Output only] Token to use to get the next set of albums. Populated if
      there are more albums to retrieve for this request.

}

getAlbums()

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

[Output only] List of albums shown in the Albums tab of the user's Google Photos app.

Generated from protobuf field repeated .google.photos.library.v1.Album albums = 1;

Returns

\Google\Protobuf\Internal\RepeatedField

setAlbums()

setAlbums(array<mixed,\Google\Photos\Library\V1\Album>|\Google\Protobuf\Internal\RepeatedField  $var) : $this

[Output only] List of albums shown in the Albums tab of the user's Google Photos app.

Generated from protobuf field repeated .google.photos.library.v1.Album albums = 1;

Parameters

array<mixed,\Google\Photos\Library\V1\Album>|\Google\Protobuf\Internal\RepeatedField $var

Returns

$this

getNextPageToken()

getNextPageToken() : string

[Output only] Token to use to get the next set of albums. Populated if there are more albums to retrieve for this 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 albums. Populated if there are more albums to retrieve for this request.

Generated from protobuf field string next_page_token = 2;

Parameters

string $var

Returns

$this