\Google\Photos\Library\V1BatchAddMediaItemsToAlbumRequest

Request to add media items to an album.

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

Summary

Methods
Properties
Constants
__construct()
getMediaItemIds()
setMediaItemIds()
getAlbumId()
setAlbumId()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$media_item_ids
$album_id
N/A

Properties

$media_item_ids

$media_item_ids : 

Identifiers of the [MediaItem][google.photos.types.MediaItem]s to be added.

The maximum number of media items that can be added in one call is 50.

Generated from protobuf field repeated string media_item_ids = 1;

Type

$album_id

$album_id : 

Identifier of the [Album][google.photos.types.Album] that the media items are added to.

Generated from protobuf field string album_id = 2;

Type

Methods

__construct()

__construct(array  $data = NULL) 

Constructor.

Parameters

array $data

{ Optional. Data for populating the Message object.

@type string[]|\Google\Protobuf\Internal\RepeatedField $media_item_ids
      Identifiers of the [MediaItem][google.photos.types.MediaItem]s to be
      added.
      The maximum number of media items that can be added in one call is 50.
@type string $album_id
      Identifier of the [Album][google.photos.types.Album] that the
      media items are added to.

}

getMediaItemIds()

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

Identifiers of the [MediaItem][google.photos.types.MediaItem]s to be added.

The maximum number of media items that can be added in one call is 50.

Generated from protobuf field repeated string media_item_ids = 1;

Returns

\Google\Protobuf\Internal\RepeatedField

setMediaItemIds()

setMediaItemIds(array<mixed,string>|\Google\Protobuf\Internal\RepeatedField  $var) : $this

Identifiers of the [MediaItem][google.photos.types.MediaItem]s to be added.

The maximum number of media items that can be added in one call is 50.

Generated from protobuf field repeated string media_item_ids = 1;

Parameters

array<mixed,string>|\Google\Protobuf\Internal\RepeatedField $var

Returns

$this

getAlbumId()

getAlbumId() : string

Identifier of the [Album][google.photos.types.Album] that the media items are added to.

Generated from protobuf field string album_id = 2;

Returns

string

setAlbumId()

setAlbumId(string  $var) : $this

Identifier of the [Album][google.photos.types.Album] that the media items are added to.

Generated from protobuf field string album_id = 2;

Parameters

string $var

Returns

$this