gogol-slides-0.3.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.Create

Contents

Description

Creates a new presentation using the title given in the request. Other fields in the request are ignored. Returns the created presentation.

See: Google Slides API Reference for slides.presentations.create.

Synopsis

REST Resource

type PresentationsCreateResource = "v1" :> ("presentations" :> (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] Presentation :> Post '[JSON] Presentation)))))))))) Source #

A resource alias for slides.presentations.create method which the PresentationsCreate request conforms to.

Creating a Request

presentationsCreate Source #

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

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

data PresentationsCreate Source #

Creates a new presentation using the title given in the request. Other fields in the request are ignored. Returns the created presentation.

See: presentationsCreate smart constructor.

Instances

Eq PresentationsCreate Source # 
Data PresentationsCreate Source # 

Methods

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

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

toConstr :: PresentationsCreate -> Constr #

dataTypeOf :: PresentationsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PresentationsCreate Source # 
Generic PresentationsCreate Source # 
GoogleRequest PresentationsCreate Source # 
type Rep PresentationsCreate Source # 
type Scopes PresentationsCreate Source # 
type Scopes PresentationsCreate = (:) Symbol "https://www.googleapis.com/auth/drive" ((:) Symbol "https://www.googleapis.com/auth/presentations" ([] Symbol))
type Rs PresentationsCreate Source # 

Request Lenses

pcUploadProtocol :: Lens' PresentationsCreate (Maybe Text) Source #

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

pcPp :: Lens' PresentationsCreate Bool Source #

Pretty-print response.

pcUploadType :: Lens' PresentationsCreate (Maybe Text) Source #

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

pcPayload :: Lens' PresentationsCreate Presentation Source #

Multipart request metadata.