gogol-slides-0.4.0: Google Slides 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.Slides.Presentations.Pages.GetThumbnail

Contents

Description

Generates a thumbnail of the latest version of the specified page in the presentation and returns a URL to the thumbnail image. This request counts as an expensive read request for quota purposes.

See: Google Slides API Reference for slides.presentations.pages.getThumbnail.

Synopsis

REST Resource

type PresentationsPagesGetThumbnailResource = "v1" :> ("presentations" :> (Capture "presentationId" Text :> ("pages" :> (Capture "pageObjectId" Text :> ("thumbnail" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "thumbnailProperties.mimeType" Text :> (QueryParam "thumbnailProperties.thumbnailSize" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Thumbnail))))))))))))) Source #

A resource alias for slides.presentations.pages.getThumbnail method which the PresentationsPagesGetThumbnail request conforms to.

Creating a Request

data PresentationsPagesGetThumbnail Source #

Generates a thumbnail of the latest version of the specified page in the presentation and returns a URL to the thumbnail image. This request counts as an expensive read request for quota purposes.

See: presentationsPagesGetThumbnail smart constructor.

Instances
Eq PresentationsPagesGetThumbnail Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.Pages.GetThumbnail

Data PresentationsPagesGetThumbnail Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.Pages.GetThumbnail

Methods

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

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

toConstr :: PresentationsPagesGetThumbnail -> Constr #

dataTypeOf :: PresentationsPagesGetThumbnail -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PresentationsPagesGetThumbnail Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.Pages.GetThumbnail

Generic PresentationsPagesGetThumbnail Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.Pages.GetThumbnail

Associated Types

type Rep PresentationsPagesGetThumbnail :: Type -> Type #

GoogleRequest PresentationsPagesGetThumbnail Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.Pages.GetThumbnail

type Rep PresentationsPagesGetThumbnail Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.Pages.GetThumbnail

type Rep PresentationsPagesGetThumbnail = D1 (MetaData "PresentationsPagesGetThumbnail" "Network.Google.Resource.Slides.Presentations.Pages.GetThumbnail" "gogol-slides-0.4.0-HrNqovYsi7t4Hm1FVW5SjL" False) (C1 (MetaCons "PresentationsPagesGetThumbnail'" PrefixI True) (((S1 (MetaSel (Just "_ppgtXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_ppgtThumbnailPropertiesMimeType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ppgtThumbnailPropertiesThumbnailSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ppgtUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ppgtAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ppgtPageObjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_ppgtUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ppgtPresentationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ppgtCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes PresentationsPagesGetThumbnail Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.Pages.GetThumbnail

type Scopes PresentationsPagesGetThumbnail = "https://www.googleapis.com/auth/drive" ': ("https://www.googleapis.com/auth/drive.file" ': ("https://www.googleapis.com/auth/drive.readonly" ': ("https://www.googleapis.com/auth/presentations" ': ("https://www.googleapis.com/auth/presentations.readonly" ': ([] :: [Symbol])))))
type Rs PresentationsPagesGetThumbnail Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.Pages.GetThumbnail

Request Lenses

ppgtThumbnailPropertiesMimeType :: Lens' PresentationsPagesGetThumbnail (Maybe Text) Source #

The optional mime type of the thumbnail image. If you don't specify the mime type, the default mime type will be PNG.

ppgtThumbnailPropertiesThumbnailSize :: Lens' PresentationsPagesGetThumbnail (Maybe Text) Source #

The optional thumbnail image size. If you don't specify the size, the server chooses a default size of the image.

ppgtUploadProtocol :: Lens' PresentationsPagesGetThumbnail (Maybe Text) Source #

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

ppgtPageObjectId :: Lens' PresentationsPagesGetThumbnail Text Source #

The object ID of the page whose thumbnail to retrieve.

ppgtUploadType :: Lens' PresentationsPagesGetThumbnail (Maybe Text) Source #

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

ppgtPresentationId :: Lens' PresentationsPagesGetThumbnail Text Source #

The ID of the presentation to retrieve.