Skip to content

Commit

Permalink
chore(script): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Mar 3, 2021
1 parent f0d31fe commit d235c94
Show file tree
Hide file tree
Showing 2 changed files with 1,710 additions and 1,710 deletions.
6 changes: 3 additions & 3 deletions docs/dyn/script_v1.scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h2>Instance Methods</h2>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#run">run(scriptId, body=None, x__xgafv=None)</a></code></p>
<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>
<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>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
Expand All @@ -88,10 +88,10 @@ <h3>Method Details</h3>

<div class="method">
<code class="details" id="run">run(scriptId, body=None, x__xgafv=None)</code>
<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.
<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.

Args:
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)
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)
body: object, The request body.
The object takes the form of:

Expand Down
Loading

0 comments on commit d235c94

Please sign in to comment.