gogol-photoslibrary-0.4.0: Google Photos Library SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.PhotosLibrary.Types

Contents

Description

 
Synopsis

Service Configuration

photosLibraryService :: ServiceConfig Source #

Default request referring to version v1 of the Photos Library API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

photosLibraryReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/photoslibrary.readonly"] Source #

View your Google Photos library

photosLibraryScope :: Proxy '["https://www.googleapis.com/auth/photoslibrary"] Source #

View and manage your Google Photos library

drivePhotosReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/drive.photos.readonly"] Source #

View the photos, videos and albums in your Google Photos

photosLibrarySharingScope :: Proxy '["https://www.googleapis.com/auth/photoslibrary.sharing"] Source #

Manage and add to shared albums on your behalf

photosLibraryAppendOnlyScope :: Proxy '["https://www.googleapis.com/auth/photoslibrary.appendonly"] Source #

Add to your Google Photos library

photosLibraryReadOnlyAppcreatedDataScope :: Proxy '["https://www.googleapis.com/auth/photoslibrary.readonly.appcreateddata"] Source #

Manage photos added by this app

LatLng

data LatLng Source #

An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges.

See: latLng smart constructor.

Instances
Eq LatLng Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

(==) :: LatLng -> LatLng -> Bool #

(/=) :: LatLng -> LatLng -> Bool #

Data LatLng Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LatLng -> c LatLng #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LatLng #

toConstr :: LatLng -> Constr #

dataTypeOf :: LatLng -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LatLng) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LatLng) #

gmapT :: (forall b. Data b => b -> b) -> LatLng -> LatLng #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LatLng -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LatLng -> r #

gmapQ :: (forall d. Data d => d -> u) -> LatLng -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LatLng -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LatLng -> m LatLng #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LatLng -> m LatLng #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LatLng -> m LatLng #

Show LatLng Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic LatLng Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep LatLng :: Type -> Type #

Methods

from :: LatLng -> Rep LatLng x #

to :: Rep LatLng x -> LatLng #

ToJSON LatLng Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON LatLng Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep LatLng Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep LatLng = D1 (MetaData "LatLng" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "LatLng'" PrefixI True) (S1 (MetaSel (Just "_llLatitude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_llLongitude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))))

latLng :: LatLng Source #

Creates a value of LatLng with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

llLatitude :: Lens' LatLng (Maybe Double) Source #

The latitude in degrees. It must be in the range [-90.0, +90.0].

llLongitude :: Lens' LatLng (Maybe Double) Source #

The longitude in degrees. It must be in the range [-180.0, +180.0].

LocationEnrichment

data LocationEnrichment Source #

An enrichment containing a single location.

See: locationEnrichment smart constructor.

Instances
Eq LocationEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data LocationEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LocationEnrichment -> c LocationEnrichment #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LocationEnrichment #

toConstr :: LocationEnrichment -> Constr #

dataTypeOf :: LocationEnrichment -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LocationEnrichment) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LocationEnrichment) #

gmapT :: (forall b. Data b => b -> b) -> LocationEnrichment -> LocationEnrichment #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LocationEnrichment -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LocationEnrichment -> r #

gmapQ :: (forall d. Data d => d -> u) -> LocationEnrichment -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LocationEnrichment -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LocationEnrichment -> m LocationEnrichment #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LocationEnrichment -> m LocationEnrichment #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LocationEnrichment -> m LocationEnrichment #

Show LocationEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic LocationEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep LocationEnrichment :: Type -> Type #

ToJSON LocationEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON LocationEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep LocationEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep LocationEnrichment = D1 (MetaData "LocationEnrichment" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" True) (C1 (MetaCons "LocationEnrichment'" PrefixI True) (S1 (MetaSel (Just "_leLocation") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Location))))

locationEnrichment :: LocationEnrichment Source #

Creates a value of LocationEnrichment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

leLocation :: Lens' LocationEnrichment (Maybe Location) Source #

Location for this enrichment item.

DateFilter

data DateFilter Source #

This filter defines the allowed dates or date ranges for the media returned. It is possible to pick a set of specific dates and a set of date ranges.

See: dateFilter smart constructor.

Instances
Eq DateFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data DateFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DateFilter -> c DateFilter #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DateFilter #

toConstr :: DateFilter -> Constr #

dataTypeOf :: DateFilter -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DateFilter) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DateFilter) #

gmapT :: (forall b. Data b => b -> b) -> DateFilter -> DateFilter #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DateFilter -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DateFilter -> r #

gmapQ :: (forall d. Data d => d -> u) -> DateFilter -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DateFilter -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DateFilter -> m DateFilter #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DateFilter -> m DateFilter #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DateFilter -> m DateFilter #

Show DateFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic DateFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep DateFilter :: Type -> Type #

