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 |
Updates a deployment of an Apps Script project.
See: Apps Script API Reference for script.projects.deployments.update
.
Synopsis
- type ProjectsDeploymentsUpdateResource = "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 :> (ReqBody '[JSON] UpdateDeploymentRequest :> Put '[JSON] Deployment)))))))))))
- projectsDeploymentsUpdate :: Text -> UpdateDeploymentRequest -> Text -> ProjectsDeploymentsUpdate
- data ProjectsDeploymentsUpdate
- pduDeploymentId :: Lens' ProjectsDeploymentsUpdate Text
- pduXgafv :: Lens' ProjectsDeploymentsUpdate (Maybe Xgafv)
- pduUploadProtocol :: Lens' ProjectsDeploymentsUpdate (Maybe Text)
- pduAccessToken :: Lens' ProjectsDeploymentsUpdate (Maybe Text)
- pduUploadType :: Lens' ProjectsDeploymentsUpdate (Maybe Text)
- pduPayload :: Lens' ProjectsDeploymentsUpdate UpdateDeploymentRequest
- pduScriptId :: Lens' ProjectsDeploymentsUpdate Text
- pduCallback :: Lens' ProjectsDeploymentsUpdate (Maybe Text)
REST Resource
type ProjectsDeploymentsUpdateResource = "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 :> (ReqBody '[JSON] UpdateDeploymentRequest :> Put '[JSON] Deployment))))))))))) Source #
A resource alias for script.projects.deployments.update
method which the
ProjectsDeploymentsUpdate
request conforms to.
Creating a Request
projectsDeploymentsUpdate Source #
Creates a value of ProjectsDeploymentsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsDeploymentsUpdate Source #
Updates a deployment of an Apps Script project.
See: projectsDeploymentsUpdate
smart constructor.
Instances
Request Lenses
pduDeploymentId :: Lens' ProjectsDeploymentsUpdate Text Source #
The deployment ID for this deployment.
pduUploadProtocol :: Lens' ProjectsDeploymentsUpdate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pduAccessToken :: Lens' ProjectsDeploymentsUpdate (Maybe Text) Source #
OAuth access token.
pduUploadType :: Lens' ProjectsDeploymentsUpdate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pduPayload :: Lens' ProjectsDeploymentsUpdate UpdateDeploymentRequest Source #
Multipart request metadata.
pduScriptId :: Lens' ProjectsDeploymentsUpdate Text Source #
The script project's Drive ID.
pduCallback :: Lens' ProjectsDeploymentsUpdate (Maybe Text) Source #
JSONP