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.MediaItems.Get

Contents

Description

Returns the media item specified based on a given media item id.

See: Photos Library API Reference for photoslibrary.mediaItems.get.

Synopsis

REST Resource

type MediaItemsGetResource = "v1" :> ("mediaItems" :> (Capture "mediaItemId" 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 :> Get '[JSON] MediaItem)))))))))) Source #

A resource alias for photoslibrary.mediaItems.get method which the MediaItemsGet request conforms to.

Creating a Request

mediaItemsGet Source #

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

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

data MediaItemsGet Source #

Returns the media item specified based on a given media item id.

See: mediaItemsGet smart constructor.

Instances
Eq MediaItemsGet Source # 
Instance details

Defined in Network.Google.Resource.PhotosLibrary.MediaItems.Get

Data MediaItemsGet Source # 
Instance details

Defined in Network.Google.Resource.PhotosLibrary.MediaItems.Get

Methods

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

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

toConstr :: MediaItemsGet -> Constr #

dataTypeOf :: MediaItemsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MediaItemsGet Source # 
Instance details

Defined in Network.Google.Resource.PhotosLibrary.MediaItems.Get

Generic MediaItemsGet Source # 
Instance details

Defined in Network.Google.Resource.PhotosLibrary.MediaItems.Get

Associated Types

type Rep MediaItemsGet :: Type -> Type #

GoogleRequest MediaItemsGet Source # 
Instance details

Defined in Network.Google.Resource.PhotosLibrary.MediaItems.Get

Associated Types

type Rs MediaItemsGet :: Type #

type Scopes MediaItemsGet :: [Symbol] #

type Rep MediaItemsGet Source # 
Instance details

Defined in Network.Google.Resource.PhotosLibrary.MediaItems.Get

type Rep MediaItemsGet = D1 (MetaData "MediaItemsGet" "Network.Google.Resource.PhotosLibrary.MediaItems.Get" "gogol-photoslibrary-0.4.0-GpZ5alnuI5C2GY8YRh8G4V" False) (C1 (MetaCons "MediaItemsGet'" PrefixI True) (((S1 (MetaSel (Just "_migXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_migUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_migPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool) :*: S1 (MetaSel (Just "_migAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_migUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_migMediaItemId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_migBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_migCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes MediaItemsGet Source # 
Instance details

Defined in Network.Google.Resource.PhotosLibrary.MediaItems.Get

type Scopes MediaItemsGet = "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 MediaItemsGet Source # 
Instance details

Defined in Network.Google.Resource.PhotosLibrary.MediaItems.Get

Request Lenses

migUploadProtocol :: Lens' MediaItemsGet (Maybe Text) Source #

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

migPp :: Lens' MediaItemsGet Bool Source #

Pretty-print response.

migUploadType :: Lens' MediaItemsGet (Maybe Text) Source #

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

migMediaItemId :: Lens' MediaItemsGet Text Source #

Identifier of media item to be requested.