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.Resource.PhotosLibrary.Albums.AddEnrichment

Contents

Description

Adds an enrichment to a specified position in a defined album.

See: Photos Library API Reference for photoslibrary.albums.addEnrichment.

Synopsis

REST Resource

type AlbumsAddEnrichmentResource = "v1" :> ("albums" :> (CaptureMode "albumId" "addEnrichment" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AddEnrichmentToAlbumRequest :> Post '[JSON] AddEnrichmentToAlbumResponse))))))))))) Source #

A resource alias for photoslibrary.albums.addEnrichment method which the AlbumsAddEnrichment request conforms to.

Creating a Request

albumsAddEnrichment Source #

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

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

data AlbumsAddEnrichment Source #

Adds an enrichment to a specified position in a defined album.

See: albumsAddEnrichment smart constructor.

Instances
Eq AlbumsAddEnrichment Source # 
Instance details

Defined in Network.Google.Resource.PhotosLibrary.Albums.AddEnrichment

Data AlbumsAddEnrichment Source # 
Instance details

Defined in Network.Google.Resource.PhotosLibrary.Albums.AddEnrichment

Methods

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

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

toConstr :: AlbumsAddEnrichment -> Constr #

dataTypeOf :: AlbumsAddEnrichment -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AlbumsAddEnrichment Source # 
Instance details

Defined in Network.Google.Resource.PhotosLibrary.Albums.AddEnrichment

Generic AlbumsAddEnrichment Source # 
Instance details

Defined in Network.Google.Resource.PhotosLibrary.Albums.AddEnrichment

Associated Types

type Rep AlbumsAddEnrichment :: Type -> Type #

GoogleRequest AlbumsAddEnrichment Source # 
Instance details

Defined in Network.Google.Resource.PhotosLibrary.Albums.AddEnrichment

Associated Types

type Rs AlbumsAddEnrichment :: Type #

type Scopes AlbumsAddEnrichment :: [Symbol] #

type Rep AlbumsAddEnrichment Source # 
Instance details

Defined in Network.Google.Resource.PhotosLibrary.Albums.AddEnrichment

type Scopes AlbumsAddEnrichment Source # 
Instance details

Defined in Network.Google.Resource.PhotosLibrary.Albums.AddEnrichment

type Scopes AlbumsAddEnrichment = "https://www.googleapis.com/auth/photoslibrary" ': ("https://www.googleapis.com/auth/photoslibrary.appendonly" ': ("https://www.googleapis.com/auth/photoslibrary.sharing" ': ([] :: [Symbol])))
type Rs AlbumsAddEnrichment Source # 
Instance details

Defined in Network.Google.Resource.PhotosLibrary.Albums.AddEnrichment

Request Lenses

aaeAlbumId :: Lens' AlbumsAddEnrichment Text Source #

Identifier of the album where the enrichment will be added.

aaeUploadProtocol :: Lens' AlbumsAddEnrichment (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

aaePp :: Lens' AlbumsAddEnrichment Bool Source #

Pretty-print response.

aaeUploadType :: Lens' AlbumsAddEnrichment (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").