\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
$new_media_item_type
N/A
No private methods found
$description
N/A

Properties

$new_media_item_type

$new_media_item_type : 

Type

$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

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

}

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;

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

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;

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

Returns

$this

getNewMediaItemType()

getNewMediaItemType() : string

Returns

string