The "scripts" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| run ($scriptId, Google_Service_Script_ExecutionRequest $postBody, $optParams=array()) |
| Runs a function in an Apps Script project that has been deployed for use with the Apps Script Execution API.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "scripts" collection of methods.
Typical usage is: $scriptService = new Google_Service_Script(...); $scripts = $scriptService->scripts;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ run()
Runs a function in an Apps Script project that has been deployed for use with the Apps Script Execution API.
This method requires authorization with an OAuth 2.0 token that includes at least one of the scopes listed in the Authentication section; script projects that do not require authorization cannot be executed through this API. To find the correct scopes to include in the authentication token, open the project in the script editor, then select File > Project properties and click the Scopes tab. (scripts.run)
- Parameters
-
string | $scriptId | The project key of the script to be executed. To find the project key, open the project in the script editor, then select File > Project properties. |
Google_ExecutionRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Script.php