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

Contents

Description

Lists all albums shown to a user in the 'Albums' tab of the Google Photos app.

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

Synopsis

REST Resource

type AlbumsListResource = "v1" :> ("albums" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListAlbumsResponse))))))))))) Source #

A resource alias for photoslibrary.albums.list method which the AlbumsList request conforms to.

Creating a Request

albumsList :: AlbumsList Source #

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

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

data AlbumsList Source #

Lists all albums shown to a user in the 'Albums' tab of the Google Photos app.

See: albumsList smart constructor.

Instances
Eq AlbumsList Source # 
Instance details

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

Data AlbumsList Source # 
Instance details

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

Methods

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

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

toConstr :: AlbumsList -> Constr #

dataTypeOf :: AlbumsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AlbumsList Source # 
Instance details

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

Generic AlbumsList Source # 
Instance details

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

Associated Types

type Rep AlbumsList :: Type -> Type #

GoogleRequest AlbumsList Source # 
Instance details

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

Associated Types

type Rs AlbumsList :: Type #

type Scopes AlbumsList :: [Symbol] #

type Rep AlbumsList Source # 
Instance details

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

type Scopes AlbumsList Source # 
Instance details

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

type Scopes AlbumsList = "https://www.googleapis.com/auth/drive.photos.readonly" ': ("https://www.googleapis.com/auth/photoslibrary" ': ("https://www.googleapis.com/auth/photoslibrary.readonly" ': ("https://www.googleapis.com/auth/photoslibrary.readonly.appcreateddata" ': ([] :: [Symbol]))))
type Rs AlbumsList Source # 
Instance details

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

Request Lenses

alXgafv :: Lens' AlbumsList (Maybe Xgafv) Source #

V1 error format.

alUploadProtocol :: Lens' AlbumsList (Maybe Text) Source #

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

alPp :: Lens' AlbumsList Bool Source #

Pretty-print response.

alAccessToken :: Lens' AlbumsList (Maybe Text) Source #

OAuth access token.

alUploadType :: Lens' AlbumsList (Maybe Text) Source #

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

alBearerToken :: Lens' AlbumsList (Maybe Text) Source #

OAuth bearer token.

alPageToken :: Lens' AlbumsList (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 listAlbums request.

alPageSize :: Lens' AlbumsList (Maybe Int32) Source #

Maximum number of albums to return in the response. The default number of albums to return at a time is 20. The maximum page size is 50.