Identifier for the media item. This is a persistent identifier that can be used between sessions to identify this media item.

description

string

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

productUrl

string

Google Photos URL for the media item. This link is available to the user only if they're signed in.

baseUrl

string

A URL to the media item's bytes. This shouldn't be used as is. Parameters should be appended to this URL before use. See the developer documentation for a complete list of supported parameters. For example, '=w2048-h1024' will set the dimensions of a media item of type photo to have a width of 2048 px and height of 1024 px.

Filename of the media item. This is shown to the user in the item's info section in the Google Photos app.

MediaMetadata

Metadata for a media item.

JSON representation

{"creationTime": string,"width": string,"height": string,// Union field metadata can be only one of the following:"photo": {object (Photo)},"video": {object (Video)}// End of list of possible types for union field metadata.}