Class Google_Service_Script_Projects_Resource
The "projects" collection of methods. Typical usage is:
$scriptService = new Google_Service_Script(...); $projects = $scriptService->projects;
- Google_Service_Resource
- Google_Service_Script_Projects_Resource
public
|
#
create(
Creates a new, empty script project with no script files and a base manifest file. (projects.create) |
public
|
#
get( string $scriptId, array $optParams = array() )
Gets a script project's metadata. (projects.get) |
public
|
#
getContent( string $scriptId, array $optParams = array() )
Gets the content of the script project, including the code source and metadata for each script file. (projects.getContent) |
public
|
#
getMetrics( string $scriptId, array $optParams = array() )
Get metrics data for scripts, such as number of executions and active users. (projects.getMetrics) |
public
|
#
updateContent( string $scriptId,
Updates the content of the specified script project. This content is stored as the HEAD version, and is used when the script is executed as a trigger, in the script editor, in add-on preview mode, or as a web app or Apps Script API in development mode. This clears all the existing files in the project. (projects.updateContent) |