\Google\Photos\Library\V1BatchRemoveMediaItemsFromAlbumRequest

Request to remove a list of media items from an album.

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

Summary

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

Properties

$album_id

$album_id

Identifier of the [Album][google.photos.types.Album] that the media items are to be removed from.

Generated from protobuf field string album_id = 2;

$media_item_ids

$media_item_ids

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

Must not contain repeated identifiers and cannot be empty. The maximum number of media items that can be removed in one call is 50.

Generated from protobuf field repeated string media_item_ids = 1;

Methods

__construct()

__construct(array  $data = NULL) : mixed

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
      removed.
      Must not contain repeated identifiers and cannot be empty. The maximum
      number of media items that can be removed in one call is 50.
@type string $album_id
      Identifier of the [Album][google.photos.types.Album] that the media
      items are to be removed from.

}

Returns

mixed

getMediaItemIds()

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

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

Must not contain repeated identifiers and cannot be empty. The maximum number of media items that can be removed in one call is 50.

Generated from protobuf field repeated string media_item_ids = 1;

Returns

\Google\Protobuf\Internal\RepeatedField

setMediaItemIds()

setMediaItemIds(string[]|\Google\Protobuf\Internal\RepeatedField  $var) : $this

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

Must not contain repeated identifiers and cannot be empty. The maximum number of media items that can be removed in one call is 50.

Generated from protobuf field repeated string media_item_ids = 1;

Parameters

string[]|\Google\Protobuf\Internal\RepeatedField $var

Returns

$this

getAlbumId()

getAlbumId() : string

Identifier of the [Album][google.photos.types.Album] that the media items are to be removed from.

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 to be removed from.

Generated from protobuf field string album_id = 2;

Parameters

string $var

Returns

$this