ToJSON DateFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON DateFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep DateFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep DateFilter = D1 (MetaData "DateFilter" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "DateFilter'" PrefixI True) (S1 (MetaSel (Just "_dfDates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Date])) :*: S1 (MetaSel (Just "_dfRanges") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DateRange]))))

dateFilter :: DateFilter Source #

Creates a value of DateFilter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dfDates :: Lens' DateFilter [Date] Source #

List of dates that the media items must have been created on. There is a maximum of 5 dates that can be included per request.

dfRanges :: Lens' DateFilter [DateRange] Source #

List of dates ranges that the media items must have been created in. There is a maximum of 5 dates ranges that can be included per request.

Photo

data Photo Source #

Metadata that is specific to a photo, for example, ISO, focal length and exposure time. Some of these fields may be null or not included.

See: photo smart constructor.

Instances
Eq Photo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

(==) :: Photo -> Photo -> Bool #

(/=) :: Photo -> Photo -> Bool #

Data Photo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Photo -> c Photo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Photo #

toConstr :: Photo -> Constr #

dataTypeOf :: Photo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Photo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Photo) #

gmapT :: (forall b. Data b => b -> b) -> Photo -> Photo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Photo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Photo -> r #

gmapQ :: (forall d. Data d => d -> u) -> Photo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Photo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Photo -> m Photo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Photo -> m Photo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Photo -> m Photo #

Show Photo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

showsPrec :: Int -> Photo -> ShowS #

show :: Photo -> String #

showList :: [Photo] -> ShowS #

Generic Photo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep Photo :: Type -> Type #

Methods

from :: Photo -> Rep Photo x #

to :: Rep Photo x -> Photo #

ToJSON Photo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON Photo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep Photo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep Photo = D1 (MetaData "Photo" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "Photo'" PrefixI True) ((S1 (MetaSel (Just "_pFocalLength") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: (S1 (MetaSel (Just "_pCameraMake") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pExposureTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GDuration)))) :*: (S1 (MetaSel (Just "_pCameraModel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pIsoEquivalent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pApertureFNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))))))

photo :: Photo Source #

Creates a value of Photo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pFocalLength :: Lens' Photo (Maybe Double) Source #

Focal length of the photo.

pCameraMake :: Lens' Photo (Maybe Text) Source #

Brand of the camera which took the photo.

pExposureTime :: Lens' Photo (Maybe Scientific) Source #

Exposure time of the photo.

pCameraModel :: Lens' Photo (Maybe Text) Source #

Model of the camera which took the photo.

pIsoEquivalent :: Lens' Photo (Maybe Int32) Source #

ISO of the photo.

pApertureFNumber :: Lens' Photo (Maybe Double) Source #

Apeture f number of the photo.

TextEnrichment

data TextEnrichment Source #

An enrichment containing text.

See: textEnrichment smart constructor.

Instances
Eq TextEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data TextEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TextEnrichment -> c TextEnrichment #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TextEnrichment #

toConstr :: TextEnrichment -> Constr #

dataTypeOf :: TextEnrichment -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TextEnrichment) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TextEnrichment) #

gmapT :: (forall b. Data b => b -> b) -> TextEnrichment -> TextEnrichment #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TextEnrichment -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TextEnrichment -> r #

gmapQ :: (forall d. Data d => d -> u) -> TextEnrichment -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TextEnrichment -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TextEnrichment -> m TextEnrichment #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TextEnrichment -> m TextEnrichment #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TextEnrichment -> m TextEnrichment #

Show TextEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic TextEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep TextEnrichment :: Type -> Type #

ToJSON TextEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON TextEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep TextEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep TextEnrichment = D1 (MetaData "TextEnrichment" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" True) (C1 (MetaCons "TextEnrichment'" PrefixI True) (S1 (MetaSel (Just "_teText") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

textEnrichment :: TextEnrichment Source #

Creates a value of TextEnrichment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

teText :: Lens' TextEnrichment (Maybe Text) Source #

Text for this text enrichment item.

Status

data Status Source #

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` that can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.

See: status smart constructor.

Instances
Eq Status Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

Data Status Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Status -> c Status #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status #

toConstr :: Status -> Constr #

dataTypeOf :: Status -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) #

gmapT :: (forall b. Data b => b -> b) -> Status -> Status #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r #

gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status #

Show Status Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic Status Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep Status :: Type -> Type #

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

ToJSON Status Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON Status Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep Status Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep Status = D1 (MetaData "Status" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "Status'" PrefixI True) (S1 (MetaSel (Just "_sDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StatusDetailsItem])) :*: (S1 (MetaSel (Just "_sCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_sMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

status :: Status Source #

Creates a value of Status with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sDetails :: Lens' Status [StatusDetailsItem] Source #

A list of messages that carry the error details. There is a common set of message types for APIs to use.

sCode :: Lens' Status (Maybe Int32) Source #

The status code, which should be an enum value of google.rpc.Code.

sMessage :: Lens' Status (Maybe Text) Source #

A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.

AddEnrichmentToAlbumResponse

data AddEnrichmentToAlbumResponse Source #

Instances
Eq AddEnrichmentToAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data AddEnrichmentToAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AddEnrichmentToAlbumResponse -> c AddEnrichmentToAlbumResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AddEnrichmentToAlbumResponse #

toConstr :: AddEnrichmentToAlbumResponse -> Constr #

dataTypeOf :: AddEnrichmentToAlbumResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AddEnrichmentToAlbumResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AddEnrichmentToAlbumResponse) #

gmapT :: (forall b. Data b => b -> b) -> AddEnrichmentToAlbumResponse -> AddEnrichmentToAlbumResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AddEnrichmentToAlbumResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AddEnrichmentToAlbumResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> AddEnrichmentToAlbumResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AddEnrichmentToAlbumResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AddEnrichmentToAlbumResponse -> m AddEnrichmentToAlbumResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AddEnrichmentToAlbumResponse -> m AddEnrichmentToAlbumResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AddEnrichmentToAlbumResponse -> m AddEnrichmentToAlbumResponse #

Show AddEnrichmentToAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic AddEnrichmentToAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep AddEnrichmentToAlbumResponse :: Type -> Type #

ToJSON AddEnrichmentToAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON AddEnrichmentToAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep AddEnrichmentToAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep AddEnrichmentToAlbumResponse = D1 (MetaData "AddEnrichmentToAlbumResponse" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" True) (C1 (MetaCons "AddEnrichmentToAlbumResponse'" PrefixI True) (S1 (MetaSel (Just "_aetarEnrichmentItem") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe EnrichmentItem))))

addEnrichmentToAlbumResponse :: AddEnrichmentToAlbumResponse Source #

Creates a value of AddEnrichmentToAlbumResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

SearchMediaItemsResponse

data SearchMediaItemsResponse Source #

Instances
Eq SearchMediaItemsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data SearchMediaItemsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SearchMediaItemsResponse -> c SearchMediaItemsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SearchMediaItemsResponse #

toConstr :: SearchMediaItemsResponse -> Constr #

dataTypeOf :: SearchMediaItemsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SearchMediaItemsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SearchMediaItemsResponse) #

gmapT :: (forall b. Data b => b -> b) -> SearchMediaItemsResponse -> SearchMediaItemsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchMediaItemsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchMediaItemsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> SearchMediaItemsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchMediaItemsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchMediaItemsResponse -> m SearchMediaItemsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchMediaItemsResponse -> m SearchMediaItemsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchMediaItemsResponse -> m SearchMediaItemsResponse #

Show SearchMediaItemsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic SearchMediaItemsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep SearchMediaItemsResponse :: Type -> Type #

ToJSON SearchMediaItemsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON SearchMediaItemsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep SearchMediaItemsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep SearchMediaItemsResponse = D1 (MetaData "SearchMediaItemsResponse" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "SearchMediaItemsResponse'" PrefixI True) (S1 (MetaSel (Just "_smirNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_smirMediaItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MediaItem]))))

searchMediaItemsResponse :: SearchMediaItemsResponse Source #

Creates a value of SearchMediaItemsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

smirNextPageToken :: Lens' SearchMediaItemsResponse (Maybe Text) Source #

Output only
Token to use to get the next set of media items. Its presence is the only reliable indicator of more media items being available in the next request.

smirMediaItems :: Lens' SearchMediaItemsResponse [MediaItem] Source #

Output only
List of media items that match the search parameters.

JoinSharedAlbumResponse

data JoinSharedAlbumResponse Source #

Response to successfully joining the shared album on behalf of the user.

See: joinSharedAlbumResponse smart constructor.

Instances
Eq JoinSharedAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data JoinSharedAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> JoinSharedAlbumResponse -> c JoinSharedAlbumResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c JoinSharedAlbumResponse #

toConstr :: JoinSharedAlbumResponse -> Constr #

dataTypeOf :: JoinSharedAlbumResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c JoinSharedAlbumResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JoinSharedAlbumResponse) #

gmapT :: (forall b. Data b => b -> b) -> JoinSharedAlbumResponse -> JoinSharedAlbumResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> JoinSharedAlbumResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> JoinSharedAlbumResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> JoinSharedAlbumResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> JoinSharedAlbumResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> JoinSharedAlbumResponse -> m JoinSharedAlbumResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> JoinSharedAlbumResponse -> m JoinSharedAlbumResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> JoinSharedAlbumResponse -> m JoinSharedAlbumResponse #

Show JoinSharedAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic JoinSharedAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep JoinSharedAlbumResponse :: Type -> Type #

ToJSON JoinSharedAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON JoinSharedAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep JoinSharedAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep JoinSharedAlbumResponse = D1 (MetaData "JoinSharedAlbumResponse" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "JoinSharedAlbumResponse'" PrefixI False) (U1 :: Type -> Type))

joinSharedAlbumResponse :: JoinSharedAlbumResponse Source #

Creates a value of JoinSharedAlbumResponse with the minimum fields required to make a request.

CreateAlbumRequest

data CreateAlbumRequest Source #

Request to create an album in Google Photos.

See: createAlbumRequest smart constructor.

Instances
Eq CreateAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data CreateAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateAlbumRequest -> c CreateAlbumRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateAlbumRequest #

toConstr :: CreateAlbumRequest -> Constr #

dataTypeOf :: CreateAlbumRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CreateAlbumRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateAlbumRequest) #

gmapT :: (forall b. Data b => b -> b) -> CreateAlbumRequest -> CreateAlbumRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateAlbumRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateAlbumRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateAlbumRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateAlbumRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateAlbumRequest -> m CreateAlbumRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateAlbumRequest -> m CreateAlbumRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateAlbumRequest -> m CreateAlbumRequest #

Show CreateAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic CreateAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep CreateAlbumRequest :: Type -> Type #

ToJSON CreateAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON CreateAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep CreateAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep CreateAlbumRequest = D1 (MetaData "CreateAlbumRequest" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" True) (C1 (MetaCons "CreateAlbumRequest'" PrefixI True) (S1 (MetaSel (Just "_carAlbum") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Album))))

createAlbumRequest :: CreateAlbumRequest Source #

Creates a value of CreateAlbumRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

carAlbum :: Lens' CreateAlbumRequest (Maybe Album) Source #

The album to be created.

Location

data Location Source #

Represents a physical location.

See: location smart constructor.

Instances
Eq Location Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data Location Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Location -> c Location #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Location #

toConstr :: Location -> Constr #

dataTypeOf :: Location -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Location) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Location) #

gmapT :: (forall b. Data b => b -> b) -> Location -> Location #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Location -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Location -> r #

gmapQ :: (forall d. Data d => d -> u) -> Location -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Location -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Location -> m Location #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Location -> m Location #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Location -> m Location #

Show Location Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic Location Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep Location :: Type -> Type #

Methods

from :: Location -> Rep Location x #

to :: Rep Location x -> Location #

ToJSON Location Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON Location Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep Location Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep Location = D1 (MetaData "Location" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "Location'" PrefixI True) (S1 (MetaSel (Just "_lLatlng") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LatLng)) :*: S1 (MetaSel (Just "_lLocationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

location :: Location Source #

Creates a value of Location with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lLatlng :: Lens' Location (Maybe LatLng) Source #

Position of the location on the map.

lLocationName :: Lens' Location (Maybe Text) Source #

Name of the location to be displayed.

VideoStatus

data VideoStatus Source #

Processing status of the video.

Constructors

Unspecified

UNSPECIFIED Video processing status is unknown.

Processing

PROCESSING Video is currently being processed. The user will see an icon for this video in the Google Photos app, however, it will not be playable yet.

Ready

READY Video is now ready for viewing.

Failed

FAILED Something has gone wrong and the video has failed to process.

Instances
Enum VideoStatus Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Eq VideoStatus Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Data VideoStatus Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VideoStatus -> c VideoStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VideoStatus #

toConstr :: VideoStatus -> Constr #

dataTypeOf :: VideoStatus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c VideoStatus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VideoStatus) #

gmapT :: (forall b. Data b => b -> b) -> VideoStatus -> VideoStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VideoStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VideoStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> VideoStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VideoStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VideoStatus -> m VideoStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VideoStatus -> m VideoStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VideoStatus -> m VideoStatus #

Ord VideoStatus Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Read VideoStatus Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Show VideoStatus Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Generic VideoStatus Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Associated Types

type Rep VideoStatus :: Type -> Type #

Hashable VideoStatus Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

ToJSON VideoStatus Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

FromJSON VideoStatus Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

FromHttpApiData VideoStatus Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

ToHttpApiData VideoStatus Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

type Rep VideoStatus Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

type Rep VideoStatus = D1 (MetaData "VideoStatus" "Network.Google.PhotosLibrary.Types.Sum" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) ((C1 (MetaCons "Unspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Processing" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Ready" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Failed" PrefixI False) (U1 :: Type -> Type)))

NewEnrichmentItem

data NewEnrichmentItem Source #

A new enrichment item to be added to an album, used by the AddEnrichmentToAlbum call.

See: newEnrichmentItem smart constructor.

Instances
Eq NewEnrichmentItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data NewEnrichmentItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NewEnrichmentItem -> c NewEnrichmentItem #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NewEnrichmentItem #

toConstr :: NewEnrichmentItem -> Constr #

dataTypeOf :: NewEnrichmentItem -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NewEnrichmentItem) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NewEnrichmentItem) #

gmapT :: (forall b. Data b => b -> b) -> NewEnrichmentItem -> NewEnrichmentItem #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NewEnrichmentItem -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NewEnrichmentItem -> r #

gmapQ :: (forall d. Data d => d -> u) -> NewEnrichmentItem -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NewEnrichmentItem -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NewEnrichmentItem -> m NewEnrichmentItem #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NewEnrichmentItem -> m NewEnrichmentItem #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NewEnrichmentItem -> m NewEnrichmentItem #

Show NewEnrichmentItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic NewEnrichmentItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep NewEnrichmentItem :: Type -> Type #

ToJSON NewEnrichmentItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON NewEnrichmentItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep NewEnrichmentItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep NewEnrichmentItem = D1 (MetaData "NewEnrichmentItem" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "NewEnrichmentItem'" PrefixI True) (S1 (MetaSel (Just "_neiLocationEnrichment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LocationEnrichment)) :*: (S1 (MetaSel (Just "_neiTextEnrichment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TextEnrichment)) :*: S1 (MetaSel (Just "_neiMapEnrichment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MapEnrichment)))))

newEnrichmentItem :: NewEnrichmentItem Source #

Creates a value of NewEnrichmentItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ShareInfo

data ShareInfo Source #

Information about albums that are shared. Note that this information is only included if the album was created by you and you have the sharing scope.

See: shareInfo smart constructor.

Instances
Eq ShareInfo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data ShareInfo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ShareInfo -> c ShareInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ShareInfo #

toConstr :: ShareInfo -> Constr #

dataTypeOf :: ShareInfo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ShareInfo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ShareInfo) #

gmapT :: (forall b. Data b => b -> b) -> ShareInfo -> ShareInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ShareInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ShareInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> ShareInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ShareInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ShareInfo -> m ShareInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ShareInfo -> m ShareInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ShareInfo -> m ShareInfo #

Show ShareInfo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic ShareInfo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep ShareInfo :: Type -> Type #

ToJSON ShareInfo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON ShareInfo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep ShareInfo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep ShareInfo = D1 (MetaData "ShareInfo" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "ShareInfo'" PrefixI True) (S1 (MetaSel (Just "_siShareableURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_siShareToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_siSharedAlbumOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SharedAlbumOptions)))))

shareInfo :: ShareInfo Source #

Creates a value of ShareInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

siShareableURL :: Lens' ShareInfo (Maybe Text) Source #

A link to the album that's now shared on the Google Photos website and app. Anyone with the link can access this shared album and see all of the items present in the album.

siShareToken :: Lens' ShareInfo (Maybe Text) Source #

A token which can be used to join this shared album on behalf of other users via the API.

siSharedAlbumOptions :: Lens' ShareInfo (Maybe SharedAlbumOptions) Source #

Options set for the shared album.

BatchCreateMediaItemsRequest

data BatchCreateMediaItemsRequest Source #

Request to create one or more media items in a user's Google Photos library. If an albumid is specified, the media items are also added to that album. albumPosition is optional and can only be specified if an albumId is set.

See: batchCreateMediaItemsRequest smart constructor.

Instances
Eq BatchCreateMediaItemsRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data BatchCreateMediaItemsRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BatchCreateMediaItemsRequest -> c BatchCreateMediaItemsRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BatchCreateMediaItemsRequest #

toConstr :: BatchCreateMediaItemsRequest -> Constr #

dataTypeOf :: BatchCreateMediaItemsRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BatchCreateMediaItemsRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BatchCreateMediaItemsRequest) #

gmapT :: (forall b. Data b => b -> b) -> BatchCreateMediaItemsRequest -> BatchCreateMediaItemsRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BatchCreateMediaItemsRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BatchCreateMediaItemsRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> BatchCreateMediaItemsRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BatchCreateMediaItemsRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BatchCreateMediaItemsRequest -> m BatchCreateMediaItemsRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BatchCreateMediaItemsRequest -> m BatchCreateMediaItemsRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BatchCreateMediaItemsRequest -> m BatchCreateMediaItemsRequest #

Show BatchCreateMediaItemsRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic BatchCreateMediaItemsRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep BatchCreateMediaItemsRequest :: Type -> Type #

ToJSON BatchCreateMediaItemsRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON BatchCreateMediaItemsRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep BatchCreateMediaItemsRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep BatchCreateMediaItemsRequest = D1 (MetaData "BatchCreateMediaItemsRequest" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "BatchCreateMediaItemsRequest'" PrefixI True) (S1 (MetaSel (Just "_bcmirAlbumId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_bcmirNewMediaItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [NewMediaItem])) :*: S1 (MetaSel (Just "_bcmirAlbumPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AlbumPosition)))))

batchCreateMediaItemsRequest :: BatchCreateMediaItemsRequest Source #

Creates a value of BatchCreateMediaItemsRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

bcmirAlbumId :: Lens' BatchCreateMediaItemsRequest (Maybe Text) Source #

Identifier of the album where the media item(s) will be added. They will also be added to the user's library. This is an optional field.

bcmirAlbumPosition :: Lens' BatchCreateMediaItemsRequest (Maybe AlbumPosition) Source #

Position in the album where the media item(s) will be added. If not specified, the media item(s) will be added to the end of the album (as per the default value which is LAST_IN_ALBUM). The request will fail if this field is present but no album_id is specified.

Filters

data Filters Source #

Filters that can be applied to a media item search. If multiple filter options are specified, they are treated as AND with each other.

See: filters smart constructor.

Instances
Eq Filters Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

(==) :: Filters -> Filters -> Bool #

(/=) :: Filters -> Filters -> Bool #

Data Filters Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Filters -> c Filters #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Filters #

toConstr :: Filters -> Constr #

dataTypeOf :: Filters -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Filters) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Filters) #

gmapT :: (forall b. Data b => b -> b) -> Filters -> Filters #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Filters -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Filters -> r #

gmapQ :: (forall d. Data d => d -> u) -> Filters -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Filters -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Filters -> m Filters #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Filters -> m Filters #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Filters -> m Filters #

Show Filters Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic Filters Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep Filters :: Type -> Type #

Methods

from :: Filters -> Rep Filters x #

to :: Rep Filters x -> Filters #

ToJSON Filters Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON Filters Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep Filters Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep Filters = D1 (MetaData "Filters" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "Filters'" PrefixI True) ((S1 (MetaSel (Just "_fDateFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateFilter)) :*: S1 (MetaSel (Just "_fIncludeArchivedMedia") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_fMediaTypeFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MediaTypeFilter)) :*: S1 (MetaSel (Just "_fContentFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ContentFilter)))))

filters :: Filters Source #

Creates a value of Filters with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fDateFilter :: Lens' Filters (Maybe DateFilter) Source #

Filters the media items based on their creation date.

fIncludeArchivedMedia :: Lens' Filters (Maybe Bool) Source #

If set, the results will include media items that the user has archived. Defaults to false (archived media items are not included).

fMediaTypeFilter :: Lens' Filters (Maybe MediaTypeFilter) Source #

Filters the media items based on the type of media.

fContentFilter :: Lens' Filters (Maybe ContentFilter) Source #

Filters the media items based on their content.

StatusDetailsItem

data StatusDetailsItem Source #

Instances
Eq StatusDetailsItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data StatusDetailsItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StatusDetailsItem -> c StatusDetailsItem #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StatusDetailsItem #

toConstr :: StatusDetailsItem -> Constr #

dataTypeOf :: StatusDetailsItem -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StatusDetailsItem) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StatusDetailsItem) #

gmapT :: (forall b. Data b => b -> b) -> StatusDetailsItem -> StatusDetailsItem #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StatusDetailsItem -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StatusDetailsItem -> r #

gmapQ :: (forall d. Data d => d -> u) -> StatusDetailsItem -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StatusDetailsItem -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StatusDetailsItem -> m StatusDetailsItem #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusDetailsItem -> m StatusDetailsItem #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusDetailsItem -> m StatusDetailsItem #

Show StatusDetailsItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic StatusDetailsItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep StatusDetailsItem :: Type -> Type #

ToJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep StatusDetailsItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep StatusDetailsItem = D1 (MetaData "StatusDetailsItem" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" True) (C1 (MetaCons "StatusDetailsItem'" PrefixI True) (S1 (MetaSel (Just "_sdiAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

statusDetailsItem Source #

Creates a value of StatusDetailsItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue) Source #

Properties of the object. Contains field 'type with type URL.

DateRange

data DateRange Source #

Defines a range of dates. Both dates must be of the same format (see Date definition for more).

See: dateRange smart constructor.

Instances
Eq DateRange Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data DateRange Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DateRange -> c DateRange #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DateRange #

toConstr :: DateRange -> Constr #

dataTypeOf :: DateRange -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DateRange) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DateRange) #

gmapT :: (forall b. Data b => b -> b) -> DateRange -> DateRange #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DateRange -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DateRange -> r #

gmapQ :: (forall d. Data d => d -> u) -> DateRange -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DateRange -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DateRange -> m DateRange #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DateRange -> m DateRange #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DateRange -> m DateRange #

Show DateRange Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic DateRange Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep DateRange :: Type -> Type #

ToJSON DateRange Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON DateRange Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep DateRange Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep DateRange = D1 (MetaData "DateRange" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "DateRange'" PrefixI True) (S1 (MetaSel (Just "_drEndDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Date)) :*: S1 (MetaSel (Just "_drStartDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Date))))

dateRange :: DateRange Source #

Creates a value of DateRange with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

drEndDate :: Lens' DateRange (Maybe Date) Source #

The end date (included as part of the range) in the same format as the start date.

drStartDate :: Lens' DateRange (Maybe Date) Source #

The start date (included as part of the range) in one of the formats described.

SharedAlbumOptions

data SharedAlbumOptions Source #

Options that control the sharing of an album.

See: sharedAlbumOptions smart constructor.

Instances
Eq SharedAlbumOptions Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data SharedAlbumOptions Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SharedAlbumOptions -> c SharedAlbumOptions #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SharedAlbumOptions #

toConstr :: SharedAlbumOptions -> Constr #

dataTypeOf :: SharedAlbumOptions -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SharedAlbumOptions) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SharedAlbumOptions) #

gmapT :: (forall b. Data b => b -> b) -> SharedAlbumOptions -> SharedAlbumOptions #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SharedAlbumOptions -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SharedAlbumOptions -> r #

gmapQ :: (forall d. Data d => d -> u) -> SharedAlbumOptions -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SharedAlbumOptions -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SharedAlbumOptions -> m SharedAlbumOptions #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SharedAlbumOptions -> m SharedAlbumOptions #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SharedAlbumOptions -> m SharedAlbumOptions #

Show SharedAlbumOptions Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic SharedAlbumOptions Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep SharedAlbumOptions :: Type -> Type #

ToJSON SharedAlbumOptions Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON SharedAlbumOptions Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep SharedAlbumOptions Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep SharedAlbumOptions = D1 (MetaData "SharedAlbumOptions" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "SharedAlbumOptions'" PrefixI True) (S1 (MetaSel (Just "_saoIsCollaborative") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_saoIsCommentable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))

sharedAlbumOptions :: SharedAlbumOptions Source #

Creates a value of SharedAlbumOptions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

saoIsCollaborative :: Lens' SharedAlbumOptions (Maybe Bool) Source #

True if the shared album allows collaborators (users who have joined the album) to add media items to it. Defaults to false.

saoIsCommentable :: Lens' SharedAlbumOptions (Maybe Bool) Source #

True if the shared album allows the owner and the collaborators (users who have joined the album) to add comments to the album. Defaults to false.

MediaMetadata

data MediaMetadata Source #

Metadata for a media item.

See: mediaMetadata smart constructor.

Instances
Eq MediaMetadata Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data MediaMetadata Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MediaMetadata -> c MediaMetadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MediaMetadata #

toConstr :: MediaMetadata -> Constr #

dataTypeOf :: MediaMetadata -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MediaMetadata) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MediaMetadata) #

gmapT :: (forall b. Data b => b -> b) -> MediaMetadata -> MediaMetadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MediaMetadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MediaMetadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> MediaMetadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MediaMetadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MediaMetadata -> m MediaMetadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaMetadata -> m MediaMetadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaMetadata -> m MediaMetadata #

Show MediaMetadata Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic MediaMetadata Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep MediaMetadata :: Type -> Type #

ToJSON MediaMetadata Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON MediaMetadata Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep MediaMetadata Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep MediaMetadata = D1 (MetaData "MediaMetadata" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "MediaMetadata'" PrefixI True) ((S1 (MetaSel (Just "_mmCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_mmPhoto") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Photo))) :*: (S1 (MetaSel (Just "_mmHeight") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: (S1 (MetaSel (Just "_mmWidth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: S1 (MetaSel (Just "_mmVideo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Video))))))

mediaMetadata :: MediaMetadata Source #

Creates a value of MediaMetadata with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mmCreationTime :: Lens' MediaMetadata (Maybe UTCTime) Source #

Time when the media item was first created (not when it was uploaded to Google Photos).

mmPhoto :: Lens' MediaMetadata (Maybe Photo) Source #

Metadata for a photo media type.

mmHeight :: Lens' MediaMetadata (Maybe Int64) Source #

Original height (in pixels) of the media item.

mmWidth :: Lens' MediaMetadata (Maybe Int64) Source #

Original width (in pixels) of the media item.

mmVideo :: Lens' MediaMetadata (Maybe Video) Source #

Metadata for a video media type.

ShareAlbumResponse

data ShareAlbumResponse Source #

Instances
Eq ShareAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data ShareAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ShareAlbumResponse -> c ShareAlbumResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ShareAlbumResponse #

toConstr :: ShareAlbumResponse -> Constr #

dataTypeOf :: ShareAlbumResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ShareAlbumResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ShareAlbumResponse) #

gmapT :: (forall b. Data b => b -> b) -> ShareAlbumResponse -> ShareAlbumResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ShareAlbumResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ShareAlbumResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ShareAlbumResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ShareAlbumResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ShareAlbumResponse -> m ShareAlbumResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ShareAlbumResponse -> m ShareAlbumResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ShareAlbumResponse -> m ShareAlbumResponse #

Show ShareAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic ShareAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep ShareAlbumResponse :: Type -> Type #

ToJSON ShareAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON ShareAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep ShareAlbumResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep ShareAlbumResponse = D1 (MetaData "ShareAlbumResponse" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" True) (C1 (MetaCons "ShareAlbumResponse'" PrefixI True) (S1 (MetaSel (Just "_sarShareInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe ShareInfo))))

shareAlbumResponse :: ShareAlbumResponse Source #

Creates a value of ShareAlbumResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sarShareInfo :: Lens' ShareAlbumResponse (Maybe ShareInfo) Source #

Output only
Information about the shared album.

Video

data Video Source #

Metadata that is specific to a video, for example, fps and processing status. Some of these fields may be null or not included.

See: video smart constructor.

Instances
Eq Video Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

(==) :: Video -> Video -> Bool #

(/=) :: Video -> Video -> Bool #

Data Video Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Video -> c Video #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Video #

toConstr :: Video -> Constr #

dataTypeOf :: Video -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Video) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Video) #

gmapT :: (forall b. Data b => b -> b) -> Video -> Video #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Video -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Video -> r #

gmapQ :: (forall d. Data d => d -> u) -> Video -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Video -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Video -> m Video #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Video -> m Video #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Video -> m Video #

Show Video Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

showsPrec :: Int -> Video -> ShowS #

show :: Video -> String #

showList :: [Video] -> ShowS #

Generic Video Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep Video :: Type -> Type #

Methods

from :: Video -> Rep Video x #

to :: Rep Video x -> Video #

ToJSON Video Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON Video Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep Video Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep Video = D1 (MetaData "Video" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "Video'" PrefixI True) ((S1 (MetaSel (Just "_vStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VideoStatus)) :*: S1 (MetaSel (Just "_vCameraMake") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_vCameraModel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_vFps") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))))))

video :: Video Source #

Creates a value of Video with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vStatus :: Lens' Video (Maybe VideoStatus) Source #

Processing status of the video.

vCameraMake :: Lens' Video (Maybe Text) Source #

Brand of the camera which took the video.

vCameraModel :: Lens' Video (Maybe Text) Source #

Model of the camera which took the video.

vFps :: Lens' Video (Maybe Double) Source #

Frame rate of the video.

MediaItem

data MediaItem Source #

Representation of a media item (e.g. photo, video etc.) in Google Photos.

See: mediaItem smart constructor.

Instances
Eq MediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data MediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MediaItem -> c MediaItem #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MediaItem #

toConstr :: MediaItem -> Constr #

dataTypeOf :: MediaItem -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MediaItem) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MediaItem) #

gmapT :: (forall b. Data b => b -> b) -> MediaItem -> MediaItem #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MediaItem -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MediaItem -> r #

gmapQ :: (forall d. Data d => d -> u) -> MediaItem -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MediaItem -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MediaItem -> m MediaItem #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaItem -> m MediaItem #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaItem -> m MediaItem #

Show MediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic MediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep MediaItem :: Type -> Type #

ToJSON MediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON MediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep MediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

mediaItem :: MediaItem Source #

Creates a value of MediaItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

miProductURL :: Lens' MediaItem (Maybe Text) Source #

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

miBaseURL :: Lens' MediaItem (Maybe Text) Source #

A URL to the media item's bytes. This should not be used as is. 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.

miMediaMetadata :: Lens' MediaItem (Maybe MediaMetadata) Source #

Metadata related to the media item, for example the height, width or creation time.

miMimeType :: Lens' MediaItem (Maybe Text) Source #

MIME type of the media item.

miId :: Lens' MediaItem (Maybe Text) Source #

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

miContributorInfo :: Lens' MediaItem (Maybe ContributorInfo) Source #

Information about the user who created this media item.

miDescription :: Lens' MediaItem (Maybe Text) Source #

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

Date

data Date Source #

Represents a whole calendar date. The day may be 0 to represent a year and month where the day is not significant, e.g. a whole calendar month. The month may be 0 to represent a a day and a year where the month is not signficant, e.g. when you want to specify the same day in every month of a year or a specific year. The year may be 0 to represent a month and day independent of year, e.g. anniversary date.

See: date smart constructor.

Instances
Eq Date Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

(==) :: Date -> Date -> Bool #

(/=) :: Date -> Date -> Bool #

Data Date Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Date -> c Date #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Date #

toConstr :: Date -> Constr #

dataTypeOf :: Date -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Date) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Date) #

gmapT :: (forall b. Data b => b -> b) -> Date -> Date #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Date -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Date -> r #

gmapQ :: (forall d. Data d => d -> u) -> Date -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Date -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Date -> m Date #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Date -> m Date #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Date -> m Date #

Show Date Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

showsPrec :: Int -> Date -> ShowS #

show :: Date -> String #

showList :: [Date] -> ShowS #

Generic Date Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep Date :: Type -> Type #

Methods

from :: Date -> Rep Date x #

to :: Rep Date x -> Date #

ToJSON Date Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON Date Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep Date Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep Date = D1 (MetaData "Date" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "Date'" PrefixI True) (S1 (MetaSel (Just "_dDay") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_dYear") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_dMonth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))

date :: Date Source #

Creates a value of Date with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dDay :: Lens' Date (Maybe Int32) Source #

Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not significant.

dYear :: Lens' Date (Maybe Int32) Source #

Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.

dMonth :: Lens' Date (Maybe Int32) Source #

Month of year. Must be from 1 to 12, or 0 if specifying a date without a month.

EnrichmentItem

data EnrichmentItem Source #

An enrichment item.

See: enrichmentItem smart constructor.

Instances
Eq EnrichmentItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data EnrichmentItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EnrichmentItem -> c EnrichmentItem #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EnrichmentItem #

toConstr :: EnrichmentItem -> Constr #

dataTypeOf :: EnrichmentItem -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EnrichmentItem) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EnrichmentItem) #

gmapT :: (forall b. Data b => b -> b) -> EnrichmentItem -> EnrichmentItem #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EnrichmentItem -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EnrichmentItem -> r #

gmapQ :: (forall d. Data d => d -> u) -> EnrichmentItem -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EnrichmentItem -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EnrichmentItem -> m EnrichmentItem #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EnrichmentItem -> m EnrichmentItem #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EnrichmentItem -> m EnrichmentItem #

Show EnrichmentItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic EnrichmentItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep EnrichmentItem :: Type -> Type #

ToJSON EnrichmentItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON EnrichmentItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep EnrichmentItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep EnrichmentItem = D1 (MetaData "EnrichmentItem" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" True) (C1 (MetaCons "EnrichmentItem'" PrefixI True) (S1 (MetaSel (Just "_eiId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

enrichmentItem :: EnrichmentItem Source #

Creates a value of EnrichmentItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

eiId :: Lens' EnrichmentItem (Maybe Text) Source #

Identifier of the enrichment item.

ListSharedAlbumsResponse

data ListSharedAlbumsResponse Source #

Instances
Eq ListSharedAlbumsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data ListSharedAlbumsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListSharedAlbumsResponse -> c ListSharedAlbumsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListSharedAlbumsResponse #

toConstr :: ListSharedAlbumsResponse -> Constr #

dataTypeOf :: ListSharedAlbumsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListSharedAlbumsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListSharedAlbumsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListSharedAlbumsResponse -> ListSharedAlbumsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListSharedAlbumsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListSharedAlbumsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListSharedAlbumsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListSharedAlbumsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListSharedAlbumsResponse -> m ListSharedAlbumsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListSharedAlbumsResponse -> m ListSharedAlbumsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListSharedAlbumsResponse -> m ListSharedAlbumsResponse #

Show ListSharedAlbumsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic ListSharedAlbumsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep ListSharedAlbumsResponse :: Type -> Type #

ToJSON ListSharedAlbumsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON ListSharedAlbumsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep ListSharedAlbumsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep ListSharedAlbumsResponse = D1 (MetaData "ListSharedAlbumsResponse" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "ListSharedAlbumsResponse'" PrefixI True) (S1 (MetaSel (Just "_lsarNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lsarSharedAlbums") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Album]))))

listSharedAlbumsResponse :: ListSharedAlbumsResponse Source #

Creates a value of ListSharedAlbumsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lsarNextPageToken :: Lens' ListSharedAlbumsResponse (Maybe Text) Source #

Output only
Token to use to get the next set of shared albums. Populated if there are more shared albums to retrieve for this request.

lsarSharedAlbums :: Lens' ListSharedAlbumsResponse [Album] Source #

Output only
List of shared albums that were requested.

MediaTypeFilter

data MediaTypeFilter Source #

This filter defines the type of media items to be returned, for example videos or photos. All the specified media types are treated as an OR with each other.

See: mediaTypeFilter smart constructor.

Instances
Eq MediaTypeFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data MediaTypeFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MediaTypeFilter -> c MediaTypeFilter #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MediaTypeFilter #

toConstr :: MediaTypeFilter -> Constr #

dataTypeOf :: MediaTypeFilter -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MediaTypeFilter) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MediaTypeFilter) #

gmapT :: (forall b. Data b => b -> b) -> MediaTypeFilter -> MediaTypeFilter #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MediaTypeFilter -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MediaTypeFilter -> r #

gmapQ :: (forall d. Data d => d -> u) -> MediaTypeFilter -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MediaTypeFilter -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MediaTypeFilter -> m MediaTypeFilter #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaTypeFilter -> m MediaTypeFilter #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MediaTypeFilter -> m MediaTypeFilter #

Show MediaTypeFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic MediaTypeFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep MediaTypeFilter :: Type -> Type #

ToJSON MediaTypeFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON MediaTypeFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep MediaTypeFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep MediaTypeFilter = D1 (MetaData "MediaTypeFilter" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" True) (C1 (MetaCons "MediaTypeFilter'" PrefixI True) (S1 (MetaSel (Just "_mtfMediaTypes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

mediaTypeFilter :: MediaTypeFilter Source #

Creates a value of MediaTypeFilter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mtfMediaTypes :: Lens' MediaTypeFilter [Text] Source #

The types of media items to be included. This field should only be populated with one media type, multiple media types will result in an error response.

NewMediaItemResult

data NewMediaItemResult Source #

Result of creating a new media item.

See: newMediaItemResult smart constructor.

Instances
Eq NewMediaItemResult Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data NewMediaItemResult Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NewMediaItemResult -> c NewMediaItemResult #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NewMediaItemResult #

toConstr :: NewMediaItemResult -> Constr #

dataTypeOf :: NewMediaItemResult -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NewMediaItemResult) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NewMediaItemResult) #

gmapT :: (forall b. Data b => b -> b) -> NewMediaItemResult -> NewMediaItemResult #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NewMediaItemResult -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NewMediaItemResult -> r #

gmapQ :: (forall d. Data d => d -> u) -> NewMediaItemResult -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NewMediaItemResult -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NewMediaItemResult -> m NewMediaItemResult #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NewMediaItemResult -> m NewMediaItemResult #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NewMediaItemResult -> m NewMediaItemResult #

Show NewMediaItemResult Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic NewMediaItemResult Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep NewMediaItemResult :: Type -> Type #

ToJSON NewMediaItemResult Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON NewMediaItemResult Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep NewMediaItemResult Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep NewMediaItemResult = D1 (MetaData "NewMediaItemResult" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "NewMediaItemResult'" PrefixI True) (S1 (MetaSel (Just "_nmirStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Status)) :*: (S1 (MetaSel (Just "_nmirUploadToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_nmirMediaItem") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MediaItem)))))

newMediaItemResult :: NewMediaItemResult Source #

Creates a value of NewMediaItemResult with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

nmirStatus :: Lens' NewMediaItemResult (Maybe Status) Source #

If an error occurred during the creation of this media item, this field will be populated with information related to the error. Details of this status can be found down below.

nmirUploadToken :: Lens' NewMediaItemResult (Maybe Text) Source #

The upload token used to create this new media item.

nmirMediaItem :: Lens' NewMediaItemResult (Maybe MediaItem) Source #

Media item created with the upload token. It is populated if no errors occurred and the media item was created successfully.

Album

data Album Source #

Representation of an album in Google Photos. Albums are a container for media items. They contain an additional shareInfo property if they have been shared by the application.

See: album smart constructor.

Instances
Eq Album Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

(==) :: Album -> Album -> Bool #

(/=) :: Album -> Album -> Bool #

Data Album Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Album -> c Album #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Album #

toConstr :: Album -> Constr #

dataTypeOf :: Album -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Album) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Album) #

gmapT :: (forall b. Data b => b -> b) -> Album -> Album #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Album -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Album -> r #

gmapQ :: (forall d. Data d => d -> u) -> Album -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Album -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Album -> m Album #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Album -> m Album #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Album -> m Album #

Show Album Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

showsPrec :: Int -> Album -> ShowS #

show :: Album -> String #

showList :: [Album] -> ShowS #

Generic Album Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep Album :: Type -> Type #

Methods

from :: Album -> Rep Album x #

to :: Rep Album x -> Album #

ToJSON Album Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON Album Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep Album Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

album :: Album Source #

Creates a value of Album with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aIsWriteable :: Lens' Album (Maybe Bool) Source #

Output only
True if media items can be created in the album. This field is based on the scopes granted and permissions of the album. If the scopes are changed or permissions of the album are changed, this field will be updated.

aProductURL :: Lens' Album (Maybe Text) Source #

Output only
Google Photos URL for the album. The user needs to be signed in to their Google Photos account to access this link.

aShareInfo :: Lens' Album (Maybe ShareInfo) Source #

Output only
Information related to shared albums. This field is only populated if the album is a shared album, the developer created the album and the user has granted photoslibrary.sharing scope.

aCoverPhotoBaseURL :: Lens' Album (Maybe Text) Source #

Output only
A URL to the cover photo's bytes. This should not be used as is. Parameters should be appended to this URL before use. For example, '=w2048-h1024' will set the dimensions of the cover photo to have a width of 2048 px and height of 1024 px.

aId :: Lens' Album (Maybe Text) Source #

Ouput only
Identifier for the album. This is a persistent identifier that can be used between sessions to identify this album.

aTotalMediaItems :: Lens' Album (Maybe Int64) Source #

Output only
The number of media items in the album

aTitle :: Lens' Album (Maybe Text) Source #

Name of the album displayed to the user in their Google Photos account. This string should not be more than 500 characters.

SimpleMediaItem

data SimpleMediaItem Source #

A simple media item to be created in Google Photos via an upload token.

See: simpleMediaItem smart constructor.

Instances
Eq SimpleMediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data SimpleMediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SimpleMediaItem -> c SimpleMediaItem #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SimpleMediaItem #

toConstr :: SimpleMediaItem -> Constr #

dataTypeOf :: SimpleMediaItem -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SimpleMediaItem) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SimpleMediaItem) #

gmapT :: (forall b. Data b => b -> b) -> SimpleMediaItem -> SimpleMediaItem #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SimpleMediaItem -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SimpleMediaItem -> r #

gmapQ :: (forall d. Data d => d -> u) -> SimpleMediaItem -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SimpleMediaItem -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SimpleMediaItem -> m SimpleMediaItem #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SimpleMediaItem -> m SimpleMediaItem #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SimpleMediaItem -> m SimpleMediaItem #

Show SimpleMediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic SimpleMediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep SimpleMediaItem :: Type -> Type #

ToJSON SimpleMediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON SimpleMediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep SimpleMediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep SimpleMediaItem = D1 (MetaData "SimpleMediaItem" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" True) (C1 (MetaCons "SimpleMediaItem'" PrefixI True) (S1 (MetaSel (Just "_smiUploadToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

simpleMediaItem :: SimpleMediaItem Source #

Creates a value of SimpleMediaItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

smiUploadToken :: Lens' SimpleMediaItem (Maybe Text) Source #

Token identifying the media bytes which have been uploaded to Google.

AlbumPositionPosition

data AlbumPositionPosition Source #

Type of position, for a media or enrichment item.

Constructors

PositionTypeUnspecified

POSITION_TYPE_UNSPECIFIED Default value if this enum is not set.

FirstInAlbum

FIRST_IN_ALBUM At the beginning of the album.

LastInAlbum

LAST_IN_ALBUM At the end of the album.

AfterMediaItem

AFTER_MEDIA_ITEM After a media item.

AfterEnrichmentItem

AFTER_ENRICHMENT_ITEM After an enrichment item.

Instances
Enum AlbumPositionPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Eq AlbumPositionPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Data AlbumPositionPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AlbumPositionPosition -> c AlbumPositionPosition #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AlbumPositionPosition #

toConstr :: AlbumPositionPosition -> Constr #

dataTypeOf :: AlbumPositionPosition -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AlbumPositionPosition) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AlbumPositionPosition) #

gmapT :: (forall b. Data b => b -> b) -> AlbumPositionPosition -> AlbumPositionPosition #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AlbumPositionPosition -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AlbumPositionPosition -> r #

gmapQ :: (forall d. Data d => d -> u) -> AlbumPositionPosition -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AlbumPositionPosition -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AlbumPositionPosition -> m AlbumPositionPosition #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AlbumPositionPosition -> m AlbumPositionPosition #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AlbumPositionPosition -> m AlbumPositionPosition #

Ord AlbumPositionPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Read AlbumPositionPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Show AlbumPositionPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Generic AlbumPositionPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Associated Types

type Rep AlbumPositionPosition :: Type -> Type #

Hashable AlbumPositionPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

ToJSON AlbumPositionPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

FromJSON AlbumPositionPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

FromHttpApiData AlbumPositionPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

ToHttpApiData AlbumPositionPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

type Rep AlbumPositionPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

type Rep AlbumPositionPosition = D1 (MetaData "AlbumPositionPosition" "Network.Google.PhotosLibrary.Types.Sum" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) ((C1 (MetaCons "PositionTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "FirstInAlbum" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "LastInAlbum" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "AfterMediaItem" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AfterEnrichmentItem" PrefixI False) (U1 :: Type -> Type))))

Xgafv

data Xgafv Source #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances
Enum Xgafv Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Eq Xgafv Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Methods

(==) :: Xgafv -> Xgafv -> Bool #

(/=) :: Xgafv -> Xgafv -> Bool #

Data Xgafv Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Xgafv -> c Xgafv #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Xgafv #

toConstr :: Xgafv -> Constr #

dataTypeOf :: Xgafv -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Xgafv) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Xgafv) #

gmapT :: (forall b. Data b => b -> b) -> Xgafv -> Xgafv #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Xgafv -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Xgafv -> r #

gmapQ :: (forall d. Data d => d -> u) -> Xgafv -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Xgafv -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Xgafv -> m Xgafv #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Xgafv -> m Xgafv #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Xgafv -> m Xgafv #

Ord Xgafv Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Methods

compare :: Xgafv -> Xgafv -> Ordering #

(<) :: Xgafv -> Xgafv -> Bool #

(<=) :: Xgafv -> Xgafv -> Bool #

(>) :: Xgafv -> Xgafv -> Bool #

(>=) :: Xgafv -> Xgafv -> Bool #

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Read Xgafv Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Show Xgafv Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Associated Types

type Rep Xgafv :: Type -> Type #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Sum

type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.PhotosLibrary.Types.Sum" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "X1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "X2" PrefixI False) (U1 :: Type -> Type))

ContributorInfo

data ContributorInfo Source #

Information about a user who contributed the media item. Note that this information is only included if the album containing the media item is shared, was created by you and you have the sharing scope.

See: contributorInfo smart constructor.

Instances
Eq ContributorInfo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data ContributorInfo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContributorInfo -> c ContributorInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContributorInfo #

toConstr :: ContributorInfo -> Constr #

dataTypeOf :: ContributorInfo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ContributorInfo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContributorInfo) #

gmapT :: (forall b. Data b => b -> b) -> ContributorInfo -> ContributorInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContributorInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContributorInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContributorInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContributorInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContributorInfo -> m ContributorInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContributorInfo -> m ContributorInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContributorInfo -> m ContributorInfo #

Show ContributorInfo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic ContributorInfo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep ContributorInfo :: Type -> Type #

ToJSON ContributorInfo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON ContributorInfo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep ContributorInfo Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep ContributorInfo = D1 (MetaData "ContributorInfo" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "ContributorInfo'" PrefixI True) (S1 (MetaSel (Just "_ciProFilePictureBaseURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ciDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

contributorInfo :: ContributorInfo Source #

Creates a value of ContributorInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ciProFilePictureBaseURL :: Lens' ContributorInfo (Maybe Text) Source #

URL to the profile picture of the contributor.

ciDisplayName :: Lens' ContributorInfo (Maybe Text) Source #

Display name of the contributor.

ListAlbumsResponse

data ListAlbumsResponse Source #

Instances
Eq ListAlbumsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data ListAlbumsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListAlbumsResponse -> c ListAlbumsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListAlbumsResponse #

toConstr :: ListAlbumsResponse -> Constr #

dataTypeOf :: ListAlbumsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListAlbumsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListAlbumsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListAlbumsResponse -> ListAlbumsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListAlbumsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListAlbumsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListAlbumsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListAlbumsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListAlbumsResponse -> m ListAlbumsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListAlbumsResponse -> m ListAlbumsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListAlbumsResponse -> m ListAlbumsResponse #

Show ListAlbumsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic ListAlbumsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep ListAlbumsResponse :: Type -> Type #

ToJSON ListAlbumsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON ListAlbumsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep ListAlbumsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep ListAlbumsResponse = D1 (MetaData "ListAlbumsResponse" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "ListAlbumsResponse'" PrefixI True) (S1 (MetaSel (Just "_larNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_larAlbums") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Album]))))

listAlbumsResponse :: ListAlbumsResponse Source #

Creates a value of ListAlbumsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

larNextPageToken :: Lens' ListAlbumsResponse (Maybe Text) Source #

Output only
Token to use to get the next set of albums. Populated if there are more albums to retrieve for this request.

larAlbums :: Lens' ListAlbumsResponse [Album] Source #

Output only
List of albums that were created by the user.

MapEnrichment

data MapEnrichment Source #

An enrichment containing a map, showing origin and destination locations.

See: mapEnrichment smart constructor.

Instances
Eq MapEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data MapEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MapEnrichment -> c MapEnrichment #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MapEnrichment #

toConstr :: MapEnrichment -> Constr #

dataTypeOf :: MapEnrichment -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MapEnrichment) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MapEnrichment) #

gmapT :: (forall b. Data b => b -> b) -> MapEnrichment -> MapEnrichment #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MapEnrichment -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MapEnrichment -> r #

gmapQ :: (forall d. Data d => d -> u) -> MapEnrichment -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MapEnrichment -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MapEnrichment -> m MapEnrichment #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MapEnrichment -> m MapEnrichment #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MapEnrichment -> m MapEnrichment #

Show MapEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic MapEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep MapEnrichment :: Type -> Type #

ToJSON MapEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON MapEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep MapEnrichment Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep MapEnrichment = D1 (MetaData "MapEnrichment" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "MapEnrichment'" PrefixI True) (S1 (MetaSel (Just "_meDestination") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Location)) :*: S1 (MetaSel (Just "_meOrigin") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Location))))

mapEnrichment :: MapEnrichment Source #

Creates a value of MapEnrichment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

meDestination :: Lens' MapEnrichment (Maybe Location) Source #

Destination location for this enrichemt item.

meOrigin :: Lens' MapEnrichment (Maybe Location) Source #

Origin location for this enrichment item.

SearchMediaItemsRequest

data SearchMediaItemsRequest Source #

Request to search for media items in a user's library. If the album id is specified, this call will return the list of media items in the album. If neither filters nor album id are specified, this call will return all media items in a user's Google Photos library. If filters are specified, this call will return all media items in the user's library which fulfills the criteria based upon the filters. Filters and album id must not both be set, as this will result in an invalid request.

See: searchMediaItemsRequest smart constructor.

Instances
Eq SearchMediaItemsRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data SearchMediaItemsRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SearchMediaItemsRequest -> c SearchMediaItemsRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SearchMediaItemsRequest #

toConstr :: SearchMediaItemsRequest -> Constr #

dataTypeOf :: SearchMediaItemsRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SearchMediaItemsRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SearchMediaItemsRequest) #

gmapT :: (forall b. Data b => b -> b) -> SearchMediaItemsRequest -> SearchMediaItemsRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchMediaItemsRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchMediaItemsRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> SearchMediaItemsRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchMediaItemsRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchMediaItemsRequest -> m SearchMediaItemsRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchMediaItemsRequest -> m SearchMediaItemsRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchMediaItemsRequest -> m SearchMediaItemsRequest #

Show SearchMediaItemsRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic SearchMediaItemsRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep SearchMediaItemsRequest :: Type -> Type #

ToJSON SearchMediaItemsRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON SearchMediaItemsRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep SearchMediaItemsRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep SearchMediaItemsRequest = D1 (MetaData "SearchMediaItemsRequest" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "SearchMediaItemsRequest'" PrefixI True) ((S1 (MetaSel (Just "_smirAlbumId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_smirFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Filters))) :*: (S1 (MetaSel (Just "_smirPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_smirPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))

searchMediaItemsRequest :: SearchMediaItemsRequest Source #

Creates a value of SearchMediaItemsRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

smirAlbumId :: Lens' SearchMediaItemsRequest (Maybe Text) Source #

Identifier of an album. If populated will list all media items in specified album. Cannot be set in conjunction with any filters.

smirFilters :: Lens' SearchMediaItemsRequest (Maybe Filters) Source #

Filters to apply to the request. Cannot be set in conjuction with an albumId.

smirPageToken :: Lens' SearchMediaItemsRequest (Maybe Text) Source #

A continuation token to get the next page of the results. Adding this to the request will return the rows after the pageToken. The pageToken should be the value returned in the nextPageToken parameter in the response to the searchMediaItems request.

smirPageSize :: Lens' SearchMediaItemsRequest (Maybe Int32) Source #

Maximum number of media items to return in the response. The default number of media items to return at a time is 100. The maximum page size is 500.

NewMediaItem

data NewMediaItem Source #

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

See: newMediaItem smart constructor.

Instances
Eq NewMediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data NewMediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NewMediaItem -> c NewMediaItem #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NewMediaItem #

toConstr :: NewMediaItem -> Constr #

dataTypeOf :: NewMediaItem -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NewMediaItem) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NewMediaItem) #

gmapT :: (forall b. Data b => b -> b) -> NewMediaItem -> NewMediaItem #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NewMediaItem -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NewMediaItem -> r #

gmapQ :: (forall d. Data d => d -> u) -> NewMediaItem -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NewMediaItem -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NewMediaItem -> m NewMediaItem #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NewMediaItem -> m NewMediaItem #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NewMediaItem -> m NewMediaItem #

Show NewMediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic NewMediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep NewMediaItem :: Type -> Type #

ToJSON NewMediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON NewMediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep NewMediaItem Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep NewMediaItem = D1 (MetaData "NewMediaItem" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "NewMediaItem'" PrefixI True) (S1 (MetaSel (Just "_nmiSimpleMediaItem") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SimpleMediaItem)) :*: S1 (MetaSel (Just "_nmiDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

newMediaItem :: NewMediaItem Source #

Creates a value of NewMediaItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

nmiSimpleMediaItem :: Lens' NewMediaItem (Maybe SimpleMediaItem) Source #

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

nmiDescription :: Lens' NewMediaItem (Maybe Text) Source #

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 should not be more than 1000 characters.

AddEnrichmentToAlbumRequest

data AddEnrichmentToAlbumRequest Source #

Request to add an enrichment to a specific album at a specific position.

See: addEnrichmentToAlbumRequest smart constructor.

Instances
Eq AddEnrichmentToAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data AddEnrichmentToAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AddEnrichmentToAlbumRequest -> c AddEnrichmentToAlbumRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AddEnrichmentToAlbumRequest #

toConstr :: AddEnrichmentToAlbumRequest -> Constr #

dataTypeOf :: AddEnrichmentToAlbumRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AddEnrichmentToAlbumRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AddEnrichmentToAlbumRequest) #

gmapT :: (forall b. Data b => b -> b) -> AddEnrichmentToAlbumRequest -> AddEnrichmentToAlbumRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AddEnrichmentToAlbumRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AddEnrichmentToAlbumRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> AddEnrichmentToAlbumRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AddEnrichmentToAlbumRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AddEnrichmentToAlbumRequest -> m AddEnrichmentToAlbumRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AddEnrichmentToAlbumRequest -> m AddEnrichmentToAlbumRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AddEnrichmentToAlbumRequest -> m AddEnrichmentToAlbumRequest #

Show AddEnrichmentToAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic AddEnrichmentToAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep AddEnrichmentToAlbumRequest :: Type -> Type #

ToJSON AddEnrichmentToAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON AddEnrichmentToAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep AddEnrichmentToAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep AddEnrichmentToAlbumRequest = D1 (MetaData "AddEnrichmentToAlbumRequest" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "AddEnrichmentToAlbumRequest'" PrefixI True) (S1 (MetaSel (Just "_aetarNewEnrichmentItem") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NewEnrichmentItem)) :*: S1 (MetaSel (Just "_aetarAlbumPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AlbumPosition))))

addEnrichmentToAlbumRequest :: AddEnrichmentToAlbumRequest Source #

Creates a value of AddEnrichmentToAlbumRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aetarAlbumPosition :: Lens' AddEnrichmentToAlbumRequest (Maybe AlbumPosition) Source #

The position where the enrichment will be inserted.

JoinSharedAlbumRequest

data JoinSharedAlbumRequest Source #

Request to join a shared album on behalf of the user. This uses a shareToken which can be acquired via the shareAlbum or listSharedAlbums calls.

See: joinSharedAlbumRequest smart constructor.

Instances
Eq JoinSharedAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data JoinSharedAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> JoinSharedAlbumRequest -> c JoinSharedAlbumRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c JoinSharedAlbumRequest #

toConstr :: JoinSharedAlbumRequest -> Constr #

dataTypeOf :: JoinSharedAlbumRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c JoinSharedAlbumRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JoinSharedAlbumRequest) #

gmapT :: (forall b. Data b => b -> b) -> JoinSharedAlbumRequest -> JoinSharedAlbumRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> JoinSharedAlbumRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> JoinSharedAlbumRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> JoinSharedAlbumRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> JoinSharedAlbumRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> JoinSharedAlbumRequest -> m JoinSharedAlbumRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> JoinSharedAlbumRequest -> m JoinSharedAlbumRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> JoinSharedAlbumRequest -> m JoinSharedAlbumRequest #

Show JoinSharedAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic JoinSharedAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep JoinSharedAlbumRequest :: Type -> Type #

ToJSON JoinSharedAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON JoinSharedAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep JoinSharedAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep JoinSharedAlbumRequest = D1 (MetaData "JoinSharedAlbumRequest" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" True) (C1 (MetaCons "JoinSharedAlbumRequest'" PrefixI True) (S1 (MetaSel (Just "_jsarShareToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

joinSharedAlbumRequest :: JoinSharedAlbumRequest Source #

Creates a value of JoinSharedAlbumRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

jsarShareToken :: Lens' JoinSharedAlbumRequest (Maybe Text) Source #

Token indicating the shared album to join on behalf of the user.

ShareAlbumRequest

data ShareAlbumRequest Source #

Request to make an album shared in Google Photos.

See: shareAlbumRequest smart constructor.

Instances
Eq ShareAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data ShareAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ShareAlbumRequest -> c ShareAlbumRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ShareAlbumRequest #

toConstr :: ShareAlbumRequest -> Constr #

dataTypeOf :: ShareAlbumRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ShareAlbumRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ShareAlbumRequest) #

gmapT :: (forall b. Data b => b -> b) -> ShareAlbumRequest -> ShareAlbumRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ShareAlbumRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ShareAlbumRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> ShareAlbumRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ShareAlbumRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ShareAlbumRequest -> m ShareAlbumRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ShareAlbumRequest -> m ShareAlbumRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ShareAlbumRequest -> m ShareAlbumRequest #

Show ShareAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic ShareAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep ShareAlbumRequest :: Type -> Type #

ToJSON ShareAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON ShareAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep ShareAlbumRequest Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep ShareAlbumRequest = D1 (MetaData "ShareAlbumRequest" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" True) (C1 (MetaCons "ShareAlbumRequest'" PrefixI True) (S1 (MetaSel (Just "_sarSharedAlbumOptions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe SharedAlbumOptions))))

shareAlbumRequest :: ShareAlbumRequest Source #

Creates a value of ShareAlbumRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sarSharedAlbumOptions :: Lens' ShareAlbumRequest (Maybe SharedAlbumOptions) Source #

Options to be set when converting the album to a shared album.

AlbumPosition

data AlbumPosition Source #

Specifies a position in an album.

See: albumPosition smart constructor.

Instances
Eq AlbumPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data AlbumPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AlbumPosition -> c AlbumPosition #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AlbumPosition #

toConstr :: AlbumPosition -> Constr #

dataTypeOf :: AlbumPosition -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AlbumPosition) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AlbumPosition) #

gmapT :: (forall b. Data b => b -> b) -> AlbumPosition -> AlbumPosition #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AlbumPosition -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AlbumPosition -> r #

gmapQ :: (forall d. Data d => d -> u) -> AlbumPosition -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AlbumPosition -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AlbumPosition -> m AlbumPosition #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AlbumPosition -> m AlbumPosition #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AlbumPosition -> m AlbumPosition #

Show AlbumPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic AlbumPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep AlbumPosition :: Type -> Type #

ToJSON AlbumPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON AlbumPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep AlbumPosition Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep AlbumPosition = D1 (MetaData "AlbumPosition" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "AlbumPosition'" PrefixI True) (S1 (MetaSel (Just "_apRelativeMediaItemId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_apRelativeEnrichmentItemId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_apPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AlbumPositionPosition)))))

albumPosition :: AlbumPosition Source #

Creates a value of AlbumPosition with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

apRelativeMediaItemId :: Lens' AlbumPosition (Maybe Text) Source #

The media item to which the position is relative to. Only used when position type is AFTER_MEDIA_ITEM.

apRelativeEnrichmentItemId :: Lens' AlbumPosition (Maybe Text) Source #

The enrichment item to which the position is relative to. Only used when position type is AFTER_ENRICHMENT_ITEM.

apPosition :: Lens' AlbumPosition (Maybe AlbumPositionPosition) Source #

Type of position, for a media or enrichment item.

ContentFilter

data ContentFilter Source #

This filter is used to define which results to return based on the contents of the media item. It is possible to specify a list of categories to include, and/or a list of categories to exclude. Within each list, the categories are combined with an OR. For example, if the content filter looks like: included_content_categories: [c1, c2, c3] It would get media items that contain (c1 OR c2 OR c3). And if the content filter looks like: excluded_content_categories: [c1, c2, c3] It would get media items that contain NOT (c1 OR c2 OR c3). You can also include some categories while excluding others, as in this proto: included_content_categories: [c1, c2], excluded_content_category: [c3, c4] It would get media items that contain (c1 OR c2) AND NOT (c3 OR c4). A category that appears in includedContentategories must not appear in excludedContentCategories.

See: contentFilter smart constructor.

Instances
Eq ContentFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data ContentFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContentFilter -> c ContentFilter #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContentFilter #

toConstr :: ContentFilter -> Constr #

dataTypeOf :: ContentFilter -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ContentFilter) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContentFilter) #

gmapT :: (forall b. Data b => b -> b) -> ContentFilter -> ContentFilter #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContentFilter -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContentFilter -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContentFilter -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContentFilter -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContentFilter -> m ContentFilter #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContentFilter -> m ContentFilter #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContentFilter -> m ContentFilter #

Show ContentFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic ContentFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep ContentFilter :: Type -> Type #

ToJSON ContentFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON ContentFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep ContentFilter Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep ContentFilter = D1 (MetaData "ContentFilter" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "ContentFilter'" PrefixI True) (S1 (MetaSel (Just "_cfIncludedContentCategories") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_cfExcludedContentCategories") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))

contentFilter :: ContentFilter Source #

Creates a value of ContentFilter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cfIncludedContentCategories :: Lens' ContentFilter [Text] Source #

The set of categories that must be present in the media items in the result. The items in the set are ORed. There is a maximum of 10 includedContentCategories per request.

cfExcludedContentCategories :: Lens' ContentFilter [Text] Source #

The set of categories that must NOT be present in the media items in the result. The items in the set are ORed. There is a maximum of 10 excludedContentCategories per request.

BatchCreateMediaItemsResponse

data BatchCreateMediaItemsResponse Source #

Instances
Eq BatchCreateMediaItemsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Data BatchCreateMediaItemsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BatchCreateMediaItemsResponse -> c BatchCreateMediaItemsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BatchCreateMediaItemsResponse #

toConstr :: BatchCreateMediaItemsResponse -> Constr #

dataTypeOf :: BatchCreateMediaItemsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BatchCreateMediaItemsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BatchCreateMediaItemsResponse) #

gmapT :: (forall b. Data b => b -> b) -> BatchCreateMediaItemsResponse -> BatchCreateMediaItemsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BatchCreateMediaItemsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BatchCreateMediaItemsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> BatchCreateMediaItemsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BatchCreateMediaItemsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BatchCreateMediaItemsResponse -> m BatchCreateMediaItemsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BatchCreateMediaItemsResponse -> m BatchCreateMediaItemsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BatchCreateMediaItemsResponse -> m BatchCreateMediaItemsResponse #

Show BatchCreateMediaItemsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Generic BatchCreateMediaItemsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

Associated Types

type Rep BatchCreateMediaItemsResponse :: Type -> Type #

ToJSON BatchCreateMediaItemsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

FromJSON BatchCreateMediaItemsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep BatchCreateMediaItemsResponse Source # 
Instance details

Defined in Network.Google.PhotosLibrary.Types.Product

type Rep BatchCreateMediaItemsResponse = D1 (MetaData "BatchCreateMediaItemsResponse" "Network.Google.PhotosLibrary.Types.Product" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" True) (C1 (MetaCons "BatchCreateMediaItemsResponse'" PrefixI True) (S1 (MetaSel (Just "_bcmirNewMediaItemResults") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [NewMediaItemResult]))))

batchCreateMediaItemsResponse :: BatchCreateMediaItemsResponse Source #

Creates a value of BatchCreateMediaItemsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

bcmirNewMediaItemResults :: Lens' BatchCreateMediaItemsResponse [NewMediaItemResult] Source #

Output only
List of media items which were created.