\Google\Photos\Library\V1GetAlbumRequest

Request to retrieve a specific album. Exactly one of `albumId` or `shareToken` must be set.

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

Summary

Methods
Properties
Constants
__construct()
getAlbumId()
setAlbumId()
getShareToken()
setShareToken()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$album_id
$share_token
N/A

Properties

$album_id

$album_id : 

Identifier of the album to be requested. Must not be set if `shareToken` is set.

Generated from protobuf field string album_id = 1;

Type

$share_token

$share_token : 

Share token of the album to be request. Must not be set if `albumId` is set.

Generated from protobuf field string share_token = 2;

Type

Methods

__construct()

__construct(array  $data = NULL) 

Constructor.

Parameters

array $data

{ Optional. Data for populating the Message object.

@type string $album_id
      Identifier of the album to be requested. Must not be set if `shareToken` is
      set.
@type string $share_token
      Share token of the album to be request. Must not be set if `albumId` is
      set.

}

getAlbumId()

getAlbumId() : string

Identifier of the album to be requested. Must not be set if `shareToken` is set.

Generated from protobuf field string album_id = 1;

Returns

string

setAlbumId()

setAlbumId(string  $var) : $this

Identifier of the album to be requested. Must not be set if `shareToken` is set.

Generated from protobuf field string album_id = 1;

Parameters

string $var

Returns

$this

getShareToken()

getShareToken() : string

Share token of the album to be request. Must not be set if `albumId` is set.

Generated from protobuf field string share_token = 2;

Returns

string

setShareToken()

setShareToken(string  $var) : $this

Share token of the album to be request. Must not be set if `albumId` is set.

Generated from protobuf field string share_token = 2;

Parameters

string $var

Returns

$this