Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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)))))))))))))
- presentationsPagesGetThumbnail :: Text -> Text -> PresentationsPagesGetThumbnail
- data PresentationsPagesGetThumbnail
- ppgtXgafv :: Lens' PresentationsPagesGetThumbnail (Maybe Xgafv)
- ppgtThumbnailPropertiesMimeType :: Lens' PresentationsPagesGetThumbnail (Maybe Text)
- ppgtThumbnailPropertiesThumbnailSize :: Lens' PresentationsPagesGetThumbnail (Maybe Text)
- ppgtUploadProtocol :: Lens' PresentationsPagesGetThumbnail (Maybe Text)
- ppgtAccessToken :: Lens' PresentationsPagesGetThumbnail (Maybe Text)
- ppgtPageObjectId :: Lens' PresentationsPagesGetThumbnail Text
- ppgtUploadType :: Lens' PresentationsPagesGetThumbnail (Maybe Text)
- ppgtPresentationId :: Lens' PresentationsPagesGetThumbnail Text
- ppgtCallback :: Lens' PresentationsPagesGetThumbnail (Maybe Text)
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
presentationsPagesGetThumbnail Source #
Creates a value of PresentationsPagesGetThumbnail
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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
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").
ppgtAccessToken :: Lens' PresentationsPagesGetThumbnail (Maybe Text) Source #
OAuth access token.
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.
ppgtCallback :: Lens' PresentationsPagesGetThumbnail (Maybe Text) Source #
JSONP