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 |
Deletes a deployment of an Apps Script project.
See: Apps Script API Reference for script.projects.deployments.delete
.
Synopsis
- type ProjectsDeploymentsDeleteResource = "v1" :> ("projects" :> (Capture "scriptId" Text :> ("deployments" :> (Capture "deploymentId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))))))
- projectsDeploymentsDelete :: Text -> Text -> ProjectsDeploymentsDelete
- data ProjectsDeploymentsDelete
- pddDeploymentId :: Lens' ProjectsDeploymentsDelete Text
- pddXgafv :: Lens' ProjectsDeploymentsDelete (Maybe Xgafv)
- pddUploadProtocol :: Lens' ProjectsDeploymentsDelete (Maybe Text)
- pddAccessToken :: Lens' ProjectsDeploymentsDelete (Maybe Text)
- pddUploadType :: Lens' ProjectsDeploymentsDelete (Maybe Text)
- pddScriptId :: Lens' ProjectsDeploymentsDelete Text
- pddCallback :: Lens' ProjectsDeploymentsDelete (Maybe Text)
REST Resource
type ProjectsDeploymentsDeleteResource = "v1" :> ("projects" :> (Capture "scriptId" Text :> ("deployments" :> (Capture "deploymentId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))))) Source #
A resource alias for script.projects.deployments.delete
method which the
ProjectsDeploymentsDelete
request conforms to.
Creating a Request
projectsDeploymentsDelete Source #
Creates a value of ProjectsDeploymentsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsDeploymentsDelete Source #
Deletes a deployment of an Apps Script project.
See: projectsDeploymentsDelete
smart constructor.
Instances
Request Lenses
pddDeploymentId :: Lens' ProjectsDeploymentsDelete Text Source #
The deployment ID to be undeployed.
pddUploadProtocol :: Lens' ProjectsDeploymentsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pddAccessToken :: Lens' ProjectsDeploymentsDelete (Maybe Text) Source #
OAuth access token.
pddUploadType :: Lens' ProjectsDeploymentsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pddScriptId :: Lens' ProjectsDeploymentsDelete Text Source #
The script project's Drive ID.
pddCallback :: Lens' ProjectsDeploymentsDelete (Maybe Text) Source #
JSONP