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 a script's executed processes, such as process type and current status.
See: Apps Script API Reference for script.processes.listScriptProcesses
.
Synopsis
- type ProcessesListScriptProcessesResource = "v1" :> ("processes:listScriptProcesses" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "scriptProcessFilter.functionName" Text :> (QueryParam "upload_protocol" Text :> (QueryParams "scriptProcessFilter.userAccessLevels" Text :> (QueryParams "scriptProcessFilter.statuses" Text :> (QueryParam "scriptProcessFilter.endTime" DateTime' :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "scriptProcessFilter.deploymentId" Text :> (QueryParam "scriptProcessFilter.startTime" DateTime' :> (QueryParam "scriptId" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParams "scriptProcessFilter.types" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListScriptProcessesResponse)))))))))))))))))
- processesListScriptProcesses :: ProcessesListScriptProcesses
- data ProcessesListScriptProcesses
- plspXgafv :: Lens' ProcessesListScriptProcesses (Maybe Xgafv)
- plspScriptProcessFilterFunctionName :: Lens' ProcessesListScriptProcesses (Maybe Text)
- plspUploadProtocol :: Lens' ProcessesListScriptProcesses (Maybe Text)
- plspScriptProcessFilterUserAccessLevels :: Lens' ProcessesListScriptProcesses [Text]
- plspScriptProcessFilterStatuses :: Lens' ProcessesListScriptProcesses [Text]
- plspScriptProcessFilterEndTime :: Lens' ProcessesListScriptProcesses (Maybe UTCTime)
- plspAccessToken :: Lens' ProcessesListScriptProcesses (Maybe Text)
- plspUploadType :: Lens' ProcessesListScriptProcesses (Maybe Text)
- plspScriptProcessFilterDeploymentId :: Lens' ProcessesListScriptProcesses (Maybe Text)
- plspScriptProcessFilterStartTime :: Lens' ProcessesListScriptProcesses (Maybe UTCTime)
- plspScriptId :: Lens' ProcessesListScriptProcesses (Maybe Text)
- plspPageToken :: Lens' ProcessesListScriptProcesses (Maybe Text)
- plspPageSize :: Lens' ProcessesListScriptProcesses (Maybe Int32)
- plspScriptProcessFilterTypes :: Lens' ProcessesListScriptProcesses [Text]
- plspCallback :: Lens' ProcessesListScriptProcesses (Maybe Text)
REST Resource
type ProcessesListScriptProcessesResource = "v1" :> ("processes:listScriptProcesses" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "scriptProcessFilter.functionName" Text :> (QueryParam "upload_protocol" Text :> (QueryParams "scriptProcessFilter.userAccessLevels" Text :> (QueryParams "scriptProcessFilter.statuses" Text :> (QueryParam "scriptProcessFilter.endTime" DateTime' :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "scriptProcessFilter.deploymentId" Text :> (QueryParam "scriptProcessFilter.startTime" DateTime' :> (QueryParam "scriptId" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParams "scriptProcessFilter.types" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListScriptProcessesResponse))))))))))))))))) Source #
A resource alias for script.processes.listScriptProcesses
method which the
ProcessesListScriptProcesses
request conforms to.
Creating a Request
processesListScriptProcesses :: ProcessesListScriptProcesses Source #
Creates a value of ProcessesListScriptProcesses
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
plspXgafv
plspScriptProcessFilterFunctionName
plspUploadProtocol
plspScriptProcessFilterUserAccessLevels
plspScriptProcessFilterStatuses
plspScriptProcessFilterEndTime
plspAccessToken
plspUploadType
plspScriptProcessFilterDeploymentId
plspScriptProcessFilterStartTime
plspScriptId
plspPageToken
plspPageSize
plspScriptProcessFilterTypes
plspCallback
data ProcessesListScriptProcesses Source #
List information about a script's executed processes, such as process type and current status.
See: processesListScriptProcesses
smart constructor.
Instances
Request Lenses
plspScriptProcessFilterFunctionName :: Lens' ProcessesListScriptProcesses (Maybe Text) Source #
Optional field used to limit returned processes to those originating from a script function with the given function name.
plspUploadProtocol :: Lens' ProcessesListScriptProcesses (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plspScriptProcessFilterUserAccessLevels :: Lens' ProcessesListScriptProcesses [Text] Source #
Optional field used to limit returned processes to those having one of the specified user access levels.
plspScriptProcessFilterStatuses :: Lens' ProcessesListScriptProcesses [Text] Source #
Optional field used to limit returned processes to those having one of the specified process statuses.
plspScriptProcessFilterEndTime :: Lens' ProcessesListScriptProcesses (Maybe UTCTime) Source #
Optional field used to limit returned processes to those that completed on or before the given timestamp.
plspAccessToken :: Lens' ProcessesListScriptProcesses (Maybe Text) Source #
OAuth access token.
plspUploadType :: Lens' ProcessesListScriptProcesses (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plspScriptProcessFilterDeploymentId :: Lens' ProcessesListScriptProcesses (Maybe Text) Source #
Optional field used to limit returned processes to those originating from projects with a specific deployment ID.
plspScriptProcessFilterStartTime :: Lens' ProcessesListScriptProcesses (Maybe UTCTime) Source #
Optional field used to limit returned processes to those that were started on or after the given timestamp.
plspScriptId :: Lens' ProcessesListScriptProcesses (Maybe Text) Source #
The script ID of the project whose processes are listed.
plspPageToken :: Lens' ProcessesListScriptProcesses (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.
plspPageSize :: Lens' ProcessesListScriptProcesses (Maybe Int32) Source #
The maximum number of returned processes per page of results. Defaults to 50.
plspScriptProcessFilterTypes :: Lens' ProcessesListScriptProcesses [Text] Source #
Optional field used to limit returned processes to those having one of the specified process types.
plspCallback :: Lens' ProcessesListScriptProcesses (Maybe Text) Source #
JSONP