Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Side by Side Diff: discovery/googleapis/script__v1.json

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://mail.google.com/": { 5 "https://www.googleapis.com/auth/userinfo.email": {
6 "description": "View and manage your mail" 6 "description": "View your email address"
7 }, 7 },
8 "https://www.google.com/calendar/feeds": { 8 "https://www.google.com/calendar/feeds": {
9 "description": "Manage your calendars" 9 "description": "Manage your calendars"
10 }, 10 },
11 "https://www.google.com/m8/feeds": { 11 "https://www.googleapis.com/auth/groups": {
12 "description": "Manage your contacts" 12 "description": "View and manage your Google Groups"
13 },
14 "https://www.googleapis.com/auth/forms.currentonly": {
15 "description": "View and manage forms that this application has been installed in"
16 },
17 "https://www.googleapis.com/auth/drive": {
18 "description": "View and manage the files in your Google Dri ve"
19 },
20 "https://www.googleapis.com/auth/admin.directory.user": {
21 "description": "View and manage the provisioning of users on your domain"
13 }, 22 },
14 "https://www.googleapis.com/auth/admin.directory.group": { 23 "https://www.googleapis.com/auth/admin.directory.group": {
15 "description": "View and manage the provisioning of groups o n your domain" 24 "description": "View and manage the provisioning of groups o n your domain"
16 }, 25 },
17 "https://www.googleapis.com/auth/admin.directory.user": { 26 "https://www.googleapis.com/auth/spreadsheets": {
18 "description": "View and manage the provisioning of users on your domain" 27 "description": "View and manage your spreadsheets in Google Drive"
19 }, 28 },
20 "https://www.googleapis.com/auth/drive": { 29 "https://mail.google.com/": {
21 "description": "View and manage the files in your Google Dri ve" 30 "description": "View and manage your mail"
22 }, 31 },
23 "https://www.googleapis.com/auth/forms": { 32 "https://www.googleapis.com/auth/forms": {
24 "description": "View and manage your forms in Google Drive" 33 "description": "View and manage your forms in Google Drive"
25 }, 34 },
26 "https://www.googleapis.com/auth/forms.currentonly": { 35 "https://www.google.com/m8/feeds": {
27 "description": "View and manage forms that this application has been installed in" 36 "description": "Manage your contacts"
28 },
29 "https://www.googleapis.com/auth/groups": {
30 "description": "View and manage your Google Groups"
31 },
32 "https://www.googleapis.com/auth/spreadsheets": {
33 "description": "View and manage your spreadsheets in Google Drive"
34 },
35 "https://www.googleapis.com/auth/userinfo.email": {
36 "description": "View your email address"
37 } 37 }
38 } 38 }
39 } 39 }
40 }, 40 },
41 "basePath": "", 41 "basePath": "",
42 "baseUrl": "https://script.googleapis.com/", 42 "baseUrl": "https://script.googleapis.com/",
43 "batchPath": "batch", 43 "batchPath": "batch",
44 "description": "Executes Google Apps Script projects.", 44 "description": "Executes Google Apps Script projects.",
45 "discoveryVersion": "v1", 45 "discoveryVersion": "v1",
46 "documentationLink": "https://developers.google.com/apps-script/execution/re st/v1/scripts/run", 46 "documentationLink": "https://developers.google.com/apps-script/execution/re st/v1/scripts/run",
47 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/FcNWZezE05ypidUunx03uCyJR70\"",
48 "icons": { 47 "icons": {
49 "x16": "http://www.google.com/images/icons/product/search-16.gif", 48 "x16": "http://www.google.com/images/icons/product/search-16.gif",
50 "x32": "http://www.google.com/images/icons/product/search-32.gif" 49 "x32": "http://www.google.com/images/icons/product/search-32.gif"
51 }, 50 },
52 "id": "script:v1", 51 "id": "script:v1",
53 "kind": "discovery#restDescription", 52 "kind": "discovery#restDescription",
54 "name": "script", 53 "name": "script",
55 "ownerDomain": "google.com", 54 "ownerDomain": "google.com",
56 "ownerName": "Google", 55 "ownerName": "Google",
57 "parameters": { 56 "parameters": {
58 "access_token": { 57 "fields": {
59 "description": "OAuth access token.", 58 "description": "Selector specifying which fields to include in a par tial response.",
60 "location": "query", 59 "location": "query",
61 "type": "string" 60 "type": "string"
62 }, 61 },
63 "alt": { 62 "uploadType": {
64 "default": "json", 63 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
65 "description": "Data format for response.", 64 "location": "query",
65 "type": "string"
66 },
67 "$.xgafv": {
68 "description": "V1 error format.",
69 "enum": [
70 "1",
71 "2"
72 ],
66 "enumDescriptions": [ 73 "enumDescriptions": [
67 "Responses with Content-Type of application/json", 74 "v1 error format",
68 "Media download with context-dependent Content-Type", 75 "v2 error format"
69 "Responses with Content-Type of application/x-protobuf"
70 ], 76 ],
71 "location": "query", 77 "location": "query",
72 "type": "string" 78 "type": "string"
73 }, 79 },
74 "bearer_token": {
75 "description": "OAuth bearer token.",
76 "location": "query",
77 "type": "string"
78 },
79 "callback": { 80 "callback": {
80 "description": "JSONP", 81 "description": "JSONP",
81 "location": "query", 82 "location": "query",
82 "type": "string" 83 "type": "string"
83 }, 84 },
84 "fields": { 85 "alt": {
85 "description": "Selector specifying which fields to include in a par tial response.", 86 "default": "json",
87 "description": "Data format for response.",
88 "enum": [
89 "json",
90 "media",
91 "proto"
92 ],
93 "enumDescriptions": [
94 "Responses with Content-Type of application/json",
95 "Media download with context-dependent Content-Type",
96 "Responses with Content-Type of application/x-protobuf"
97 ],
86 "location": "query", 98 "location": "query",
87 "type": "string" 99 "type": "string"
88 }, 100 },
101 "access_token": {
102 "description": "OAuth access token.",
103 "location": "query",
104 "type": "string"
105 },
89 "key": { 106 "key": {
90 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.", 107 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
91 "location": "query", 108 "location": "query",
92 "type": "string" 109 "type": "string"
93 }, 110 },
94 "oauth_token": { 111 "quotaUser": {
95 "description": "OAuth 2.0 token for the current user.", 112 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
96 "location": "query", 113 "location": "query",
97 "type": "string" 114 "type": "string"
98 }, 115 },
99 "pp": { 116 "pp": {
100 "default": "true", 117 "default": "true",
101 "description": "Pretty-print response.", 118 "description": "Pretty-print response.",
102 "location": "query", 119 "location": "query",
103 "type": "boolean" 120 "type": "boolean"
104 }, 121 },
105 "prettyPrint": { 122 "oauth_token": {
106 "default": "true", 123 "description": "OAuth 2.0 token for the current user.",
107 "description": "Returns response with indentations and line breaks." ,
108 "location": "query",
109 "type": "boolean"
110 },
111 "quotaUser": {
112 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
113 "location": "query", 124 "location": "query",
114 "type": "string" 125 "type": "string"
115 }, 126 },
127 "bearer_token": {
128 "description": "OAuth bearer token.",
129 "location": "query",
130 "type": "string"
131 },
116 "upload_protocol": { 132 "upload_protocol": {
117 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 133 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
118 "location": "query", 134 "location": "query",
119 "type": "string" 135 "type": "string"
120 }, 136 },
121 "uploadType": { 137 "prettyPrint": {
122 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 138 "default": "true",
139 "description": "Returns response with indentations and line breaks." ,
123 "location": "query", 140 "location": "query",
124 "type": "string" 141 "type": "boolean"
125 },
126 "$.xgafv": {
127 "description": "V1 error format.",
128 "enumDescriptions": [
129 "v1 error format",
130 "v2 error format"
131 ],
132 "location": "query",
133 "type": "string"
134 } 142 }
135 }, 143 },
136 "protocol": "rest", 144 "protocol": "rest",
137 "resources": { 145 "resources": {
138 "scripts": { 146 "scripts": {
139 "methods": { 147 "methods": {
140 "run": { 148 "run": {
141 "description": "Runs a function in an Apps Script project th at has been deployed for use with the Apps Script Execution API. This method req uires authorization with an OAuth 2.0 token that includes at least one of the sc opes listed in the [Authentication](#authentication) section; script projects th at 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.", 149 "description": "Runs a function in an Apps Script project. T he project must be deployed\nfor use with the Apps Script Execution API.\n\nThis method requires authorization with an OAuth 2.0 token that includes at\nleast o ne of the scopes listed in the [Authorization](#authorization)\nsection; script projects that do not require authorization cannot be\nexecuted through this API. To find the correct scopes to include in the\nauthentication token, open the pr oject in the script editor, then select\n**File > Project properties** and click the **Scopes** tab.",
142 "httpMethod": "POST", 150 "httpMethod": "POST",
143 "id": "script.scripts.run", 151 "id": "script.scripts.run",
144 "parameterOrder": [ 152 "parameterOrder": [
145 "scriptId" 153 "scriptId"
146 ], 154 ],
147 "parameters": { 155 "parameters": {
148 "scriptId": { 156 "scriptId": {
149 "description": "The project key of the script to be executed. To find the project key, open the project in the script editor, then s elect **File > Project properties**.", 157 "description": "The project key of the script to be executed. To find the project key, open\nthe project in the script editor and se lect **File > Project properties**.",
150 "location": "path", 158 "location": "path",
151 "required": true, 159 "required": true,
152 "type": "string" 160 "type": "string"
153 } 161 }
154 }, 162 },
155 "path": "v1/scripts/{scriptId}:run", 163 "path": "v1/scripts/{scriptId}:run",
156 "request": { 164 "request": {
157 "$ref": "ExecutionRequest" 165 "$ref": "ExecutionRequest"
158 }, 166 },
159 "response": { 167 "response": {
160 "$ref": "Operation" 168 "$ref": "Operation"
161 }, 169 },
162 "scopes": [ 170 "scopes": [
163 "https://mail.google.com/", 171 "https://mail.google.com/",
164 "https://www.google.com/calendar/feeds", 172 "https://www.google.com/calendar/feeds",
165 "https://www.google.com/m8/feeds", 173 "https://www.google.com/m8/feeds",
166 "https://www.googleapis.com/auth/admin.directory.group", 174 "https://www.googleapis.com/auth/admin.directory.group",
167 "https://www.googleapis.com/auth/admin.directory.user", 175 "https://www.googleapis.com/auth/admin.directory.user",
168 "https://www.googleapis.com/auth/drive", 176 "https://www.googleapis.com/auth/drive",
169 "https://www.googleapis.com/auth/forms", 177 "https://www.googleapis.com/auth/forms",
170 "https://www.googleapis.com/auth/forms.currentonly", 178 "https://www.googleapis.com/auth/forms.currentonly",
171 "https://www.googleapis.com/auth/groups", 179 "https://www.googleapis.com/auth/groups",
172 "https://www.googleapis.com/auth/spreadsheets", 180 "https://www.googleapis.com/auth/spreadsheets",
173 "https://www.googleapis.com/auth/userinfo.email" 181 "https://www.googleapis.com/auth/userinfo.email"
174 ] 182 ]
175 } 183 }
176 } 184 }
177 } 185 }
178 }, 186 },
179 "revision": "20160801", 187 "revision": "20170209",
180 "rootUrl": "https://script.googleapis.com/", 188 "rootUrl": "https://script.googleapis.com/",
181 "schemas": { 189 "schemas": {
182 "ExecutionRequest": { 190 "ExecutionResponse": {
183 "description": "A request to run the function in a script. The scrip t is identified by the specified `script_id`. Executing a function on a script w ill return results based on the implementation of the script.", 191 "description": "An object that provides the return value of a functi on executed through the\nApps Script Execution API. If a\n`run` call succeeds an d the\nscript function returns successfully, the response body's\n`response` fie ld contains this\n`ExecutionResponse` object.",
184 "id": "ExecutionRequest", 192 "id": "ExecutionResponse",
185 "properties": { 193 "properties": {
186 "function": { 194 "result": {
187 "description": "The name of the function to execute in the g iven script. The name does not include parentheses or parameters.", 195 "description": "The return value of the script function. The type matches the object type\nreturned in Apps Script. Functions called through the Execution API cannot\nreturn Apps Script-specific objects (such as a `Docum ent` or a `Calendar`);\nthey can only return primitive types such as a `string`, `number`, `array`,\n`object`, or `boolean`.",
188 "type": "string" 196 "type": "any"
189 },
190 "parameters": {
191 "description": "The parameters to be passed to the function being executed. The type for each parameter should match the expected type in Ap ps Script. Parameters cannot be Apps Script-specific objects (such as a `Documen t` or `Calendar`); they can only be primitive types such as a `string`, `number` , `array`, `object`, or `boolean`. Optional.",
192 "items": {
193 "type": "any"
194 },
195 "type": "array"
196 },
197 "sessionState": {
198 "description": "This field is not used.",
199 "type": "string"
200 },
201 "devMode": {
202 "description": "If `true` and the user is an owner of the sc ript, the script runs at the most recently saved version rather than the version deployed for use with the Execution API. Optional; default is `false`.",
203 "type": "boolean"
204 } 197 }
205 }, 198 },
206 "type": "object" 199 "type": "object"
207 }, 200 },
208 "Operation": { 201 "Operation": {
209 "description": "The response will not arrive until the function fini shes executing. The maximum runtime is listed in the guide to [limitations in Ap ps Script](https://developers.google.com/apps-script/guides/services/quotas#curr ent_limitations).\nIf the script function returns successfully, the `response` f ield will contain an `ExecutionResponse` object with the function's return value in the object's `result` field.\n\nIf the script function (or Apps Script itsel f) throws an exception, the `error` field will contain a `Status` object. The `S tatus` object's `details` field will contain an array with a single `ExecutionEr ror` object that provides information about the nature of the error.\n\nIf the ` run` call itself fails (for example, because of a malformed request or an author ization error), the method will return an HTTP response code in the 4XX range wi th a different format for the response body. Client libraries will automatically convert a 4XX response into an exception class.", 202 "description": "The response will not arrive until the function fini shes executing. The maximum runtime is listed in the guide to [limitations in Ap ps Script](https://developers.google.com/apps-script/guides/services/quotas#curr ent_limitations).\n<p>If the script function returns successfully, the `response ` field will contain an `ExecutionResponse` object with the function's return va lue in the object's `result` field.</p>\n<p>If the script function (or Apps Scri pt 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 `Exe cutionError` 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>",
210 "id": "Operation", 203 "id": "Operation",
211 "properties": { 204 "properties": {
205 "response": {
206 "additionalProperties": {
207 "description": "Properties of the object. Contains field @type with type URL.",
208 "type": "any"
209 },
210 "description": "If the script function returns successfully, this field will contain an `ExecutionResponse` object with the function's retur n value as the object's `result` field.",
211 "type": "object"
212 },
212 "name": { 213 "name": {
213 "description": "This field is not used.", 214 "description": "This field is not used.",
214 "type": "string" 215 "type": "string"
215 }, 216 },
217 "error": {
218 "$ref": "Status",
219 "description": "If a `run` call succeeds but the script func tion (or Apps Script itself) throws an exception, this field will contain a `Sta tus` 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."
220 },
216 "metadata": { 221 "metadata": {
217 "additionalProperties": { 222 "additionalProperties": {
218 "description": "Properties of the object. Contains field @type with type URL.", 223 "description": "Properties of the object. Contains field @type with type URL.",
219 "type": "any" 224 "type": "any"
220 }, 225 },
221 "description": "This field is not used.", 226 "description": "This field is not used.",
222 "type": "object" 227 "type": "object"
223 }, 228 },
224 "done": { 229 "done": {
225 "description": "This field is not used.", 230 "description": "This field is not used.",
226 "type": "boolean" 231 "type": "boolean"
227 },
228 "error": {
229 "$ref": "Status",
230 "description": "If a `run` call succeeds but the script func tion (or Apps Script itself) throws an exception, this field will contain a `Sta tus` 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."
231 },
232 "response": {
233 "additionalProperties": {
234 "description": "Properties of the object. Contains field @type with type URL.",
235 "type": "any"
236 },
237 "description": "If the script function returns successfully, this field will contain an `ExecutionResponse` object with the function's retur n value as the object's `result` field.",
238 "type": "object"
239 }
240 },
241 "type": "object"
242 },
243 "Status": {
244 "description": "If a `run` call succeeds but the script function (or Apps Script itself) throws an exception, the response body's `error` field will contain this `Status` object.",
245 "id": "Status",
246 "properties": {
247 "code": {
248 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
249 "format": "int32",
250 "type": "integer"
251 },
252 "message": {
253 "description": "A developer-facing error message, which shou ld be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
254 "type": "string"
255 },
256 "details": {
257 "description": "An array that contains a single `ExecutionEr ror` object that provides information about the nature of the error.",
258 "items": {
259 "additionalProperties": {
260 "description": "Properties of the object. Contains f ield @type with type URL.",
261 "type": "any"
262 },
263 "type": "object"
264 },
265 "type": "array"
266 }
267 },
268 "type": "object"
269 },
270 "ExecutionError": {
271 "description": "An object that provides information about the nature of an error in the Apps Script Execution API. If an `run` call succeeds but the script function (or Apps Script itself) throws an exception, the response body' s `error` field will contain a `Status` object. The `Status` object's `details` field will contain an array with a single one of these `ExecutionError` objects. ",
272 "id": "ExecutionError",
273 "properties": {
274 "scriptStackTraceElements": {
275 "description": "An array of objects that provide a stack tra ce through the script to show where the execution failed, with the deepest call first.",
276 "items": {
277 "$ref": "ScriptStackTraceElement"
278 },
279 "type": "array"
280 },
281 "errorMessage": {
282 "description": "The error message thrown by Apps Script, usu ally localized into the user's language.",
283 "type": "string"
284 },
285 "errorType": {
286 "description": "The error type, for example `TypeError` or ` ReferenceError`. If the error type is unavailable, this field is not included.",
287 "type": "string"
288 } 232 }
289 }, 233 },
290 "type": "object" 234 "type": "object"
291 }, 235 },
292 "ScriptStackTraceElement": { 236 "ScriptStackTraceElement": {
293 "description": "A stack trace through the script that shows where th e execution failed.", 237 "description": "A stack trace through the script that shows where th e execution failed.",
294 "id": "ScriptStackTraceElement", 238 "id": "ScriptStackTraceElement",
295 "properties": { 239 "properties": {
296 "function": { 240 "function": {
297 "description": "The name of the function that failed.", 241 "description": "The name of the function that failed.",
298 "type": "string" 242 "type": "string"
299 }, 243 },
300 "lineNumber": { 244 "lineNumber": {
301 "description": "The line number where the script failed.", 245 "description": "The line number where the script failed.",
302 "format": "int32", 246 "format": "int32",
303 "type": "integer" 247 "type": "integer"
304 } 248 }
305 }, 249 },
306 "type": "object" 250 "type": "object"
307 }, 251 },
308 "ExecutionResponse": { 252 "ExecutionError": {
309 "description": "An object that provides the return value of a functi on executed through the Apps Script Execution API. If an `run` call succeeds and the script function returns successfully, the response body's `response` field will contain this `ExecutionResponse` object.", 253 "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 t he\nscript function (or Apps Script itself) throws an exception, the response\nb ody'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.",
310 "id": "ExecutionResponse", 254 "id": "ExecutionError",
311 "properties": { 255 "properties": {
312 "result": { 256 "errorType": {
313 "description": "The return value of the script function. The type will match the type returned in Apps Script. Functions called through the Execution API cannot return Apps Script-specific objects (such as a `Document` o r `Calendar`); they can only return primitive types such as a `string`, `number` , `array`, `object`, or `boolean`.", 257 "description": "The error type, for example `TypeError` or ` ReferenceError`. If the error\ntype is unavailable, this field is not included." ,
314 "type": "any" 258 "type": "string"
315 }, 259 },
316 "status": { 260 "errorMessage": {
317 "enum": [ 261 "description": "The error message thrown by Apps Script, usu ally localized into the user's\nlanguage.",
318 "SUCCESS", 262 "type": "string"
319 "CANCELED" 263 },
320 ], 264 "scriptStackTraceElements": {
265 "description": "An array of objects that provide a stack tra ce through the script to show\nwhere the execution failed, with the deepest call first.",
266 "items": {
267 "$ref": "ScriptStackTraceElement"
268 },
269 "type": "array"
270 }
271 },
272 "type": "object"
273 },
274 "Status": {
275 "description": "If a `run` call succeeds but the script function (or Apps Script itself) throws an exception, the response body's `error` field will contain this `Status` object.",
276 "id": "Status",
277 "properties": {
278 "details": {
279 "description": "An array that contains a single `ExecutionEr ror` object that provides information about the nature of the error.",
280 "items": {
281 "additionalProperties": {
282 "description": "Properties of the object. Contains f ield @type with type URL.",
283 "type": "any"
284 },
285 "type": "object"
286 },
287 "type": "array"
288 },
289 "code": {
290 "description": "The status code. For this API, this value wi ll always be 3, corresponding to an INVALID_ARGUMENT error.",
291 "format": "int32",
292 "type": "integer"
293 },
294 "message": {
295 "description": "A developer-facing error message, which is i n English. Any user-facing error message is localized and sent in the [`google.r pc.Status.details`](google.rpc.Status.details) field, or localized by the client .",
321 "type": "string" 296 "type": "string"
322 } 297 }
323 }, 298 },
299 "type": "object"
300 },
301 "ExecutionRequest": {
302 "description": "A request to run the function in a script. The scrip t is identified by the\nspecified `script_id`. Executing a function on a script returns results\nbased on the implementation of the script.",
303 "id": "ExecutionRequest",
304 "properties": {
305 "function": {
306 "description": "The name of the function to execute in the g iven script. The name does not\ninclude parentheses or parameters.",
307 "type": "string"
308 },
309 "devMode": {
310 "description": "If `true` and the user is an owner of the sc ript, the script runs at the\nmost recently saved version rather than the versio n deployed for use with\nthe Execution API. Optional; default is `false`.",
311 "type": "boolean"
312 },
313 "parameters": {
314 "description": "The parameters to be passed to the function being executed. The object type\nfor each parameter should match the expected ty pe in Apps Script.\nParameters cannot be Apps Script-specific object types (such as a\n`Document` or a `Calendar`); they can only be primitive types such as\n`s tring`, `number`, `array`, `object`, or `boolean`. Optional.",
315 "items": {
316 "type": "any"
317 },
318 "type": "array"
319 },
320 "sessionState": {
321 "description": "For Android add-ons only. An ID that represe nts the user's current session\nin the Android app for Google Docs or Sheets, in cluded as extra data in the\n[`Intent`](https://developer.android.com/guide/comp onents/intents-filters.html)\nthat launches the add-on. When an Android add-on i s run with a session\nstate, it gains the privileges of a\n[bound](https://devel opers.google.com/apps-script/guides/bound) script &mdash;\nthat is, it can acces s information like the user's current cursor position\n(in Docs) or selected cel l (in Sheets). To retrieve the state, call\n`Intent.getStringExtra(\"com.google. android.apps.docs.addons.SessionState\")`.\nOptional.",
322 "type": "string"
323 }
324 },
324 "type": "object" 325 "type": "object"
325 } 326 }
326 }, 327 },
327 "servicePath": "", 328 "servicePath": "",
328 "title": "Google Apps Script Execution API", 329 "title": "Google Apps Script Execution API",
329 "version": "v1" 330 "version": "v1"
330 } 331 }
OLDNEW
« no previous file with comments | « discovery/googleapis/runtimeconfig__v1.json ('k') | discovery/googleapis/searchconsole__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698