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 |
List information about processes made by or on behalf of a user, such as process type and current status.
See: Apps Script API Reference for script.processes.list
.
Synopsis
- type ProcessesListResource = "v1" :> ("processes" :> (QueryParams "userProcessFilter.userAccessLevels" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "userProcessFilter.functionName" Text :> (QueryParams "userProcessFilter.types" Text :> (QueryParam "userProcessFilter.deploymentId" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "userProcessFilter.projectName" Text :> (QueryParams "userProcessFilter.statuses" Text :> (QueryParam "userProcessFilter.scriptId" Text :> (QueryParam "userProcessFilter.endTime" DateTime' :> (QueryParam "userProcessFilter.startTime" DateTime' :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListUserProcessesResponse))))))))))))))))))
- processesList :: ProcessesList
- data ProcessesList
- plUserProcessFilterUserAccessLevels :: Lens' ProcessesList [Text]
- plXgafv :: Lens' ProcessesList (Maybe Xgafv)
- plUploadProtocol :: Lens' ProcessesList (Maybe Text)
- plAccessToken :: Lens' ProcessesList (Maybe Text)
- plUploadType :: Lens' ProcessesList (Maybe Text)
- plUserProcessFilterFunctionName :: Lens' ProcessesList (Maybe Text)
- plUserProcessFilterTypes :: Lens' ProcessesList [Text]
- plUserProcessFilterDeploymentId :: Lens' ProcessesList (Maybe Text)
- plPageToken :: Lens' ProcessesList (Maybe Text)
- plPageSize :: Lens' ProcessesList (Maybe Int32)
- plUserProcessFilterProjectName :: Lens' ProcessesList (Maybe Text)
- plUserProcessFilterStatuses :: Lens' ProcessesList [Text]
- plUserProcessFilterScriptId :: Lens' ProcessesList (Maybe Text)
- plUserProcessFilterEndTime :: Lens' ProcessesList (Maybe UTCTime)
- plUserProcessFilterStartTime :: Lens' ProcessesList (Maybe UTCTime)
- plCallback :: Lens' ProcessesList (Maybe Text)
REST Resource
type ProcessesListResource = "v1" :> ("processes" :> (QueryParams "userProcessFilter.userAccessLevels" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "userProcessFilter.functionName" Text :> (QueryParams "userProcessFilter.types" Text :> (QueryParam "userProcessFilter.deploymentId" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "userProcessFilter.projectName" Text :> (QueryParams "userProcessFilter.statuses" Text :> (QueryParam "userProcessFilter.scriptId" Text :> (QueryParam "userProcessFilter.endTime" DateTime' :> (QueryParam "userProcessFilter.startTime" DateTime' :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListUserProcessesResponse)))))))))))))))))) Source #
A resource alias for script.processes.list
method which the
ProcessesList
request conforms to.
Creating a Request
processesList :: ProcessesList Source #
Creates a value of ProcessesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
plUserProcessFilterUserAccessLevels
plXgafv
plUploadProtocol
plAccessToken
plUploadType
plUserProcessFilterFunctionName
plUserProcessFilterTypes
plUserProcessFilterDeploymentId
plPageToken
plPageSize
plUserProcessFilterProjectName
plUserProcessFilterStatuses
plUserProcessFilterScriptId
plUserProcessFilterEndTime
plUserProcessFilterStartTime
plCallback
data ProcessesList Source #
List information about processes made by or on behalf of a user, such as process type and current status.
See: processesList
smart constructor.
Instances
Request Lenses
plUserProcessFilterUserAccessLevels :: Lens' ProcessesList [Text] Source #
Optional field used to limit returned processes to those having one of the specified user access levels.
plUploadProtocol :: Lens' ProcessesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plAccessToken :: Lens' ProcessesList (Maybe Text) Source #
OAuth access token.
plUploadType :: Lens' ProcessesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plUserProcessFilterFunctionName :: Lens' ProcessesList (Maybe Text) Source #
Optional field used to limit returned processes to those originating from a script function with the given function name.
plUserProcessFilterTypes :: Lens' ProcessesList [Text] Source #
Optional field used to limit returned processes to those having one of the specified process types.
plUserProcessFilterDeploymentId :: Lens' ProcessesList (Maybe Text) Source #
Optional field used to limit returned processes to those originating from projects with a specific deployment ID.
plPageToken :: Lens' ProcessesList (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.
plPageSize :: Lens' ProcessesList (Maybe Int32) Source #
The maximum number of returned processes per page of results. Defaults to 50.
plUserProcessFilterProjectName :: Lens' ProcessesList (Maybe Text) Source #
Optional field used to limit returned processes to those originating from projects with project names containing a specific string.
plUserProcessFilterStatuses :: Lens' ProcessesList [Text] Source #
Optional field used to limit returned processes to those having one of the specified process statuses.
plUserProcessFilterScriptId :: Lens' ProcessesList (Maybe Text) Source #
Optional field used to limit returned processes to those originating from projects with a specific script ID.
plUserProcessFilterEndTime :: Lens' ProcessesList (Maybe UTCTime) Source #
Optional field used to limit returned processes to those that completed on or before the given timestamp.
plUserProcessFilterStartTime :: Lens' ProcessesList (Maybe UTCTime) Source #
Optional field used to limit returned processes to those that were started on or after the given timestamp.
plCallback :: Lens' ProcessesList (Maybe Text) Source #
JSONP