docs: update generated docs (#981)
diff --git a/docs/dyn/script_v1.scripts.html b/docs/dyn/script_v1.scripts.html
index 0a0b4a7..1cc593c 100644
--- a/docs/dyn/script_v1.scripts.html
+++ b/docs/dyn/script_v1.scripts.html
@@ -105,9 +105,6 @@
{ # A request to run the function in a script. The script is identified by the
# specified `script_id`. Executing a function on a script returns results
# based on the implementation of the script.
- "function": "A String", # The name of the function to execute in the given script. The name does not
- # include parentheses or parameters. It can reference a function in an
- # included library such as `Library.libFunction1`.
"sessionState": "A String", # <b>Deprecated</b>. For use with Android add-ons only. An ID that represents
# the user's current session in the Android app for Google Docs or Sheets,
# included as extra data in the
@@ -120,9 +117,9 @@
# state, call
# `Intent.getStringExtra("com.google.android.apps.docs.addons.SessionState")`.
# Optional.
- "devMode": True or False, # If `true` and the user is an owner of the script, the script runs at the
- # most recently saved version rather than the version deployed for use with
- # the Apps Script API. Optional; default is `false`.
+ "function": "A String", # The name of the function to execute in the given script. The name does not
+ # include parentheses or parameters. It can reference a function in an
+ # included library such as `Library.libFunction1`.
"parameters": [ # The parameters to be passed to the function being executed. The object type
# for each parameter should match the expected type in Apps Script.
# Parameters cannot be Apps Script-specific object types (such as a
@@ -130,6 +127,9 @@
# `string`, `number`, `array`, `object`, or `boolean`. Optional.
"",
],
+ "devMode": True or False, # If `true` and the user is an owner of the script, the script runs at the
+ # most recently saved version rather than the version deployed for use with
+ # the Apps Script API. Optional; default is `false`.
}
x__xgafv: string, V1 error format.
@@ -159,16 +159,16 @@
# body. Client libraries automatically convert a 4XX response into an
# exception class.</li>
# </ul>
+ "done": True or False, # This field indicates whether the script execution has completed. A completed execution has a populated `response` field containing the ExecutionResponse from function that was executed.
"error": { # If a `run` call succeeds but the script function (or Apps Script itself) throws an exception, the response body's error field contains this `Status` object. # If a `run` call succeeds but the script function (or Apps Script itself) throws an exception, this field contains a Status object. The `Status` object's `details` field contains an array with a single ExecutionError object that provides information about the nature of the error.
- "code": 42, # The status code. For this API, this value either: <ul> <li> 10, indicating a `SCRIPT_TIMEOUT` error,</li> <li> 3, indicating an `INVALID_ARGUMENT` error, or</li> <li> 1, indicating a `CANCELLED` execution.</li> </ul>
"message": "A String", # A developer-facing error message, which is in English. Any user-facing error message is localized and sent in the details field, or localized by the client.
"details": [ # An array that contains a single ExecutionError object that provides information about the nature of the error.
{
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
],
+ "code": 42, # The status code. For this API, this value either: <ul> <li> 10, indicating a `SCRIPT_TIMEOUT` error,</li> <li> 3, indicating an `INVALID_ARGUMENT` error, or</li> <li> 1, indicating a `CANCELLED` execution.</li> </ul>
},
- "done": True or False, # This field indicates whether the script execution has completed. A completed execution has a populated `response` field containing the ExecutionResponse from function that was executed.
"response": { # If the script function returns successfully, this field contains an ExecutionResponse object with the function's return value.
"a_key": "", # Properties of the object. Contains field @type with type URL.
},