\Google\Photos\Library\V1ShareAlbumRequest

Request to make an album shared in Google Photos.

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

Summary

Methods
Properties
Constants
__construct()
getAlbumId()
setAlbumId()
getSharedAlbumOptions()
setSharedAlbumOptions()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$album_id
$shared_album_options
N/A

Properties

$album_id

$album_id : 

Identifier of the album to be shared. This `albumId` must belong to an album created by the developer.

Generated from protobuf field string album_id = 1;

Type

$shared_album_options

$shared_album_options : 

Options to be set when converting the album to a shared album.

Generated from protobuf field .google.photos.library.v1.SharedAlbumOptions shared_album_options = 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 shared. This `albumId` must belong to an
      album created by the developer.
@type \Google\Photos\Library\V1\SharedAlbumOptions $shared_album_options
      Options to be set when converting the album to a shared album.

}

getAlbumId()

getAlbumId() : string

Identifier of the album to be shared. This `albumId` must belong to an album created by the developer.

Generated from protobuf field string album_id = 1;

Returns

string

setAlbumId()

setAlbumId(string  $var) : $this

Identifier of the album to be shared. This `albumId` must belong to an album created by the developer.

Generated from protobuf field string album_id = 1;

Parameters

string $var

Returns

$this

getSharedAlbumOptions()

getSharedAlbumOptions() : \Google\Photos\Library\V1\SharedAlbumOptions

Options to be set when converting the album to a shared album.

Generated from protobuf field .google.photos.library.v1.SharedAlbumOptions shared_album_options = 2;

Returns

\Google\Photos\Library\V1\SharedAlbumOptions

setSharedAlbumOptions()

setSharedAlbumOptions(\Google\Photos\Library\V1\SharedAlbumOptions  $var) : $this

Options to be set when converting the album to a shared album.

Generated from protobuf field .google.photos.library.v1.SharedAlbumOptions shared_album_options = 2;

Parameters

\Google\Photos\Library\V1\SharedAlbumOptions $var

Returns

$this