/var/www/flurhymez/vendor/google/apiclient-services/src/Script/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/Script/Resource/Processes.php (5503B)
* $scriptService = new Google\Service\Script(...);
* $processes = $scriptService->processes;
*
*/
class Processes extends \Google\Service\Resource
{
/**
* List information about processes made by or on behalf of a user, such as
* process type and current status. (processes.listProcesses)
*
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of returned processes per page of
* results. Defaults to 50.
* @opt_param string pageToken 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.
* @opt_param string userProcessFilter.deploymentId Optional field used to limit
* returned processes to those originating from projects with a specific
* deployment ID.
* @opt_param string userProcessFilter.endTime Optional field used to limit
* returned processes to those that completed on or before the given timestamp.
* @opt_param string userProcessFilter.functionName Optional field used to limit
* returned processes to those originating from a script function with the given
* function name.
* @opt_param string userProcessFilter.projectName Optional field used to limit
* returned processes to those originating from projects with project names
* containing a specific string.
* @opt_param string userProcessFilter.scriptId Optional field used to limit
* returned processes to those originating from projects with a specific script
* ID.
* @opt_param string userProcessFilter.startTime Optional field used to limit
* returned processes to those that were started on or after the given
* timestamp.
* @opt_param string userProcessFilter.statuses Optional field used to limit
* returned processes to those having one of the specified process statuses.
* @opt_param string userProcessFilter.types Optional field used to limit
* returned processes to those having one of the specified process types.
* @opt_param string userProcessFilter.userAccessLevels Optional field used to
* limit returned processes to those having one of the specified user access
* levels.
* @return ListUserProcessesResponse
*/
public function listProcesses($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListUserProcessesResponse::class);
}
/**
* List information about a script's executed processes, such as process type
* and current status. (processes.listScriptProcesses)
*
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of returned processes per page of
* results. Defaults to 50.
* @opt_param string pageToken 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.
* @opt_param string scriptId The script ID of the project whose processes are
* listed.
* @opt_param string scriptProcessFilter.deploymentId Optional field used to
* limit returned processes to those originating from projects with a specific
* deployment ID.
* @opt_param string scriptProcessFilter.endTime Optional field used to limit
* returned processes to those that completed on or before the given timestamp.
* @opt_param string scriptProcessFilter.functionName Optional field used to
* limit returned processes to those originating from a script function with the
* given function name.
* @opt_param string scriptProcessFilter.startTime Optional field used to limit
* returned processes to those that were started on or after the given
* timestamp.
* @opt_param string scriptProcessFilter.statuses Optional field used to limit
* returned processes to those having one of the specified process statuses.
* @opt_param string scriptProcessFilter.types Optional field used to limit
* returned processes to those having one of the specified process types.
* @opt_param string scriptProcessFilter.userAccessLevels Optional field used to
* limit returned processes to those having one of the specified user access
* levels.
* @return ListScriptProcessesResponse
*/
public function listScriptProcesses($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('listScriptProcesses', [$params], ListScriptProcessesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Processes::class, 'Google_Service_Script_Resource_Processes');