OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform": { | |
6 "description": "View and manage your data across Google Clou
d Platform services" | |
7 }, | |
8 "https://www.googleapis.com/auth/appengine.admin": { | 5 "https://www.googleapis.com/auth/appengine.admin": { |
9 "description": "View and manage your applications deployed o
n Google App Engine" | 6 "description": "View and manage your applications deployed o
n Google App Engine" |
10 }, | 7 }, |
11 "https://www.googleapis.com/auth/cloud-platform.read-only": { | 8 "https://www.googleapis.com/auth/cloud-platform.read-only": { |
12 "description": "View your data across Google Cloud Platform
services" | 9 "description": "View your data across Google Cloud Platform
services" |
| 10 }, |
| 11 "https://www.googleapis.com/auth/cloud-platform": { |
| 12 "description": "View and manage your data across Google Clou
d Platform services" |
13 } | 13 } |
14 } | 14 } |
15 } | 15 } |
16 }, | 16 }, |
17 "basePath": "", | 17 "basePath": "", |
18 "baseUrl": "https://appengine.googleapis.com/", | 18 "baseUrl": "https://appengine.googleapis.com/", |
19 "batchPath": "batch", | 19 "batchPath": "batch", |
20 "description": "The App Engine Admin API enables developers to provision and
manage their App Engine applications.", | 20 "description": "The App Engine Admin API enables developers to provision and
manage their App Engine applications.", |
21 "discoveryVersion": "v1", | 21 "discoveryVersion": "v1", |
22 "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", | 22 "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", |
23 "icons": { | 23 "icons": { |
24 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 24 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
25 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 25 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
26 }, | 26 }, |
27 "id": "appengine:v1beta4", | 27 "id": "appengine:v1beta4", |
28 "kind": "discovery#restDescription", | 28 "kind": "discovery#restDescription", |
29 "name": "appengine", | 29 "name": "appengine", |
30 "ownerDomain": "google.com", | 30 "ownerDomain": "google.com", |
31 "ownerName": "Google", | 31 "ownerName": "Google", |
32 "parameters": { | 32 "parameters": { |
| 33 "upload_protocol": { |
| 34 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 35 "location": "query", |
| 36 "type": "string" |
| 37 }, |
| 38 "prettyPrint": { |
| 39 "default": "true", |
| 40 "description": "Returns response with indentations and line breaks."
, |
| 41 "location": "query", |
| 42 "type": "boolean" |
| 43 }, |
| 44 "fields": { |
| 45 "description": "Selector specifying which fields to include in a par
tial response.", |
| 46 "location": "query", |
| 47 "type": "string" |
| 48 }, |
| 49 "uploadType": { |
| 50 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 51 "location": "query", |
| 52 "type": "string" |
| 53 }, |
| 54 "callback": { |
| 55 "description": "JSONP", |
| 56 "location": "query", |
| 57 "type": "string" |
| 58 }, |
33 "$.xgafv": { | 59 "$.xgafv": { |
34 "description": "V1 error format.", | 60 "description": "V1 error format.", |
35 "enum": [ | 61 "enum": [ |
36 "1", | 62 "1", |
37 "2" | 63 "2" |
38 ], | 64 ], |
39 "enumDescriptions": [ | 65 "enumDescriptions": [ |
40 "v1 error format", | 66 "v1 error format", |
41 "v2 error format" | 67 "v2 error format" |
42 ], | 68 ], |
43 "location": "query", | 69 "location": "query", |
44 "type": "string" | 70 "type": "string" |
45 }, | 71 }, |
46 "callback": { | |
47 "description": "JSONP", | |
48 "location": "query", | |
49 "type": "string" | |
50 }, | |
51 "alt": { | 72 "alt": { |
52 "default": "json", | 73 "default": "json", |
53 "description": "Data format for response.", | 74 "description": "Data format for response.", |
54 "enum": [ | 75 "enum": [ |
55 "json", | 76 "json", |
56 "media", | 77 "media", |
57 "proto" | 78 "proto" |
58 ], | 79 ], |
59 "enumDescriptions": [ | 80 "enumDescriptions": [ |
60 "Responses with Content-Type of application/json", | 81 "Responses with Content-Type of application/json", |
(...skipping 17 matching lines...) Expand all Loading... |
78 "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.", | 99 "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.", |
79 "location": "query", | 100 "location": "query", |
80 "type": "string" | 101 "type": "string" |
81 }, | 102 }, |
82 "pp": { | 103 "pp": { |
83 "default": "true", | 104 "default": "true", |
84 "description": "Pretty-print response.", | 105 "description": "Pretty-print response.", |
85 "location": "query", | 106 "location": "query", |
86 "type": "boolean" | 107 "type": "boolean" |
87 }, | 108 }, |
88 "bearer_token": { | |
89 "description": "OAuth bearer token.", | |
90 "location": "query", | |
91 "type": "string" | |
92 }, | |
93 "oauth_token": { | 109 "oauth_token": { |
94 "description": "OAuth 2.0 token for the current user.", | 110 "description": "OAuth 2.0 token for the current user.", |
95 "location": "query", | 111 "location": "query", |
96 "type": "string" | 112 "type": "string" |
97 }, | 113 }, |
98 "upload_protocol": { | 114 "bearer_token": { |
99 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 115 "description": "OAuth bearer token.", |
100 "location": "query", | |
101 "type": "string" | |
102 }, | |
103 "prettyPrint": { | |
104 "default": "true", | |
105 "description": "Returns response with indentations and line breaks."
, | |
106 "location": "query", | |
107 "type": "boolean" | |
108 }, | |
109 "fields": { | |
110 "description": "Selector specifying which fields to include in a par
tial response.", | |
111 "location": "query", | |
112 "type": "string" | |
113 }, | |
114 "uploadType": { | |
115 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | |
116 "location": "query", | 116 "location": "query", |
117 "type": "string" | 117 "type": "string" |
118 } | 118 } |
119 }, | 119 }, |
120 "protocol": "rest", | 120 "protocol": "rest", |
121 "resources": { | 121 "resources": { |
122 "apps": { | 122 "apps": { |
123 "methods": { | 123 "methods": { |
124 "patch": { | 124 "patch": { |
125 "description": "Updates the specified Application resource.
You can update the following fields:\nauth_domain (https://cloud.google.com/appe
ngine/docs/admin-api/reference/rest/v1beta4/apps#Application.FIELDS.auth_domain)
\ndefault_cookie_expiration (https://cloud.google.com/appengine/docs/admin-api/r
eference/rest/v1beta4/apps#Application.FIELDS.default_cookie_expiration)", | 125 "description": "Updates the specified Application resource.
You can update the following fields:\nauth_domain (https://cloud.google.com/appe
ngine/docs/admin-api/reference/rest/v1beta4/apps#Application.FIELDS.auth_domain)
\ndefault_cookie_expiration (https://cloud.google.com/appengine/docs/admin-api/r
eference/rest/v1beta4/apps#Application.FIELDS.default_cookie_expiration)", |
126 "httpMethod": "PATCH", | 126 "httpMethod": "PATCH", |
127 "id": "appengine.apps.patch", | 127 "id": "appengine.apps.patch", |
128 "parameterOrder": [ | 128 "parameterOrder": [ |
129 "appsId" | 129 "appsId" |
130 ], | 130 ], |
131 "parameters": { | 131 "parameters": { |
| 132 "appsId": { |
| 133 "description": "Part of `name`. Name of the Applicat
ion resource to update. Example: apps/myapp.", |
| 134 "location": "path", |
| 135 "required": true, |
| 136 "type": "string" |
| 137 }, |
132 "mask": { | 138 "mask": { |
133 "description": "Standard field mask for the set of f
ields to be updated.", | 139 "description": "Standard field mask for the set of f
ields to be updated.", |
134 "format": "google-fieldmask", | 140 "format": "google-fieldmask", |
135 "location": "query", | 141 "location": "query", |
136 "type": "string" | 142 "type": "string" |
137 }, | |
138 "appsId": { | |
139 "description": "Part of `name`. Name of the Applicat
ion resource to update. Example: apps/myapp.", | |
140 "location": "path", | |
141 "required": true, | |
142 "type": "string" | |
143 } | 143 } |
144 }, | 144 }, |
145 "path": "v1beta4/apps/{appsId}", | 145 "path": "v1beta4/apps/{appsId}", |
146 "request": { | 146 "request": { |
147 "$ref": "Application" | 147 "$ref": "Application" |
148 }, | 148 }, |
149 "response": { | 149 "response": { |
150 "$ref": "Operation" | 150 "$ref": "Operation" |
151 }, | 151 }, |
152 "scopes": [ | 152 "scopes": [ |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 }, | 193 }, |
194 "response": { | 194 "response": { |
195 "$ref": "Operation" | 195 "$ref": "Operation" |
196 }, | 196 }, |
197 "scopes": [ | 197 "scopes": [ |
198 "https://www.googleapis.com/auth/cloud-platform" | 198 "https://www.googleapis.com/auth/cloud-platform" |
199 ] | 199 ] |
200 } | 200 } |
201 }, | 201 }, |
202 "resources": { | 202 "resources": { |
203 "operations": { | |
204 "methods": { | |
205 "get": { | |
206 "description": "Gets the latest state of a long-runn
ing operation. Clients can use this method to poll the operation result at inter
vals as recommended by the API service.", | |
207 "httpMethod": "GET", | |
208 "id": "appengine.apps.operations.get", | |
209 "parameterOrder": [ | |
210 "appsId", | |
211 "operationsId" | |
212 ], | |
213 "parameters": { | |
214 "appsId": { | |
215 "description": "Part of `name`. The name of
the operation resource.", | |
216 "location": "path", | |
217 "required": true, | |
218 "type": "string" | |
219 }, | |
220 "operationsId": { | |
221 "description": "Part of `name`. See document
ation of `appsId`.", | |
222 "location": "path", | |
223 "required": true, | |
224 "type": "string" | |
225 } | |
226 }, | |
227 "path": "v1beta4/apps/{appsId}/operations/{operation
sId}", | |
228 "response": { | |
229 "$ref": "Operation" | |
230 }, | |
231 "scopes": [ | |
232 "https://www.googleapis.com/auth/appengine.admin
", | |
233 "https://www.googleapis.com/auth/cloud-platform"
, | |
234 "https://www.googleapis.com/auth/cloud-platform.
read-only" | |
235 ] | |
236 }, | |
237 "list": { | |
238 "description": "Lists operations that match the spec
ified filter in the request. If the server doesn't support this method, it retur
ns UNIMPLEMENTED.NOTE: the name binding allows API services to override the bind
ing to use different resource name schemes, such as users/*/operations. To overr
ide the binding, API services can add a binding such as \"/v1/{name=users/*}/ope
rations\" to their service configuration. For backwards compatibility, the defau
lt name includes the operations collection id, however overriding users must ens
ure the name binding is the parent resource, without the operations collection i
d.", | |
239 "httpMethod": "GET", | |
240 "id": "appengine.apps.operations.list", | |
241 "parameterOrder": [ | |
242 "appsId" | |
243 ], | |
244 "parameters": { | |
245 "pageSize": { | |
246 "description": "The standard list page size.
", | |
247 "format": "int32", | |
248 "location": "query", | |
249 "type": "integer" | |
250 }, | |
251 "filter": { | |
252 "description": "The standard list filter.", | |
253 "location": "query", | |
254 "type": "string" | |
255 }, | |
256 "pageToken": { | |
257 "description": "The standard list page token
.", | |
258 "location": "query", | |
259 "type": "string" | |
260 }, | |
261 "appsId": { | |
262 "description": "Part of `name`. The name of
the operation's parent resource.", | |
263 "location": "path", | |
264 "required": true, | |
265 "type": "string" | |
266 } | |
267 }, | |
268 "path": "v1beta4/apps/{appsId}/operations", | |
269 "response": { | |
270 "$ref": "ListOperationsResponse" | |
271 }, | |
272 "scopes": [ | |
273 "https://www.googleapis.com/auth/appengine.admin
", | |
274 "https://www.googleapis.com/auth/cloud-platform"
, | |
275 "https://www.googleapis.com/auth/cloud-platform.
read-only" | |
276 ] | |
277 } | |
278 } | |
279 }, | |
280 "locations": { | |
281 "methods": { | |
282 "get": { | |
283 "description": "Get information about a location.", | |
284 "httpMethod": "GET", | |
285 "id": "appengine.apps.locations.get", | |
286 "parameterOrder": [ | |
287 "appsId", | |
288 "locationsId" | |
289 ], | |
290 "parameters": { | |
291 "appsId": { | |
292 "description": "Part of `name`. Resource nam
e for the location.", | |
293 "location": "path", | |
294 "required": true, | |
295 "type": "string" | |
296 }, | |
297 "locationsId": { | |
298 "description": "Part of `name`. See document
ation of `appsId`.", | |
299 "location": "path", | |
300 "required": true, | |
301 "type": "string" | |
302 } | |
303 }, | |
304 "path": "v1beta4/apps/{appsId}/locations/{locationsI
d}", | |
305 "response": { | |
306 "$ref": "Location" | |
307 }, | |
308 "scopes": [ | |
309 "https://www.googleapis.com/auth/appengine.admin
", | |
310 "https://www.googleapis.com/auth/cloud-platform"
, | |
311 "https://www.googleapis.com/auth/cloud-platform.
read-only" | |
312 ] | |
313 }, | |
314 "list": { | |
315 "description": "Lists information about the supporte
d locations for this service.", | |
316 "httpMethod": "GET", | |
317 "id": "appengine.apps.locations.list", | |
318 "parameterOrder": [ | |
319 "appsId" | |
320 ], | |
321 "parameters": { | |
322 "filter": { | |
323 "description": "The standard list filter.", | |
324 "location": "query", | |
325 "type": "string" | |
326 }, | |
327 "pageToken": { | |
328 "description": "The standard list page token
.", | |
329 "location": "query", | |
330 "type": "string" | |
331 }, | |
332 "appsId": { | |
333 "description": "Part of `name`. The resource
that owns the locations collection, if applicable.", | |
334 "location": "path", | |
335 "required": true, | |
336 "type": "string" | |
337 }, | |
338 "pageSize": { | |
339 "description": "The standard list page size.
", | |
340 "format": "int32", | |
341 "location": "query", | |
342 "type": "integer" | |
343 } | |
344 }, | |
345 "path": "v1beta4/apps/{appsId}/locations", | |
346 "response": { | |
347 "$ref": "ListLocationsResponse" | |
348 }, | |
349 "scopes": [ | |
350 "https://www.googleapis.com/auth/appengine.admin
", | |
351 "https://www.googleapis.com/auth/cloud-platform"
, | |
352 "https://www.googleapis.com/auth/cloud-platform.
read-only" | |
353 ] | |
354 } | |
355 } | |
356 }, | |
357 "modules": { | 203 "modules": { |
358 "methods": { | 204 "methods": { |
359 "delete": { | 205 "delete": { |
360 "description": "Deletes the specified module and all
enclosed versions.", | 206 "description": "Deletes the specified module and all
enclosed versions.", |
361 "httpMethod": "DELETE", | 207 "httpMethod": "DELETE", |
362 "id": "appengine.apps.modules.delete", | 208 "id": "appengine.apps.modules.delete", |
363 "parameterOrder": [ | 209 "parameterOrder": [ |
364 "appsId", | 210 "appsId", |
365 "modulesId" | 211 "modulesId" |
366 ], | 212 ], |
367 "parameters": { | 213 "parameters": { |
| 214 "appsId": { |
| 215 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/modules/default.", |
| 216 "location": "path", |
| 217 "required": true, |
| 218 "type": "string" |
| 219 }, |
368 "modulesId": { | 220 "modulesId": { |
369 "description": "Part of `name`. See document
ation of `appsId`.", | 221 "description": "Part of `name`. See document
ation of `appsId`.", |
370 "location": "path", | 222 "location": "path", |
371 "required": true, | 223 "required": true, |
372 "type": "string" | 224 "type": "string" |
373 }, | |
374 "appsId": { | |
375 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/modules/default.", | |
376 "location": "path", | |
377 "required": true, | |
378 "type": "string" | |
379 } | 225 } |
380 }, | 226 }, |
381 "path": "v1beta4/apps/{appsId}/modules/{modulesId}", | 227 "path": "v1beta4/apps/{appsId}/modules/{modulesId}", |
382 "response": { | 228 "response": { |
383 "$ref": "Operation" | 229 "$ref": "Operation" |
384 }, | 230 }, |
385 "scopes": [ | 231 "scopes": [ |
386 "https://www.googleapis.com/auth/cloud-platform" | 232 "https://www.googleapis.com/auth/cloud-platform" |
387 ] | 233 ] |
388 }, | 234 }, |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 "scopes": [ | 341 "scopes": [ |
496 "https://www.googleapis.com/auth/appengine.admin
", | 342 "https://www.googleapis.com/auth/appengine.admin
", |
497 "https://www.googleapis.com/auth/cloud-platform"
, | 343 "https://www.googleapis.com/auth/cloud-platform"
, |
498 "https://www.googleapis.com/auth/cloud-platform.
read-only" | 344 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
499 ] | 345 ] |
500 } | 346 } |
501 }, | 347 }, |
502 "resources": { | 348 "resources": { |
503 "versions": { | 349 "versions": { |
504 "methods": { | 350 "methods": { |
505 "create": { | |
506 "description": "Deploys code and resource fi
les to a new version.", | |
507 "httpMethod": "POST", | |
508 "id": "appengine.apps.modules.versions.creat
e", | |
509 "parameterOrder": [ | |
510 "appsId", | |
511 "modulesId" | |
512 ], | |
513 "parameters": { | |
514 "modulesId": { | |
515 "description": "Part of `name`. See
documentation of `appsId`.", | |
516 "location": "path", | |
517 "required": true, | |
518 "type": "string" | |
519 }, | |
520 "appsId": { | |
521 "description": "Part of `name`. Name
of the resource to update. Example: apps/myapp/modules/default.", | |
522 "location": "path", | |
523 "required": true, | |
524 "type": "string" | |
525 } | |
526 }, | |
527 "path": "v1beta4/apps/{appsId}/modules/{modu
lesId}/versions", | |
528 "request": { | |
529 "$ref": "Version" | |
530 }, | |
531 "response": { | |
532 "$ref": "Operation" | |
533 }, | |
534 "scopes": [ | |
535 "https://www.googleapis.com/auth/cloud-p
latform" | |
536 ] | |
537 }, | |
538 "delete": { | |
539 "description": "Deletes an existing version.
", | |
540 "httpMethod": "DELETE", | |
541 "id": "appengine.apps.modules.versions.delet
e", | |
542 "parameterOrder": [ | |
543 "appsId", | |
544 "modulesId", | |
545 "versionsId" | |
546 ], | |
547 "parameters": { | |
548 "versionsId": { | |
549 "description": "Part of `name`. See
documentation of `appsId`.", | |
550 "location": "path", | |
551 "required": true, | |
552 "type": "string" | |
553 }, | |
554 "modulesId": { | |
555 "description": "Part of `name`. See
documentation of `appsId`.", | |
556 "location": "path", | |
557 "required": true, | |
558 "type": "string" | |
559 }, | |
560 "appsId": { | |
561 "description": "Part of `name`. Name
of the resource requested. Example: apps/myapp/modules/default/versions/v1.", | |
562 "location": "path", | |
563 "required": true, | |
564 "type": "string" | |
565 } | |
566 }, | |
567 "path": "v1beta4/apps/{appsId}/modules/{modu
lesId}/versions/{versionsId}", | |
568 "response": { | |
569 "$ref": "Operation" | |
570 }, | |
571 "scopes": [ | |
572 "https://www.googleapis.com/auth/cloud-p
latform" | |
573 ] | |
574 }, | |
575 "patch": { | 351 "patch": { |
576 "description": "Updates the specified Versio
n resource. You can specify the following fields depending on the App Engine env
ironment and type of scaling that the version resource uses:\nserving_status (ht
tps://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modu
les.versions#Version.FIELDS.serving_status): For Version resources that use bas
ic scaling, manual scaling, or run in the App Engine flexible environment.\nins
tance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1
beta4/apps.modules.versions#Version.FIELDS.instance_class): For Version resourc
es that run in the App Engine standard environment.\nautomatic_scaling.min_idle_
instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
ta4/apps.modules.versions#Version.FIELDS.automatic_scaling): For Version resour
ces that use automatic scaling and run in the App Engine standard environment.\
nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/a
dmin-api/reference/rest/v1beta4/apps.modules.versions#Version.FIELDS.automatic_s
caling): For Version resources that use automatic scaling and run in the App E
ngine standard environment.", | 352 "description": "Updates the specified Versio
n resource. You can specify the following fields depending on the App Engine env
ironment and type of scaling that the version resource uses:\nserving_status (ht
tps://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modu
les.versions#Version.FIELDS.serving_status): For Version resources that use bas
ic scaling, manual scaling, or run in the App Engine flexible environment.\nins
tance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1
beta4/apps.modules.versions#Version.FIELDS.instance_class): For Version resourc
es that run in the App Engine standard environment.\nautomatic_scaling.min_idle_
instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
ta4/apps.modules.versions#Version.FIELDS.automatic_scaling): For Version resour
ces that use automatic scaling and run in the App Engine standard environment.\
nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/a
dmin-api/reference/rest/v1beta4/apps.modules.versions#Version.FIELDS.automatic_s
caling): For Version resources that use automatic scaling and run in the App E
ngine standard environment.", |
577 "httpMethod": "PATCH", | 353 "httpMethod": "PATCH", |
578 "id": "appengine.apps.modules.versions.patch
", | 354 "id": "appengine.apps.modules.versions.patch
", |
579 "parameterOrder": [ | 355 "parameterOrder": [ |
580 "appsId", | 356 "appsId", |
581 "modulesId", | 357 "modulesId", |
582 "versionsId" | 358 "versionsId" |
583 ], | 359 ], |
584 "parameters": { | 360 "parameters": { |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 }, | 486 }, |
711 "path": "v1beta4/apps/{appsId}/modules/{modu
lesId}/versions/{versionsId}", | 487 "path": "v1beta4/apps/{appsId}/modules/{modu
lesId}/versions/{versionsId}", |
712 "response": { | 488 "response": { |
713 "$ref": "Version" | 489 "$ref": "Version" |
714 }, | 490 }, |
715 "scopes": [ | 491 "scopes": [ |
716 "https://www.googleapis.com/auth/appengi
ne.admin", | 492 "https://www.googleapis.com/auth/appengi
ne.admin", |
717 "https://www.googleapis.com/auth/cloud-p
latform", | 493 "https://www.googleapis.com/auth/cloud-p
latform", |
718 "https://www.googleapis.com/auth/cloud-p
latform.read-only" | 494 "https://www.googleapis.com/auth/cloud-p
latform.read-only" |
719 ] | 495 ] |
| 496 }, |
| 497 "create": { |
| 498 "description": "Deploys code and resource fi
les to a new version.", |
| 499 "httpMethod": "POST", |
| 500 "id": "appengine.apps.modules.versions.creat
e", |
| 501 "parameterOrder": [ |
| 502 "appsId", |
| 503 "modulesId" |
| 504 ], |
| 505 "parameters": { |
| 506 "appsId": { |
| 507 "description": "Part of `name`. Name
of the resource to update. Example: apps/myapp/modules/default.", |
| 508 "location": "path", |
| 509 "required": true, |
| 510 "type": "string" |
| 511 }, |
| 512 "modulesId": { |
| 513 "description": "Part of `name`. See
documentation of `appsId`.", |
| 514 "location": "path", |
| 515 "required": true, |
| 516 "type": "string" |
| 517 } |
| 518 }, |
| 519 "path": "v1beta4/apps/{appsId}/modules/{modu
lesId}/versions", |
| 520 "request": { |
| 521 "$ref": "Version" |
| 522 }, |
| 523 "response": { |
| 524 "$ref": "Operation" |
| 525 }, |
| 526 "scopes": [ |
| 527 "https://www.googleapis.com/auth/cloud-p
latform" |
| 528 ] |
| 529 }, |
| 530 "delete": { |
| 531 "description": "Deletes an existing version.
", |
| 532 "httpMethod": "DELETE", |
| 533 "id": "appengine.apps.modules.versions.delet
e", |
| 534 "parameterOrder": [ |
| 535 "appsId", |
| 536 "modulesId", |
| 537 "versionsId" |
| 538 ], |
| 539 "parameters": { |
| 540 "appsId": { |
| 541 "description": "Part of `name`. Name
of the resource requested. Example: apps/myapp/modules/default/versions/v1.", |
| 542 "location": "path", |
| 543 "required": true, |
| 544 "type": "string" |
| 545 }, |
| 546 "versionsId": { |
| 547 "description": "Part of `name`. See
documentation of `appsId`.", |
| 548 "location": "path", |
| 549 "required": true, |
| 550 "type": "string" |
| 551 }, |
| 552 "modulesId": { |
| 553 "description": "Part of `name`. See
documentation of `appsId`.", |
| 554 "location": "path", |
| 555 "required": true, |
| 556 "type": "string" |
| 557 } |
| 558 }, |
| 559 "path": "v1beta4/apps/{appsId}/modules/{modu
lesId}/versions/{versionsId}", |
| 560 "response": { |
| 561 "$ref": "Operation" |
| 562 }, |
| 563 "scopes": [ |
| 564 "https://www.googleapis.com/auth/cloud-p
latform" |
| 565 ] |
720 } | 566 } |
721 }, | 567 }, |
722 "resources": { | 568 "resources": { |
723 "instances": { | 569 "instances": { |
724 "methods": { | 570 "methods": { |
725 "delete": { | 571 "delete": { |
726 "description": "Stops a running inst
ance.", | 572 "description": "Stops a running inst
ance.", |
727 "httpMethod": "DELETE", | 573 "httpMethod": "DELETE", |
728 "id": "appengine.apps.modules.versio
ns.instances.delete", | 574 "id": "appengine.apps.modules.versio
ns.instances.delete", |
729 "parameterOrder": [ | 575 "parameterOrder": [ |
730 "appsId", | 576 "appsId", |
731 "modulesId", | 577 "modulesId", |
732 "versionsId", | 578 "versionsId", |
733 "instancesId" | 579 "instancesId" |
734 ], | 580 ], |
735 "parameters": { | 581 "parameters": { |
| 582 "instancesId": { |
| 583 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 584 "location": "path", |
| 585 "required": true, |
| 586 "type": "string" |
| 587 }, |
| 588 "appsId": { |
| 589 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/modules/default/versions
/v1/instances/instance-1.", |
| 590 "location": "path", |
| 591 "required": true, |
| 592 "type": "string" |
| 593 }, |
736 "versionsId": { | 594 "versionsId": { |
737 "description": "Part of `nam
e`. See documentation of `appsId`.", | 595 "description": "Part of `nam
e`. See documentation of `appsId`.", |
738 "location": "path", | 596 "location": "path", |
739 "required": true, | 597 "required": true, |
740 "type": "string" | 598 "type": "string" |
741 }, | 599 }, |
742 "modulesId": { | 600 "modulesId": { |
743 "description": "Part of `nam
e`. See documentation of `appsId`.", | 601 "description": "Part of `nam
e`. See documentation of `appsId`.", |
744 "location": "path", | 602 "location": "path", |
745 "required": true, | 603 "required": true, |
746 "type": "string" | 604 "type": "string" |
747 }, | |
748 "instancesId": { | |
749 "description": "Part of `nam
e`. See documentation of `appsId`.", | |
750 "location": "path", | |
751 "required": true, | |
752 "type": "string" | |
753 }, | |
754 "appsId": { | |
755 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/modules/default/versions
/v1/instances/instance-1.", | |
756 "location": "path", | |
757 "required": true, | |
758 "type": "string" | |
759 } | 605 } |
760 }, | 606 }, |
761 "path": "v1beta4/apps/{appsId}/modul
es/{modulesId}/versions/{versionsId}/instances/{instancesId}", | 607 "path": "v1beta4/apps/{appsId}/modul
es/{modulesId}/versions/{versionsId}/instances/{instancesId}", |
762 "response": { | 608 "response": { |
763 "$ref": "Operation" | 609 "$ref": "Operation" |
764 }, | 610 }, |
765 "scopes": [ | 611 "scopes": [ |
766 "https://www.googleapis.com/auth
/cloud-platform" | 612 "https://www.googleapis.com/auth
/cloud-platform" |
767 ] | 613 ] |
768 }, | 614 }, |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
907 }, | 753 }, |
908 "scopes": [ | 754 "scopes": [ |
909 "https://www.googleapis.com/auth
/cloud-platform" | 755 "https://www.googleapis.com/auth
/cloud-platform" |
910 ] | 756 ] |
911 } | 757 } |
912 } | 758 } |
913 } | 759 } |
914 } | 760 } |
915 } | 761 } |
916 } | 762 } |
| 763 }, |
| 764 "operations": { |
| 765 "methods": { |
| 766 "get": { |
| 767 "description": "Gets the latest state of a long-runn
ing operation. Clients can use this method to poll the operation result at inter
vals as recommended by the API service.", |
| 768 "httpMethod": "GET", |
| 769 "id": "appengine.apps.operations.get", |
| 770 "parameterOrder": [ |
| 771 "appsId", |
| 772 "operationsId" |
| 773 ], |
| 774 "parameters": { |
| 775 "appsId": { |
| 776 "description": "Part of `name`. The name of
the operation resource.", |
| 777 "location": "path", |
| 778 "required": true, |
| 779 "type": "string" |
| 780 }, |
| 781 "operationsId": { |
| 782 "description": "Part of `name`. See document
ation of `appsId`.", |
| 783 "location": "path", |
| 784 "required": true, |
| 785 "type": "string" |
| 786 } |
| 787 }, |
| 788 "path": "v1beta4/apps/{appsId}/operations/{operation
sId}", |
| 789 "response": { |
| 790 "$ref": "Operation" |
| 791 }, |
| 792 "scopes": [ |
| 793 "https://www.googleapis.com/auth/appengine.admin
", |
| 794 "https://www.googleapis.com/auth/cloud-platform"
, |
| 795 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 796 ] |
| 797 }, |
| 798 "list": { |
| 799 "description": "Lists operations that match the spec
ified filter in the request. If the server doesn't support this method, it retur
ns UNIMPLEMENTED.NOTE: the name binding allows API services to override the bind
ing to use different resource name schemes, such as users/*/operations. To overr
ide the binding, API services can add a binding such as \"/v1/{name=users/*}/ope
rations\" to their service configuration. For backwards compatibility, the defau
lt name includes the operations collection id, however overriding users must ens
ure the name binding is the parent resource, without the operations collection i
d.", |
| 800 "httpMethod": "GET", |
| 801 "id": "appengine.apps.operations.list", |
| 802 "parameterOrder": [ |
| 803 "appsId" |
| 804 ], |
| 805 "parameters": { |
| 806 "filter": { |
| 807 "description": "The standard list filter.", |
| 808 "location": "query", |
| 809 "type": "string" |
| 810 }, |
| 811 "pageToken": { |
| 812 "description": "The standard list page token
.", |
| 813 "location": "query", |
| 814 "type": "string" |
| 815 }, |
| 816 "appsId": { |
| 817 "description": "Part of `name`. The name of
the operation's parent resource.", |
| 818 "location": "path", |
| 819 "required": true, |
| 820 "type": "string" |
| 821 }, |
| 822 "pageSize": { |
| 823 "description": "The standard list page size.
", |
| 824 "format": "int32", |
| 825 "location": "query", |
| 826 "type": "integer" |
| 827 } |
| 828 }, |
| 829 "path": "v1beta4/apps/{appsId}/operations", |
| 830 "response": { |
| 831 "$ref": "ListOperationsResponse" |
| 832 }, |
| 833 "scopes": [ |
| 834 "https://www.googleapis.com/auth/appengine.admin
", |
| 835 "https://www.googleapis.com/auth/cloud-platform"
, |
| 836 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 837 ] |
| 838 } |
| 839 } |
| 840 }, |
| 841 "locations": { |
| 842 "methods": { |
| 843 "get": { |
| 844 "description": "Get information about a location.", |
| 845 "httpMethod": "GET", |
| 846 "id": "appengine.apps.locations.get", |
| 847 "parameterOrder": [ |
| 848 "appsId", |
| 849 "locationsId" |
| 850 ], |
| 851 "parameters": { |
| 852 "locationsId": { |
| 853 "description": "Part of `name`. See document
ation of `appsId`.", |
| 854 "location": "path", |
| 855 "required": true, |
| 856 "type": "string" |
| 857 }, |
| 858 "appsId": { |
| 859 "description": "Part of `name`. Resource nam
e for the location.", |
| 860 "location": "path", |
| 861 "required": true, |
| 862 "type": "string" |
| 863 } |
| 864 }, |
| 865 "path": "v1beta4/apps/{appsId}/locations/{locationsI
d}", |
| 866 "response": { |
| 867 "$ref": "Location" |
| 868 }, |
| 869 "scopes": [ |
| 870 "https://www.googleapis.com/auth/appengine.admin
", |
| 871 "https://www.googleapis.com/auth/cloud-platform"
, |
| 872 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 873 ] |
| 874 }, |
| 875 "list": { |
| 876 "description": "Lists information about the supporte
d locations for this service.", |
| 877 "httpMethod": "GET", |
| 878 "id": "appengine.apps.locations.list", |
| 879 "parameterOrder": [ |
| 880 "appsId" |
| 881 ], |
| 882 "parameters": { |
| 883 "filter": { |
| 884 "description": "The standard list filter.", |
| 885 "location": "query", |
| 886 "type": "string" |
| 887 }, |
| 888 "pageToken": { |
| 889 "description": "The standard list page token
.", |
| 890 "location": "query", |
| 891 "type": "string" |
| 892 }, |
| 893 "appsId": { |
| 894 "description": "Part of `name`. The resource
that owns the locations collection, if applicable.", |
| 895 "location": "path", |
| 896 "required": true, |
| 897 "type": "string" |
| 898 }, |
| 899 "pageSize": { |
| 900 "description": "The standard list page size.
", |
| 901 "format": "int32", |
| 902 "location": "query", |
| 903 "type": "integer" |
| 904 } |
| 905 }, |
| 906 "path": "v1beta4/apps/{appsId}/locations", |
| 907 "response": { |
| 908 "$ref": "ListLocationsResponse" |
| 909 }, |
| 910 "scopes": [ |
| 911 "https://www.googleapis.com/auth/appengine.admin
", |
| 912 "https://www.googleapis.com/auth/cloud-platform"
, |
| 913 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 914 ] |
| 915 } |
| 916 } |
917 } | 917 } |
918 } | 918 } |
919 } | 919 } |
920 }, | 920 }, |
921 "revision": "20170721", | 921 "revision": "20170811", |
922 "rootUrl": "https://appengine.googleapis.com/", | 922 "rootUrl": "https://appengine.googleapis.com/", |
923 "schemas": { | 923 "schemas": { |
| 924 "StaticDirectoryHandler": { |
| 925 "description": "Files served directly to the user for a given URL, s
uch as images, CSS stylesheets, or JavaScript source files. Static directory han
dlers make it easy to serve the entire contents of a directory as static files."
, |
| 926 "id": "StaticDirectoryHandler", |
| 927 "properties": { |
| 928 "expiration": { |
| 929 "description": "Time a static file served by this handler sh
ould be cached.", |
| 930 "format": "google-duration", |
| 931 "type": "string" |
| 932 }, |
| 933 "applicationReadable": { |
| 934 "description": "Whether files should also be uploaded as cod
e data. By default, files declared in static directory handlers are uploaded as
static data and are only served to end users; they cannot be read by the applica
tion. If enabled, uploads are charged against both your code and static data sto
rage resource quotas.", |
| 935 "type": "boolean" |
| 936 }, |
| 937 "httpHeaders": { |
| 938 "additionalProperties": { |
| 939 "type": "string" |
| 940 }, |
| 941 "description": "HTTP headers to use for all responses from t
hese URLs.", |
| 942 "type": "object" |
| 943 }, |
| 944 "directory": { |
| 945 "description": "Path to the directory containing the static
files from the application root directory. Everything after the end of the match
ed URL pattern is appended to static_dir to form the full path to the requested
file.", |
| 946 "type": "string" |
| 947 }, |
| 948 "mimeType": { |
| 949 "description": "MIME type used to serve all files served by
this handler. Defaults to file-specific MIME types, which are direved from each
file's filename extension.", |
| 950 "type": "string" |
| 951 }, |
| 952 "requireMatchingFile": { |
| 953 "description": "Whether this handler should match the reques
t if the file referenced by the handler does not exist.", |
| 954 "type": "boolean" |
| 955 } |
| 956 }, |
| 957 "type": "object" |
| 958 }, |
| 959 "AutomaticScaling": { |
| 960 "description": "Automatic scaling is based on request rate, response
latencies, and other application metrics.", |
| 961 "id": "AutomaticScaling", |
| 962 "properties": { |
| 963 "minPendingLatency": { |
| 964 "description": "Minimum amount of time a request should wait
in the pending queue before starting a new instance to handle it.", |
| 965 "format": "google-duration", |
| 966 "type": "string" |
| 967 }, |
| 968 "maxIdleInstances": { |
| 969 "description": "Maximum number of idle instances that should
be maintained for this version.", |
| 970 "format": "int32", |
| 971 "type": "integer" |
| 972 }, |
| 973 "requestUtilization": { |
| 974 "$ref": "RequestUtilization", |
| 975 "description": "Target scaling by request utilization." |
| 976 }, |
| 977 "minIdleInstances": { |
| 978 "description": "Minimum number of idle instances that should
be maintained for this version. Only applicable for the default version of a mo
dule.", |
| 979 "format": "int32", |
| 980 "type": "integer" |
| 981 }, |
| 982 "maxTotalInstances": { |
| 983 "description": "Maximum number of instances that should be s
tarted to handle requests.", |
| 984 "format": "int32", |
| 985 "type": "integer" |
| 986 }, |
| 987 "minTotalInstances": { |
| 988 "description": "Minimum number of instances that should be m
aintained for this version.", |
| 989 "format": "int32", |
| 990 "type": "integer" |
| 991 }, |
| 992 "networkUtilization": { |
| 993 "$ref": "NetworkUtilization", |
| 994 "description": "Target scaling by network usage." |
| 995 }, |
| 996 "maxConcurrentRequests": { |
| 997 "description": "Number of concurrent requests an automatic s
caling instance can accept before the scheduler spawns a new instance.Defaults t
o a runtime-specific value.", |
| 998 "format": "int32", |
| 999 "type": "integer" |
| 1000 }, |
| 1001 "coolDownPeriod": { |
| 1002 "description": "Amount of time that the Autoscaler (https://
cloud.google.com/compute/docs/autoscaler/) should wait between changes to the nu
mber of virtual machines. Only applicable for VM runtimes.", |
| 1003 "format": "google-duration", |
| 1004 "type": "string" |
| 1005 }, |
| 1006 "maxPendingLatency": { |
| 1007 "description": "Maximum amount of time that a request should
wait in the pending queue before starting a new instance to handle it.", |
| 1008 "format": "google-duration", |
| 1009 "type": "string" |
| 1010 }, |
| 1011 "cpuUtilization": { |
| 1012 "$ref": "CpuUtilization", |
| 1013 "description": "Target scaling by CPU usage." |
| 1014 }, |
| 1015 "diskUtilization": { |
| 1016 "$ref": "DiskUtilization", |
| 1017 "description": "Target scaling by disk usage." |
| 1018 } |
| 1019 }, |
| 1020 "type": "object" |
| 1021 }, |
| 1022 "Location": { |
| 1023 "description": "A resource that represents Google Cloud Platform loc
ation.", |
| 1024 "id": "Location", |
| 1025 "properties": { |
| 1026 "labels": { |
| 1027 "additionalProperties": { |
| 1028 "type": "string" |
| 1029 }, |
| 1030 "description": "Cross-service attributes for the location. F
or example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n", |
| 1031 "type": "object" |
| 1032 }, |
| 1033 "name": { |
| 1034 "description": "Resource name for the location, which may va
ry between implementations. For example: \"projects/example-project/locations/us
-east1\"", |
| 1035 "type": "string" |
| 1036 }, |
| 1037 "locationId": { |
| 1038 "description": "The canonical id for this location. For exam
ple: \"us-east1\".", |
| 1039 "type": "string" |
| 1040 }, |
| 1041 "metadata": { |
| 1042 "additionalProperties": { |
| 1043 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1044 "type": "any" |
| 1045 }, |
| 1046 "description": "Service-specific metadata. For example the a
vailable capacity at the given location.", |
| 1047 "type": "object" |
| 1048 } |
| 1049 }, |
| 1050 "type": "object" |
| 1051 }, |
| 1052 "NetworkUtilization": { |
| 1053 "description": "Target scaling by network usage. Only applicable for
VM runtimes.", |
| 1054 "id": "NetworkUtilization", |
| 1055 "properties": { |
| 1056 "targetSentPacketsPerSec": { |
| 1057 "description": "Target packets sent per second.", |
| 1058 "format": "int32", |
| 1059 "type": "integer" |
| 1060 }, |
| 1061 "targetReceivedPacketsPerSec": { |
| 1062 "description": "Target packets received per second.", |
| 1063 "format": "int32", |
| 1064 "type": "integer" |
| 1065 }, |
| 1066 "targetSentBytesPerSec": { |
| 1067 "description": "Target bytes sent per second.", |
| 1068 "format": "int32", |
| 1069 "type": "integer" |
| 1070 }, |
| 1071 "targetReceivedBytesPerSec": { |
| 1072 "description": "Target bytes received per second.", |
| 1073 "format": "int32", |
| 1074 "type": "integer" |
| 1075 } |
| 1076 }, |
| 1077 "type": "object" |
| 1078 }, |
| 1079 "HealthCheck": { |
| 1080 "description": "Health checking configuration for VM instances. Unhe
althy instances are killed and replaced with new instances. Only applicable for
instances in App Engine flexible environment.", |
| 1081 "id": "HealthCheck", |
| 1082 "properties": { |
| 1083 "host": { |
| 1084 "description": "Host header to send when performing an HTTP
health check. Example: \"myapp.appspot.com\"", |
| 1085 "type": "string" |
| 1086 }, |
| 1087 "healthyThreshold": { |
| 1088 "description": "Number of consecutive successful health chec
ks required before receiving traffic.", |
| 1089 "format": "uint32", |
| 1090 "type": "integer" |
| 1091 }, |
| 1092 "restartThreshold": { |
| 1093 "description": "Number of consecutive failed health checks r
equired before an instance is restarted.", |
| 1094 "format": "uint32", |
| 1095 "type": "integer" |
| 1096 }, |
| 1097 "checkInterval": { |
| 1098 "description": "Interval between health checks.", |
| 1099 "format": "google-duration", |
| 1100 "type": "string" |
| 1101 }, |
| 1102 "timeout": { |
| 1103 "description": "Time before the health check is considered f
ailed.", |
| 1104 "format": "google-duration", |
| 1105 "type": "string" |
| 1106 }, |
| 1107 "unhealthyThreshold": { |
| 1108 "description": "Number of consecutive failed health checks r
equired before removing traffic.", |
| 1109 "format": "uint32", |
| 1110 "type": "integer" |
| 1111 }, |
| 1112 "disableHealthCheck": { |
| 1113 "description": "Whether to explicitly disable health checks
for this instance.", |
| 1114 "type": "boolean" |
| 1115 } |
| 1116 }, |
| 1117 "type": "object" |
| 1118 }, |
924 "SourceReference": { | 1119 "SourceReference": { |
925 "description": "Reference to a particular snapshot of the source tre
e used to build and deploy the application.", | 1120 "description": "Reference to a particular snapshot of the source tre
e used to build and deploy the application.", |
926 "id": "SourceReference", | 1121 "id": "SourceReference", |
927 "properties": { | 1122 "properties": { |
928 "revisionId": { | 1123 "revisionId": { |
929 "description": "The canonical, persistent identifier of the
deployed revision. Aliases that include tags or branch names are not allowed. Ex
ample (git): \"2198322f89e0bb2e25021667c2ed489d1fd34e6b\"", | 1124 "description": "The canonical, persistent identifier of the
deployed revision. Aliases that include tags or branch names are not allowed. Ex
ample (git): \"2198322f89e0bb2e25021667c2ed489d1fd34e6b\"", |
930 "type": "string" | 1125 "type": "string" |
931 }, | 1126 }, |
932 "repository": { | 1127 "repository": { |
933 "description": "URI string identifying the repository. Examp
le: \"https://source.developers.google.com/p/app-123/r/default\"", | 1128 "description": "URI string identifying the repository. Examp
le: \"https://source.developers.google.com/p/app-123/r/default\"", |
(...skipping 10 matching lines...) Expand all Loading... |
944 "description": "Public SSH key to add to the instance. Examp
les:\n[USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]\n[USERNAME]:ssh-rsa [KEY_VALUE]
google-ssh {\"userName\":\"[USERNAME]\",\"expireOn\":\"[EXPIRE_TIME]\"}For more
information, see Adding and Removing SSH Keys (https://cloud.google.com/compute/
docs/instances/adding-removing-ssh-keys).", | 1139 "description": "Public SSH key to add to the instance. Examp
les:\n[USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]\n[USERNAME]:ssh-rsa [KEY_VALUE]
google-ssh {\"userName\":\"[USERNAME]\",\"expireOn\":\"[EXPIRE_TIME]\"}For more
information, see Adding and Removing SSH Keys (https://cloud.google.com/compute/
docs/instances/adding-removing-ssh-keys).", |
945 "type": "string" | 1140 "type": "string" |
946 } | 1141 } |
947 }, | 1142 }, |
948 "type": "object" | 1143 "type": "object" |
949 }, | 1144 }, |
950 "Library": { | 1145 "Library": { |
951 "description": "Third-party Python runtime library that is required
by the application.", | 1146 "description": "Third-party Python runtime library that is required
by the application.", |
952 "id": "Library", | 1147 "id": "Library", |
953 "properties": { | 1148 "properties": { |
| 1149 "version": { |
| 1150 "description": "Version of the library to select, or \"lates
t\".", |
| 1151 "type": "string" |
| 1152 }, |
954 "name": { | 1153 "name": { |
955 "description": "Name of the library. Example: \"django\".", | 1154 "description": "Name of the library. Example: \"django\".", |
956 "type": "string" | 1155 "type": "string" |
957 }, | |
958 "version": { | |
959 "description": "Version of the library to select, or \"lates
t\".", | |
960 "type": "string" | |
961 } | 1156 } |
962 }, | 1157 }, |
963 "type": "object" | 1158 "type": "object" |
964 }, | 1159 }, |
965 "OperationMetadataV1Beta5": { | 1160 "OperationMetadataV1Beta5": { |
966 "description": "Metadata for the given google.longrunning.Operation.
", | 1161 "description": "Metadata for the given google.longrunning.Operation.
", |
967 "id": "OperationMetadataV1Beta5", | 1162 "id": "OperationMetadataV1Beta5", |
968 "properties": { | 1163 "properties": { |
969 "insertTime": { | 1164 "insertTime": { |
970 "description": "Timestamp that this operation was created.@O
utputOnly", | 1165 "description": "Timestamp that this operation was created.@O
utputOnly", |
(...skipping 17 matching lines...) Expand all Loading... |
988 "description": "API method name that initiated this operatio
n. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly", | 1183 "description": "API method name that initiated this operatio
n. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly", |
989 "type": "string" | 1184 "type": "string" |
990 } | 1185 } |
991 }, | 1186 }, |
992 "type": "object" | 1187 "type": "object" |
993 }, | 1188 }, |
994 "ListLocationsResponse": { | 1189 "ListLocationsResponse": { |
995 "description": "The response message for Locations.ListLocations.", | 1190 "description": "The response message for Locations.ListLocations.", |
996 "id": "ListLocationsResponse", | 1191 "id": "ListLocationsResponse", |
997 "properties": { | 1192 "properties": { |
998 "nextPageToken": { | |
999 "description": "The standard List next-page token.", | |
1000 "type": "string" | |
1001 }, | |
1002 "locations": { | 1193 "locations": { |
1003 "description": "A list of locations that matches the specifi
ed filter in the request.", | 1194 "description": "A list of locations that matches the specifi
ed filter in the request.", |
1004 "items": { | 1195 "items": { |
1005 "$ref": "Location" | 1196 "$ref": "Location" |
1006 }, | 1197 }, |
1007 "type": "array" | 1198 "type": "array" |
| 1199 }, |
| 1200 "nextPageToken": { |
| 1201 "description": "The standard List next-page token.", |
| 1202 "type": "string" |
| 1203 } |
| 1204 }, |
| 1205 "type": "object" |
| 1206 }, |
| 1207 "ContainerInfo": { |
| 1208 "description": "Docker image that is used to create a container and
start a VM instance for the version that you deploy. Only applicable for instanc
es running in the App Engine flexible environment.", |
| 1209 "id": "ContainerInfo", |
| 1210 "properties": { |
| 1211 "image": { |
| 1212 "description": "URI to the hosted container image in Google
Container Registry. The URI must be fully qualified and include a tag or digest.
Examples: \"gcr.io/my-project/image:tag\" or \"gcr.io/my-project/image@digest\"
", |
| 1213 "type": "string" |
1008 } | 1214 } |
1009 }, | 1215 }, |
1010 "type": "object" | 1216 "type": "object" |
1011 }, | 1217 }, |
1012 "Version": { | 1218 "Version": { |
1013 "description": "A Version resource is a specific set of source code
and configuration files that are deployed into a module.", | 1219 "description": "A Version resource is a specific set of source code
and configuration files that are deployed into a module.", |
1014 "id": "Version", | 1220 "id": "Version", |
1015 "properties": { | 1221 "properties": { |
| 1222 "defaultExpiration": { |
| 1223 "description": "Duration that static files should be cached
by web proxies and browsers. Only applicable if the corresponding StaticFilesHan
dler (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s
ervices.versions#staticfileshandler) does not specify its own expiration time.On
ly returned in GET requests if view=FULL is set.", |
| 1224 "format": "google-duration", |
| 1225 "type": "string" |
| 1226 }, |
| 1227 "libraries": { |
| 1228 "description": "Configuration for third-party Python runtime
libraries required by the application.Only returned in GET requests if view=FUL
L is set.", |
| 1229 "items": { |
| 1230 "$ref": "Library" |
| 1231 }, |
| 1232 "type": "array" |
| 1233 }, |
| 1234 "nobuildFilesRegex": { |
| 1235 "description": "Files that match this pattern will not be bu
ilt into this version. Only applicable for Go runtimes.Only returned in GET requ
ests if view=FULL is set.", |
| 1236 "type": "string" |
| 1237 }, |
| 1238 "creationTime": { |
| 1239 "description": "Time that this version was created.@OutputOn
ly", |
| 1240 "format": "google-datetime", |
| 1241 "type": "string" |
| 1242 }, |
| 1243 "basicScaling": { |
| 1244 "$ref": "BasicScaling", |
| 1245 "description": "A module with basic scaling will create an i
nstance when the application receives a request. The instance will be turned dow
n when the app becomes idle. Basic scaling is ideal for work that is intermitten
t or driven by user activity." |
| 1246 }, |
| 1247 "runtime": { |
| 1248 "description": "Desired runtime. Example: python27.", |
| 1249 "type": "string" |
| 1250 }, |
| 1251 "id": { |
| 1252 "description": "Relative name of the version within the modu
le. Example: v1. Version names can contain only lowercase letters, numbers, or h
yphens. Reserved names: \"default\", \"latest\", and any name with the prefix \"
ah-\".", |
| 1253 "type": "string" |
| 1254 }, |
| 1255 "envVariables": { |
| 1256 "additionalProperties": { |
| 1257 "type": "string" |
| 1258 }, |
| 1259 "description": "Environment variables made available to the
application.Only returned in GET requests if view=FULL is set.", |
| 1260 "type": "object" |
| 1261 }, |
1016 "network": { | 1262 "network": { |
1017 "$ref": "Network", | 1263 "$ref": "Network", |
1018 "description": "Extra network settings. Only applicable for
VM runtimes." | 1264 "description": "Extra network settings. Only applicable for
VM runtimes." |
1019 }, | 1265 }, |
1020 "betaSettings": { | 1266 "betaSettings": { |
1021 "additionalProperties": { | 1267 "additionalProperties": { |
1022 "type": "string" | 1268 "type": "string" |
1023 }, | 1269 }, |
1024 "description": "Metadata settings that are supplied to this
version to enable beta runtime features.", | 1270 "description": "Metadata settings that are supplied to this
version to enable beta runtime features.", |
1025 "type": "object" | 1271 "type": "object" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1078 "SERVING", | 1324 "SERVING", |
1079 "STOPPED" | 1325 "STOPPED" |
1080 ], | 1326 ], |
1081 "enumDescriptions": [ | 1327 "enumDescriptions": [ |
1082 "Not specified.", | 1328 "Not specified.", |
1083 "Currently serving. Instances are created according to t
he scaling settings of the version.", | 1329 "Currently serving. Instances are created according to t
he scaling settings of the version.", |
1084 "Disabled. No instances will be created and the scaling
settings are ignored until the state of the version changes to SERVING." | 1330 "Disabled. No instances will be created and the scaling
settings are ignored until the state of the version changes to SERVING." |
1085 ], | 1331 ], |
1086 "type": "string" | 1332 "type": "string" |
1087 }, | 1333 }, |
1088 "runtimeApiVersion": { | |
1089 "description": "The version of the API in the given runtime
environment. Please see the app.yaml reference for valid values at https://cloud
.google.com/appengine/docs/standard/<language>/config/appref", | |
1090 "type": "string" | |
1091 }, | |
1092 "deployment": { | 1334 "deployment": { |
1093 "$ref": "Deployment", | 1335 "$ref": "Deployment", |
1094 "description": "Code and application artifacts that make up
this version.Only returned in GET requests if view=FULL is set." | 1336 "description": "Code and application artifacts that make up
this version.Only returned in GET requests if view=FULL is set." |
1095 }, | 1337 }, |
1096 "resources": { | 1338 "runtimeApiVersion": { |
1097 "$ref": "Resources", | 1339 "description": "The version of the API in the given runtime
environment. Please see the app.yaml reference for valid values at https://cloud
.google.com/appengine/docs/standard/<language>/config/appref", |
1098 "description": "Machine resources for this version. Only app
licable for VM runtimes." | 1340 "type": "string" |
1099 }, | 1341 }, |
1100 "inboundServices": { | 1342 "inboundServices": { |
1101 "description": "Before an application can receive email or X
MPP messages, the application must be configured to enable the service.", | 1343 "description": "Before an application can receive email or X
MPP messages, the application must be configured to enable the service.", |
1102 "enumDescriptions": [ | 1344 "enumDescriptions": [ |
1103 "Not specified.", | 1345 "Not specified.", |
1104 "Allows an application to receive mail.", | 1346 "Allows an application to receive mail.", |
1105 "Allows an application to receive email-bound notificati
ons.", | 1347 "Allows an application to receive email-bound notificati
ons.", |
1106 "Allows an application to receive error stanzas.", | 1348 "Allows an application to receive error stanzas.", |
1107 "Allows an application to receive instant messages.", | 1349 "Allows an application to receive instant messages.", |
1108 "Allows an application to receive user subscription POST
s.", | 1350 "Allows an application to receive user subscription POST
s.", |
(...skipping 10 matching lines...) Expand all Loading... |
1119 "INBOUND_SERVICE_XMPP_MESSAGE", | 1361 "INBOUND_SERVICE_XMPP_MESSAGE", |
1120 "INBOUND_SERVICE_XMPP_SUBSCRIBE", | 1362 "INBOUND_SERVICE_XMPP_SUBSCRIBE", |
1121 "INBOUND_SERVICE_XMPP_PRESENCE", | 1363 "INBOUND_SERVICE_XMPP_PRESENCE", |
1122 "INBOUND_SERVICE_CHANNEL_PRESENCE", | 1364 "INBOUND_SERVICE_CHANNEL_PRESENCE", |
1123 "INBOUND_SERVICE_WARMUP" | 1365 "INBOUND_SERVICE_WARMUP" |
1124 ], | 1366 ], |
1125 "type": "string" | 1367 "type": "string" |
1126 }, | 1368 }, |
1127 "type": "array" | 1369 "type": "array" |
1128 }, | 1370 }, |
| 1371 "resources": { |
| 1372 "$ref": "Resources", |
| 1373 "description": "Machine resources for this version. Only app
licable for VM runtimes." |
| 1374 }, |
1129 "errorHandlers": { | 1375 "errorHandlers": { |
1130 "description": "Custom static error pages. Limited to 10KB p
er page.Only returned in GET requests if view=FULL is set.", | 1376 "description": "Custom static error pages. Limited to 10KB p
er page.Only returned in GET requests if view=FULL is set.", |
1131 "items": { | 1377 "items": { |
1132 "$ref": "ErrorHandler" | 1378 "$ref": "ErrorHandler" |
1133 }, | 1379 }, |
1134 "type": "array" | 1380 "type": "array" |
1135 }, | |
1136 "defaultExpiration": { | |
1137 "description": "Duration that static files should be cached
by web proxies and browsers. Only applicable if the corresponding StaticFilesHan
dler (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s
ervices.versions#staticfileshandler) does not specify its own expiration time.On
ly returned in GET requests if view=FULL is set.", | |
1138 "format": "google-duration", | |
1139 "type": "string" | |
1140 }, | |
1141 "libraries": { | |
1142 "description": "Configuration for third-party Python runtime
libraries required by the application.Only returned in GET requests if view=FUL
L is set.", | |
1143 "items": { | |
1144 "$ref": "Library" | |
1145 }, | |
1146 "type": "array" | |
1147 }, | |
1148 "creationTime": { | |
1149 "description": "Time that this version was created.@OutputOn
ly", | |
1150 "format": "google-datetime", | |
1151 "type": "string" | |
1152 }, | |
1153 "nobuildFilesRegex": { | |
1154 "description": "Files that match this pattern will not be bu
ilt into this version. Only applicable for Go runtimes.Only returned in GET requ
ests if view=FULL is set.", | |
1155 "type": "string" | |
1156 }, | |
1157 "basicScaling": { | |
1158 "$ref": "BasicScaling", | |
1159 "description": "A module with basic scaling will create an i
nstance when the application receives a request. The instance will be turned dow
n when the app becomes idle. Basic scaling is ideal for work that is intermitten
t or driven by user activity." | |
1160 }, | |
1161 "runtime": { | |
1162 "description": "Desired runtime. Example: python27.", | |
1163 "type": "string" | |
1164 }, | |
1165 "id": { | |
1166 "description": "Relative name of the version within the modu
le. Example: v1. Version names can contain only lowercase letters, numbers, or h
yphens. Reserved names: \"default\", \"latest\", and any name with the prefix \"
ah-\".", | |
1167 "type": "string" | |
1168 }, | |
1169 "envVariables": { | |
1170 "additionalProperties": { | |
1171 "type": "string" | |
1172 }, | |
1173 "description": "Environment variables made available to the
application.Only returned in GET requests if view=FULL is set.", | |
1174 "type": "object" | |
1175 } | 1381 } |
1176 }, | 1382 }, |
1177 "type": "object" | 1383 "type": "object" |
1178 }, | |
1179 "ContainerInfo": { | |
1180 "description": "Docker image that is used to create a container and
start a VM instance for the version that you deploy. Only applicable for instanc
es running in the App Engine flexible environment.", | |
1181 "id": "ContainerInfo", | |
1182 "properties": { | |
1183 "image": { | |
1184 "description": "URI to the hosted container image in Google
Container Registry. The URI must be fully qualified and include a tag or digest.
Examples: \"gcr.io/my-project/image:tag\" or \"gcr.io/my-project/image@digest\"
", | |
1185 "type": "string" | |
1186 } | |
1187 }, | |
1188 "type": "object" | |
1189 }, | 1384 }, |
1190 "RequestUtilization": { | 1385 "RequestUtilization": { |
1191 "description": "Target scaling by request utilization. Only applicab
le for VM runtimes.", | 1386 "description": "Target scaling by request utilization. Only applicab
le for VM runtimes.", |
1192 "id": "RequestUtilization", | 1387 "id": "RequestUtilization", |
1193 "properties": { | 1388 "properties": { |
1194 "targetConcurrentRequests": { | 1389 "targetConcurrentRequests": { |
1195 "description": "Target number of concurrent requests.", | 1390 "description": "Target number of concurrent requests.", |
1196 "format": "int32", | 1391 "format": "int32", |
1197 "type": "integer" | 1392 "type": "integer" |
1198 }, | 1393 }, |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1294 "$ref": "StaticFilesHandler", | 1489 "$ref": "StaticFilesHandler", |
1295 "description": "Returns the contents of a file, such as an i
mage, as the response." | 1490 "description": "Returns the contents of a file, such as an i
mage, as the response." |
1296 } | 1491 } |
1297 }, | 1492 }, |
1298 "type": "object" | 1493 "type": "object" |
1299 }, | 1494 }, |
1300 "Operation": { | 1495 "Operation": { |
1301 "description": "This resource represents a long-running operation th
at is the result of a network API call.", | 1496 "description": "This resource represents a long-running operation th
at is the result of a network API call.", |
1302 "id": "Operation", | 1497 "id": "Operation", |
1303 "properties": { | 1498 "properties": { |
1304 "error": { | |
1305 "$ref": "Status", | |
1306 "description": "The error result of the operation in case of
failure or cancellation." | |
1307 }, | |
1308 "metadata": { | |
1309 "additionalProperties": { | |
1310 "description": "Properties of the object. Contains field
@type with type URL.", | |
1311 "type": "any" | |
1312 }, | |
1313 "description": "Service-specific metadata associated with th
e operation. It typically contains progress information and common metadata such
as create time. Some services might not provide such metadata. Any method that
returns a long-running operation should document the metadata type, if any.", | |
1314 "type": "object" | |
1315 }, | |
1316 "done": { | 1499 "done": { |
1317 "description": "If the value is false, it means the operatio
n is still in progress. If true, the operation is completed, and either error or
response is available.", | 1500 "description": "If the value is false, it means the operatio
n is still in progress. If true, the operation is completed, and either error or
response is available.", |
1318 "type": "boolean" | 1501 "type": "boolean" |
1319 }, | 1502 }, |
1320 "response": { | 1503 "response": { |
1321 "additionalProperties": { | 1504 "additionalProperties": { |
1322 "description": "Properties of the object. Contains field
@type with type URL.", | 1505 "description": "Properties of the object. Contains field
@type with type URL.", |
1323 "type": "any" | 1506 "type": "any" |
1324 }, | 1507 }, |
1325 "description": "The normal response of the operation in case
of success. If the original method returns no data on success, such as Delete,
the response is google.protobuf.Empty. If the original method is standard Get/Cr
eate/Update, the response should be the resource. For other methods, the respons
e should have the type XxxResponse, where Xxx is the original method name. For e
xample, if the original method name is TakeSnapshot(), the inferred response typ
e is TakeSnapshotResponse.", | 1508 "description": "The normal response of the operation in case
of success. If the original method returns no data on success, such as Delete,
the response is google.protobuf.Empty. If the original method is standard Get/Cr
eate/Update, the response should be the resource. For other methods, the respons
e should have the type XxxResponse, where Xxx is the original method name. For e
xample, if the original method name is TakeSnapshot(), the inferred response typ
e is TakeSnapshotResponse.", |
1326 "type": "object" | 1509 "type": "object" |
1327 }, | 1510 }, |
1328 "name": { | 1511 "name": { |
1329 "description": "The server-assigned name, which is only uniq
ue within the same service that originally returns it. If you use the default HT
TP mapping, the name should have the format of operations/some/unique/name.", | 1512 "description": "The server-assigned name, which is only uniq
ue within the same service that originally returns it. If you use the default HT
TP mapping, the name should have the format of operations/some/unique/name.", |
1330 "type": "string" | 1513 "type": "string" |
| 1514 }, |
| 1515 "error": { |
| 1516 "$ref": "Status", |
| 1517 "description": "The error result of the operation in case of
failure or cancellation." |
| 1518 }, |
| 1519 "metadata": { |
| 1520 "additionalProperties": { |
| 1521 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1522 "type": "any" |
| 1523 }, |
| 1524 "description": "Service-specific metadata associated with th
e operation. It typically contains progress information and common metadata such
as create time. Some services might not provide such metadata. Any method that
returns a long-running operation should document the metadata type, if any.", |
| 1525 "type": "object" |
1331 } | 1526 } |
1332 }, | 1527 }, |
1333 "type": "object" | 1528 "type": "object" |
1334 }, | 1529 }, |
1335 "ApiConfigHandler": { | 1530 "ApiConfigHandler": { |
1336 "description": "Google Cloud Endpoints (https://cloud.google.com/app
engine/docs/python/endpoints/) configuration for API handlers.", | 1531 "description": "Google Cloud Endpoints (https://cloud.google.com/app
engine/docs/python/endpoints/) configuration for API handlers.", |
1337 "id": "ApiConfigHandler", | 1532 "id": "ApiConfigHandler", |
1338 "properties": { | 1533 "properties": { |
| 1534 "script": { |
| 1535 "description": "Path to the script from the application root
directory.", |
| 1536 "type": "string" |
| 1537 }, |
| 1538 "login": { |
| 1539 "description": "Level of login required to access this resou
rce. Defaults to optional.", |
| 1540 "enum": [ |
| 1541 "LOGIN_UNSPECIFIED", |
| 1542 "LOGIN_OPTIONAL", |
| 1543 "LOGIN_ADMIN", |
| 1544 "LOGIN_REQUIRED" |
| 1545 ], |
| 1546 "enumDescriptions": [ |
| 1547 "Not specified. LOGIN_OPTIONAL is assumed.", |
| 1548 "Does not require that the user is signed in.", |
| 1549 "If the user is not signed in, the auth_fail_action is t
aken. In addition, if the user is not an administrator for the application, they
are given an error message regardless of auth_fail_action. If the user is an ad
ministrator, the handler proceeds.", |
| 1550 "If the user has signed in, the handler proceeds normall
y. Otherwise, the auth_fail_action is taken." |
| 1551 ], |
| 1552 "type": "string" |
| 1553 }, |
1339 "url": { | 1554 "url": { |
1340 "description": "URL to serve the endpoint at.", | 1555 "description": "URL to serve the endpoint at.", |
1341 "type": "string" | 1556 "type": "string" |
1342 }, | 1557 }, |
1343 "securityLevel": { | 1558 "securityLevel": { |
1344 "description": "Security (HTTPS) enforcement for this URL.", | 1559 "description": "Security (HTTPS) enforcement for this URL.", |
1345 "enum": [ | 1560 "enum": [ |
1346 "SECURE_UNSPECIFIED", | 1561 "SECURE_UNSPECIFIED", |
1347 "SECURE_DEFAULT", | 1562 "SECURE_DEFAULT", |
1348 "SECURE_NEVER", | 1563 "SECURE_NEVER", |
(...skipping 15 matching lines...) Expand all Loading... |
1364 "AUTH_FAIL_ACTION_UNSPECIFIED", | 1579 "AUTH_FAIL_ACTION_UNSPECIFIED", |
1365 "AUTH_FAIL_ACTION_REDIRECT", | 1580 "AUTH_FAIL_ACTION_REDIRECT", |
1366 "AUTH_FAIL_ACTION_UNAUTHORIZED" | 1581 "AUTH_FAIL_ACTION_UNAUTHORIZED" |
1367 ], | 1582 ], |
1368 "enumDescriptions": [ | 1583 "enumDescriptions": [ |
1369 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", | 1584 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", |
1370 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, | 1585 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, |
1371 "Rejects request with a 401 HTTP status code and an erro
r message." | 1586 "Rejects request with a 401 HTTP status code and an erro
r message." |
1372 ], | 1587 ], |
1373 "type": "string" | 1588 "type": "string" |
1374 }, | |
1375 "script": { | |
1376 "description": "Path to the script from the application root
directory.", | |
1377 "type": "string" | |
1378 }, | |
1379 "login": { | |
1380 "description": "Level of login required to access this resou
rce. Defaults to optional.", | |
1381 "enum": [ | |
1382 "LOGIN_UNSPECIFIED", | |
1383 "LOGIN_OPTIONAL", | |
1384 "LOGIN_ADMIN", | |
1385 "LOGIN_REQUIRED" | |
1386 ], | |
1387 "enumDescriptions": [ | |
1388 "Not specified. LOGIN_OPTIONAL is assumed.", | |
1389 "Does not require that the user is signed in.", | |
1390 "If the user is not signed in, the auth_fail_action is t
aken. In addition, if the user is not an administrator for the application, they
are given an error message regardless of auth_fail_action. If the user is an ad
ministrator, the handler proceeds.", | |
1391 "If the user has signed in, the handler proceeds normall
y. Otherwise, the auth_fail_action is taken." | |
1392 ], | |
1393 "type": "string" | |
1394 } | 1589 } |
1395 }, | 1590 }, |
1396 "type": "object" | 1591 "type": "object" |
1397 }, | 1592 }, |
1398 "FileInfo": { | 1593 "ScriptHandler": { |
1399 "description": "Single source file that is part of the version to be
deployed. Each source file that is deployed must be specified separately.", | 1594 "description": "Executes a script to handle the request that matches
the URL pattern.", |
1400 "id": "FileInfo", | 1595 "id": "ScriptHandler", |
1401 "properties": { | 1596 "properties": { |
1402 "mimeType": { | 1597 "scriptPath": { |
1403 "description": "The MIME type of the file.Defaults to the va
lue from Google Cloud Storage.", | 1598 "description": "Path to the script from the application root
directory.", |
1404 "type": "string" | |
1405 }, | |
1406 "sourceUrl": { | |
1407 "description": "URL source to use to fetch this file. Must b
e a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.goo
gleapis.com/<bucket>/<object>'.", | |
1408 "type": "string" | |
1409 }, | |
1410 "sha1Sum": { | |
1411 "description": "The SHA1 hash of the file, in hex.", | |
1412 "type": "string" | 1599 "type": "string" |
1413 } | 1600 } |
1414 }, | 1601 }, |
1415 "type": "object" | 1602 "type": "object" |
1416 }, | 1603 }, |
1417 "StaticFilesHandler": { | 1604 "StaticFilesHandler": { |
1418 "description": "Files served directly to the user for a given URL, s
uch as images, CSS stylesheets, or JavaScript source files. Static file handlers
describe which files in the application directory are static files, and which U
RLs serve them.", | 1605 "description": "Files served directly to the user for a given URL, s
uch as images, CSS stylesheets, or JavaScript source files. Static file handlers
describe which files in the application directory are static files, and which U
RLs serve them.", |
1419 "id": "StaticFilesHandler", | 1606 "id": "StaticFilesHandler", |
1420 "properties": { | 1607 "properties": { |
1421 "expiration": { | |
1422 "description": "Time a static file served by this handler sh
ould be cached.", | |
1423 "format": "google-duration", | |
1424 "type": "string" | |
1425 }, | |
1426 "httpHeaders": { | |
1427 "additionalProperties": { | |
1428 "type": "string" | |
1429 }, | |
1430 "description": "HTTP headers to use for all responses from t
hese URLs.", | |
1431 "type": "object" | |
1432 }, | |
1433 "applicationReadable": { | |
1434 "description": "Whether files should also be uploaded as cod
e data. By default, files declared in static file handlers are uploaded as stati
c data and are only served to end users; they cannot be read by the application.
If enabled, uploads are charged against both your code and static data storage
resource quotas.", | |
1435 "type": "boolean" | |
1436 }, | |
1437 "uploadPathRegex": { | 1608 "uploadPathRegex": { |
1438 "description": "Regular expression that matches the file pat
hs for all files that should be referenced by this handler.", | 1609 "description": "Regular expression that matches the file pat
hs for all files that should be referenced by this handler.", |
1439 "type": "string" | 1610 "type": "string" |
1440 }, | 1611 }, |
1441 "path": { | 1612 "path": { |
1442 "description": "Path to the static files matched by the URL
pattern, from the application root directory. The path can refer to text matched
in groupings in the URL pattern.", | 1613 "description": "Path to the static files matched by the URL
pattern, from the application root directory. The path can refer to text matched
in groupings in the URL pattern.", |
1443 "type": "string" | 1614 "type": "string" |
1444 }, | 1615 }, |
1445 "mimeType": { | 1616 "mimeType": { |
1446 "description": "MIME type used to serve all files served by
this handler. Defaults to file-specific MIME types, which are derived from each
file's filename extension.", | 1617 "description": "MIME type used to serve all files served by
this handler. Defaults to file-specific MIME types, which are derived from each
file's filename extension.", |
1447 "type": "string" | 1618 "type": "string" |
1448 }, | 1619 }, |
1449 "requireMatchingFile": { | 1620 "requireMatchingFile": { |
1450 "description": "Whether this handler should match the reques
t if the file referenced by the handler does not exist.", | 1621 "description": "Whether this handler should match the reques
t if the file referenced by the handler does not exist.", |
1451 "type": "boolean" | 1622 "type": "boolean" |
| 1623 }, |
| 1624 "expiration": { |
| 1625 "description": "Time a static file served by this handler sh
ould be cached.", |
| 1626 "format": "google-duration", |
| 1627 "type": "string" |
| 1628 }, |
| 1629 "applicationReadable": { |
| 1630 "description": "Whether files should also be uploaded as cod
e data. By default, files declared in static file handlers are uploaded as stati
c data and are only served to end users; they cannot be read by the application.
If enabled, uploads are charged against both your code and static data storage
resource quotas.", |
| 1631 "type": "boolean" |
| 1632 }, |
| 1633 "httpHeaders": { |
| 1634 "additionalProperties": { |
| 1635 "type": "string" |
| 1636 }, |
| 1637 "description": "HTTP headers to use for all responses from t
hese URLs.", |
| 1638 "type": "object" |
1452 } | 1639 } |
1453 }, | 1640 }, |
1454 "type": "object" | 1641 "type": "object" |
1455 }, | 1642 }, |
1456 "ScriptHandler": { | 1643 "FileInfo": { |
1457 "description": "Executes a script to handle the request that matches
the URL pattern.", | 1644 "description": "Single source file that is part of the version to be
deployed. Each source file that is deployed must be specified separately.", |
1458 "id": "ScriptHandler", | 1645 "id": "FileInfo", |
1459 "properties": { | 1646 "properties": { |
1460 "scriptPath": { | 1647 "mimeType": { |
1461 "description": "Path to the script from the application root
directory.", | 1648 "description": "The MIME type of the file.Defaults to the va
lue from Google Cloud Storage.", |
| 1649 "type": "string" |
| 1650 }, |
| 1651 "sourceUrl": { |
| 1652 "description": "URL source to use to fetch this file. Must b
e a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.goo
gleapis.com/<bucket>/<object>'.", |
| 1653 "type": "string" |
| 1654 }, |
| 1655 "sha1Sum": { |
| 1656 "description": "The SHA1 hash of the file, in hex.", |
1462 "type": "string" | 1657 "type": "string" |
1463 } | 1658 } |
1464 }, | 1659 }, |
| 1660 "type": "object" |
| 1661 }, |
| 1662 "BasicScaling": { |
| 1663 "description": "A module with basic scaling will create an instance
when the application receives a request. The instance will be turned down when t
he app becomes idle. Basic scaling is ideal for work that is intermittent or dri
ven by user activity.", |
| 1664 "id": "BasicScaling", |
| 1665 "properties": { |
| 1666 "maxInstances": { |
| 1667 "description": "Maximum number of instances to create for th
is version.", |
| 1668 "format": "int32", |
| 1669 "type": "integer" |
| 1670 }, |
| 1671 "idleTimeout": { |
| 1672 "description": "Duration of time after the last request that
an instance must wait before the instance is shut down.", |
| 1673 "format": "google-duration", |
| 1674 "type": "string" |
| 1675 } |
| 1676 }, |
1465 "type": "object" | 1677 "type": "object" |
1466 }, | 1678 }, |
1467 "DiskUtilization": { | 1679 "DiskUtilization": { |
1468 "description": "Target scaling by disk usage. Only applicable for VM
runtimes.", | 1680 "description": "Target scaling by disk usage. Only applicable for VM
runtimes.", |
1469 "id": "DiskUtilization", | 1681 "id": "DiskUtilization", |
1470 "properties": { | 1682 "properties": { |
| 1683 "targetWriteBytesPerSec": { |
| 1684 "description": "Target bytes written per second.", |
| 1685 "format": "int32", |
| 1686 "type": "integer" |
| 1687 }, |
1471 "targetReadOpsPerSec": { | 1688 "targetReadOpsPerSec": { |
1472 "description": "Target ops read per second.", | 1689 "description": "Target ops read per second.", |
1473 "format": "int32", | 1690 "format": "int32", |
1474 "type": "integer" | 1691 "type": "integer" |
1475 }, | 1692 }, |
1476 "targetReadBytesPerSec": { | 1693 "targetReadBytesPerSec": { |
1477 "description": "Target bytes read per second.", | 1694 "description": "Target bytes read per second.", |
1478 "format": "int32", | 1695 "format": "int32", |
1479 "type": "integer" | 1696 "type": "integer" |
1480 }, | 1697 }, |
1481 "targetWriteOpsPerSec": { | 1698 "targetWriteOpsPerSec": { |
1482 "description": "Target ops written per second.", | 1699 "description": "Target ops written per second.", |
1483 "format": "int32", | 1700 "format": "int32", |
1484 "type": "integer" | 1701 "type": "integer" |
1485 }, | |
1486 "targetWriteBytesPerSec": { | |
1487 "description": "Target bytes written per second.", | |
1488 "format": "int32", | |
1489 "type": "integer" | |
1490 } | 1702 } |
1491 }, | 1703 }, |
1492 "type": "object" | 1704 "type": "object" |
1493 }, | |
1494 "BasicScaling": { | |
1495 "description": "A module with basic scaling will create an instance
when the application receives a request. The instance will be turned down when t
he app becomes idle. Basic scaling is ideal for work that is intermittent or dri
ven by user activity.", | |
1496 "id": "BasicScaling", | |
1497 "properties": { | |
1498 "maxInstances": { | |
1499 "description": "Maximum number of instances to create for th
is version.", | |
1500 "format": "int32", | |
1501 "type": "integer" | |
1502 }, | |
1503 "idleTimeout": { | |
1504 "description": "Duration of time after the last request that
an instance must wait before the instance is shut down.", | |
1505 "format": "google-duration", | |
1506 "type": "string" | |
1507 } | |
1508 }, | |
1509 "type": "object" | |
1510 }, | 1705 }, |
1511 "OperationMetadataExperimental": { | 1706 "OperationMetadataExperimental": { |
1512 "description": "Metadata for the given google.longrunning.Operation.
", | 1707 "description": "Metadata for the given google.longrunning.Operation.
", |
1513 "id": "OperationMetadataExperimental", | 1708 "id": "OperationMetadataExperimental", |
1514 "properties": { | 1709 "properties": { |
| 1710 "insertTime": { |
| 1711 "description": "Time that this operation was created.@Output
Only", |
| 1712 "format": "google-datetime", |
| 1713 "type": "string" |
| 1714 }, |
| 1715 "endTime": { |
| 1716 "description": "Time that this operation completed.@OutputOn
ly", |
| 1717 "format": "google-datetime", |
| 1718 "type": "string" |
| 1719 }, |
1515 "target": { | 1720 "target": { |
1516 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly", | 1721 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly", |
1517 "type": "string" | 1722 "type": "string" |
1518 }, | 1723 }, |
1519 "user": { | 1724 "user": { |
1520 "description": "User who requested this operation.@OutputOnl
y", | 1725 "description": "User who requested this operation.@OutputOnl
y", |
1521 "type": "string" | 1726 "type": "string" |
1522 }, | 1727 }, |
1523 "method": { | 1728 "method": { |
1524 "description": "API method that initiated this operation. Ex
ample: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnl
y", | 1729 "description": "API method that initiated this operation. Ex
ample: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnl
y", |
1525 "type": "string" | 1730 "type": "string" |
1526 }, | |
1527 "insertTime": { | |
1528 "description": "Time that this operation was created.@Output
Only", | |
1529 "format": "google-datetime", | |
1530 "type": "string" | |
1531 }, | |
1532 "endTime": { | |
1533 "description": "Time that this operation completed.@OutputOn
ly", | |
1534 "format": "google-datetime", | |
1535 "type": "string" | |
1536 } | 1731 } |
1537 }, | 1732 }, |
1538 "type": "object" | 1733 "type": "object" |
1539 }, | 1734 }, |
1540 "CpuUtilization": { | 1735 "CpuUtilization": { |
1541 "description": "Target scaling by CPU usage.", | 1736 "description": "Target scaling by CPU usage.", |
1542 "id": "CpuUtilization", | 1737 "id": "CpuUtilization", |
1543 "properties": { | 1738 "properties": { |
1544 "aggregationWindowLength": { | 1739 "aggregationWindowLength": { |
1545 "description": "Period of time over which CPU utilization is
calculated.", | 1740 "description": "Period of time over which CPU utilization is
calculated.", |
1546 "format": "google-duration", | 1741 "format": "google-duration", |
1547 "type": "string" | 1742 "type": "string" |
1548 }, | 1743 }, |
1549 "targetUtilization": { | 1744 "targetUtilization": { |
1550 "description": "Target CPU utilization ratio to maintain whe
n scaling. Must be between 0 and 1.", | 1745 "description": "Target CPU utilization ratio to maintain whe
n scaling. Must be between 0 and 1.", |
1551 "format": "double", | 1746 "format": "double", |
1552 "type": "number" | 1747 "type": "number" |
1553 } | 1748 } |
1554 }, | 1749 }, |
1555 "type": "object" | 1750 "type": "object" |
1556 }, | |
1557 "Status": { | |
1558 "description": "The Status type defines a logical error model that i
s suitable for different programming environments, including REST APIs and RPC A
PIs. It is used by gRPC (https://github.com/grpc). The error model is designed t
o be:\nSimple to use and understand for most users\nFlexible enough to meet unex
pected needsOverviewThe Status message contains three pieces of data: error code
, error message, and error details. The error code should be an enum value of go
ogle.rpc.Code, but it may accept additional error codes if needed. The error mes
sage should be a developer-facing English message that helps developers understa
nd and resolve the error. If a localized user-facing error message is needed, pu
t the localized message in the error details or localize it in the client. The o
ptional error details may contain arbitrary information about the error. There i
s a predefined set of error detail types in the package google.rpc that can be u
sed for common error conditions.Language mappingThe Status message is the logica
l representation of the error model, but it is not necessarily the actual wire f
ormat. When the Status message is exposed in different client libraries and diff
erent wire protocols, it can be mapped differently. For example, it will likely
be mapped to some exceptions in Java, but more likely mapped to some error codes
in C.Other usesThe error model and the Status message can be used in a variety
of environments, either with or without APIs, to provide a consistent developer
experience across different environments.Example uses of this error model includ
e:\nPartial errors. If a service needs to return partial errors to the client, i
t may embed the Status in the normal response to indicate the partial errors.\nW
orkflow errors. A typical workflow has multiple steps. Each step may have a Stat
us message for error reporting.\nBatch operations. If a client uses batch reques
t and batch response, the Status message should be used directly inside batch re
sponse, one for each error sub-response.\nAsynchronous operations. If an API cal
l embeds asynchronous operation results in its response, the status of those ope
rations should be represented directly using the Status message.\nLogging. If so
me API errors are stored in logs, the message Status could be used directly afte
r any stripping needed for security/privacy reasons.", | |
1559 "id": "Status", | |
1560 "properties": { | |
1561 "code": { | |
1562 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | |
1563 "format": "int32", | |
1564 "type": "integer" | |
1565 }, | |
1566 "message": { | |
1567 "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.", | |
1568 "type": "string" | |
1569 }, | |
1570 "details": { | |
1571 "description": "A list of messages that carry the error deta
ils. There is a common set of message types for APIs to use.", | |
1572 "items": { | |
1573 "additionalProperties": { | |
1574 "description": "Properties of the object. Contains f
ield @type with type URL.", | |
1575 "type": "any" | |
1576 }, | |
1577 "type": "object" | |
1578 }, | |
1579 "type": "array" | |
1580 } | |
1581 }, | |
1582 "type": "object" | |
1583 }, | 1751 }, |
1584 "IdentityAwareProxy": { | 1752 "IdentityAwareProxy": { |
1585 "description": "Identity-Aware Proxy", | 1753 "description": "Identity-Aware Proxy", |
1586 "id": "IdentityAwareProxy", | 1754 "id": "IdentityAwareProxy", |
1587 "properties": { | 1755 "properties": { |
1588 "oauth2ClientSecret": { | |
1589 "description": "For security reasons, this value cannot be r
etrieved via the API. Instead, the SHA-256 hash of the value is returned in the
oauth2_client_secret_sha256 field.@InputOnly", | |
1590 "type": "string" | |
1591 }, | |
1592 "oauth2ClientId": { | |
1593 "description": "OAuth2 client ID to use for the authenticati
on flow.", | |
1594 "type": "string" | |
1595 }, | |
1596 "oauth2ClientSecretSha256": { | 1756 "oauth2ClientSecretSha256": { |
1597 "description": "Hex-encoded SHA-256 hash of the client secre
t.@OutputOnly", | 1757 "description": "Hex-encoded SHA-256 hash of the client secre
t.@OutputOnly", |
1598 "type": "string" | 1758 "type": "string" |
1599 }, | 1759 }, |
1600 "enabled": { | 1760 "enabled": { |
1601 "description": "Whether the serving infrastructure will auth
enticate and authorize all incoming requests.If true, the oauth2_client_id and o
auth2_client_secret fields must be non-empty.", | 1761 "description": "Whether the serving infrastructure will auth
enticate and authorize all incoming requests.If true, the oauth2_client_id and o
auth2_client_secret fields must be non-empty.", |
1602 "type": "boolean" | 1762 "type": "boolean" |
| 1763 }, |
| 1764 "oauth2ClientSecret": { |
| 1765 "description": "For security reasons, this value cannot be r
etrieved via the API. Instead, the SHA-256 hash of the value is returned in the
oauth2_client_secret_sha256 field.@InputOnly", |
| 1766 "type": "string" |
| 1767 }, |
| 1768 "oauth2ClientId": { |
| 1769 "description": "OAuth2 client ID to use for the authenticati
on flow.", |
| 1770 "type": "string" |
1603 } | 1771 } |
1604 }, | 1772 }, |
1605 "type": "object" | 1773 "type": "object" |
1606 }, | 1774 }, |
1607 "ManualScaling": { | 1775 "Status": { |
1608 "description": "A module with manual scaling runs continuously, allo
wing you to perform complex initialization and rely on the state of its memory o
ver time.", | 1776 "description": "The Status type defines a logical error model that i
s suitable for different programming environments, including REST APIs and RPC A
PIs. It is used by gRPC (https://github.com/grpc). The error model is designed t
o be:\nSimple to use and understand for most users\nFlexible enough to meet unex
pected needsOverviewThe Status message contains three pieces of data: error code
, error message, and error details. The error code should be an enum value of go
ogle.rpc.Code, but it may accept additional error codes if needed. The error mes
sage should be a developer-facing English message that helps developers understa
nd and resolve the error. If a localized user-facing error message is needed, pu
t the localized message in the error details or localize it in the client. The o
ptional error details may contain arbitrary information about the error. There i
s a predefined set of error detail types in the package google.rpc that can be u
sed for common error conditions.Language mappingThe Status message is the logica
l representation of the error model, but it is not necessarily the actual wire f
ormat. When the Status message is exposed in different client libraries and diff
erent wire protocols, it can be mapped differently. For example, it will likely
be mapped to some exceptions in Java, but more likely mapped to some error codes
in C.Other usesThe error model and the Status message can be used in a variety
of environments, either with or without APIs, to provide a consistent developer
experience across different environments.Example uses of this error model includ
e:\nPartial errors. If a service needs to return partial errors to the client, i
t may embed the Status in the normal response to indicate the partial errors.\nW
orkflow errors. A typical workflow has multiple steps. Each step may have a Stat
us message for error reporting.\nBatch operations. If a client uses batch reques
t and batch response, the Status message should be used directly inside batch re
sponse, one for each error sub-response.\nAsynchronous operations. If an API cal
l embeds asynchronous operation results in its response, the status of those ope
rations should be represented directly using the Status message.\nLogging. If so
me API errors are stored in logs, the message Status could be used directly afte
r any stripping needed for security/privacy reasons.", |
1609 "id": "ManualScaling", | 1777 "id": "Status", |
1610 "properties": { | 1778 "properties": { |
1611 "instances": { | 1779 "details": { |
1612 "description": "Number of instances to assign to the module
at the start. This number can later be altered by using the Modules API (https:/
/cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() f
unction.", | 1780 "description": "A list of messages that carry the error deta
ils. There is a common set of message types for APIs to use.", |
| 1781 "items": { |
| 1782 "additionalProperties": { |
| 1783 "description": "Properties of the object. Contains f
ield @type with type URL.", |
| 1784 "type": "any" |
| 1785 }, |
| 1786 "type": "object" |
| 1787 }, |
| 1788 "type": "array" |
| 1789 }, |
| 1790 "code": { |
| 1791 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
1613 "format": "int32", | 1792 "format": "int32", |
1614 "type": "integer" | 1793 "type": "integer" |
| 1794 }, |
| 1795 "message": { |
| 1796 "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.", |
| 1797 "type": "string" |
1615 } | 1798 } |
1616 }, | 1799 }, |
1617 "type": "object" | 1800 "type": "object" |
1618 }, | 1801 }, |
1619 "TrafficSplit": { | 1802 "TrafficSplit": { |
1620 "description": "Traffic routing configuration for versions within a
single module. Traffic splits define how traffic directed to the module is assig
ned to versions.", | 1803 "description": "Traffic routing configuration for versions within a
single module. Traffic splits define how traffic directed to the module is assig
ned to versions.", |
1621 "id": "TrafficSplit", | 1804 "id": "TrafficSplit", |
1622 "properties": { | 1805 "properties": { |
1623 "allocations": { | 1806 "allocations": { |
1624 "additionalProperties": { | 1807 "additionalProperties": { |
(...skipping 13 matching lines...) Expand all Loading... |
1638 "enumDescriptions": [ | 1821 "enumDescriptions": [ |
1639 "Diversion method unspecified.", | 1822 "Diversion method unspecified.", |
1640 "Diversion based on a specially named cookie, \"GOOGAPPU
ID.\" The cookie must be set by the application itself or else no diversion will
occur.", | 1823 "Diversion based on a specially named cookie, \"GOOGAPPU
ID.\" The cookie must be set by the application itself or else no diversion will
occur.", |
1641 "Diversion based on applying the modulus operation to a
fingerprint of the IP address." | 1824 "Diversion based on applying the modulus operation to a
fingerprint of the IP address." |
1642 ], | 1825 ], |
1643 "type": "string" | 1826 "type": "string" |
1644 } | 1827 } |
1645 }, | 1828 }, |
1646 "type": "object" | 1829 "type": "object" |
1647 }, | 1830 }, |
| 1831 "ManualScaling": { |
| 1832 "description": "A module with manual scaling runs continuously, allo
wing you to perform complex initialization and rely on the state of its memory o
ver time.", |
| 1833 "id": "ManualScaling", |
| 1834 "properties": { |
| 1835 "instances": { |
| 1836 "description": "Number of instances to assign to the module
at the start. This number can later be altered by using the Modules API (https:/
/cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() f
unction.", |
| 1837 "format": "int32", |
| 1838 "type": "integer" |
| 1839 } |
| 1840 }, |
| 1841 "type": "object" |
| 1842 }, |
1648 "LocationMetadata": { | 1843 "LocationMetadata": { |
1649 "description": "Metadata for the given google.cloud.location.Locatio
n.", | 1844 "description": "Metadata for the given google.cloud.location.Locatio
n.", |
1650 "id": "LocationMetadata", | 1845 "id": "LocationMetadata", |
1651 "properties": { | 1846 "properties": { |
1652 "flexibleEnvironmentAvailable": { | 1847 "flexibleEnvironmentAvailable": { |
1653 "description": "App Engine Flexible Environment is available
in the given location.@OutputOnly", | 1848 "description": "App Engine Flexible Environment is available
in the given location.@OutputOnly", |
1654 "type": "boolean" | 1849 "type": "boolean" |
1655 }, | 1850 }, |
1656 "standardEnvironmentAvailable": { | 1851 "standardEnvironmentAvailable": { |
1657 "description": "App Engine Standard Environment is available
in the given location.@OutputOnly", | 1852 "description": "App Engine Standard Environment is available
in the given location.@OutputOnly", |
1658 "type": "boolean" | 1853 "type": "boolean" |
1659 } | 1854 } |
1660 }, | 1855 }, |
1661 "type": "object" | 1856 "type": "object" |
1662 }, | 1857 }, |
1663 "OperationMetadataV1Beta": { | 1858 "OperationMetadataV1Beta": { |
1664 "description": "Metadata for the given google.longrunning.Operation.
", | 1859 "description": "Metadata for the given google.longrunning.Operation.
", |
1665 "id": "OperationMetadataV1Beta", | 1860 "id": "OperationMetadataV1Beta", |
1666 "properties": { | 1861 "properties": { |
1667 "ephemeralMessage": { | |
1668 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", | |
1669 "type": "string" | |
1670 }, | |
1671 "method": { | 1862 "method": { |
1672 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly", | 1863 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly", |
1673 "type": "string" | 1864 "type": "string" |
1674 }, | 1865 }, |
1675 "endTime": { | 1866 "endTime": { |
1676 "description": "Time that this operation completed.@OutputOn
ly", | 1867 "description": "Time that this operation completed.@OutputOn
ly", |
1677 "format": "google-datetime", | 1868 "format": "google-datetime", |
1678 "type": "string" | 1869 "type": "string" |
1679 }, | 1870 }, |
1680 "insertTime": { | |
1681 "description": "Time that this operation was created.@Output
Only", | |
1682 "format": "google-datetime", | |
1683 "type": "string" | |
1684 }, | |
1685 "warning": { | 1871 "warning": { |
1686 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", | 1872 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
1687 "items": { | 1873 "items": { |
1688 "type": "string" | 1874 "type": "string" |
1689 }, | 1875 }, |
1690 "type": "array" | 1876 "type": "array" |
1691 }, | 1877 }, |
| 1878 "insertTime": { |
| 1879 "description": "Time that this operation was created.@Output
Only", |
| 1880 "format": "google-datetime", |
| 1881 "type": "string" |
| 1882 }, |
1692 "user": { | 1883 "user": { |
1693 "description": "User who requested this operation.@OutputOnl
y", | 1884 "description": "User who requested this operation.@OutputOnl
y", |
1694 "type": "string" | 1885 "type": "string" |
1695 }, | 1886 }, |
1696 "target": { | 1887 "target": { |
1697 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | 1888 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
1698 "type": "string" | 1889 "type": "string" |
| 1890 }, |
| 1891 "ephemeralMessage": { |
| 1892 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
| 1893 "type": "string" |
1699 } | 1894 } |
1700 }, | 1895 }, |
1701 "type": "object" | 1896 "type": "object" |
1702 }, | 1897 }, |
1703 "ListModulesResponse": { | 1898 "ListModulesResponse": { |
1704 "description": "Response message for Modules.ListModules.", | 1899 "description": "Response message for Modules.ListModules.", |
1705 "id": "ListModulesResponse", | 1900 "id": "ListModulesResponse", |
1706 "properties": { | 1901 "properties": { |
1707 "nextPageToken": { | 1902 "nextPageToken": { |
1708 "description": "Continuation token for fetching the next pag
e of results.", | 1903 "description": "Continuation token for fetching the next pag
e of results.", |
1709 "type": "string" | 1904 "type": "string" |
1710 }, | 1905 }, |
1711 "modules": { | 1906 "modules": { |
1712 "description": "The modules belonging to the requested appli
cation.", | 1907 "description": "The modules belonging to the requested appli
cation.", |
1713 "items": { | 1908 "items": { |
1714 "$ref": "Module" | 1909 "$ref": "Module" |
1715 }, | 1910 }, |
1716 "type": "array" | 1911 "type": "array" |
1717 } | 1912 } |
1718 }, | 1913 }, |
1719 "type": "object" | 1914 "type": "object" |
1720 }, | 1915 }, |
| 1916 "Deployment": { |
| 1917 "description": "Code and application artifacts used to deploy a vers
ion to App Engine.", |
| 1918 "id": "Deployment", |
| 1919 "properties": { |
| 1920 "sourceReferences": { |
| 1921 "description": "Origin of the source code for this deploymen
t. There can be more than one source reference per version if source code is dis
tributed among multiple repositories.", |
| 1922 "items": { |
| 1923 "$ref": "SourceReference" |
| 1924 }, |
| 1925 "type": "array" |
| 1926 }, |
| 1927 "container": { |
| 1928 "$ref": "ContainerInfo", |
| 1929 "description": "The Docker image for the container that runs
the version. Only applicable for instances running in the App Engine flexible e
nvironment." |
| 1930 }, |
| 1931 "files": { |
| 1932 "additionalProperties": { |
| 1933 "$ref": "FileInfo" |
| 1934 }, |
| 1935 "description": "Manifest of the files stored in Google Cloud
Storage that are included as part of this version. All files must be readable u
sing the credentials supplied with this call.", |
| 1936 "type": "object" |
| 1937 } |
| 1938 }, |
| 1939 "type": "object" |
| 1940 }, |
1721 "Resources": { | 1941 "Resources": { |
1722 "description": "Machine resources for a version.", | 1942 "description": "Machine resources for a version.", |
1723 "id": "Resources", | 1943 "id": "Resources", |
1724 "properties": { | 1944 "properties": { |
1725 "volumes": { | 1945 "volumes": { |
1726 "description": "User specified volumes.", | 1946 "description": "User specified volumes.", |
1727 "items": { | 1947 "items": { |
1728 "$ref": "Volume" | 1948 "$ref": "Volume" |
1729 }, | 1949 }, |
1730 "type": "array" | 1950 "type": "array" |
1731 }, | 1951 }, |
1732 "diskGb": { | 1952 "diskGb": { |
1733 "description": "Disk size (GB) needed.", | 1953 "description": "Disk size (GB) needed.", |
1734 "format": "double", | 1954 "format": "double", |
1735 "type": "number" | 1955 "type": "number" |
1736 }, | 1956 }, |
1737 "memoryGb": { | 1957 "memoryGb": { |
1738 "description": "Memory (GB) needed.", | 1958 "description": "Memory (GB) needed.", |
1739 "format": "double", | 1959 "format": "double", |
1740 "type": "number" | 1960 "type": "number" |
1741 }, | 1961 }, |
1742 "cpu": { | 1962 "cpu": { |
1743 "description": "Number of CPU cores needed.", | 1963 "description": "Number of CPU cores needed.", |
1744 "format": "double", | 1964 "format": "double", |
1745 "type": "number" | 1965 "type": "number" |
1746 } | 1966 } |
1747 }, | 1967 }, |
1748 "type": "object" | 1968 "type": "object" |
1749 }, | 1969 }, |
1750 "Deployment": { | |
1751 "description": "Code and application artifacts used to deploy a vers
ion to App Engine.", | |
1752 "id": "Deployment", | |
1753 "properties": { | |
1754 "files": { | |
1755 "additionalProperties": { | |
1756 "$ref": "FileInfo" | |
1757 }, | |
1758 "description": "Manifest of the files stored in Google Cloud
Storage that are included as part of this version. All files must be readable u
sing the credentials supplied with this call.", | |
1759 "type": "object" | |
1760 }, | |
1761 "sourceReferences": { | |
1762 "description": "Origin of the source code for this deploymen
t. There can be more than one source reference per version if source code is dis
tributed among multiple repositories.", | |
1763 "items": { | |
1764 "$ref": "SourceReference" | |
1765 }, | |
1766 "type": "array" | |
1767 }, | |
1768 "container": { | |
1769 "$ref": "ContainerInfo", | |
1770 "description": "The Docker image for the container that runs
the version. Only applicable for instances running in the App Engine flexible e
nvironment." | |
1771 } | |
1772 }, | |
1773 "type": "object" | |
1774 }, | |
1775 "Volume": { | 1970 "Volume": { |
1776 "description": "Volumes mounted within the app container. Only appli
cable for VM runtimes.", | 1971 "description": "Volumes mounted within the app container. Only appli
cable for VM runtimes.", |
1777 "id": "Volume", | 1972 "id": "Volume", |
1778 "properties": { | 1973 "properties": { |
1779 "volumeType": { | 1974 "volumeType": { |
1780 "description": "Underlying volume type, e.g. 'tmpfs'.", | 1975 "description": "Underlying volume type, e.g. 'tmpfs'.", |
1781 "type": "string" | 1976 "type": "string" |
1782 }, | 1977 }, |
1783 "sizeGb": { | 1978 "sizeGb": { |
1784 "description": "Volume size in gigabytes.", | 1979 "description": "Volume size in gigabytes.", |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1840 "description": "Type of this operation. Deprecated, use meth
od field instead. Example: \"create_version\".@OutputOnly", | 2035 "description": "Type of this operation. Deprecated, use meth
od field instead. Example: \"create_version\".@OutputOnly", |
1841 "type": "string" | 2036 "type": "string" |
1842 } | 2037 } |
1843 }, | 2038 }, |
1844 "type": "object" | 2039 "type": "object" |
1845 }, | 2040 }, |
1846 "ListInstancesResponse": { | 2041 "ListInstancesResponse": { |
1847 "description": "Response message for Instances.ListInstances.", | 2042 "description": "Response message for Instances.ListInstances.", |
1848 "id": "ListInstancesResponse", | 2043 "id": "ListInstancesResponse", |
1849 "properties": { | 2044 "properties": { |
1850 "nextPageToken": { | |
1851 "description": "Continuation token for fetching the next pag
e of results.", | |
1852 "type": "string" | |
1853 }, | |
1854 "instances": { | 2045 "instances": { |
1855 "description": "The instances belonging to the requested ver
sion.", | 2046 "description": "The instances belonging to the requested ver
sion.", |
1856 "items": { | 2047 "items": { |
1857 "$ref": "Instance" | 2048 "$ref": "Instance" |
1858 }, | 2049 }, |
1859 "type": "array" | 2050 "type": "array" |
| 2051 }, |
| 2052 "nextPageToken": { |
| 2053 "description": "Continuation token for fetching the next pag
e of results.", |
| 2054 "type": "string" |
1860 } | 2055 } |
1861 }, | 2056 }, |
1862 "type": "object" | 2057 "type": "object" |
| 2058 }, |
| 2059 "OperationMetadataV1": { |
| 2060 "description": "Metadata for the given google.longrunning.Operation.
", |
| 2061 "id": "OperationMetadataV1", |
| 2062 "properties": { |
| 2063 "method": { |
| 2064 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1.Versions.CreateVersion.@OutputOnly", |
| 2065 "type": "string" |
| 2066 }, |
| 2067 "endTime": { |
| 2068 "description": "Time that this operation completed.@OutputOn
ly", |
| 2069 "format": "google-datetime", |
| 2070 "type": "string" |
| 2071 }, |
| 2072 "warning": { |
| 2073 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
| 2074 "items": { |
| 2075 "type": "string" |
| 2076 }, |
| 2077 "type": "array" |
| 2078 }, |
| 2079 "insertTime": { |
| 2080 "description": "Time that this operation was created.@Output
Only", |
| 2081 "format": "google-datetime", |
| 2082 "type": "string" |
| 2083 }, |
| 2084 "target": { |
| 2085 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
| 2086 "type": "string" |
| 2087 }, |
| 2088 "user": { |
| 2089 "description": "User who requested this operation.@OutputOnl
y", |
| 2090 "type": "string" |
| 2091 }, |
| 2092 "ephemeralMessage": { |
| 2093 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
| 2094 "type": "string" |
| 2095 } |
| 2096 }, |
| 2097 "type": "object" |
1863 }, | 2098 }, |
1864 "ErrorHandler": { | 2099 "ErrorHandler": { |
1865 "description": "Custom static error page to be served when an error
occurs.", | 2100 "description": "Custom static error page to be served when an error
occurs.", |
1866 "id": "ErrorHandler", | 2101 "id": "ErrorHandler", |
1867 "properties": { | 2102 "properties": { |
1868 "mimeType": { | 2103 "mimeType": { |
1869 "description": "MIME type of file. Defaults to text/html.", | 2104 "description": "MIME type of file. Defaults to text/html.", |
1870 "type": "string" | 2105 "type": "string" |
1871 }, | 2106 }, |
1872 "errorCode": { | 2107 "errorCode": { |
(...skipping 14 matching lines...) Expand all Loading... |
1887 ], | 2122 ], |
1888 "type": "string" | 2123 "type": "string" |
1889 }, | 2124 }, |
1890 "staticFile": { | 2125 "staticFile": { |
1891 "description": "Static file content to be served for this er
ror.", | 2126 "description": "Static file content to be served for this er
ror.", |
1892 "type": "string" | 2127 "type": "string" |
1893 } | 2128 } |
1894 }, | 2129 }, |
1895 "type": "object" | 2130 "type": "object" |
1896 }, | 2131 }, |
1897 "OperationMetadataV1": { | |
1898 "description": "Metadata for the given google.longrunning.Operation.
", | |
1899 "id": "OperationMetadataV1", | |
1900 "properties": { | |
1901 "insertTime": { | |
1902 "description": "Time that this operation was created.@Output
Only", | |
1903 "format": "google-datetime", | |
1904 "type": "string" | |
1905 }, | |
1906 "warning": { | |
1907 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", | |
1908 "items": { | |
1909 "type": "string" | |
1910 }, | |
1911 "type": "array" | |
1912 }, | |
1913 "user": { | |
1914 "description": "User who requested this operation.@OutputOnl
y", | |
1915 "type": "string" | |
1916 }, | |
1917 "target": { | |
1918 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | |
1919 "type": "string" | |
1920 }, | |
1921 "ephemeralMessage": { | |
1922 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", | |
1923 "type": "string" | |
1924 }, | |
1925 "method": { | |
1926 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1.Versions.CreateVersion.@OutputOnly", | |
1927 "type": "string" | |
1928 }, | |
1929 "endTime": { | |
1930 "description": "Time that this operation completed.@OutputOn
ly", | |
1931 "format": "google-datetime", | |
1932 "type": "string" | |
1933 } | |
1934 }, | |
1935 "type": "object" | |
1936 }, | |
1937 "OperationMetadataV1Alpha": { | 2132 "OperationMetadataV1Alpha": { |
1938 "description": "Metadata for the given google.longrunning.Operation.
", | 2133 "description": "Metadata for the given google.longrunning.Operation.
", |
1939 "id": "OperationMetadataV1Alpha", | 2134 "id": "OperationMetadataV1Alpha", |
1940 "properties": { | 2135 "properties": { |
1941 "warning": { | 2136 "warning": { |
1942 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", | 2137 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
1943 "items": { | 2138 "items": { |
1944 "type": "string" | 2139 "type": "string" |
1945 }, | 2140 }, |
1946 "type": "array" | 2141 "type": "array" |
1947 }, | 2142 }, |
1948 "insertTime": { | 2143 "insertTime": { |
1949 "description": "Time that this operation was created.@Output
Only", | 2144 "description": "Time that this operation was created.@Output
Only", |
1950 "format": "google-datetime", | 2145 "format": "google-datetime", |
1951 "type": "string" | 2146 "type": "string" |
1952 }, | 2147 }, |
| 2148 "user": { |
| 2149 "description": "User who requested this operation.@OutputOnl
y", |
| 2150 "type": "string" |
| 2151 }, |
1953 "target": { | 2152 "target": { |
1954 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | 2153 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
1955 "type": "string" | 2154 "type": "string" |
1956 }, | 2155 }, |
1957 "user": { | |
1958 "description": "User who requested this operation.@OutputOnl
y", | |
1959 "type": "string" | |
1960 }, | |
1961 "ephemeralMessage": { | 2156 "ephemeralMessage": { |
1962 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", | 2157 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
1963 "type": "string" | 2158 "type": "string" |
1964 }, | 2159 }, |
1965 "method": { | 2160 "method": { |
1966 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly", | 2161 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly", |
1967 "type": "string" | 2162 "type": "string" |
1968 }, | 2163 }, |
1969 "endTime": { | 2164 "endTime": { |
1970 "description": "Time that this operation completed.@OutputOn
ly", | 2165 "description": "Time that this operation completed.@OutputOn
ly", |
(...skipping 22 matching lines...) Expand all Loading... |
1993 "description": "Google Cloud Platform network where the virt
ual machines are created. Specify the short name, not the resource path.Defaults
to default.", | 2188 "description": "Google Cloud Platform network where the virt
ual machines are created. Specify the short name, not the resource path.Defaults
to default.", |
1994 "type": "string" | 2189 "type": "string" |
1995 } | 2190 } |
1996 }, | 2191 }, |
1997 "type": "object" | 2192 "type": "object" |
1998 }, | 2193 }, |
1999 "Application": { | 2194 "Application": { |
2000 "description": "An Application resource contains the top-level confi
guration of an App Engine application.", | 2195 "description": "An Application resource contains the top-level confi
guration of an App Engine application.", |
2001 "id": "Application", | 2196 "id": "Application", |
2002 "properties": { | 2197 "properties": { |
2003 "defaultBucket": { | |
2004 "description": "Google Cloud Storage bucket that can be used
by this application to store content.@OutputOnly", | |
2005 "type": "string" | |
2006 }, | |
2007 "dispatchRules": { | 2198 "dispatchRules": { |
2008 "description": "HTTP path dispatch rules for requests to the
application that do not explicitly target a module or version. Rules are order-
dependent.@OutputOnly", | 2199 "description": "HTTP path dispatch rules for requests to the
application that do not explicitly target a module or version. Rules are order-
dependent.@OutputOnly", |
2009 "items": { | 2200 "items": { |
2010 "$ref": "UrlDispatchRule" | 2201 "$ref": "UrlDispatchRule" |
2011 }, | 2202 }, |
2012 "type": "array" | 2203 "type": "array" |
2013 }, | 2204 }, |
2014 "defaultHostname": { | 2205 "defaultHostname": { |
2015 "description": "Hostname used to reach the application, as r
esolved by App Engine.@OutputOnly", | 2206 "description": "Hostname used to reach the application, as r
esolved by App Engine.@OutputOnly", |
2016 "type": "string" | 2207 "type": "string" |
2017 }, | 2208 }, |
2018 "name": { | 2209 "name": { |
2019 "description": "Full path to the Application resource in the
API. Example: apps/myapp.@OutputOnly", | 2210 "description": "Full path to the Application resource in the
API. Example: apps/myapp.@OutputOnly", |
2020 "type": "string" | 2211 "type": "string" |
2021 }, | 2212 }, |
| 2213 "authDomain": { |
| 2214 "description": "Google Apps authentication domain that contr
ols which users can access this application.Defaults to open access for any Goog
le Account.", |
| 2215 "type": "string" |
| 2216 }, |
2022 "iap": { | 2217 "iap": { |
2023 "$ref": "IdentityAwareProxy" | 2218 "$ref": "IdentityAwareProxy" |
2024 }, | 2219 }, |
2025 "authDomain": { | |
2026 "description": "Google Apps authentication domain that contr
ols which users can access this application.Defaults to open access for any Goog
le Account.", | |
2027 "type": "string" | |
2028 }, | |
2029 "defaultCookieExpiration": { | 2220 "defaultCookieExpiration": { |
2030 "description": "Cookie expiration policy for this applicatio
n.", | 2221 "description": "Cookie expiration policy for this applicatio
n.", |
2031 "format": "google-duration", | 2222 "format": "google-duration", |
2032 "type": "string" | 2223 "type": "string" |
2033 }, | 2224 }, |
2034 "id": { | 2225 "id": { |
2035 "description": "Identifier of the Application resource. This
identifier is equivalent to the project ID of the Google Cloud Platform project
where you want to deploy your application. Example: myapp.", | 2226 "description": "Identifier of the Application resource. This
identifier is equivalent to the project ID of the Google Cloud Platform project
where you want to deploy your application. Example: myapp.", |
2036 "type": "string" | 2227 "type": "string" |
2037 }, | 2228 }, |
2038 "codeBucket": { | 2229 "codeBucket": { |
2039 "description": "Google Cloud Storage bucket that can be used
for storing files associated with this application. This bucket is associated w
ith the application and can be used by the gcloud deployment commands.@OutputOnl
y", | 2230 "description": "Google Cloud Storage bucket that can be used
for storing files associated with this application. This bucket is associated w
ith the application and can be used by the gcloud deployment commands.@OutputOnl
y", |
2040 "type": "string" | 2231 "type": "string" |
2041 }, | 2232 }, |
2042 "location": { | 2233 "location": { |
2043 "description": "Location from which this application will be
run. Application instances will run out of data centers in the chosen location,
which is also where all of the application's end user content is stored.Default
s to us-central.Options are:us-central - Central USeurope-west - Western Europeu
s-east1 - Eastern US", | 2234 "description": "Location from which this application will be
run. Application instances will run out of data centers in the chosen location,
which is also where all of the application's end user content is stored.Default
s to us-central.Options are:us-central - Central USeurope-west - Western Europeu
s-east1 - Eastern US", |
2044 "type": "string" | 2235 "type": "string" |
| 2236 }, |
| 2237 "defaultBucket": { |
| 2238 "description": "Google Cloud Storage bucket that can be used
by this application to store content.@OutputOnly", |
| 2239 "type": "string" |
| 2240 } |
| 2241 }, |
| 2242 "type": "object" |
| 2243 }, |
| 2244 "UrlDispatchRule": { |
| 2245 "description": "Rules to match an HTTP request and dispatch that req
uest to a module.", |
| 2246 "id": "UrlDispatchRule", |
| 2247 "properties": { |
| 2248 "module": { |
| 2249 "description": "Resource ID of a module in this application
that should serve the matched request. The module must already exist. Example: d
efault.", |
| 2250 "type": "string" |
| 2251 }, |
| 2252 "domain": { |
| 2253 "description": "Domain name to match against. The wildcard \
"*\" is supported if specified before a period: \"*.\".Defaults to matching all
domains: \"*\".", |
| 2254 "type": "string" |
| 2255 }, |
| 2256 "path": { |
| 2257 "description": "Pathname within the host. Must start with a
\"/\". A single \"*\" can be included at the end of the path. The sum of the len
gths of the domain and path may not exceed 100 characters.", |
| 2258 "type": "string" |
2045 } | 2259 } |
2046 }, | 2260 }, |
2047 "type": "object" | 2261 "type": "object" |
2048 }, | 2262 }, |
2049 "Instance": { | 2263 "Instance": { |
2050 "description": "An Instance resource is the computing unit that App
Engine uses to automatically scale an application.", | 2264 "description": "An Instance resource is the computing unit that App
Engine uses to automatically scale an application.", |
2051 "id": "Instance", | 2265 "id": "Instance", |
2052 "properties": { | 2266 "properties": { |
2053 "requests": { | |
2054 "description": "Number of requests since this instance was s
tarted.@OutputOnly", | |
2055 "format": "int32", | |
2056 "type": "integer" | |
2057 }, | |
2058 "appEngineRelease": { | |
2059 "description": "App Engine release this instance is running
on.@OutputOnly", | |
2060 "type": "string" | |
2061 }, | |
2062 "startTimestamp": { | |
2063 "description": "Time that this instance was started.@OutputO
nly", | |
2064 "format": "google-datetime", | |
2065 "type": "string" | |
2066 }, | |
2067 "vmName": { | 2267 "vmName": { |
2068 "description": "Name of the virtual machine where this insta
nce lives. Only applicable for instances in App Engine flexible environment.@Out
putOnly", | 2268 "description": "Name of the virtual machine where this insta
nce lives. Only applicable for instances in App Engine flexible environment.@Out
putOnly", |
2069 "type": "string" | 2269 "type": "string" |
2070 }, | 2270 }, |
2071 "vmId": { | 2271 "vmId": { |
2072 "description": "Virtual machine ID of this instance. Only ap
plicable for instances in App Engine flexible environment.@OutputOnly", | 2272 "description": "Virtual machine ID of this instance. Only ap
plicable for instances in App Engine flexible environment.@OutputOnly", |
2073 "type": "string" | 2273 "type": "string" |
2074 }, | 2274 }, |
2075 "qps": { | 2275 "qps": { |
2076 "description": "Average queries per second (QPS) over the la
st minute.@OutputOnly", | 2276 "description": "Average queries per second (QPS) over the la
st minute.@OutputOnly", |
(...skipping 27 matching lines...) Expand all Loading... |
2104 "type": "string" | 2304 "type": "string" |
2105 }, | 2305 }, |
2106 "id": { | 2306 "id": { |
2107 "description": "Relative name of the instance within the ver
sion. Example: instance-1.@OutputOnly", | 2307 "description": "Relative name of the instance within the ver
sion. Example: instance-1.@OutputOnly", |
2108 "type": "string" | 2308 "type": "string" |
2109 }, | 2309 }, |
2110 "vmStatus": { | 2310 "vmStatus": { |
2111 "description": "Status of the virtual machine where this ins
tance lives. Only applicable for instances in App Engine flexible environment.@O
utputOnly", | 2311 "description": "Status of the virtual machine where this ins
tance lives. Only applicable for instances in App Engine flexible environment.@O
utputOnly", |
2112 "type": "string" | 2312 "type": "string" |
2113 }, | 2313 }, |
2114 "errors": { | |
2115 "description": "Number of errors since this instance was sta
rted.@OutputOnly", | |
2116 "format": "uint32", | |
2117 "type": "integer" | |
2118 }, | |
2119 "availability": { | 2314 "availability": { |
2120 "description": "Availability of the instance.@OutputOnly", | 2315 "description": "Availability of the instance.@OutputOnly", |
2121 "enum": [ | 2316 "enum": [ |
2122 "UNSPECIFIED", | 2317 "UNSPECIFIED", |
2123 "RESIDENT", | 2318 "RESIDENT", |
2124 "DYNAMIC" | 2319 "DYNAMIC" |
2125 ], | 2320 ], |
2126 "enumDescriptions": [ | 2321 "enumDescriptions": [ |
2127 "", | 2322 "", |
2128 "", | 2323 "", |
2129 "" | 2324 "" |
2130 ], | 2325 ], |
2131 "type": "string" | 2326 "type": "string" |
2132 } | 2327 }, |
2133 }, | 2328 "errors": { |
2134 "type": "object" | 2329 "description": "Number of errors since this instance was sta
rted.@OutputOnly", |
2135 }, | 2330 "format": "uint32", |
2136 "UrlDispatchRule": { | 2331 "type": "integer" |
2137 "description": "Rules to match an HTTP request and dispatch that req
uest to a module.", | 2332 }, |
2138 "id": "UrlDispatchRule", | 2333 "requests": { |
2139 "properties": { | 2334 "description": "Number of requests since this instance was s
tarted.@OutputOnly", |
2140 "module": { | 2335 "format": "int32", |
2141 "description": "Resource ID of a module in this application
that should serve the matched request. The module must already exist. Example: d
efault.", | 2336 "type": "integer" |
| 2337 }, |
| 2338 "appEngineRelease": { |
| 2339 "description": "App Engine release this instance is running
on.@OutputOnly", |
2142 "type": "string" | 2340 "type": "string" |
2143 }, | 2341 }, |
2144 "domain": { | 2342 "startTimestamp": { |
2145 "description": "Domain name to match against. The wildcard \
"*\" is supported if specified before a period: \"*.\".Defaults to matching all
domains: \"*\".", | 2343 "description": "Time that this instance was started.@OutputO
nly", |
2146 "type": "string" | 2344 "format": "google-datetime", |
2147 }, | |
2148 "path": { | |
2149 "description": "Pathname within the host. Must start with a
\"/\". A single \"*\" can be included at the end of the path. The sum of the len
gths of the domain and path may not exceed 100 characters.", | |
2150 "type": "string" | 2345 "type": "string" |
2151 } | 2346 } |
2152 }, | 2347 }, |
2153 "type": "object" | 2348 "type": "object" |
2154 }, | 2349 }, |
2155 "Module": { | 2350 "Module": { |
2156 "description": "A Module resource is a logical component of an appli
cation that can share state and communicate in a secure fashion with other modul
es. For example, an application that handles customer requests might include sep
arate modules to handle tasks such as backend data analysis or API requests from
mobile devices. Each module has a collection of versions that define a specific
set of code used to implement the functionality of that module.", | 2351 "description": "A Module resource is a logical component of an appli
cation that can share state and communicate in a secure fashion with other modul
es. For example, an application that handles customer requests might include sep
arate modules to handle tasks such as backend data analysis or API requests from
mobile devices. Each module has a collection of versions that define a specific
set of code used to implement the functionality of that module.", |
2157 "id": "Module", | 2352 "id": "Module", |
2158 "properties": { | 2353 "properties": { |
| 2354 "id": { |
| 2355 "description": "Relative name of the module within the appli
cation. Example: default.@OutputOnly", |
| 2356 "type": "string" |
| 2357 }, |
2159 "name": { | 2358 "name": { |
2160 "description": "Full path to the Module resource in the API.
Example: apps/myapp/modules/default.@OutputOnly", | 2359 "description": "Full path to the Module resource in the API.
Example: apps/myapp/modules/default.@OutputOnly", |
2161 "type": "string" | 2360 "type": "string" |
2162 }, | 2361 }, |
2163 "split": { | 2362 "split": { |
2164 "$ref": "TrafficSplit", | 2363 "$ref": "TrafficSplit", |
2165 "description": "Mapping that defines fractional HTTP traffic
diversion to different versions within the module." | 2364 "description": "Mapping that defines fractional HTTP traffic
diversion to different versions within the module." |
2166 }, | |
2167 "id": { | |
2168 "description": "Relative name of the module within the appli
cation. Example: default.@OutputOnly", | |
2169 "type": "string" | |
2170 } | 2365 } |
2171 }, | 2366 }, |
2172 "type": "object" | 2367 "type": "object" |
2173 }, | 2368 }, |
2174 "ListVersionsResponse": { | 2369 "ListVersionsResponse": { |
2175 "description": "Response message for Versions.ListVersions.", | 2370 "description": "Response message for Versions.ListVersions.", |
2176 "id": "ListVersionsResponse", | 2371 "id": "ListVersionsResponse", |
2177 "properties": { | 2372 "properties": { |
2178 "nextPageToken": { | |
2179 "description": "Continuation token for fetching the next pag
e of results.", | |
2180 "type": "string" | |
2181 }, | |
2182 "versions": { | 2373 "versions": { |
2183 "description": "The versions belonging to the requested modu
le.", | 2374 "description": "The versions belonging to the requested modu
le.", |
2184 "items": { | 2375 "items": { |
2185 "$ref": "Version" | 2376 "$ref": "Version" |
2186 }, | 2377 }, |
2187 "type": "array" | 2378 "type": "array" |
| 2379 }, |
| 2380 "nextPageToken": { |
| 2381 "description": "Continuation token for fetching the next pag
e of results.", |
| 2382 "type": "string" |
2188 } | 2383 } |
2189 }, | 2384 }, |
2190 "type": "object" | 2385 "type": "object" |
2191 }, | 2386 }, |
2192 "ApiEndpointHandler": { | 2387 "ApiEndpointHandler": { |
2193 "description": "Uses Google Cloud Endpoints to handle requests.", | 2388 "description": "Uses Google Cloud Endpoints to handle requests.", |
2194 "id": "ApiEndpointHandler", | 2389 "id": "ApiEndpointHandler", |
2195 "properties": { | 2390 "properties": { |
2196 "scriptPath": { | 2391 "scriptPath": { |
2197 "description": "Path to the script from the application root
directory.", | 2392 "description": "Path to the script from the application root
directory.", |
2198 "type": "string" | 2393 "type": "string" |
2199 } | 2394 } |
2200 }, | 2395 }, |
2201 "type": "object" | 2396 "type": "object" |
2202 }, | |
2203 "StaticDirectoryHandler": { | |
2204 "description": "Files served directly to the user for a given URL, s
uch as images, CSS stylesheets, or JavaScript source files. Static directory han
dlers make it easy to serve the entire contents of a directory as static files."
, | |
2205 "id": "StaticDirectoryHandler", | |
2206 "properties": { | |
2207 "expiration": { | |
2208 "description": "Time a static file served by this handler sh
ould be cached.", | |
2209 "format": "google-duration", | |
2210 "type": "string" | |
2211 }, | |
2212 "applicationReadable": { | |
2213 "description": "Whether files should also be uploaded as cod
e data. By default, files declared in static directory handlers are uploaded as
static data and are only served to end users; they cannot be read by the applica
tion. If enabled, uploads are charged against both your code and static data sto
rage resource quotas.", | |
2214 "type": "boolean" | |
2215 }, | |
2216 "httpHeaders": { | |
2217 "additionalProperties": { | |
2218 "type": "string" | |
2219 }, | |
2220 "description": "HTTP headers to use for all responses from t
hese URLs.", | |
2221 "type": "object" | |
2222 }, | |
2223 "directory": { | |
2224 "description": "Path to the directory containing the static
files from the application root directory. Everything after the end of the match
ed URL pattern is appended to static_dir to form the full path to the requested
file.", | |
2225 "type": "string" | |
2226 }, | |
2227 "mimeType": { | |
2228 "description": "MIME type used to serve all files served by
this handler. Defaults to file-specific MIME types, which are direved from each
file's filename extension.", | |
2229 "type": "string" | |
2230 }, | |
2231 "requireMatchingFile": { | |
2232 "description": "Whether this handler should match the reques
t if the file referenced by the handler does not exist.", | |
2233 "type": "boolean" | |
2234 } | |
2235 }, | |
2236 "type": "object" | |
2237 }, | |
2238 "AutomaticScaling": { | |
2239 "description": "Automatic scaling is based on request rate, response
latencies, and other application metrics.", | |
2240 "id": "AutomaticScaling", | |
2241 "properties": { | |
2242 "minTotalInstances": { | |
2243 "description": "Minimum number of instances that should be m
aintained for this version.", | |
2244 "format": "int32", | |
2245 "type": "integer" | |
2246 }, | |
2247 "networkUtilization": { | |
2248 "$ref": "NetworkUtilization", | |
2249 "description": "Target scaling by network usage." | |
2250 }, | |
2251 "maxConcurrentRequests": { | |
2252 "description": "Number of concurrent requests an automatic s
caling instance can accept before the scheduler spawns a new instance.Defaults t
o a runtime-specific value.", | |
2253 "format": "int32", | |
2254 "type": "integer" | |
2255 }, | |
2256 "coolDownPeriod": { | |
2257 "description": "Amount of time that the Autoscaler (https://
cloud.google.com/compute/docs/autoscaler/) should wait between changes to the nu
mber of virtual machines. Only applicable for VM runtimes.", | |
2258 "format": "google-duration", | |
2259 "type": "string" | |
2260 }, | |
2261 "maxPendingLatency": { | |
2262 "description": "Maximum amount of time that a request should
wait in the pending queue before starting a new instance to handle it.", | |
2263 "format": "google-duration", | |
2264 "type": "string" | |
2265 }, | |
2266 "cpuUtilization": { | |
2267 "$ref": "CpuUtilization", | |
2268 "description": "Target scaling by CPU usage." | |
2269 }, | |
2270 "diskUtilization": { | |
2271 "$ref": "DiskUtilization", | |
2272 "description": "Target scaling by disk usage." | |
2273 }, | |
2274 "minPendingLatency": { | |
2275 "description": "Minimum amount of time a request should wait
in the pending queue before starting a new instance to handle it.", | |
2276 "format": "google-duration", | |
2277 "type": "string" | |
2278 }, | |
2279 "maxIdleInstances": { | |
2280 "description": "Maximum number of idle instances that should
be maintained for this version.", | |
2281 "format": "int32", | |
2282 "type": "integer" | |
2283 }, | |
2284 "requestUtilization": { | |
2285 "$ref": "RequestUtilization", | |
2286 "description": "Target scaling by request utilization." | |
2287 }, | |
2288 "minIdleInstances": { | |
2289 "description": "Minimum number of idle instances that should
be maintained for this version. Only applicable for the default version of a mo
dule.", | |
2290 "format": "int32", | |
2291 "type": "integer" | |
2292 }, | |
2293 "maxTotalInstances": { | |
2294 "description": "Maximum number of instances that should be s
tarted to handle requests.", | |
2295 "format": "int32", | |
2296 "type": "integer" | |
2297 } | |
2298 }, | |
2299 "type": "object" | |
2300 }, | |
2301 "NetworkUtilization": { | |
2302 "description": "Target scaling by network usage. Only applicable for
VM runtimes.", | |
2303 "id": "NetworkUtilization", | |
2304 "properties": { | |
2305 "targetReceivedPacketsPerSec": { | |
2306 "description": "Target packets received per second.", | |
2307 "format": "int32", | |
2308 "type": "integer" | |
2309 }, | |
2310 "targetSentBytesPerSec": { | |
2311 "description": "Target bytes sent per second.", | |
2312 "format": "int32", | |
2313 "type": "integer" | |
2314 }, | |
2315 "targetReceivedBytesPerSec": { | |
2316 "description": "Target bytes received per second.", | |
2317 "format": "int32", | |
2318 "type": "integer" | |
2319 }, | |
2320 "targetSentPacketsPerSec": { | |
2321 "description": "Target packets sent per second.", | |
2322 "format": "int32", | |
2323 "type": "integer" | |
2324 } | |
2325 }, | |
2326 "type": "object" | |
2327 }, | |
2328 "Location": { | |
2329 "description": "A resource that represents Google Cloud Platform loc
ation.", | |
2330 "id": "Location", | |
2331 "properties": { | |
2332 "labels": { | |
2333 "additionalProperties": { | |
2334 "type": "string" | |
2335 }, | |
2336 "description": "Cross-service attributes for the location. F
or example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n", | |
2337 "type": "object" | |
2338 }, | |
2339 "name": { | |
2340 "description": "Resource name for the location, which may va
ry between implementations. For example: \"projects/example-project/locations/us
-east1\"", | |
2341 "type": "string" | |
2342 }, | |
2343 "locationId": { | |
2344 "description": "The canonical id for this location. For exam
ple: \"us-east1\".", | |
2345 "type": "string" | |
2346 }, | |
2347 "metadata": { | |
2348 "additionalProperties": { | |
2349 "description": "Properties of the object. Contains field
@type with type URL.", | |
2350 "type": "any" | |
2351 }, | |
2352 "description": "Service-specific metadata. For example the a
vailable capacity at the given location.", | |
2353 "type": "object" | |
2354 } | |
2355 }, | |
2356 "type": "object" | |
2357 }, | |
2358 "HealthCheck": { | |
2359 "description": "Health checking configuration for VM instances. Unhe
althy instances are killed and replaced with new instances. Only applicable for
instances in App Engine flexible environment.", | |
2360 "id": "HealthCheck", | |
2361 "properties": { | |
2362 "unhealthyThreshold": { | |
2363 "description": "Number of consecutive failed health checks r
equired before removing traffic.", | |
2364 "format": "uint32", | |
2365 "type": "integer" | |
2366 }, | |
2367 "disableHealthCheck": { | |
2368 "description": "Whether to explicitly disable health checks
for this instance.", | |
2369 "type": "boolean" | |
2370 }, | |
2371 "host": { | |
2372 "description": "Host header to send when performing an HTTP
health check. Example: \"myapp.appspot.com\"", | |
2373 "type": "string" | |
2374 }, | |
2375 "restartThreshold": { | |
2376 "description": "Number of consecutive failed health checks r
equired before an instance is restarted.", | |
2377 "format": "uint32", | |
2378 "type": "integer" | |
2379 }, | |
2380 "healthyThreshold": { | |
2381 "description": "Number of consecutive successful health chec
ks required before receiving traffic.", | |
2382 "format": "uint32", | |
2383 "type": "integer" | |
2384 }, | |
2385 "checkInterval": { | |
2386 "description": "Interval between health checks.", | |
2387 "format": "google-duration", | |
2388 "type": "string" | |
2389 }, | |
2390 "timeout": { | |
2391 "description": "Time before the health check is considered f
ailed.", | |
2392 "format": "google-duration", | |
2393 "type": "string" | |
2394 } | |
2395 }, | |
2396 "type": "object" | |
2397 } | 2397 } |
2398 }, | 2398 }, |
2399 "servicePath": "", | 2399 "servicePath": "", |
2400 "title": "Google App Engine Admin API", | 2400 "title": "Google App Engine Admin API", |
2401 "version": "v1beta4" | 2401 "version": "v1beta4" |
2402 } | 2402 } |
OLD | NEW |