\Google\Photos\Library\V1NewMediaItem

New media item that's created in a user's Google Photos account.

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

Summary

Methods
Properties
Constants
__construct()
getDescription()
setDescription()
getSimpleMediaItem()
setSimpleMediaItem()
getNewMediaItemType()
No public properties found
No constants found
No protected methods found
$description
$new_media_item_type
N/A
No private methods found
No private properties found
N/A

Properties

$description

$description : 

Description of the media item. This will be shown to the user in the item's info section in the Google Photos app.

This string shouldn't be more than 1000 characters.

Generated from protobuf field string description = 1;

Type

$new_media_item_type

$new_media_item_type : 

Type

Methods

__construct()

__construct(array  $data = NULL) 

Constructor.

Parameters

array $data

{ Optional. Data for populating the Message object.

@type string $description
      Description of the media item. This will be shown to the user in the item's
      info section in the Google Photos app.
      This string shouldn't be more than 1000 characters.
@type \Google\Photos\Library\V1\SimpleMediaItem $simple_media_item
      A new media item that has been uploaded via the included `uploadToken`.

}

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

getDescription()

getDescription() : string

Description of the media item. This will be shown to the user in the item's info section in the Google Photos app.

This string shouldn't be more than 1000 characters.

Generated from protobuf field string description = 1;

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

Returns

string

setDescription()

setDescription(string  $var) : $this

Description of the media item. This will be shown to the user in the item's info section in the Google Photos app.

This string shouldn't be more than 1000 characters.

Generated from protobuf field string description = 1;

Parameters

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

Returns

$this

getSimpleMediaItem()

getSimpleMediaItem() : \Google\Photos\Library\V1\SimpleMediaItem

A new media item that has been uploaded via the included `uploadToken`.

Generated from protobuf field .google.photos.library.v1.SimpleMediaItem simple_media_item = 2;

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

Returns

\Google\Photos\Library\V1\SimpleMediaItem

setSimpleMediaItem()

setSimpleMediaItem(\Google\Photos\Library\V1\SimpleMediaItem  $var) : $this

A new media item that has been uploaded via the included `uploadToken`.

Generated from protobuf field .google.photos.library.v1.SimpleMediaItem simple_media_item = 2;

Parameters

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

Returns

$this

getNewMediaItemType()

getNewMediaItemType() : string

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

Returns

string