File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131class Scripts extends \Google \Service \Resource
3232{
3333 /**
34- * Runs a function in an Apps Script project. The script project must be
35- * deployed for use with the Apps Script API and the calling application must
36- * share the same Cloud Platform project. This method requires authorization
37- * with an OAuth 2.0 token that includes at least one of the scopes listed in
38- * the [Authorization](#authorization-scopes) section; script projects that do
39- * not require authorization cannot be executed through this API. To find the
40- * correct scopes to include in the authentication token, open the script
41- * project **Overview** page and scroll down to "Project OAuth Scopes." The
42- * error `403, PERMISSION_DENIED: The caller does not have permission` indicates
43- * that the Cloud Platform project used to authorize the request is not the same
44- * as the one used by the script. (scripts.run)
34+ * (scripts.run)
4535 *
4636 * @param string $scriptId The script ID of the script to be executed. Find the
4737 * script ID on the **Project settings** page under "IDs." As multiple
You can’t perform that action at this time.
0 commit comments