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.Create

Contents

Description

Creates an album in a user's Google Photos library.

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

Synopsis

REST Resource

type AlbumsCreateResource = "v1" :> ("albums" :> (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] CreateAlbumRequest :> Post '[JSON] Album)))))))))) Source #

A resource alias for photoslibrary.albums.create method which the AlbumsCreate request conforms to.

Creating a Request

albumsCreate Source #

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

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

data AlbumsCreate Source #

Creates an album in a user's Google Photos library.

See: albumsCreate smart constructor.

Instances
Eq AlbumsCreate Source # 
Instance details

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

Data AlbumsCreate Source # 
Instance details

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

Methods

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

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

toConstr :: AlbumsCreate -> Constr #

dataTypeOf :: AlbumsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AlbumsCreate Source # 
Instance details

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

Generic AlbumsCreate Source # 
Instance details

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

Associated Types

type Rep AlbumsCreate :: Type -> Type #

GoogleRequest AlbumsCreate Source # 
Instance details

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

Associated Types

type Rs AlbumsCreate :: Type #

type Scopes AlbumsCreate :: [Symbol] #

type Rep AlbumsCreate Source # 
Instance details

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

type Scopes AlbumsCreate Source # 
Instance details

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

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

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

Request Lenses

acUploadProtocol :: Lens' AlbumsCreate (Maybe Text) Source #

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

acPp :: Lens' AlbumsCreate Bool Source #

Pretty-print response.

acUploadType :: Lens' AlbumsCreate (Maybe Text) Source #

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

acPayload :: Lens' AlbumsCreate CreateAlbumRequest Source #

Multipart request metadata.