\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
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 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;

Type

$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;

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
      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.

}

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

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;

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

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 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

array<mixed,string>|\Google\Protobuf\Internal\RepeatedField $var
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

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;

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

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
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jfschmakeit/Downloads/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

$this