Skip to content

Commit d235c94

Browse files
chore(script): update the api
#### script:v1 The following keys were changed: - auth.oauth2.scopes.https://www.googleapis.com/auth/documents (Total Keys: 1) - resources.scripts.methods.run (Total Keys: 1) - resources.scripts.methods.run.parameters.scriptId (Total Keys: 1) - revision (Total Keys: 1)
1 parent f0d31fe commit d235c94

File tree

2 files changed

+1710
-1710
lines changed

2 files changed

+1710
-1710
lines changed

docs/dyn/script_v1.scripts.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h2>Instance Methods</h2>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
8181
<code><a href="#run">run(scriptId, body=None, x__xgafv=None)</a></code></p>
82-
<p class="firstline">Runs a function in an Apps Script project. The script project must be deployed for use with the Apps Script API and the calling application must share the same Cloud Platform project. This method requires authorization with an OAuth 2.0 token that includes at least one of the scopes listed in the [Authorization](#authorization-scopes) 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. The error `403, PERMISSION_DENIED: The caller does not have permission` indicates that the Cloud Platform project used to authorize the request is not the same as the one used by the script.</p>
82+
<p class="firstline">Runs a function in an Apps Script project. The script project must be deployed for use with the Apps Script API and the calling application must share the same Cloud Platform project. This method requires authorization with an OAuth 2.0 token that includes at least one of the scopes listed in the [Authorization](#authorization-scopes) 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 script project **Overview** page and scroll down to "Project OAuth Scopes." The error `403, PERMISSION_DENIED: The caller does not have permission` indicates that the Cloud Platform project used to authorize the request is not the same as the one used by the script.</p>
8383
<h3>Method Details</h3>
8484
<div class="method">
8585
<code class="details" id="close">close()</code>
@@ -88,10 +88,10 @@ <h3>Method Details</h3>
8888

8989
<div class="method">
9090
<code class="details" id="run">run(scriptId, body=None, x__xgafv=None)</code>
91-
<pre>Runs a function in an Apps Script project. The script project must be deployed for use with the Apps Script API and the calling application must share the same Cloud Platform project. This method requires authorization with an OAuth 2.0 token that includes at least one of the scopes listed in the [Authorization](#authorization-scopes) 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 &gt; Project properties** and click the **Scopes** tab. The error `403, PERMISSION_DENIED: The caller does not have permission` indicates that the Cloud Platform project used to authorize the request is not the same as the one used by the script.
91+
<pre>Runs a function in an Apps Script project. The script project must be deployed for use with the Apps Script API and the calling application must share the same Cloud Platform project. This method requires authorization with an OAuth 2.0 token that includes at least one of the scopes listed in the [Authorization](#authorization-scopes) 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 script project **Overview** page and scroll down to &quot;Project OAuth Scopes.&quot; The error `403, PERMISSION_DENIED: The caller does not have permission` indicates that the Cloud Platform project used to authorize the request is not the same as the one used by the script.
9292

9393
Args:
94-
scriptId: string, The script ID of the script to be executed. To find the script ID, open the project in the script editor and select **File &gt; Project properties**. (required)
94+
scriptId: string, The script ID of the script to be executed. Find the script ID on the **Project settings** page under &quot;IDs.&quot; (required)
9595
body: object, The request body.
9696
The object takes the form of:
9797

0 commit comments

Comments
 (0)