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 |
Lists the deployments of an Apps Script project.
See: Apps Script API Reference for script.projects.deployments.list
.
Synopsis
- type ProjectsDeploymentsListResource = "v1" :> ("projects" :> (Capture "scriptId" Text :> ("deployments" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListDeploymentsResponse)))))))))))
- projectsDeploymentsList :: Text -> ProjectsDeploymentsList
- data ProjectsDeploymentsList
- pdlXgafv :: Lens' ProjectsDeploymentsList (Maybe Xgafv)
- pdlUploadProtocol :: Lens' ProjectsDeploymentsList (Maybe Text)
- pdlAccessToken :: Lens' ProjectsDeploymentsList (Maybe Text)
- pdlUploadType :: Lens' ProjectsDeploymentsList (Maybe Text)
- pdlScriptId :: Lens' ProjectsDeploymentsList Text
- pdlPageToken :: Lens' ProjectsDeploymentsList (Maybe Text)
- pdlPageSize :: Lens' ProjectsDeploymentsList (Maybe Int32)
- pdlCallback :: Lens' ProjectsDeploymentsList (Maybe Text)
REST Resource
type ProjectsDeploymentsListResource = "v1" :> ("projects" :> (Capture "scriptId" Text :> ("deployments" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListDeploymentsResponse))))))))))) Source #
A resource alias for script.projects.deployments.list
method which the
ProjectsDeploymentsList
request conforms to.
Creating a Request
projectsDeploymentsList Source #
Creates a value of ProjectsDeploymentsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsDeploymentsList Source #
Lists the deployments of an Apps Script project.
See: projectsDeploymentsList
smart constructor.
Instances
Request Lenses
pdlUploadProtocol :: Lens' ProjectsDeploymentsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdlAccessToken :: Lens' ProjectsDeploymentsList (Maybe Text) Source #
OAuth access token.
pdlUploadType :: Lens' ProjectsDeploymentsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pdlScriptId :: Lens' ProjectsDeploymentsList Text Source #
The script project's Drive ID.
pdlPageToken :: Lens' ProjectsDeploymentsList (Maybe Text) Source #
The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from a previous response.
pdlPageSize :: Lens' ProjectsDeploymentsList (Maybe Int32) Source #
The maximum number of deployments on each returned page. Defaults to 50.
pdlCallback :: Lens' ProjectsDeploymentsList (Maybe Text) Source #
JSONP