blob: 036024b6985b2b1c3e5d453817cb1f59102f708c [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="script_v1.html">Apps Script API</a> . <a href="script_v1.projects.html">projects</a> . <a href="script_v1.projects.deployments.html">deployments</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070081 <code><a href="#create">create(scriptId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070082<p class="firstline">Creates a deployment of an Apps Script project.</p>
83<p class="toc_element">
84 <code><a href="#delete">delete(scriptId, deploymentId, x__xgafv=None)</a></code></p>
85<p class="firstline">Deletes a deployment of an Apps Script project.</p>
86<p class="toc_element">
87 <code><a href="#get">get(scriptId, deploymentId, x__xgafv=None)</a></code></p>
88<p class="firstline">Gets a deployment of an Apps Script project.</p>
89<p class="toc_element">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080090 <code><a href="#list">list(scriptId, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070091<p class="firstline">Lists the deployments of an Apps Script project.</p>
92<p class="toc_element">
93 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
94<p class="firstline">Retrieves the next page of results.</p>
95<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070096 <code><a href="#update">update(scriptId, deploymentId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070097<p class="firstline">Updates a deployment of an Apps Script project.</p>
98<h3>Method Details</h3>
99<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102</div>
103
104<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700105 <code class="details" id="create">create(scriptId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700106 <pre>Creates a deployment of an Apps Script project.
107
108Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700109 scriptId: string, The script project&#x27;s Drive ID. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700110 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700111 The object takes the form of:
112
113{ # Metadata the defines how a deployment is configured.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800114 &quot;description&quot;: &quot;A String&quot;, # The description for this deployment.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800115 &quot;manifestFileName&quot;: &quot;A String&quot;, # The manifest file name for this deployment.
116 &quot;versionNumber&quot;: 42, # The version number on which this deployment is based.
117 &quot;scriptId&quot;: &quot;A String&quot;, # The script project&#x27;s Drive ID.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800118}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700119
120 x__xgafv: string, V1 error format.
121 Allowed values
122 1 - v1 error format
123 2 - v2 error format
124
125Returns:
126 An object of the form:
127
128 { # Representation of a single script deployment.
Bu Sun Kim65020912020-05-20 12:08:20 -0700129 &quot;entryPoints&quot;: [ # The deployment&#x27;s entry points.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700130 { # A configuration that defines how a deployment is accessed externally.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800131 &quot;addOn&quot;: { # An add-on entry point. # Add-on properties.
132 &quot;title&quot;: &quot;A String&quot;, # The add-on&#x27;s required title.
133 &quot;addOnType&quot;: &quot;A String&quot;, # The add-on&#x27;s required list of supported container types.
134 &quot;postInstallTipUrl&quot;: &quot;A String&quot;, # The add-on&#x27;s required post install tip URL.
135 &quot;reportIssueUrl&quot;: &quot;A String&quot;, # The add-on&#x27;s optional report issue URL.
136 &quot;description&quot;: &quot;A String&quot;, # The add-on&#x27;s optional description.
137 &quot;helpUrl&quot;: &quot;A String&quot;, # The add-on&#x27;s optional help URL.
138 },
139 &quot;executionApi&quot;: { # An API executable entry point. # An entry point specification for Apps Script API execution calls.
140 &quot;entryPointConfig&quot;: { # API executable entry point configuration. # The entry point&#x27;s configuration.
141 &quot;access&quot;: &quot;A String&quot;, # Who has permission to run the API executable.
142 },
143 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800144 &quot;webApp&quot;: { # A web application entry point. # An entry point specification for web apps.
145 &quot;entryPointConfig&quot;: { # Web app entry point configuration. # The entry point&#x27;s configuration.
146 &quot;executeAs&quot;: &quot;A String&quot;, # Who to execute the web app as.
147 &quot;access&quot;: &quot;A String&quot;, # Who has permission to run the web app.
148 },
149 &quot;url&quot;: &quot;A String&quot;, # The URL for the web application.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700150 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800151 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the entry point.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700152 },
153 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800154 &quot;updateTime&quot;: &quot;A String&quot;, # Last modified date time stamp.
155 &quot;deploymentId&quot;: &quot;A String&quot;, # The deployment ID for this deployment.
156 &quot;deploymentConfig&quot;: { # Metadata the defines how a deployment is configured. # The deployment configuration.
157 &quot;description&quot;: &quot;A String&quot;, # The description for this deployment.
158 &quot;manifestFileName&quot;: &quot;A String&quot;, # The manifest file name for this deployment.
159 &quot;versionNumber&quot;: 42, # The version number on which this deployment is based.
160 &quot;scriptId&quot;: &quot;A String&quot;, # The script project&#x27;s Drive ID.
161 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700162 }</pre>
163</div>
164
165<div class="method">
166 <code class="details" id="delete">delete(scriptId, deploymentId, x__xgafv=None)</code>
167 <pre>Deletes a deployment of an Apps Script project.
168
169Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700170 scriptId: string, The script project&#x27;s Drive ID. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700171 deploymentId: string, The deployment ID to be undeployed. (required)
172 x__xgafv: string, V1 error format.
173 Allowed values
174 1 - v1 error format
175 2 - v2 error format
176
177Returns:
178 An object of the form:
179
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700180 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700181 }</pre>
182</div>
183
184<div class="method">
185 <code class="details" id="get">get(scriptId, deploymentId, x__xgafv=None)</code>
186 <pre>Gets a deployment of an Apps Script project.
187
188Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700189 scriptId: string, The script project&#x27;s Drive ID. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700190 deploymentId: string, The deployment ID. (required)
191 x__xgafv: string, V1 error format.
192 Allowed values
193 1 - v1 error format
194 2 - v2 error format
195
196Returns:
197 An object of the form:
198
199 { # Representation of a single script deployment.
Bu Sun Kim65020912020-05-20 12:08:20 -0700200 &quot;entryPoints&quot;: [ # The deployment&#x27;s entry points.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700201 { # A configuration that defines how a deployment is accessed externally.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800202 &quot;addOn&quot;: { # An add-on entry point. # Add-on properties.
203 &quot;title&quot;: &quot;A String&quot;, # The add-on&#x27;s required title.
204 &quot;addOnType&quot;: &quot;A String&quot;, # The add-on&#x27;s required list of supported container types.
205 &quot;postInstallTipUrl&quot;: &quot;A String&quot;, # The add-on&#x27;s required post install tip URL.
206 &quot;reportIssueUrl&quot;: &quot;A String&quot;, # The add-on&#x27;s optional report issue URL.
207 &quot;description&quot;: &quot;A String&quot;, # The add-on&#x27;s optional description.
208 &quot;helpUrl&quot;: &quot;A String&quot;, # The add-on&#x27;s optional help URL.
209 },
210 &quot;executionApi&quot;: { # An API executable entry point. # An entry point specification for Apps Script API execution calls.
211 &quot;entryPointConfig&quot;: { # API executable entry point configuration. # The entry point&#x27;s configuration.
212 &quot;access&quot;: &quot;A String&quot;, # Who has permission to run the API executable.
213 },
214 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800215 &quot;webApp&quot;: { # A web application entry point. # An entry point specification for web apps.
216 &quot;entryPointConfig&quot;: { # Web app entry point configuration. # The entry point&#x27;s configuration.
217 &quot;executeAs&quot;: &quot;A String&quot;, # Who to execute the web app as.
218 &quot;access&quot;: &quot;A String&quot;, # Who has permission to run the web app.
219 },
220 &quot;url&quot;: &quot;A String&quot;, # The URL for the web application.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700221 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800222 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the entry point.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700223 },
224 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800225 &quot;updateTime&quot;: &quot;A String&quot;, # Last modified date time stamp.
226 &quot;deploymentId&quot;: &quot;A String&quot;, # The deployment ID for this deployment.
227 &quot;deploymentConfig&quot;: { # Metadata the defines how a deployment is configured. # The deployment configuration.
228 &quot;description&quot;: &quot;A String&quot;, # The description for this deployment.
229 &quot;manifestFileName&quot;: &quot;A String&quot;, # The manifest file name for this deployment.
230 &quot;versionNumber&quot;: 42, # The version number on which this deployment is based.
231 &quot;scriptId&quot;: &quot;A String&quot;, # The script project&#x27;s Drive ID.
232 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700233 }</pre>
234</div>
235
236<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800237 <code class="details" id="list">list(scriptId, pageSize=None, pageToken=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700238 <pre>Lists the deployments of an Apps Script project.
239
240Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700241 scriptId: string, The script project&#x27;s Drive ID. (required)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800242 pageSize: integer, The maximum number of deployments on each returned page. Defaults to 50.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800243 pageToken: string, The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from a previous response.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700244 x__xgafv: string, V1 error format.
245 Allowed values
246 1 - v1 error format
247 2 - v2 error format
248
249Returns:
250 An object of the form:
251
252 { # Response with the list of deployments for the specified Apps Script project.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800253 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token that can be used in the next call to get the next page of results.
Bu Sun Kim65020912020-05-20 12:08:20 -0700254 &quot;deployments&quot;: [ # The list of deployments.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700255 { # Representation of a single script deployment.
Bu Sun Kim65020912020-05-20 12:08:20 -0700256 &quot;entryPoints&quot;: [ # The deployment&#x27;s entry points.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700257 { # A configuration that defines how a deployment is accessed externally.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800258 &quot;addOn&quot;: { # An add-on entry point. # Add-on properties.
259 &quot;title&quot;: &quot;A String&quot;, # The add-on&#x27;s required title.
260 &quot;addOnType&quot;: &quot;A String&quot;, # The add-on&#x27;s required list of supported container types.
261 &quot;postInstallTipUrl&quot;: &quot;A String&quot;, # The add-on&#x27;s required post install tip URL.
262 &quot;reportIssueUrl&quot;: &quot;A String&quot;, # The add-on&#x27;s optional report issue URL.
263 &quot;description&quot;: &quot;A String&quot;, # The add-on&#x27;s optional description.
264 &quot;helpUrl&quot;: &quot;A String&quot;, # The add-on&#x27;s optional help URL.
265 },
266 &quot;executionApi&quot;: { # An API executable entry point. # An entry point specification for Apps Script API execution calls.
267 &quot;entryPointConfig&quot;: { # API executable entry point configuration. # The entry point&#x27;s configuration.
268 &quot;access&quot;: &quot;A String&quot;, # Who has permission to run the API executable.
269 },
270 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800271 &quot;webApp&quot;: { # A web application entry point. # An entry point specification for web apps.
272 &quot;entryPointConfig&quot;: { # Web app entry point configuration. # The entry point&#x27;s configuration.
273 &quot;executeAs&quot;: &quot;A String&quot;, # Who to execute the web app as.
274 &quot;access&quot;: &quot;A String&quot;, # Who has permission to run the web app.
275 },
276 &quot;url&quot;: &quot;A String&quot;, # The URL for the web application.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700277 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800278 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the entry point.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700279 },
280 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800281 &quot;updateTime&quot;: &quot;A String&quot;, # Last modified date time stamp.
282 &quot;deploymentId&quot;: &quot;A String&quot;, # The deployment ID for this deployment.
283 &quot;deploymentConfig&quot;: { # Metadata the defines how a deployment is configured. # The deployment configuration.
284 &quot;description&quot;: &quot;A String&quot;, # The description for this deployment.
285 &quot;manifestFileName&quot;: &quot;A String&quot;, # The manifest file name for this deployment.
286 &quot;versionNumber&quot;: 42, # The version number on which this deployment is based.
287 &quot;scriptId&quot;: &quot;A String&quot;, # The script project&#x27;s Drive ID.
288 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700289 },
290 ],
291 }</pre>
292</div>
293
294<div class="method">
295 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
296 <pre>Retrieves the next page of results.
297
298Args:
299 previous_request: The request for the previous page. (required)
300 previous_response: The response from the request for the previous page. (required)
301
302Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700303 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700304 page. Returns None if there are no more items in the collection.
305 </pre>
306</div>
307
308<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700309 <code class="details" id="update">update(scriptId, deploymentId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700310 <pre>Updates a deployment of an Apps Script project.
311
312Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700313 scriptId: string, The script project&#x27;s Drive ID. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700314 deploymentId: string, The deployment ID for this deployment. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700315 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700316 The object takes the form of:
317
318{ # Request with deployment information to update an existing deployment.
Bu Sun Kim65020912020-05-20 12:08:20 -0700319 &quot;deploymentConfig&quot;: { # Metadata the defines how a deployment is configured. # The deployment configuration.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800320 &quot;description&quot;: &quot;A String&quot;, # The description for this deployment.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800321 &quot;manifestFileName&quot;: &quot;A String&quot;, # The manifest file name for this deployment.
322 &quot;versionNumber&quot;: 42, # The version number on which this deployment is based.
323 &quot;scriptId&quot;: &quot;A String&quot;, # The script project&#x27;s Drive ID.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800324 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700325 }
326
327 x__xgafv: string, V1 error format.
328 Allowed values
329 1 - v1 error format
330 2 - v2 error format
331
332Returns:
333 An object of the form:
334
335 { # Representation of a single script deployment.
Bu Sun Kim65020912020-05-20 12:08:20 -0700336 &quot;entryPoints&quot;: [ # The deployment&#x27;s entry points.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700337 { # A configuration that defines how a deployment is accessed externally.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800338 &quot;addOn&quot;: { # An add-on entry point. # Add-on properties.
339 &quot;title&quot;: &quot;A String&quot;, # The add-on&#x27;s required title.
340 &quot;addOnType&quot;: &quot;A String&quot;, # The add-on&#x27;s required list of supported container types.
341 &quot;postInstallTipUrl&quot;: &quot;A String&quot;, # The add-on&#x27;s required post install tip URL.
342 &quot;reportIssueUrl&quot;: &quot;A String&quot;, # The add-on&#x27;s optional report issue URL.
343 &quot;description&quot;: &quot;A String&quot;, # The add-on&#x27;s optional description.
344 &quot;helpUrl&quot;: &quot;A String&quot;, # The add-on&#x27;s optional help URL.
345 },
346 &quot;executionApi&quot;: { # An API executable entry point. # An entry point specification for Apps Script API execution calls.
347 &quot;entryPointConfig&quot;: { # API executable entry point configuration. # The entry point&#x27;s configuration.
348 &quot;access&quot;: &quot;A String&quot;, # Who has permission to run the API executable.
349 },
350 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800351 &quot;webApp&quot;: { # A web application entry point. # An entry point specification for web apps.
352 &quot;entryPointConfig&quot;: { # Web app entry point configuration. # The entry point&#x27;s configuration.
353 &quot;executeAs&quot;: &quot;A String&quot;, # Who to execute the web app as.
354 &quot;access&quot;: &quot;A String&quot;, # Who has permission to run the web app.
355 },
356 &quot;url&quot;: &quot;A String&quot;, # The URL for the web application.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700357 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800358 &quot;entryPointType&quot;: &quot;A String&quot;, # The type of the entry point.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700359 },
360 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800361 &quot;updateTime&quot;: &quot;A String&quot;, # Last modified date time stamp.
362 &quot;deploymentId&quot;: &quot;A String&quot;, # The deployment ID for this deployment.
363 &quot;deploymentConfig&quot;: { # Metadata the defines how a deployment is configured. # The deployment configuration.
364 &quot;description&quot;: &quot;A String&quot;, # The description for this deployment.
365 &quot;manifestFileName&quot;: &quot;A String&quot;, # The manifest file name for this deployment.
366 &quot;versionNumber&quot;: 42, # The version number on which this deployment is based.
367 &quot;scriptId&quot;: &quot;A String&quot;, # The script project&#x27;s Drive ID.
368 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700369 }</pre>
370</div>
371
372</body></html>