Skip to content

Commit b86982f

Browse files
1 parent 1b98006 commit b86982f

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

src/Script/Resource/Scripts.php

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,7 @@
3131
class 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

0 commit comments

Comments
 (0)