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

Contents

Description

Creates a blank presentation using the title given in the request. If a `presentationId` is provided, it is used as the ID of the new presentation. Otherwise, a new ID is generated. Other fields in the request, including any provided content, 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 "access_token" Text :> (QueryParam "uploadType" 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 blank presentation using the title given in the request. If a `presentationId` is provided, it is used as the ID of the new presentation. Otherwise, a new ID is generated. Other fields in the request, including any provided content, are ignored. Returns the created presentation.

See: presentationsCreate smart constructor.

Instances
Eq PresentationsCreate Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.Create

Data PresentationsCreate Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.Create

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 # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.Create

Generic PresentationsCreate Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.Create

Associated Types

type Rep PresentationsCreate :: Type -> Type #

GoogleRequest PresentationsCreate Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.Create

Associated Types

type Rs PresentationsCreate :: Type #

type Scopes PresentationsCreate :: [Symbol] #

type Rep PresentationsCreate Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.Create

type Rep PresentationsCreate = D1 (MetaData "PresentationsCreate" "Network.Google.Resource.Slides.Presentations.Create" "gogol-slides-0.4.0-HrNqovYsi7t4Hm1FVW5SjL" False) (C1 (MetaCons "PresentationsCreate'" PrefixI True) ((S1 (MetaSel (Just "_pcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Presentation) :*: S1 (MetaSel (Just "_pcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes PresentationsCreate Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.Create

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

Defined in Network.Google.Resource.Slides.Presentations.Create

Request Lenses

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

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

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

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

pcPayload :: Lens' PresentationsCreate Presentation Source #

Multipart request metadata.