album()
album(string $title) : \Google\Photos\Types\Album
Returns an {@link Album} with the title set to the given string.
Parameters
string | $title |
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 and a {@link SimpleMediaItem} with the given upload token and fileName.
string | $uploadToken | |
string | $description | |
string | $fileName |
albumPositionAfterEnrichmentItem(string $enrichmentItemId) : \Google\Photos\Library\V1\AlbumPosition
Returns an {@link AlbumPosition} describing the position after the given enrichment item.
string | $enrichmentItemId |
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 |