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 |
Gets a deployment of an Apps Script project.
See: Apps Script API Reference for script.projects.deployments.get
.
Synopsis
- type ProjectsDeploymentsGetResource = "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 :> Get '[JSON] Deployment))))))))))
- projectsDeploymentsGet :: Text -> Text -> ProjectsDeploymentsGet
- data ProjectsDeploymentsGet
- pdgDeploymentId :: Lens' ProjectsDeploymentsGet Text
- pdgXgafv :: Lens' ProjectsDeploymentsGet (Maybe Xgafv)
- pdgUploadProtocol :: Lens' ProjectsDeploymentsGet (Maybe Text)
- pdgAccessToken :: Lens' ProjectsDeploymentsGet (Maybe Text)
- pdgUploadType :: Lens' ProjectsDeploymentsGet (Maybe Text)
- pdgScriptId :: Lens' ProjectsDeploymentsGet Text
- pdgCallback :: Lens' ProjectsDeploymentsGet (Maybe Text)
REST Resource
type ProjectsDeploymentsGetResource = "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 :> Get '[JSON] Deployment)))))))))) Source #
A resource alias for script.projects.deployments.get
method which the
ProjectsDeploymentsGet
request conforms to.
Creating a Request
projectsDeploymentsGet Source #
Creates a value of ProjectsDeploymentsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsDeploymentsGet Source #
Gets a deployment of an Apps Script project.
See: projectsDeploymentsGet
smart constructor.
Instances
Request Lenses
pdgDeploymentId :: Lens' ProjectsDeploymentsGet Text Source #
The deployment ID.
pdgUploadProtocol :: Lens' ProjectsDeploymentsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdgAccessToken :: Lens' ProjectsDeploymentsGet (Maybe Text) Source #
OAuth access token.
pdgUploadType :: Lens' ProjectsDeploymentsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pdgScriptId :: Lens' ProjectsDeploymentsGet Text Source #
The script project's Drive ID.
pdgCallback :: Lens' ProjectsDeploymentsGet (Maybe Text) Source #
JSONP