album()
album(string $title) : \Google\Photos\Types\Album
Returns an {@link Album} with the title set to the given string.
Parameters
string | $title |
album(string $title) : \Google\Photos\Types\Album
Returns an {@link Album} with the title set to the given string.
string | $title |
newMediaItem(string $uploadToken) : \Google\Photos\Library\V1\NewMediaItem
Returns a {@link NewMediaItem} containing a {@link SimpleMediaItem} with the given upload token.
string | $uploadToken |
newMediaItemWithDescription(string $uploadToken, string $description) : \Google\Photos\Library\V1\NewMediaItem
Returns a {@link NewMediaItem} with the given description and a {@link SimpleMediaItem} with the given upload token.
string | $uploadToken | |
string | $description |
newMediaItemWithFileName(string $uploadToken, string $fileName) : \Google\Photos\Library\V1\NewMediaItem
Returns a {@link NewMediaItem} with the given fileName and a {@link SimpleMediaItem} with the given upload token.
string | $uploadToken | |
string | $fileName |
newMediaItemWithDescriptionAndFileName(string $uploadToken, string $description, string $fileName) : \Google\Photos\Library\V1\NewMediaItem
Returns a {@link NewMediaItem} with the given description, fileName and a {@link SimpleMediaItem} with the given upload token.
string | $uploadToken | |
string | $description | |
string | $fileName |
albumPositionAfterMediaItem(string $mediaItemId) : \Google\Photos\Library\V1\AlbumPosition
Returns an {@link AlbumPosition} describing the position after the given media item.
string | $mediaItemId |
albumPositionAfterEnrichmentItem(string $enrichmentItemId) : \Google\Photos\Library\V1\AlbumPosition
Returns an {@link AlbumPosition} describing the position after the given enrichment item.
string | $enrichmentItemId |
newEnrichmentItemWithText(string $text) : \Google\Photos\Library\V1\NewEnrichmentItem
Returns a {@link NewEnrichmentItem} containing a {@link TextEnrichment} with the provided text.
string | $text |
newEnrichmentItemWithLocation(\Google\Photos\Library\V1\Location $location) : \Google\Photos\Library\V1\NewEnrichmentItem
Returns a {@link NewEnrichmentItem} containing a {@link LocationEnrichment} with the given location.
\Google\Photos\Library\V1\Location | $location |
newEnrichmentItemWithMap(\Google\Photos\Library\V1\Location $origin, \Google\Photos\Library\V1\Location $destination) : \Google\Photos\Library\V1\NewEnrichmentItem
Returns {@link NewEnrichmentItem} containing a {@link MapEnrichment} with the given origin and destination.
\Google\Photos\Library\V1\Location | $origin | |
\Google\Photos\Library\V1\Location | $destination |