| Index: discovery/googleapis/script__v1.json
|
| diff --git a/discovery/googleapis/script__v1.json b/discovery/googleapis/script__v1.json
|
| index 556c84c21a1fda8fdac7c9826be884482e3a0a87..80a0985529a5569fdb662e5c441be3910f3e1b81 100644
|
| --- a/discovery/googleapis/script__v1.json
|
| +++ b/discovery/googleapis/script__v1.json
|
| @@ -11,18 +11,18 @@
|
| "https://www.googleapis.com/auth/drive": {
|
| "description": "View and manage the files in your Google Drive"
|
| },
|
| - "https://www.googleapis.com/auth/admin.directory.group": {
|
| - "description": "View and manage the provisioning of groups on your domain"
|
| - },
|
| - "https://www.googleapis.com/auth/admin.directory.user": {
|
| - "description": "View and manage the provisioning of users on your domain"
|
| - },
|
| "https://mail.google.com/": {
|
| "description": "Read, send, delete, and manage your email"
|
| },
|
| "https://www.googleapis.com/auth/spreadsheets": {
|
| "description": "View and manage your spreadsheets in Google Drive"
|
| },
|
| + "https://www.googleapis.com/auth/admin.directory.group": {
|
| + "description": "View and manage the provisioning of groups on your domain"
|
| + },
|
| + "https://www.googleapis.com/auth/admin.directory.user": {
|
| + "description": "View and manage the provisioning of users on your domain"
|
| + },
|
| "https://www.googleapis.com/auth/forms": {
|
| "description": "View and manage your forms in Google Drive"
|
| },
|
| @@ -54,27 +54,16 @@
|
| "ownerDomain": "google.com",
|
| "ownerName": "Google",
|
| "parameters": {
|
| - "quotaUser": {
|
| - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
| + "bearer_token": {
|
| + "description": "OAuth bearer token.",
|
| "location": "query",
|
| "type": "string"
|
| },
|
| - "pp": {
|
| - "default": "true",
|
| - "description": "Pretty-print response.",
|
| - "location": "query",
|
| - "type": "boolean"
|
| - },
|
| "oauth_token": {
|
| "description": "OAuth 2.0 token for the current user.",
|
| "location": "query",
|
| "type": "string"
|
| },
|
| - "bearer_token": {
|
| - "description": "OAuth bearer token.",
|
| - "location": "query",
|
| - "type": "string"
|
| - },
|
| "upload_protocol": {
|
| "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
| "location": "query",
|
| @@ -130,15 +119,26 @@
|
| "location": "query",
|
| "type": "string"
|
| },
|
| + "key": {
|
| + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
| + "location": "query",
|
| + "type": "string"
|
| + },
|
| "access_token": {
|
| "description": "OAuth access token.",
|
| "location": "query",
|
| "type": "string"
|
| },
|
| - "key": {
|
| - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
| + "quotaUser": {
|
| + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
| "location": "query",
|
| "type": "string"
|
| + },
|
| + "pp": {
|
| + "default": "true",
|
| + "description": "Pretty-print response.",
|
| + "location": "query",
|
| + "type": "boolean"
|
| }
|
| },
|
| "protocol": "rest",
|
| @@ -184,7 +184,7 @@
|
| }
|
| }
|
| },
|
| - "revision": "20170321",
|
| + "revision": "20170407",
|
| "rootUrl": "https://script.googleapis.com/",
|
| "schemas": {
|
| "ExecutionResponse": {
|
| @@ -202,6 +202,10 @@
|
| "description": "The response will not arrive until the function finishes executing. The maximum runtime is listed in the guide to [limitations in Apps Script](https://developers.google.com/apps-script/guides/services/quotas#current_limitations).\n<p>If the script function returns successfully, the `response` field will contain an `ExecutionResponse` object with the function's return value in the object's `result` field.</p>\n<p>If the script function (or Apps Script itself) throws an exception, the `error` field will contain a `Status` object. The `Status` object's `details` field will contain an array with a single `ExecutionError` object that provides information about the nature of the error.</p>\n<p>If the `run` call itself fails (for example, because of a malformed request or an authorization error), the method will return an HTTP response code in the 4XX range with a different format for the response body. Client libraries will automatically convert a 4XX response into an exception class.</p>",
|
| "id": "Operation",
|
| "properties": {
|
| + "done": {
|
| + "description": "This field is not used.",
|
| + "type": "boolean"
|
| + },
|
| "response": {
|
| "additionalProperties": {
|
| "description": "Properties of the object. Contains field @type with type URL.",
|
| @@ -225,10 +229,6 @@
|
| },
|
| "description": "This field is not used.",
|
| "type": "object"
|
| - },
|
| - "done": {
|
| - "description": "This field is not used.",
|
| - "type": "boolean"
|
| }
|
| },
|
| "type": "object"
|
| @@ -253,6 +253,13 @@
|
| "description": "An object that provides information about the nature of an error in the Apps\nScript Execution API. If an\n`run` call succeeds but the\nscript function (or Apps Script itself) throws an exception, the response\nbody's `error` field contains a\n`Status` object. The `Status` object's `details` field\ncontains an array with a single one of these `ExecutionError` objects.",
|
| "id": "ExecutionError",
|
| "properties": {
|
| + "scriptStackTraceElements": {
|
| + "description": "An array of objects that provide a stack trace through the script to show\nwhere the execution failed, with the deepest call first.",
|
| + "items": {
|
| + "$ref": "ScriptStackTraceElement"
|
| + },
|
| + "type": "array"
|
| + },
|
| "errorType": {
|
| "description": "The error type, for example `TypeError` or `ReferenceError`. If the error\ntype is unavailable, this field is not included.",
|
| "type": "string"
|
| @@ -260,13 +267,6 @@
|
| "errorMessage": {
|
| "description": "The error message thrown by Apps Script, usually localized into the user's\nlanguage.",
|
| "type": "string"
|
| - },
|
| - "scriptStackTraceElements": {
|
| - "description": "An array of objects that provide a stack trace through the script to show\nwhere the execution failed, with the deepest call first.",
|
| - "items": {
|
| - "$ref": "ScriptStackTraceElement"
|
| - },
|
| - "type": "array"
|
| }
|
| },
|
| "type": "object"
|
|
|