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 |
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
- 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))))))))
- presentationsCreate :: Presentation -> PresentationsCreate
- data PresentationsCreate
- pcXgafv :: Lens' PresentationsCreate (Maybe Xgafv)
- pcUploadProtocol :: Lens' PresentationsCreate (Maybe Text)
- pcAccessToken :: Lens' PresentationsCreate (Maybe Text)
- pcUploadType :: Lens' PresentationsCreate (Maybe Text)
- pcPayload :: Lens' PresentationsCreate Presentation
- pcCallback :: Lens' PresentationsCreate (Maybe Text)
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
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
Request Lenses
pcUploadProtocol :: Lens' PresentationsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pcAccessToken :: Lens' PresentationsCreate (Maybe Text) Source #
OAuth access token.
pcUploadType :: Lens' PresentationsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pcPayload :: Lens' PresentationsCreate Presentation Source #
Multipart request metadata.
pcCallback :: Lens' PresentationsCreate (Maybe Text) Source #
JSONP