OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/appengine.admin": { | 8 "https://www.googleapis.com/auth/appengine.admin": { |
9 "description": "View and manage your applications deployed o
n Google App Engine" | 9 "description": "View and manage your applications deployed o
n Google App Engine" |
10 }, | 10 }, |
(...skipping 12 matching lines...) Expand all Loading... |
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 "uploadType": { | |
45 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | |
46 "location": "query", | |
47 "type": "string" | |
48 }, | |
49 "fields": { | |
50 "description": "Selector specifying which fields to include in a par
tial response.", | |
51 "location": "query", | |
52 "type": "string" | |
53 }, | |
54 "callback": { | |
55 "description": "JSONP", | |
56 "location": "query", | |
57 "type": "string" | |
58 }, | |
59 "$.xgafv": { | 33 "$.xgafv": { |
60 "description": "V1 error format.", | 34 "description": "V1 error format.", |
61 "enum": [ | 35 "enum": [ |
62 "1", | 36 "1", |
63 "2" | 37 "2" |
64 ], | 38 ], |
65 "enumDescriptions": [ | 39 "enumDescriptions": [ |
66 "v1 error format", | 40 "v1 error format", |
67 "v2 error format" | 41 "v2 error format" |
68 ], | 42 ], |
69 "location": "query", | 43 "location": "query", |
70 "type": "string" | 44 "type": "string" |
71 }, | 45 }, |
| 46 "callback": { |
| 47 "description": "JSONP", |
| 48 "location": "query", |
| 49 "type": "string" |
| 50 }, |
72 "alt": { | 51 "alt": { |
73 "default": "json", | 52 "default": "json", |
74 "description": "Data format for response.", | 53 "description": "Data format for response.", |
75 "enum": [ | 54 "enum": [ |
76 "json", | 55 "json", |
77 "media", | 56 "media", |
78 "proto" | 57 "proto" |
79 ], | 58 ], |
80 "enumDescriptions": [ | 59 "enumDescriptions": [ |
81 "Responses with Content-Type of application/json", | 60 "Responses with Content-Type of application/json", |
(...skipping 17 matching lines...) Expand all Loading... |
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.", | 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.", |
100 "location": "query", | 79 "location": "query", |
101 "type": "string" | 80 "type": "string" |
102 }, | 81 }, |
103 "pp": { | 82 "pp": { |
104 "default": "true", | 83 "default": "true", |
105 "description": "Pretty-print response.", | 84 "description": "Pretty-print response.", |
106 "location": "query", | 85 "location": "query", |
107 "type": "boolean" | 86 "type": "boolean" |
108 }, | 87 }, |
| 88 "bearer_token": { |
| 89 "description": "OAuth bearer token.", |
| 90 "location": "query", |
| 91 "type": "string" |
| 92 }, |
109 "oauth_token": { | 93 "oauth_token": { |
110 "description": "OAuth 2.0 token for the current user.", | 94 "description": "OAuth 2.0 token for the current user.", |
111 "location": "query", | 95 "location": "query", |
112 "type": "string" | 96 "type": "string" |
113 }, | 97 }, |
114 "bearer_token": { | 98 "upload_protocol": { |
115 "description": "OAuth bearer token.", | 99 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 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 "mask": { |
| 133 "description": "Standard field mask for the set of f
ields to be updated.", |
| 134 "format": "google-fieldmask", |
| 135 "location": "query", |
| 136 "type": "string" |
| 137 }, |
132 "appsId": { | 138 "appsId": { |
133 "description": "Part of `name`. Name of the Applicat
ion resource to update. Example: apps/myapp.", | 139 "description": "Part of `name`. Name of the Applicat
ion resource to update. Example: apps/myapp.", |
134 "location": "path", | 140 "location": "path", |
135 "required": true, | 141 "required": true, |
136 "type": "string" | 142 "type": "string" |
137 }, | |
138 "mask": { | |
139 "description": "Standard field mask for the set of f
ields to be updated.", | |
140 "format": "google-fieldmask", | |
141 "location": "query", | |
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 "modules": { | 203 "operations": { |
204 "methods": { | 204 "methods": { |
205 "patch": { | 205 "get": { |
206 "description": "Updates the configuration of the spe
cified module.", | 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": "PATCH", | 207 "httpMethod": "GET", |
208 "id": "appengine.apps.modules.patch", | 208 "id": "appengine.apps.operations.get", |
209 "parameterOrder": [ | 209 "parameterOrder": [ |
210 "appsId", | 210 "appsId", |
211 "modulesId" | 211 "operationsId" |
212 ], | 212 ], |
213 "parameters": { | 213 "parameters": { |
214 "appsId": { | 214 "appsId": { |
215 "description": "Part of `name`. Name of the
resource to update. Example: apps/myapp/modules/default.", | 215 "description": "Part of `name`. The name of
the operation resource.", |
216 "location": "path", | 216 "location": "path", |
217 "required": true, | 217 "required": true, |
218 "type": "string" | 218 "type": "string" |
219 }, | 219 }, |
220 "migrateTraffic": { | 220 "operationsId": { |
221 "description": "Set to true to gradually shi
ft traffic to one or more versions that you specify. By default, traffic is shif
ted immediately. For gradual traffic migration, the target versions must be loca
ted within instances that are configured for both warmup requests (https://cloud
.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.version
s#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/
docs/admin-api/reference/rest/v1beta4/apps.modules.versions#automaticscaling). Y
ou must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/r
eference/rest/v1beta4/apps.modules#shardby) field in the Module resource. Gradua
l traffic migration is not supported in the App Engine flexible environment. For
examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengi
ne/docs/admin-api/migrating-splitting-traffic).", | |
222 "location": "query", | |
223 "type": "boolean" | |
224 }, | |
225 "mask": { | |
226 "description": "Standard field mask for the
set of fields to be updated.", | |
227 "format": "google-fieldmask", | |
228 "location": "query", | |
229 "type": "string" | |
230 }, | |
231 "modulesId": { | |
232 "description": "Part of `name`. See document
ation of `appsId`.", | 221 "description": "Part of `name`. See document
ation of `appsId`.", |
233 "location": "path", | 222 "location": "path", |
234 "required": true, | 223 "required": true, |
235 "type": "string" | 224 "type": "string" |
236 } | 225 } |
237 }, | 226 }, |
238 "path": "v1beta4/apps/{appsId}/modules/{modulesId}", | 227 "path": "v1beta4/apps/{appsId}/operations/{operation
sId}", |
239 "request": { | |
240 "$ref": "Module" | |
241 }, | |
242 "response": { | 228 "response": { |
243 "$ref": "Operation" | 229 "$ref": "Operation" |
244 }, | 230 }, |
245 "scopes": [ | 231 "scopes": [ |
246 "https://www.googleapis.com/auth/cloud-platform" | |
247 ] | |
248 }, | |
249 "list": { | |
250 "description": "Lists all the modules in the applica
tion.", | |
251 "httpMethod": "GET", | |
252 "id": "appengine.apps.modules.list", | |
253 "parameterOrder": [ | |
254 "appsId" | |
255 ], | |
256 "parameters": { | |
257 "pageToken": { | |
258 "description": "Continuation token for fetch
ing the next page of results.", | |
259 "location": "query", | |
260 "type": "string" | |
261 }, | |
262 "appsId": { | |
263 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp.", | |
264 "location": "path", | |
265 "required": true, | |
266 "type": "string" | |
267 }, | |
268 "pageSize": { | |
269 "description": "Maximum results to return pe
r page.", | |
270 "format": "int32", | |
271 "location": "query", | |
272 "type": "integer" | |
273 } | |
274 }, | |
275 "path": "v1beta4/apps/{appsId}/modules", | |
276 "response": { | |
277 "$ref": "ListModulesResponse" | |
278 }, | |
279 "scopes": [ | |
280 "https://www.googleapis.com/auth/appengine.admin
", | 232 "https://www.googleapis.com/auth/appengine.admin
", |
281 "https://www.googleapis.com/auth/cloud-platform"
, | 233 "https://www.googleapis.com/auth/cloud-platform"
, |
282 "https://www.googleapis.com/auth/cloud-platform.
read-only" | 234 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
283 ] | 235 ] |
284 }, | 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": { |
285 "get": { | 282 "get": { |
286 "description": "Gets the current configuration of th
e specified module.", | 283 "description": "Get information about a location.", |
287 "httpMethod": "GET", | 284 "httpMethod": "GET", |
288 "id": "appengine.apps.modules.get", | 285 "id": "appengine.apps.locations.get", |
289 "parameterOrder": [ | 286 "parameterOrder": [ |
290 "appsId", | 287 "appsId", |
291 "modulesId" | 288 "locationsId" |
292 ], | 289 ], |
293 "parameters": { | 290 "parameters": { |
294 "appsId": { | 291 "appsId": { |
295 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/modules/default.", | 292 "description": "Part of `name`. Resource nam
e for the location.", |
296 "location": "path", | 293 "location": "path", |
297 "required": true, | 294 "required": true, |
298 "type": "string" | 295 "type": "string" |
299 }, | 296 }, |
300 "modulesId": { | 297 "locationsId": { |
301 "description": "Part of `name`. See document
ation of `appsId`.", | 298 "description": "Part of `name`. See document
ation of `appsId`.", |
302 "location": "path", | 299 "location": "path", |
303 "required": true, | 300 "required": true, |
304 "type": "string" | 301 "type": "string" |
305 } | 302 } |
306 }, | 303 }, |
307 "path": "v1beta4/apps/{appsId}/modules/{modulesId}", | 304 "path": "v1beta4/apps/{appsId}/locations/{locationsI
d}", |
308 "response": { | 305 "response": { |
309 "$ref": "Module" | 306 "$ref": "Location" |
310 }, | 307 }, |
311 "scopes": [ | 308 "scopes": [ |
312 "https://www.googleapis.com/auth/appengine.admin
", | 309 "https://www.googleapis.com/auth/appengine.admin
", |
313 "https://www.googleapis.com/auth/cloud-platform"
, | 310 "https://www.googleapis.com/auth/cloud-platform"
, |
314 "https://www.googleapis.com/auth/cloud-platform.
read-only" | 311 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
315 ] | 312 ] |
316 }, | 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": { |
| 358 "methods": { |
317 "delete": { | 359 "delete": { |
318 "description": "Deletes the specified module and all
enclosed versions.", | 360 "description": "Deletes the specified module and all
enclosed versions.", |
319 "httpMethod": "DELETE", | 361 "httpMethod": "DELETE", |
320 "id": "appengine.apps.modules.delete", | 362 "id": "appengine.apps.modules.delete", |
321 "parameterOrder": [ | 363 "parameterOrder": [ |
322 "appsId", | 364 "appsId", |
323 "modulesId" | 365 "modulesId" |
324 ], | 366 ], |
325 "parameters": { | 367 "parameters": { |
326 "modulesId": { | 368 "modulesId": { |
327 "description": "Part of `name`. See document
ation of `appsId`.", | 369 "description": "Part of `name`. See document
ation of `appsId`.", |
328 "location": "path", | 370 "location": "path", |
329 "required": true, | 371 "required": true, |
330 "type": "string" | 372 "type": "string" |
331 }, | 373 }, |
332 "appsId": { | 374 "appsId": { |
333 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/modules/default.", | 375 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/modules/default.", |
334 "location": "path", | 376 "location": "path", |
335 "required": true, | 377 "required": true, |
336 "type": "string" | 378 "type": "string" |
337 } | 379 } |
338 }, | 380 }, |
339 "path": "v1beta4/apps/{appsId}/modules/{modulesId}", | 381 "path": "v1beta4/apps/{appsId}/modules/{modulesId}", |
340 "response": { | 382 "response": { |
341 "$ref": "Operation" | 383 "$ref": "Operation" |
342 }, | 384 }, |
343 "scopes": [ | 385 "scopes": [ |
344 "https://www.googleapis.com/auth/cloud-platform" | 386 "https://www.googleapis.com/auth/cloud-platform" |
345 ] | 387 ] |
| 388 }, |
| 389 "patch": { |
| 390 "description": "Updates the configuration of the spe
cified module.", |
| 391 "httpMethod": "PATCH", |
| 392 "id": "appengine.apps.modules.patch", |
| 393 "parameterOrder": [ |
| 394 "appsId", |
| 395 "modulesId" |
| 396 ], |
| 397 "parameters": { |
| 398 "appsId": { |
| 399 "description": "Part of `name`. Name of the
resource to update. Example: apps/myapp/modules/default.", |
| 400 "location": "path", |
| 401 "required": true, |
| 402 "type": "string" |
| 403 }, |
| 404 "migrateTraffic": { |
| 405 "description": "Set to true to gradually shi
ft traffic to one or more versions that you specify. By default, traffic is shif
ted immediately. For gradual traffic migration, the target versions must be loca
ted within instances that are configured for both warmup requests (https://cloud
.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.version
s#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/
docs/admin-api/reference/rest/v1beta4/apps.modules.versions#automaticscaling). Y
ou must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/r
eference/rest/v1beta4/apps.modules#shardby) field in the Module resource. Gradua
l traffic migration is not supported in the App Engine flexible environment. For
examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengi
ne/docs/admin-api/migrating-splitting-traffic).", |
| 406 "location": "query", |
| 407 "type": "boolean" |
| 408 }, |
| 409 "mask": { |
| 410 "description": "Standard field mask for the
set of fields to be updated.", |
| 411 "format": "google-fieldmask", |
| 412 "location": "query", |
| 413 "type": "string" |
| 414 }, |
| 415 "modulesId": { |
| 416 "description": "Part of `name`. See document
ation of `appsId`.", |
| 417 "location": "path", |
| 418 "required": true, |
| 419 "type": "string" |
| 420 } |
| 421 }, |
| 422 "path": "v1beta4/apps/{appsId}/modules/{modulesId}", |
| 423 "request": { |
| 424 "$ref": "Module" |
| 425 }, |
| 426 "response": { |
| 427 "$ref": "Operation" |
| 428 }, |
| 429 "scopes": [ |
| 430 "https://www.googleapis.com/auth/cloud-platform" |
| 431 ] |
| 432 }, |
| 433 "list": { |
| 434 "description": "Lists all the modules in the applica
tion.", |
| 435 "httpMethod": "GET", |
| 436 "id": "appengine.apps.modules.list", |
| 437 "parameterOrder": [ |
| 438 "appsId" |
| 439 ], |
| 440 "parameters": { |
| 441 "pageSize": { |
| 442 "description": "Maximum results to return pe
r page.", |
| 443 "format": "int32", |
| 444 "location": "query", |
| 445 "type": "integer" |
| 446 }, |
| 447 "pageToken": { |
| 448 "description": "Continuation token for fetch
ing the next page of results.", |
| 449 "location": "query", |
| 450 "type": "string" |
| 451 }, |
| 452 "appsId": { |
| 453 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp.", |
| 454 "location": "path", |
| 455 "required": true, |
| 456 "type": "string" |
| 457 } |
| 458 }, |
| 459 "path": "v1beta4/apps/{appsId}/modules", |
| 460 "response": { |
| 461 "$ref": "ListModulesResponse" |
| 462 }, |
| 463 "scopes": [ |
| 464 "https://www.googleapis.com/auth/appengine.admin
", |
| 465 "https://www.googleapis.com/auth/cloud-platform"
, |
| 466 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 467 ] |
| 468 }, |
| 469 "get": { |
| 470 "description": "Gets the current configuration of th
e specified module.", |
| 471 "httpMethod": "GET", |
| 472 "id": "appengine.apps.modules.get", |
| 473 "parameterOrder": [ |
| 474 "appsId", |
| 475 "modulesId" |
| 476 ], |
| 477 "parameters": { |
| 478 "appsId": { |
| 479 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/modules/default.", |
| 480 "location": "path", |
| 481 "required": true, |
| 482 "type": "string" |
| 483 }, |
| 484 "modulesId": { |
| 485 "description": "Part of `name`. See document
ation of `appsId`.", |
| 486 "location": "path", |
| 487 "required": true, |
| 488 "type": "string" |
| 489 } |
| 490 }, |
| 491 "path": "v1beta4/apps/{appsId}/modules/{modulesId}", |
| 492 "response": { |
| 493 "$ref": "Module" |
| 494 }, |
| 495 "scopes": [ |
| 496 "https://www.googleapis.com/auth/appengine.admin
", |
| 497 "https://www.googleapis.com/auth/cloud-platform"
, |
| 498 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 499 ] |
346 } | 500 } |
347 }, | 501 }, |
348 "resources": { | 502 "resources": { |
349 "versions": { | 503 "versions": { |
350 "methods": { | 504 "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 }, |
351 "patch": { | 575 "patch": { |
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.", | 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.", |
353 "httpMethod": "PATCH", | 577 "httpMethod": "PATCH", |
354 "id": "appengine.apps.modules.versions.patch
", | 578 "id": "appengine.apps.modules.versions.patch
", |
355 "parameterOrder": [ | 579 "parameterOrder": [ |
356 "appsId", | 580 "appsId", |
357 "modulesId", | 581 "modulesId", |
358 "versionsId" | 582 "versionsId" |
359 ], | 583 ], |
360 "parameters": { | 584 "parameters": { |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 }, | 710 }, |
487 "path": "v1beta4/apps/{appsId}/modules/{modu
lesId}/versions/{versionsId}", | 711 "path": "v1beta4/apps/{appsId}/modules/{modu
lesId}/versions/{versionsId}", |
488 "response": { | 712 "response": { |
489 "$ref": "Version" | 713 "$ref": "Version" |
490 }, | 714 }, |
491 "scopes": [ | 715 "scopes": [ |
492 "https://www.googleapis.com/auth/appengi
ne.admin", | 716 "https://www.googleapis.com/auth/appengi
ne.admin", |
493 "https://www.googleapis.com/auth/cloud-p
latform", | 717 "https://www.googleapis.com/auth/cloud-p
latform", |
494 "https://www.googleapis.com/auth/cloud-p
latform.read-only" | 718 "https://www.googleapis.com/auth/cloud-p
latform.read-only" |
495 ] | 719 ] |
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 ] | |
566 } | 720 } |
567 }, | 721 }, |
568 "resources": { | 722 "resources": { |
569 "instances": { | 723 "instances": { |
570 "methods": { | 724 "methods": { |
571 "delete": { | 725 "delete": { |
572 "description": "Stops a running inst
ance.", | 726 "description": "Stops a running inst
ance.", |
573 "httpMethod": "DELETE", | 727 "httpMethod": "DELETE", |
574 "id": "appengine.apps.modules.versio
ns.instances.delete", | 728 "id": "appengine.apps.modules.versio
ns.instances.delete", |
575 "parameterOrder": [ | 729 "parameterOrder": [ |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 }, | 907 }, |
754 "scopes": [ | 908 "scopes": [ |
755 "https://www.googleapis.com/auth
/cloud-platform" | 909 "https://www.googleapis.com/auth
/cloud-platform" |
756 ] | 910 ] |
757 } | 911 } |
758 } | 912 } |
759 } | 913 } |
760 } | 914 } |
761 } | 915 } |
762 } | 916 } |
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 "appsId": { | |
853 "description": "Part of `name`. Resource nam
e for the location.", | |
854 "location": "path", | |
855 "required": true, | |
856 "type": "string" | |
857 }, | |
858 "locationsId": { | |
859 "description": "Part of `name`. See document
ation of `appsId`.", | |
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": "20170626", | 921 "revision": "20170721", |
922 "rootUrl": "https://appengine.googleapis.com/", | 922 "rootUrl": "https://appengine.googleapis.com/", |
923 "schemas": { | 923 "schemas": { |
924 "ListInstancesResponse": { | 924 "SourceReference": { |
925 "description": "Response message for Instances.ListInstances.", | 925 "description": "Reference to a particular snapshot of the source tre
e used to build and deploy the application.", |
926 "id": "ListInstancesResponse", | 926 "id": "SourceReference", |
927 "properties": { | 927 "properties": { |
928 "instances": { | 928 "revisionId": { |
929 "description": "The instances belonging to the requested ver
sion.", | 929 "description": "The canonical, persistent identifier of the
deployed revision. Aliases that include tags or branch names are not allowed. Ex
ample (git): \"2198322f89e0bb2e25021667c2ed489d1fd34e6b\"", |
930 "items": { | 930 "type": "string" |
931 "$ref": "Instance" | 931 }, |
932 }, | 932 "repository": { |
933 "type": "array" | 933 "description": "URI string identifying the repository. Examp
le: \"https://source.developers.google.com/p/app-123/r/default\"", |
934 }, | 934 "type": "string" |
935 "nextPageToken": { | 935 } |
936 "description": "Continuation token for fetching the next pag
e of results.", | 936 }, |
937 "type": "string" | 937 "type": "object" |
938 } | 938 }, |
939 }, | 939 "DebugInstanceRequest": { |
940 "type": "object" | 940 "description": "Request message for Instances.DebugInstance.", |
941 }, | 941 "id": "DebugInstanceRequest", |
942 "OperationMetadataV1": { | 942 "properties": { |
| 943 "sshKey": { |
| 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).", |
| 945 "type": "string" |
| 946 } |
| 947 }, |
| 948 "type": "object" |
| 949 }, |
| 950 "Library": { |
| 951 "description": "Third-party Python runtime library that is required
by the application.", |
| 952 "id": "Library", |
| 953 "properties": { |
| 954 "name": { |
| 955 "description": "Name of the library. Example: \"django\".", |
| 956 "type": "string" |
| 957 }, |
| 958 "version": { |
| 959 "description": "Version of the library to select, or \"lates
t\".", |
| 960 "type": "string" |
| 961 } |
| 962 }, |
| 963 "type": "object" |
| 964 }, |
| 965 "OperationMetadataV1Beta5": { |
943 "description": "Metadata for the given google.longrunning.Operation.
", | 966 "description": "Metadata for the given google.longrunning.Operation.
", |
944 "id": "OperationMetadataV1", | 967 "id": "OperationMetadataV1Beta5", |
945 "properties": { | 968 "properties": { |
| 969 "insertTime": { |
| 970 "description": "Timestamp that this operation was created.@O
utputOnly", |
| 971 "format": "google-datetime", |
| 972 "type": "string" |
| 973 }, |
946 "endTime": { | 974 "endTime": { |
947 "description": "Time that this operation completed.@OutputOn
ly", | 975 "description": "Timestamp that this operation completed.@Out
putOnly", |
948 "format": "google-datetime", | 976 "format": "google-datetime", |
949 "type": "string" | 977 "type": "string" |
950 }, | 978 }, |
951 "insertTime": { | 979 "target": { |
952 "description": "Time that this operation was created.@Output
Only", | 980 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
953 "format": "google-datetime", | 981 "type": "string" |
954 "type": "string" | |
955 }, | |
956 "warning": { | |
957 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", | |
958 "items": { | |
959 "type": "string" | |
960 }, | |
961 "type": "array" | |
962 }, | 982 }, |
963 "user": { | 983 "user": { |
964 "description": "User who requested this operation.@OutputOnl
y", | 984 "description": "User who requested this operation.@OutputOnl
y", |
965 "type": "string" | 985 "type": "string" |
966 }, | 986 }, |
967 "target": { | |
968 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | |
969 "type": "string" | |
970 }, | |
971 "ephemeralMessage": { | |
972 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", | |
973 "type": "string" | |
974 }, | |
975 "method": { | 987 "method": { |
976 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1.Versions.CreateVersion.@OutputOnly", | 988 "description": "API method name that initiated this operatio
n. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly", |
977 "type": "string" | 989 "type": "string" |
978 } | 990 } |
979 }, | 991 }, |
980 "type": "object" | 992 "type": "object" |
981 }, | 993 }, |
982 "ErrorHandler": { | 994 "ListLocationsResponse": { |
983 "description": "Custom static error page to be served when an error
occurs.", | 995 "description": "The response message for Locations.ListLocations.", |
984 "id": "ErrorHandler", | 996 "id": "ListLocationsResponse", |
985 "properties": { | 997 "properties": { |
986 "mimeType": { | 998 "nextPageToken": { |
987 "description": "MIME type of file. Defaults to text/html.", | 999 "description": "The standard List next-page token.", |
988 "type": "string" | 1000 "type": "string" |
989 }, | 1001 }, |
990 "errorCode": { | 1002 "locations": { |
991 "description": "Error condition this handler applies to.", | 1003 "description": "A list of locations that matches the specifi
ed filter in the request.", |
992 "enum": [ | 1004 "items": { |
993 "ERROR_CODE_UNSPECIFIED", | 1005 "$ref": "Location" |
994 "ERROR_CODE_DEFAULT", | 1006 }, |
995 "ERROR_CODE_OVER_QUOTA", | 1007 "type": "array" |
996 "ERROR_CODE_DOS_API_DENIAL", | 1008 } |
997 "ERROR_CODE_TIMEOUT" | 1009 }, |
998 ], | 1010 "type": "object" |
999 "enumDescriptions": [ | 1011 }, |
1000 "Not specified. ERROR_CODE_DEFAULT is assumed.", | 1012 "Version": { |
1001 "All other error types.", | 1013 "description": "A Version resource is a specific set of source code
and configuration files that are deployed into a module.", |
1002 "Application has exceeded a resource quota.", | 1014 "id": "Version", |
1003 "Client blocked by the application's Denial of Service p
rotection configuration.", | 1015 "properties": { |
1004 "Deadline reached before the application responds." | 1016 "network": { |
1005 ], | 1017 "$ref": "Network", |
1006 "type": "string" | 1018 "description": "Extra network settings. Only applicable for
VM runtimes." |
1007 }, | 1019 }, |
1008 "staticFile": { | 1020 "betaSettings": { |
1009 "description": "Static file content to be served for this er
ror.", | 1021 "additionalProperties": { |
1010 "type": "string" | 1022 "type": "string" |
1011 } | 1023 }, |
1012 }, | 1024 "description": "Metadata settings that are supplied to this
version to enable beta runtime features.", |
1013 "type": "object" | 1025 "type": "object" |
1014 }, | 1026 }, |
1015 "OperationMetadataV1Alpha": { | 1027 "env": { |
1016 "description": "Metadata for the given google.longrunning.Operation.
", | 1028 "description": "App Engine execution environment to use for
this version.Defaults to 1.", |
1017 "id": "OperationMetadataV1Alpha", | 1029 "type": "string" |
1018 "properties": { | 1030 }, |
1019 "user": { | 1031 "handlers": { |
1020 "description": "User who requested this operation.@OutputOnl
y", | 1032 "description": "An ordered list of URL-matching patterns tha
t should be applied to incoming requests. The first matching URL handles the req
uest and other request handlers are not attempted.Only returned in GET requests
if view=FULL is set.", |
1021 "type": "string" | 1033 "items": { |
1022 }, | 1034 "$ref": "UrlMap" |
1023 "target": { | 1035 }, |
1024 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | 1036 "type": "array" |
1025 "type": "string" | 1037 }, |
1026 }, | 1038 "deployer": { |
1027 "ephemeralMessage": { | 1039 "description": "Email address of the user who created this v
ersion.@OutputOnly", |
1028 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", | 1040 "type": "string" |
1029 "type": "string" | 1041 }, |
1030 }, | 1042 "automaticScaling": { |
1031 "method": { | 1043 "$ref": "AutomaticScaling", |
1032 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly", | 1044 "description": "Automatic scaling is based on request rate,
response latencies, and other application metrics." |
1033 "type": "string" | 1045 }, |
1034 }, | 1046 "healthCheck": { |
1035 "endTime": { | 1047 "$ref": "HealthCheck", |
1036 "description": "Time that this operation completed.@OutputOn
ly", | 1048 "description": "Configures health checking for VM instances.
Unhealthy instances are stopped and replaced with new instances. Only applicabl
e for VM runtimes.Only returned in GET requests if view=FULL is set." |
| 1049 }, |
| 1050 "threadsafe": { |
| 1051 "description": "Whether multiple requests can be dispatched
to this version at once.", |
| 1052 "type": "boolean" |
| 1053 }, |
| 1054 "manualScaling": { |
| 1055 "$ref": "ManualScaling", |
| 1056 "description": "A module with manual scaling runs continuous
ly, allowing you to perform complex initialization and rely on the state of its
memory over time." |
| 1057 }, |
| 1058 "name": { |
| 1059 "description": "Full path to the Version resource in the API
. Example: apps/myapp/modules/default/versions/v1.@OutputOnly", |
| 1060 "type": "string" |
| 1061 }, |
| 1062 "apiConfig": { |
| 1063 "$ref": "ApiConfigHandler", |
| 1064 "description": "Serving configuration for Google Cloud Endpo
ints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned i
n GET requests if view=FULL is set." |
| 1065 }, |
| 1066 "vm": { |
| 1067 "description": "Whether to deploy this version in a containe
r on a virtual machine.", |
| 1068 "type": "boolean" |
| 1069 }, |
| 1070 "instanceClass": { |
| 1071 "description": "Instance class that is used to run this vers
ion. Valid values are:\nAutomaticScaling: F1, F2, F4, F4_1G\nManualScaling or Ba
sicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for
ManualScaling or BasicScaling.", |
| 1072 "type": "string" |
| 1073 }, |
| 1074 "servingStatus": { |
| 1075 "description": "Current serving status of this version. Only
the versions with a SERVING status create instances and can be billed.SERVING_S
TATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.", |
| 1076 "enum": [ |
| 1077 "SERVING_STATUS_UNSPECIFIED", |
| 1078 "SERVING", |
| 1079 "STOPPED" |
| 1080 ], |
| 1081 "enumDescriptions": [ |
| 1082 "Not specified.", |
| 1083 "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." |
| 1085 ], |
| 1086 "type": "string" |
| 1087 }, |
| 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": { |
| 1093 "$ref": "Deployment", |
| 1094 "description": "Code and application artifacts that make up
this version.Only returned in GET requests if view=FULL is set." |
| 1095 }, |
| 1096 "resources": { |
| 1097 "$ref": "Resources", |
| 1098 "description": "Machine resources for this version. Only app
licable for VM runtimes." |
| 1099 }, |
| 1100 "inboundServices": { |
| 1101 "description": "Before an application can receive email or X
MPP messages, the application must be configured to enable the service.", |
| 1102 "enumDescriptions": [ |
| 1103 "Not specified.", |
| 1104 "Allows an application to receive mail.", |
| 1105 "Allows an application to receive email-bound notificati
ons.", |
| 1106 "Allows an application to receive error stanzas.", |
| 1107 "Allows an application to receive instant messages.", |
| 1108 "Allows an application to receive user subscription POST
s.", |
| 1109 "Allows an application to receive a user's chat presence
.", |
| 1110 "Registers an application for notifications when a clien
t connects or disconnects from a channel.", |
| 1111 "Enables warmup requests." |
| 1112 ], |
| 1113 "items": { |
| 1114 "enum": [ |
| 1115 "INBOUND_SERVICE_UNSPECIFIED", |
| 1116 "INBOUND_SERVICE_MAIL", |
| 1117 "INBOUND_SERVICE_MAIL_BOUNCE", |
| 1118 "INBOUND_SERVICE_XMPP_ERROR", |
| 1119 "INBOUND_SERVICE_XMPP_MESSAGE", |
| 1120 "INBOUND_SERVICE_XMPP_SUBSCRIBE", |
| 1121 "INBOUND_SERVICE_XMPP_PRESENCE", |
| 1122 "INBOUND_SERVICE_CHANNEL_PRESENCE", |
| 1123 "INBOUND_SERVICE_WARMUP" |
| 1124 ], |
| 1125 "type": "string" |
| 1126 }, |
| 1127 "type": "array" |
| 1128 }, |
| 1129 "errorHandlers": { |
| 1130 "description": "Custom static error pages. Limited to 10KB p
er page.Only returned in GET requests if view=FULL is set.", |
| 1131 "items": { |
| 1132 "$ref": "ErrorHandler" |
| 1133 }, |
| 1134 "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", |
1037 "format": "google-datetime", | 1150 "format": "google-datetime", |
1038 "type": "string" | 1151 "type": "string" |
1039 }, | 1152 }, |
1040 "warning": { | 1153 "nobuildFilesRegex": { |
1041 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", | 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.", |
1042 "items": { | 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": { |
1043 "type": "string" | 1171 "type": "string" |
1044 }, | 1172 }, |
1045 "type": "array" | 1173 "description": "Environment variables made available to the
application.Only returned in GET requests if view=FULL is set.", |
1046 }, | 1174 "type": "object" |
1047 "insertTime": { | 1175 } |
1048 "description": "Time that this operation was created.@Output
Only", | 1176 }, |
1049 "format": "google-datetime", | 1177 "type": "object" |
1050 "type": "string" | 1178 }, |
1051 } | 1179 "ContainerInfo": { |
1052 }, | 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.", |
1053 "type": "object" | 1181 "id": "ContainerInfo", |
1054 }, | 1182 "properties": { |
1055 "Application": { | 1183 "image": { |
1056 "description": "An Application resource contains the top-level confi
guration of an App Engine application.", | 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\"
", |
1057 "id": "Application", | 1185 "type": "string" |
1058 "properties": { | 1186 } |
1059 "name": { | 1187 }, |
1060 "description": "Full path to the Application resource in the
API. Example: apps/myapp.@OutputOnly", | 1188 "type": "object" |
1061 "type": "string" | 1189 }, |
1062 }, | 1190 "RequestUtilization": { |
1063 "authDomain": { | 1191 "description": "Target scaling by request utilization. Only applicab
le for VM runtimes.", |
1064 "description": "Google Apps authentication domain that contr
ols which users can access this application.Defaults to open access for any Goog
le Account.", | 1192 "id": "RequestUtilization", |
1065 "type": "string" | 1193 "properties": { |
1066 }, | 1194 "targetConcurrentRequests": { |
1067 "iap": { | 1195 "description": "Target number of concurrent requests.", |
1068 "$ref": "IdentityAwareProxy" | |
1069 }, | |
1070 "defaultCookieExpiration": { | |
1071 "description": "Cookie expiration policy for this applicatio
n.", | |
1072 "format": "google-duration", | |
1073 "type": "string" | |
1074 }, | |
1075 "id": { | |
1076 "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.", | |
1077 "type": "string" | |
1078 }, | |
1079 "codeBucket": { | |
1080 "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", | |
1081 "type": "string" | |
1082 }, | |
1083 "location": { | |
1084 "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", | |
1085 "type": "string" | |
1086 }, | |
1087 "defaultBucket": { | |
1088 "description": "Google Cloud Storage bucket that can be used
by this application to store content.@OutputOnly", | |
1089 "type": "string" | |
1090 }, | |
1091 "dispatchRules": { | |
1092 "description": "HTTP path dispatch rules for requests to the
application that do not explicitly target a module or version. Rules are order-
dependent.@OutputOnly", | |
1093 "items": { | |
1094 "$ref": "UrlDispatchRule" | |
1095 }, | |
1096 "type": "array" | |
1097 }, | |
1098 "defaultHostname": { | |
1099 "description": "Hostname used to reach the application, as r
esolved by App Engine.@OutputOnly", | |
1100 "type": "string" | |
1101 } | |
1102 }, | |
1103 "type": "object" | |
1104 }, | |
1105 "Network": { | |
1106 "description": "Extra network settings. Only applicable for VM runti
mes.", | |
1107 "id": "Network", | |
1108 "properties": { | |
1109 "instanceTag": { | |
1110 "description": "Tag to apply to the VM instance during creat
ion.", | |
1111 "type": "string" | |
1112 }, | |
1113 "forwardedPorts": { | |
1114 "description": "List of ports, or port pairs, to forward fro
m the virtual machine to the application container.", | |
1115 "items": { | |
1116 "type": "string" | |
1117 }, | |
1118 "type": "array" | |
1119 }, | |
1120 "name": { | |
1121 "description": "Google Cloud Platform network where the virt
ual machines are created. Specify the short name, not the resource path.Defaults
to default.", | |
1122 "type": "string" | |
1123 } | |
1124 }, | |
1125 "type": "object" | |
1126 }, | |
1127 "Instance": { | |
1128 "description": "An Instance resource is the computing unit that App
Engine uses to automatically scale an application.", | |
1129 "id": "Instance", | |
1130 "properties": { | |
1131 "requests": { | |
1132 "description": "Number of requests since this instance was s
tarted.@OutputOnly", | |
1133 "format": "int32", | 1196 "format": "int32", |
1134 "type": "integer" | 1197 "type": "integer" |
1135 }, | 1198 }, |
1136 "appEngineRelease": { | 1199 "targetRequestCountPerSec": { |
1137 "description": "App Engine release this instance is running
on.@OutputOnly", | 1200 "description": "Target requests per second.", |
1138 "type": "string" | |
1139 }, | |
1140 "startTimestamp": { | |
1141 "description": "Time that this instance was started.@OutputO
nly", | |
1142 "format": "google-datetime", | |
1143 "type": "string" | |
1144 }, | |
1145 "vmName": { | |
1146 "description": "Name of the virtual machine where this insta
nce lives. Only applicable for instances in App Engine flexible environment.@Out
putOnly", | |
1147 "type": "string" | |
1148 }, | |
1149 "qps": { | |
1150 "description": "Average queries per second (QPS) over the la
st minute.@OutputOnly", | |
1151 "format": "float", | |
1152 "type": "number" | |
1153 }, | |
1154 "vmId": { | |
1155 "description": "Virtual machine ID of this instance. Only ap
plicable for instances in App Engine flexible environment.@OutputOnly", | |
1156 "type": "string" | |
1157 }, | |
1158 "name": { | |
1159 "description": "Full path to the Instance resource in the AP
I. Example: apps/myapp/modules/default/versions/v1/instances/instance-1.@OutputO
nly", | |
1160 "type": "string" | |
1161 }, | |
1162 "vmUnlocked": { | |
1163 "description": "Whether this instance is in debug mode. Only
applicable for instances in App Engine flexible environment.@OutputOnly", | |
1164 "type": "boolean" | |
1165 }, | |
1166 "vmZoneName": { | |
1167 "description": "Zone where the virtual machine is located. O
nly applicable for instances in App Engine flexible environment.@OutputOnly", | |
1168 "type": "string" | |
1169 }, | |
1170 "averageLatency": { | |
1171 "description": "Average latency (ms) over the last minute.@O
utputOnly", | |
1172 "format": "int32", | 1201 "format": "int32", |
1173 "type": "integer" | 1202 "type": "integer" |
1174 }, | 1203 } |
1175 "id": { | 1204 }, |
1176 "description": "Relative name of the instance within the ver
sion. Example: instance-1.@OutputOnly", | 1205 "type": "object" |
1177 "type": "string" | 1206 }, |
1178 }, | 1207 "UrlMap": { |
1179 "memoryUsage": { | 1208 "description": "URL pattern and description of how the URL should be
handled. App Engine can handle URLs by executing application code, or by servin
g static files uploaded with the version, such as images, CSS, or JavaScript.", |
1180 "description": "Total memory in use (bytes).@OutputOnly", | 1209 "id": "UrlMap", |
1181 "format": "int64", | 1210 "properties": { |
1182 "type": "string" | 1211 "redirectHttpResponseCode": { |
1183 }, | 1212 "description": "30x code to use when performing redirects fo
r the secure field. Defaults to 302.", |
1184 "vmIp": { | 1213 "enum": [ |
1185 "description": "The IP address of this instance. Only applic
able for instances in App Engine flexible environment.@OutputOnly", | 1214 "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", |
1186 "type": "string" | 1215 "REDIRECT_HTTP_RESPONSE_CODE_301", |
1187 }, | 1216 "REDIRECT_HTTP_RESPONSE_CODE_302", |
1188 "vmStatus": { | 1217 "REDIRECT_HTTP_RESPONSE_CODE_303", |
1189 "description": "Status of the virtual machine where this ins
tance lives. Only applicable for instances in App Engine flexible environment.@O
utputOnly", | 1218 "REDIRECT_HTTP_RESPONSE_CODE_307" |
1190 "type": "string" | 1219 ], |
1191 }, | 1220 "enumDescriptions": [ |
1192 "availability": { | 1221 "Not specified. 302 is assumed.", |
1193 "description": "Availability of the instance.@OutputOnly", | 1222 "301 Moved Permanently code.", |
1194 "enum": [ | 1223 "302 Moved Temporarily code.", |
1195 "UNSPECIFIED", | 1224 "303 See Other code.", |
1196 "RESIDENT", | 1225 "307 Temporary Redirect code." |
1197 "DYNAMIC" | 1226 ], |
1198 ], | 1227 "type": "string" |
1199 "enumDescriptions": [ | 1228 }, |
1200 "", | 1229 "securityLevel": { |
1201 "", | 1230 "description": "Security (HTTPS) enforcement for this URL.", |
1202 "" | 1231 "enum": [ |
1203 ], | 1232 "SECURE_UNSPECIFIED", |
1204 "type": "string" | 1233 "SECURE_DEFAULT", |
1205 }, | 1234 "SECURE_NEVER", |
1206 "errors": { | 1235 "SECURE_OPTIONAL", |
1207 "description": "Number of errors since this instance was sta
rted.@OutputOnly", | 1236 "SECURE_ALWAYS" |
1208 "format": "uint32", | 1237 ], |
1209 "type": "integer" | 1238 "enumDescriptions": [ |
1210 } | 1239 "Not specified.", |
1211 }, | 1240 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used, and respond accordingly.", |
1212 "type": "object" | 1241 "Requests for a URL that match this handler that use HTT
PS are automatically redirected to the HTTP equivalent URL.", |
1213 }, | 1242 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used and respond accordingly.", |
1214 "UrlDispatchRule": { | 1243 "Requests for a URL that match this handler that do not
use HTTPS are automatically redirected to the HTTPS URL with the same path. Quer
y parameters are reserved for the redirect." |
1215 "description": "Rules to match an HTTP request and dispatch that req
uest to a module.", | 1244 ], |
1216 "id": "UrlDispatchRule", | 1245 "type": "string" |
1217 "properties": { | 1246 }, |
1218 "module": { | 1247 "authFailAction": { |
1219 "description": "Resource ID of a module in this application
that should serve the matched request. The module must already exist. Example: d
efault.", | 1248 "description": "Action to take when users access resources t
hat require authentication. Defaults to redirect.", |
1220 "type": "string" | 1249 "enum": [ |
1221 }, | 1250 "AUTH_FAIL_ACTION_UNSPECIFIED", |
1222 "domain": { | 1251 "AUTH_FAIL_ACTION_REDIRECT", |
1223 "description": "Domain name to match against. The wildcard \
"*\" is supported if specified before a period: \"*.\".Defaults to matching all
domains: \"*\".", | 1252 "AUTH_FAIL_ACTION_UNAUTHORIZED" |
1224 "type": "string" | 1253 ], |
1225 }, | 1254 "enumDescriptions": [ |
1226 "path": { | 1255 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", |
1227 "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.", | 1256 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, |
1228 "type": "string" | 1257 "Rejects request with a 401 HTTP status code and an erro
r message." |
1229 } | 1258 ], |
1230 }, | 1259 "type": "string" |
1231 "type": "object" | 1260 }, |
1232 }, | 1261 "script": { |
1233 "Module": { | 1262 "$ref": "ScriptHandler", |
1234 "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.", | 1263 "description": "Executes a script to handle the request that
matches this URL pattern." |
1235 "id": "Module", | 1264 }, |
1236 "properties": { | 1265 "urlRegex": { |
1237 "split": { | 1266 "description": "A URL prefix. Uses regular expression syntax
, which means regexp special characters must be escaped, but should not contain
groupings. All URLs that begin with this prefix are handled by this handler, usi
ng the portion of the URL after the prefix as part of the file path.", |
1238 "$ref": "TrafficSplit", | 1267 "type": "string" |
1239 "description": "Mapping that defines fractional HTTP traffic
diversion to different versions within the module." | 1268 }, |
1240 }, | 1269 "login": { |
1241 "id": { | 1270 "description": "Level of login required to access this resou
rce.", |
1242 "description": "Relative name of the module within the appli
cation. Example: default.@OutputOnly", | 1271 "enum": [ |
1243 "type": "string" | 1272 "LOGIN_UNSPECIFIED", |
1244 }, | 1273 "LOGIN_OPTIONAL", |
1245 "name": { | 1274 "LOGIN_ADMIN", |
1246 "description": "Full path to the Module resource in the API.
Example: apps/myapp/modules/default.@OutputOnly", | 1275 "LOGIN_REQUIRED" |
1247 "type": "string" | 1276 ], |
1248 } | 1277 "enumDescriptions": [ |
1249 }, | 1278 "Not specified. LOGIN_OPTIONAL is assumed.", |
1250 "type": "object" | 1279 "Does not require that the user is signed in.", |
1251 }, | 1280 "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.", |
1252 "ListVersionsResponse": { | 1281 "If the user has signed in, the handler proceeds normall
y. Otherwise, the auth_fail_action is taken." |
1253 "description": "Response message for Versions.ListVersions.", | 1282 ], |
1254 "id": "ListVersionsResponse", | 1283 "type": "string" |
1255 "properties": { | 1284 }, |
1256 "nextPageToken": { | 1285 "apiEndpoint": { |
1257 "description": "Continuation token for fetching the next pag
e of results.", | 1286 "$ref": "ApiEndpointHandler", |
1258 "type": "string" | 1287 "description": "Uses API Endpoints to handle requests." |
1259 }, | 1288 }, |
1260 "versions": { | 1289 "staticDirectory": { |
1261 "description": "The versions belonging to the requested modu
le.", | 1290 "$ref": "StaticDirectoryHandler", |
1262 "items": { | 1291 "description": "Serves the entire contents of a directory as
static files.This attribute is deprecated. You can mimic the behavior of static
directories using static files." |
1263 "$ref": "Version" | 1292 }, |
1264 }, | 1293 "staticFiles": { |
1265 "type": "array" | 1294 "$ref": "StaticFilesHandler", |
1266 } | 1295 "description": "Returns the contents of a file, such as an i
mage, as the response." |
1267 }, | 1296 } |
1268 "type": "object" | 1297 }, |
1269 }, | 1298 "type": "object" |
1270 "ApiEndpointHandler": { | 1299 }, |
1271 "description": "Uses Google Cloud Endpoints to handle requests.", | 1300 "Operation": { |
1272 "id": "ApiEndpointHandler", | 1301 "description": "This resource represents a long-running operation th
at is the result of a network API call.", |
1273 "properties": { | 1302 "id": "Operation", |
1274 "scriptPath": { | 1303 "properties": { |
1275 "description": "Path to the script from the application root
directory.", | 1304 "error": { |
1276 "type": "string" | 1305 "$ref": "Status", |
1277 } | 1306 "description": "The error result of the operation in case of
failure or cancellation." |
1278 }, | |
1279 "type": "object" | |
1280 }, | |
1281 "StaticDirectoryHandler": { | |
1282 "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."
, | |
1283 "id": "StaticDirectoryHandler", | |
1284 "properties": { | |
1285 "httpHeaders": { | |
1286 "additionalProperties": { | |
1287 "type": "string" | |
1288 }, | |
1289 "description": "HTTP headers to use for all responses from t
hese URLs.", | |
1290 "type": "object" | |
1291 }, | |
1292 "applicationReadable": { | |
1293 "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.", | |
1294 "type": "boolean" | |
1295 }, | |
1296 "directory": { | |
1297 "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.", | |
1298 "type": "string" | |
1299 }, | |
1300 "mimeType": { | |
1301 "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.", | |
1302 "type": "string" | |
1303 }, | |
1304 "requireMatchingFile": { | |
1305 "description": "Whether this handler should match the reques
t if the file referenced by the handler does not exist.", | |
1306 "type": "boolean" | |
1307 }, | |
1308 "expiration": { | |
1309 "description": "Time a static file served by this handler sh
ould be cached.", | |
1310 "format": "google-duration", | |
1311 "type": "string" | |
1312 } | |
1313 }, | |
1314 "type": "object" | |
1315 }, | |
1316 "AutomaticScaling": { | |
1317 "description": "Automatic scaling is based on request rate, response
latencies, and other application metrics.", | |
1318 "id": "AutomaticScaling", | |
1319 "properties": { | |
1320 "maxTotalInstances": { | |
1321 "description": "Maximum number of instances that should be s
tarted to handle requests.", | |
1322 "format": "int32", | |
1323 "type": "integer" | |
1324 }, | |
1325 "minTotalInstances": { | |
1326 "description": "Minimum number of instances that should be m
aintained for this version.", | |
1327 "format": "int32", | |
1328 "type": "integer" | |
1329 }, | |
1330 "networkUtilization": { | |
1331 "$ref": "NetworkUtilization", | |
1332 "description": "Target scaling by network usage." | |
1333 }, | |
1334 "maxConcurrentRequests": { | |
1335 "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.", | |
1336 "format": "int32", | |
1337 "type": "integer" | |
1338 }, | |
1339 "coolDownPeriod": { | |
1340 "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.", | |
1341 "format": "google-duration", | |
1342 "type": "string" | |
1343 }, | |
1344 "maxPendingLatency": { | |
1345 "description": "Maximum amount of time that a request should
wait in the pending queue before starting a new instance to handle it.", | |
1346 "format": "google-duration", | |
1347 "type": "string" | |
1348 }, | |
1349 "cpuUtilization": { | |
1350 "$ref": "CpuUtilization", | |
1351 "description": "Target scaling by CPU usage." | |
1352 }, | |
1353 "diskUtilization": { | |
1354 "$ref": "DiskUtilization", | |
1355 "description": "Target scaling by disk usage." | |
1356 }, | |
1357 "minPendingLatency": { | |
1358 "description": "Minimum amount of time a request should wait
in the pending queue before starting a new instance to handle it.", | |
1359 "format": "google-duration", | |
1360 "type": "string" | |
1361 }, | |
1362 "maxIdleInstances": { | |
1363 "description": "Maximum number of idle instances that should
be maintained for this version.", | |
1364 "format": "int32", | |
1365 "type": "integer" | |
1366 }, | |
1367 "requestUtilization": { | |
1368 "$ref": "RequestUtilization", | |
1369 "description": "Target scaling by request utilization." | |
1370 }, | |
1371 "minIdleInstances": { | |
1372 "description": "Minimum number of idle instances that should
be maintained for this version. Only applicable for the default version of a mo
dule.", | |
1373 "format": "int32", | |
1374 "type": "integer" | |
1375 } | |
1376 }, | |
1377 "type": "object" | |
1378 }, | |
1379 "NetworkUtilization": { | |
1380 "description": "Target scaling by network usage. Only applicable for
VM runtimes.", | |
1381 "id": "NetworkUtilization", | |
1382 "properties": { | |
1383 "targetReceivedBytesPerSec": { | |
1384 "description": "Target bytes received per second.", | |
1385 "format": "int32", | |
1386 "type": "integer" | |
1387 }, | |
1388 "targetSentPacketsPerSec": { | |
1389 "description": "Target packets sent per second.", | |
1390 "format": "int32", | |
1391 "type": "integer" | |
1392 }, | |
1393 "targetReceivedPacketsPerSec": { | |
1394 "description": "Target packets received per second.", | |
1395 "format": "int32", | |
1396 "type": "integer" | |
1397 }, | |
1398 "targetSentBytesPerSec": { | |
1399 "description": "Target bytes sent per second.", | |
1400 "format": "int32", | |
1401 "type": "integer" | |
1402 } | |
1403 }, | |
1404 "type": "object" | |
1405 }, | |
1406 "Location": { | |
1407 "description": "A resource that represents Google Cloud Platform loc
ation.", | |
1408 "id": "Location", | |
1409 "properties": { | |
1410 "labels": { | |
1411 "additionalProperties": { | |
1412 "type": "string" | |
1413 }, | |
1414 "description": "Cross-service attributes for the location. F
or example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n", | |
1415 "type": "object" | |
1416 }, | |
1417 "name": { | |
1418 "description": "Resource name for the location, which may va
ry between implementations. For example: \"projects/example-project/locations/us
-east1\"", | |
1419 "type": "string" | |
1420 }, | |
1421 "locationId": { | |
1422 "description": "The canonical id for this location. For exam
ple: \"us-east1\".", | |
1423 "type": "string" | |
1424 }, | 1307 }, |
1425 "metadata": { | 1308 "metadata": { |
1426 "additionalProperties": { | 1309 "additionalProperties": { |
1427 "description": "Properties of the object. Contains field
@type with type URL.", | 1310 "description": "Properties of the object. Contains field
@type with type URL.", |
1428 "type": "any" | 1311 "type": "any" |
1429 }, | 1312 }, |
1430 "description": "Service-specific metadata. For example the a
vailable capacity at the given location.", | 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.", |
1431 "type": "object" | 1314 "type": "object" |
1432 } | 1315 }, |
1433 }, | 1316 "done": { |
1434 "type": "object" | 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.", |
1435 }, | 1318 "type": "boolean" |
1436 "HealthCheck": { | 1319 }, |
1437 "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.", | 1320 "response": { |
1438 "id": "HealthCheck", | 1321 "additionalProperties": { |
1439 "properties": { | 1322 "description": "Properties of the object. Contains field
@type with type URL.", |
1440 "unhealthyThreshold": { | 1323 "type": "any" |
1441 "description": "Number of consecutive failed health checks r
equired before removing traffic.", | 1324 }, |
1442 "format": "uint32", | 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.", |
| 1326 "type": "object" |
| 1327 }, |
| 1328 "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.", |
| 1330 "type": "string" |
| 1331 } |
| 1332 }, |
| 1333 "type": "object" |
| 1334 }, |
| 1335 "ApiConfigHandler": { |
| 1336 "description": "Google Cloud Endpoints (https://cloud.google.com/app
engine/docs/python/endpoints/) configuration for API handlers.", |
| 1337 "id": "ApiConfigHandler", |
| 1338 "properties": { |
| 1339 "url": { |
| 1340 "description": "URL to serve the endpoint at.", |
| 1341 "type": "string" |
| 1342 }, |
| 1343 "securityLevel": { |
| 1344 "description": "Security (HTTPS) enforcement for this URL.", |
| 1345 "enum": [ |
| 1346 "SECURE_UNSPECIFIED", |
| 1347 "SECURE_DEFAULT", |
| 1348 "SECURE_NEVER", |
| 1349 "SECURE_OPTIONAL", |
| 1350 "SECURE_ALWAYS" |
| 1351 ], |
| 1352 "enumDescriptions": [ |
| 1353 "Not specified.", |
| 1354 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used, and respond accordingly.", |
| 1355 "Requests for a URL that match this handler that use HTT
PS are automatically redirected to the HTTP equivalent URL.", |
| 1356 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used and respond accordingly.", |
| 1357 "Requests for a URL that match this handler that do not
use HTTPS are automatically redirected to the HTTPS URL with the same path. Quer
y parameters are reserved for the redirect." |
| 1358 ], |
| 1359 "type": "string" |
| 1360 }, |
| 1361 "authFailAction": { |
| 1362 "description": "Action to take when users access resources t
hat require authentication. Defaults to redirect.", |
| 1363 "enum": [ |
| 1364 "AUTH_FAIL_ACTION_UNSPECIFIED", |
| 1365 "AUTH_FAIL_ACTION_REDIRECT", |
| 1366 "AUTH_FAIL_ACTION_UNAUTHORIZED" |
| 1367 ], |
| 1368 "enumDescriptions": [ |
| 1369 "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."
, |
| 1371 "Rejects request with a 401 HTTP status code and an erro
r message." |
| 1372 ], |
| 1373 "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 } |
| 1395 }, |
| 1396 "type": "object" |
| 1397 }, |
| 1398 "FileInfo": { |
| 1399 "description": "Single source file that is part of the version to be
deployed. Each source file that is deployed must be specified separately.", |
| 1400 "id": "FileInfo", |
| 1401 "properties": { |
| 1402 "mimeType": { |
| 1403 "description": "The MIME type of the file.Defaults to the va
lue from Google Cloud Storage.", |
| 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" |
| 1413 } |
| 1414 }, |
| 1415 "type": "object" |
| 1416 }, |
| 1417 "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.", |
| 1419 "id": "StaticFilesHandler", |
| 1420 "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": { |
| 1438 "description": "Regular expression that matches the file pat
hs for all files that should be referenced by this handler.", |
| 1439 "type": "string" |
| 1440 }, |
| 1441 "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.", |
| 1443 "type": "string" |
| 1444 }, |
| 1445 "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.", |
| 1447 "type": "string" |
| 1448 }, |
| 1449 "requireMatchingFile": { |
| 1450 "description": "Whether this handler should match the reques
t if the file referenced by the handler does not exist.", |
| 1451 "type": "boolean" |
| 1452 } |
| 1453 }, |
| 1454 "type": "object" |
| 1455 }, |
| 1456 "ScriptHandler": { |
| 1457 "description": "Executes a script to handle the request that matches
the URL pattern.", |
| 1458 "id": "ScriptHandler", |
| 1459 "properties": { |
| 1460 "scriptPath": { |
| 1461 "description": "Path to the script from the application root
directory.", |
| 1462 "type": "string" |
| 1463 } |
| 1464 }, |
| 1465 "type": "object" |
| 1466 }, |
| 1467 "DiskUtilization": { |
| 1468 "description": "Target scaling by disk usage. Only applicable for VM
runtimes.", |
| 1469 "id": "DiskUtilization", |
| 1470 "properties": { |
| 1471 "targetReadOpsPerSec": { |
| 1472 "description": "Target ops read per second.", |
| 1473 "format": "int32", |
1443 "type": "integer" | 1474 "type": "integer" |
1444 }, | 1475 }, |
1445 "disableHealthCheck": { | 1476 "targetReadBytesPerSec": { |
1446 "description": "Whether to explicitly disable health checks
for this instance.", | 1477 "description": "Target bytes read per second.", |
1447 "type": "boolean" | 1478 "format": "int32", |
1448 }, | |
1449 "host": { | |
1450 "description": "Host header to send when performing an HTTP
health check. Example: \"myapp.appspot.com\"", | |
1451 "type": "string" | |
1452 }, | |
1453 "restartThreshold": { | |
1454 "description": "Number of consecutive failed health checks r
equired before an instance is restarted.", | |
1455 "format": "uint32", | |
1456 "type": "integer" | 1479 "type": "integer" |
1457 }, | 1480 }, |
1458 "healthyThreshold": { | 1481 "targetWriteOpsPerSec": { |
1459 "description": "Number of consecutive successful health chec
ks required before receiving traffic.", | 1482 "description": "Target ops written per second.", |
1460 "format": "uint32", | 1483 "format": "int32", |
1461 "type": "integer" | 1484 "type": "integer" |
1462 }, | 1485 }, |
1463 "checkInterval": { | 1486 "targetWriteBytesPerSec": { |
1464 "description": "Interval between health checks.", | 1487 "description": "Target bytes written per second.", |
| 1488 "format": "int32", |
| 1489 "type": "integer" |
| 1490 } |
| 1491 }, |
| 1492 "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.", |
1465 "format": "google-duration", | 1505 "format": "google-duration", |
1466 "type": "string" | 1506 "type": "string" |
1467 }, | 1507 } |
1468 "timeout": { | 1508 }, |
1469 "description": "Time before the health check is considered f
ailed.", | 1509 "type": "object" |
1470 "format": "google-duration", | 1510 }, |
1471 "type": "string" | 1511 "OperationMetadataExperimental": { |
1472 } | |
1473 }, | |
1474 "type": "object" | |
1475 }, | |
1476 "SourceReference": { | |
1477 "description": "Reference to a particular snapshot of the source tre
e used to build and deploy the application.", | |
1478 "id": "SourceReference", | |
1479 "properties": { | |
1480 "repository": { | |
1481 "description": "URI string identifying the repository. Examp
le: \"https://source.developers.google.com/p/app-123/r/default\"", | |
1482 "type": "string" | |
1483 }, | |
1484 "revisionId": { | |
1485 "description": "The canonical, persistent identifier of the
deployed revision. Aliases that include tags or branch names are not allowed. Ex
ample (git): \"2198322f89e0bb2e25021667c2ed489d1fd34e6b\"", | |
1486 "type": "string" | |
1487 } | |
1488 }, | |
1489 "type": "object" | |
1490 }, | |
1491 "DebugInstanceRequest": { | |
1492 "description": "Request message for Instances.DebugInstance.", | |
1493 "id": "DebugInstanceRequest", | |
1494 "properties": { | |
1495 "sshKey": { | |
1496 "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).", | |
1497 "type": "string" | |
1498 } | |
1499 }, | |
1500 "type": "object" | |
1501 }, | |
1502 "Library": { | |
1503 "description": "Third-party Python runtime library that is required
by the application.", | |
1504 "id": "Library", | |
1505 "properties": { | |
1506 "name": { | |
1507 "description": "Name of the library. Example: \"django\".", | |
1508 "type": "string" | |
1509 }, | |
1510 "version": { | |
1511 "description": "Version of the library to select, or \"lates
t\".", | |
1512 "type": "string" | |
1513 } | |
1514 }, | |
1515 "type": "object" | |
1516 }, | |
1517 "OperationMetadataV1Beta5": { | |
1518 "description": "Metadata for the given google.longrunning.Operation.
", | 1512 "description": "Metadata for the given google.longrunning.Operation.
", |
1519 "id": "OperationMetadataV1Beta5", | 1513 "id": "OperationMetadataExperimental", |
1520 "properties": { | 1514 "properties": { |
1521 "insertTime": { | |
1522 "description": "Timestamp that this operation was created.@O
utputOnly", | |
1523 "format": "google-datetime", | |
1524 "type": "string" | |
1525 }, | |
1526 "endTime": { | |
1527 "description": "Timestamp that this operation completed.@Out
putOnly", | |
1528 "format": "google-datetime", | |
1529 "type": "string" | |
1530 }, | |
1531 "target": { | 1515 "target": { |
1532 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | 1516 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly", |
1533 "type": "string" | 1517 "type": "string" |
1534 }, | 1518 }, |
1535 "user": { | 1519 "user": { |
1536 "description": "User who requested this operation.@OutputOnl
y", | 1520 "description": "User who requested this operation.@OutputOnl
y", |
1537 "type": "string" | 1521 "type": "string" |
1538 }, | 1522 }, |
1539 "method": { | 1523 "method": { |
1540 "description": "API method name that initiated this operatio
n. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly", | 1524 "description": "API method that initiated this operation. Ex
ample: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnl
y", |
1541 "type": "string" | 1525 "type": "string" |
1542 } | 1526 }, |
1543 }, | 1527 "insertTime": { |
1544 "type": "object" | 1528 "description": "Time that this operation was created.@Output
Only", |
1545 }, | 1529 "format": "google-datetime", |
1546 "ListLocationsResponse": { | 1530 "type": "string" |
1547 "description": "The response message for Locations.ListLocations.", | 1531 }, |
1548 "id": "ListLocationsResponse", | 1532 "endTime": { |
| 1533 "description": "Time that this operation completed.@OutputOn
ly", |
| 1534 "format": "google-datetime", |
| 1535 "type": "string" |
| 1536 } |
| 1537 }, |
| 1538 "type": "object" |
| 1539 }, |
| 1540 "CpuUtilization": { |
| 1541 "description": "Target scaling by CPU usage.", |
| 1542 "id": "CpuUtilization", |
| 1543 "properties": { |
| 1544 "aggregationWindowLength": { |
| 1545 "description": "Period of time over which CPU utilization is
calculated.", |
| 1546 "format": "google-duration", |
| 1547 "type": "string" |
| 1548 }, |
| 1549 "targetUtilization": { |
| 1550 "description": "Target CPU utilization ratio to maintain whe
n scaling. Must be between 0 and 1.", |
| 1551 "format": "double", |
| 1552 "type": "number" |
| 1553 } |
| 1554 }, |
| 1555 "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 }, |
| 1584 "IdentityAwareProxy": { |
| 1585 "description": "Identity-Aware Proxy", |
| 1586 "id": "IdentityAwareProxy", |
| 1587 "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": { |
| 1597 "description": "Hex-encoded SHA-256 hash of the client secre
t.@OutputOnly", |
| 1598 "type": "string" |
| 1599 }, |
| 1600 "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.", |
| 1602 "type": "boolean" |
| 1603 } |
| 1604 }, |
| 1605 "type": "object" |
| 1606 }, |
| 1607 "ManualScaling": { |
| 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.", |
| 1609 "id": "ManualScaling", |
| 1610 "properties": { |
| 1611 "instances": { |
| 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.", |
| 1613 "format": "int32", |
| 1614 "type": "integer" |
| 1615 } |
| 1616 }, |
| 1617 "type": "object" |
| 1618 }, |
| 1619 "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.", |
| 1621 "id": "TrafficSplit", |
| 1622 "properties": { |
| 1623 "allocations": { |
| 1624 "additionalProperties": { |
| 1625 "format": "double", |
| 1626 "type": "number" |
| 1627 }, |
| 1628 "description": "Mapping from version IDs within the module t
o fractional (0.000, 1] allocations of traffic for that version. Each version ca
n be specified only once, but some versions in the module may not have any traff
ic allocation. Modules that have traffic allocated cannot be deleted until eithe
r the module is deleted or their traffic allocation is removed. Allocations must
sum to 1. Up to two decimal place precision is supported for IP-based splits an
d up to three decimal places is supported for cookie-based splits.", |
| 1629 "type": "object" |
| 1630 }, |
| 1631 "shardBy": { |
| 1632 "description": "Mechanism used to determine which version a
request is sent to. The traffic selection algorithm will be stable for either ty
pe until allocations are changed.", |
| 1633 "enum": [ |
| 1634 "UNSPECIFIED", |
| 1635 "COOKIE", |
| 1636 "IP" |
| 1637 ], |
| 1638 "enumDescriptions": [ |
| 1639 "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.", |
| 1641 "Diversion based on applying the modulus operation to a
fingerprint of the IP address." |
| 1642 ], |
| 1643 "type": "string" |
| 1644 } |
| 1645 }, |
| 1646 "type": "object" |
| 1647 }, |
| 1648 "LocationMetadata": { |
| 1649 "description": "Metadata for the given google.cloud.location.Locatio
n.", |
| 1650 "id": "LocationMetadata", |
| 1651 "properties": { |
| 1652 "flexibleEnvironmentAvailable": { |
| 1653 "description": "App Engine Flexible Environment is available
in the given location.@OutputOnly", |
| 1654 "type": "boolean" |
| 1655 }, |
| 1656 "standardEnvironmentAvailable": { |
| 1657 "description": "App Engine Standard Environment is available
in the given location.@OutputOnly", |
| 1658 "type": "boolean" |
| 1659 } |
| 1660 }, |
| 1661 "type": "object" |
| 1662 }, |
| 1663 "OperationMetadataV1Beta": { |
| 1664 "description": "Metadata for the given google.longrunning.Operation.
", |
| 1665 "id": "OperationMetadataV1Beta", |
| 1666 "properties": { |
| 1667 "ephemeralMessage": { |
| 1668 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
| 1669 "type": "string" |
| 1670 }, |
| 1671 "method": { |
| 1672 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly", |
| 1673 "type": "string" |
| 1674 }, |
| 1675 "endTime": { |
| 1676 "description": "Time that this operation completed.@OutputOn
ly", |
| 1677 "format": "google-datetime", |
| 1678 "type": "string" |
| 1679 }, |
| 1680 "insertTime": { |
| 1681 "description": "Time that this operation was created.@Output
Only", |
| 1682 "format": "google-datetime", |
| 1683 "type": "string" |
| 1684 }, |
| 1685 "warning": { |
| 1686 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
| 1687 "items": { |
| 1688 "type": "string" |
| 1689 }, |
| 1690 "type": "array" |
| 1691 }, |
| 1692 "user": { |
| 1693 "description": "User who requested this operation.@OutputOnl
y", |
| 1694 "type": "string" |
| 1695 }, |
| 1696 "target": { |
| 1697 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
| 1698 "type": "string" |
| 1699 } |
| 1700 }, |
| 1701 "type": "object" |
| 1702 }, |
| 1703 "ListModulesResponse": { |
| 1704 "description": "Response message for Modules.ListModules.", |
| 1705 "id": "ListModulesResponse", |
| 1706 "properties": { |
| 1707 "nextPageToken": { |
| 1708 "description": "Continuation token for fetching the next pag
e of results.", |
| 1709 "type": "string" |
| 1710 }, |
| 1711 "modules": { |
| 1712 "description": "The modules belonging to the requested appli
cation.", |
| 1713 "items": { |
| 1714 "$ref": "Module" |
| 1715 }, |
| 1716 "type": "array" |
| 1717 } |
| 1718 }, |
| 1719 "type": "object" |
| 1720 }, |
| 1721 "Resources": { |
| 1722 "description": "Machine resources for a version.", |
| 1723 "id": "Resources", |
| 1724 "properties": { |
| 1725 "volumes": { |
| 1726 "description": "User specified volumes.", |
| 1727 "items": { |
| 1728 "$ref": "Volume" |
| 1729 }, |
| 1730 "type": "array" |
| 1731 }, |
| 1732 "diskGb": { |
| 1733 "description": "Disk size (GB) needed.", |
| 1734 "format": "double", |
| 1735 "type": "number" |
| 1736 }, |
| 1737 "memoryGb": { |
| 1738 "description": "Memory (GB) needed.", |
| 1739 "format": "double", |
| 1740 "type": "number" |
| 1741 }, |
| 1742 "cpu": { |
| 1743 "description": "Number of CPU cores needed.", |
| 1744 "format": "double", |
| 1745 "type": "number" |
| 1746 } |
| 1747 }, |
| 1748 "type": "object" |
| 1749 }, |
| 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": { |
| 1776 "description": "Volumes mounted within the app container. Only appli
cable for VM runtimes.", |
| 1777 "id": "Volume", |
| 1778 "properties": { |
| 1779 "volumeType": { |
| 1780 "description": "Underlying volume type, e.g. 'tmpfs'.", |
| 1781 "type": "string" |
| 1782 }, |
| 1783 "sizeGb": { |
| 1784 "description": "Volume size in gigabytes.", |
| 1785 "format": "double", |
| 1786 "type": "number" |
| 1787 }, |
| 1788 "name": { |
| 1789 "description": "Unique name for the volume.", |
| 1790 "type": "string" |
| 1791 } |
| 1792 }, |
| 1793 "type": "object" |
| 1794 }, |
| 1795 "ListOperationsResponse": { |
| 1796 "description": "The response message for Operations.ListOperations."
, |
| 1797 "id": "ListOperationsResponse", |
1549 "properties": { | 1798 "properties": { |
1550 "nextPageToken": { | 1799 "nextPageToken": { |
1551 "description": "The standard List next-page token.", | 1800 "description": "The standard List next-page token.", |
1552 "type": "string" | 1801 "type": "string" |
1553 }, | 1802 }, |
1554 "locations": { | 1803 "operations": { |
1555 "description": "A list of locations that matches the specifi
ed filter in the request.", | 1804 "description": "A list of operations that matches the specif
ied filter in the request.", |
1556 "items": { | 1805 "items": { |
1557 "$ref": "Location" | 1806 "$ref": "Operation" |
1558 }, | 1807 }, |
1559 "type": "array" | 1808 "type": "array" |
1560 } | 1809 } |
1561 }, | 1810 }, |
1562 "type": "object" | 1811 "type": "object" |
1563 }, | 1812 }, |
1564 "Version": { | 1813 "OperationMetadata": { |
1565 "description": "A Version resource is a specific set of source code
and configuration files that are deployed into a module.", | 1814 "description": "Metadata for the given google.longrunning.Operation.
", |
1566 "id": "Version", | 1815 "id": "OperationMetadata", |
1567 "properties": { | 1816 "properties": { |
1568 "id": { | 1817 "insertTime": { |
1569 "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-\".", | 1818 "description": "Timestamp that this operation was created.@O
utputOnly", |
1570 "type": "string" | 1819 "format": "google-datetime", |
1571 }, | 1820 "type": "string" |
1572 "envVariables": { | 1821 }, |
1573 "additionalProperties": { | 1822 "target": { |
1574 "type": "string" | 1823 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/modules/default.@OutputOnly", |
1575 }, | 1824 "type": "string" |
1576 "description": "Environment variables made available to the
application.Only returned in GET requests if view=FULL is set.", | 1825 }, |
1577 "type": "object" | 1826 "user": { |
1578 }, | 1827 "description": "User who requested this operation.@OutputOnl
y", |
1579 "network": { | 1828 "type": "string" |
1580 "$ref": "Network", | 1829 }, |
1581 "description": "Extra network settings. Only applicable for
VM runtimes." | 1830 "method": { |
1582 }, | 1831 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta4.Version.CreateVersion.@OutputOnly", |
1583 "betaSettings": { | 1832 "type": "string" |
1584 "additionalProperties": { | 1833 }, |
1585 "type": "string" | 1834 "endTime": { |
1586 }, | 1835 "description": "Timestamp that this operation completed.@Out
putOnly", |
1587 "description": "Metadata settings that are supplied to this
version to enable beta runtime features.", | 1836 "format": "google-datetime", |
1588 "type": "object" | 1837 "type": "string" |
1589 }, | 1838 }, |
1590 "env": { | 1839 "operationType": { |
1591 "description": "App Engine execution environment to use for
this version.Defaults to 1.", | 1840 "description": "Type of this operation. Deprecated, use meth
od field instead. Example: \"create_version\".@OutputOnly", |
1592 "type": "string" | 1841 "type": "string" |
1593 }, | 1842 } |
1594 "handlers": { | 1843 }, |
1595 "description": "An ordered list of URL-matching patterns tha
t should be applied to incoming requests. The first matching URL handles the req
uest and other request handlers are not attempted.Only returned in GET requests
if view=FULL is set.", | 1844 "type": "object" |
1596 "items": { | 1845 }, |
1597 "$ref": "UrlMap" | 1846 "ListInstancesResponse": { |
1598 }, | 1847 "description": "Response message for Instances.ListInstances.", |
1599 "type": "array" | 1848 "id": "ListInstancesResponse", |
1600 }, | 1849 "properties": { |
1601 "deployer": { | 1850 "nextPageToken": { |
1602 "description": "Email address of the user who created this v
ersion.@OutputOnly", | 1851 "description": "Continuation token for fetching the next pag
e of results.", |
1603 "type": "string" | 1852 "type": "string" |
1604 }, | 1853 }, |
1605 "automaticScaling": { | 1854 "instances": { |
1606 "$ref": "AutomaticScaling", | 1855 "description": "The instances belonging to the requested ver
sion.", |
1607 "description": "Automatic scaling is based on request rate,
response latencies, and other application metrics." | 1856 "items": { |
1608 }, | 1857 "$ref": "Instance" |
1609 "healthCheck": { | 1858 }, |
1610 "$ref": "HealthCheck", | 1859 "type": "array" |
1611 "description": "Configures health checking for VM instances.
Unhealthy instances are stopped and replaced with new instances. Only applicabl
e for VM runtimes.Only returned in GET requests if view=FULL is set." | 1860 } |
1612 }, | 1861 }, |
1613 "threadsafe": { | 1862 "type": "object" |
1614 "description": "Whether multiple requests can be dispatched
to this version at once.", | 1863 }, |
1615 "type": "boolean" | 1864 "ErrorHandler": { |
1616 }, | 1865 "description": "Custom static error page to be served when an error
occurs.", |
1617 "manualScaling": { | 1866 "id": "ErrorHandler", |
1618 "$ref": "ManualScaling", | 1867 "properties": { |
1619 "description": "A module with manual scaling runs continuous
ly, allowing you to perform complex initialization and rely on the state of its
memory over time." | 1868 "mimeType": { |
1620 }, | 1869 "description": "MIME type of file. Defaults to text/html.", |
1621 "name": { | 1870 "type": "string" |
1622 "description": "Full path to the Version resource in the API
. Example: apps/myapp/modules/default/versions/v1.@OutputOnly", | 1871 }, |
1623 "type": "string" | 1872 "errorCode": { |
1624 }, | 1873 "description": "Error condition this handler applies to.", |
1625 "apiConfig": { | |
1626 "$ref": "ApiConfigHandler", | |
1627 "description": "Serving configuration for Google Cloud Endpo
ints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned i
n GET requests if view=FULL is set." | |
1628 }, | |
1629 "vm": { | |
1630 "description": "Whether to deploy this version in a containe
r on a virtual machine.", | |
1631 "type": "boolean" | |
1632 }, | |
1633 "instanceClass": { | |
1634 "description": "Instance class that is used to run this vers
ion. Valid values are:\nAutomaticScaling: F1, F2, F4, F4_1G\nManualScaling or Ba
sicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for
ManualScaling or BasicScaling.", | |
1635 "type": "string" | |
1636 }, | |
1637 "servingStatus": { | |
1638 "description": "Current serving status of this version. Only
the versions with a SERVING status create instances and can be billed.SERVING_S
TATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.", | |
1639 "enum": [ | 1874 "enum": [ |
1640 "SERVING_STATUS_UNSPECIFIED", | 1875 "ERROR_CODE_UNSPECIFIED", |
1641 "SERVING", | 1876 "ERROR_CODE_DEFAULT", |
1642 "STOPPED" | 1877 "ERROR_CODE_OVER_QUOTA", |
| 1878 "ERROR_CODE_DOS_API_DENIAL", |
| 1879 "ERROR_CODE_TIMEOUT" |
1643 ], | 1880 ], |
1644 "enumDescriptions": [ | 1881 "enumDescriptions": [ |
1645 "Not specified.", | 1882 "Not specified. ERROR_CODE_DEFAULT is assumed.", |
1646 "Currently serving. Instances are created according to t
he scaling settings of the version.", | 1883 "All other error types.", |
1647 "Disabled. No instances will be created and the scaling
settings are ignored until the state of the version changes to SERVING." | 1884 "Application has exceeded a resource quota.", |
| 1885 "Client blocked by the application's Denial of Service p
rotection configuration.", |
| 1886 "Deadline reached before the application responds." |
1648 ], | 1887 ], |
1649 "type": "string" | 1888 "type": "string" |
1650 }, | 1889 }, |
1651 "deployment": { | 1890 "staticFile": { |
1652 "$ref": "Deployment", | 1891 "description": "Static file content to be served for this er
ror.", |
1653 "description": "Code and application artifacts that make up
this version.Only returned in GET requests if view=FULL is set." | 1892 "type": "string" |
1654 }, | 1893 } |
1655 "runtimeApiVersion": { | 1894 }, |
1656 "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", | 1895 "type": "object" |
1657 "type": "string" | 1896 }, |
1658 }, | 1897 "OperationMetadataV1": { |
1659 "resources": { | 1898 "description": "Metadata for the given google.longrunning.Operation.
", |
1660 "$ref": "Resources", | 1899 "id": "OperationMetadataV1", |
1661 "description": "Machine resources for this version. Only app
licable for VM runtimes." | 1900 "properties": { |
1662 }, | 1901 "insertTime": { |
1663 "inboundServices": { | 1902 "description": "Time that this operation was created.@Output
Only", |
1664 "description": "Before an application can receive email or X
MPP messages, the application must be configured to enable the service.", | 1903 "format": "google-datetime", |
1665 "enumDescriptions": [ | 1904 "type": "string" |
1666 "Not specified.", | 1905 }, |
1667 "Allows an application to receive mail.", | 1906 "warning": { |
1668 "Allows an application to receive email-bound notificati
ons.", | 1907 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
1669 "Allows an application to receive error stanzas.", | 1908 "items": { |
1670 "Allows an application to receive instant messages.", | |
1671 "Allows an application to receive user subscription POST
s.", | |
1672 "Allows an application to receive a user's chat presence
.", | |
1673 "Registers an application for notifications when a clien
t connects or disconnects from a channel.", | |
1674 "Enables warmup requests." | |
1675 ], | |
1676 "items": { | |
1677 "enum": [ | |
1678 "INBOUND_SERVICE_UNSPECIFIED", | |
1679 "INBOUND_SERVICE_MAIL", | |
1680 "INBOUND_SERVICE_MAIL_BOUNCE", | |
1681 "INBOUND_SERVICE_XMPP_ERROR", | |
1682 "INBOUND_SERVICE_XMPP_MESSAGE", | |
1683 "INBOUND_SERVICE_XMPP_SUBSCRIBE", | |
1684 "INBOUND_SERVICE_XMPP_PRESENCE", | |
1685 "INBOUND_SERVICE_CHANNEL_PRESENCE", | |
1686 "INBOUND_SERVICE_WARMUP" | |
1687 ], | |
1688 "type": "string" | 1909 "type": "string" |
1689 }, | 1910 }, |
1690 "type": "array" | 1911 "type": "array" |
1691 }, | 1912 }, |
1692 "errorHandlers": { | |
1693 "description": "Custom static error pages. Limited to 10KB p
er page.Only returned in GET requests if view=FULL is set.", | |
1694 "items": { | |
1695 "$ref": "ErrorHandler" | |
1696 }, | |
1697 "type": "array" | |
1698 }, | |
1699 "defaultExpiration": { | |
1700 "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.", | |
1701 "format": "google-duration", | |
1702 "type": "string" | |
1703 }, | |
1704 "libraries": { | |
1705 "description": "Configuration for third-party Python runtime
libraries required by the application.Only returned in GET requests if view=FUL
L is set.", | |
1706 "items": { | |
1707 "$ref": "Library" | |
1708 }, | |
1709 "type": "array" | |
1710 }, | |
1711 "nobuildFilesRegex": { | |
1712 "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.", | |
1713 "type": "string" | |
1714 }, | |
1715 "creationTime": { | |
1716 "description": "Time that this version was created.@OutputOn
ly", | |
1717 "format": "google-datetime", | |
1718 "type": "string" | |
1719 }, | |
1720 "basicScaling": { | |
1721 "$ref": "BasicScaling", | |
1722 "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." | |
1723 }, | |
1724 "runtime": { | |
1725 "description": "Desired runtime. Example: python27.", | |
1726 "type": "string" | |
1727 } | |
1728 }, | |
1729 "type": "object" | |
1730 }, | |
1731 "ContainerInfo": { | |
1732 "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.", | |
1733 "id": "ContainerInfo", | |
1734 "properties": { | |
1735 "image": { | |
1736 "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\"
", | |
1737 "type": "string" | |
1738 } | |
1739 }, | |
1740 "type": "object" | |
1741 }, | |
1742 "RequestUtilization": { | |
1743 "description": "Target scaling by request utilization. Only applicab
le for VM runtimes.", | |
1744 "id": "RequestUtilization", | |
1745 "properties": { | |
1746 "targetConcurrentRequests": { | |
1747 "description": "Target number of concurrent requests.", | |
1748 "format": "int32", | |
1749 "type": "integer" | |
1750 }, | |
1751 "targetRequestCountPerSec": { | |
1752 "description": "Target requests per second.", | |
1753 "format": "int32", | |
1754 "type": "integer" | |
1755 } | |
1756 }, | |
1757 "type": "object" | |
1758 }, | |
1759 "UrlMap": { | |
1760 "description": "URL pattern and description of how the URL should be
handled. App Engine can handle URLs by executing application code, or by servin
g static files uploaded with the version, such as images, CSS, or JavaScript.", | |
1761 "id": "UrlMap", | |
1762 "properties": { | |
1763 "script": { | |
1764 "$ref": "ScriptHandler", | |
1765 "description": "Executes a script to handle the request that
matches this URL pattern." | |
1766 }, | |
1767 "urlRegex": { | |
1768 "description": "A URL prefix. Uses regular expression syntax
, which means regexp special characters must be escaped, but should not contain
groupings. All URLs that begin with this prefix are handled by this handler, usi
ng the portion of the URL after the prefix as part of the file path.", | |
1769 "type": "string" | |
1770 }, | |
1771 "login": { | |
1772 "description": "Level of login required to access this resou
rce.", | |
1773 "enum": [ | |
1774 "LOGIN_UNSPECIFIED", | |
1775 "LOGIN_OPTIONAL", | |
1776 "LOGIN_ADMIN", | |
1777 "LOGIN_REQUIRED" | |
1778 ], | |
1779 "enumDescriptions": [ | |
1780 "Not specified. LOGIN_OPTIONAL is assumed.", | |
1781 "Does not require that the user is signed in.", | |
1782 "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.", | |
1783 "If the user has signed in, the handler proceeds normall
y. Otherwise, the auth_fail_action is taken." | |
1784 ], | |
1785 "type": "string" | |
1786 }, | |
1787 "apiEndpoint": { | |
1788 "$ref": "ApiEndpointHandler", | |
1789 "description": "Uses API Endpoints to handle requests." | |
1790 }, | |
1791 "staticDirectory": { | |
1792 "$ref": "StaticDirectoryHandler", | |
1793 "description": "Serves the entire contents of a directory as
static files.This attribute is deprecated. You can mimic the behavior of static
directories using static files." | |
1794 }, | |
1795 "staticFiles": { | |
1796 "$ref": "StaticFilesHandler", | |
1797 "description": "Returns the contents of a file, such as an i
mage, as the response." | |
1798 }, | |
1799 "redirectHttpResponseCode": { | |
1800 "description": "30x code to use when performing redirects fo
r the secure field. Defaults to 302.", | |
1801 "enum": [ | |
1802 "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", | |
1803 "REDIRECT_HTTP_RESPONSE_CODE_301", | |
1804 "REDIRECT_HTTP_RESPONSE_CODE_302", | |
1805 "REDIRECT_HTTP_RESPONSE_CODE_303", | |
1806 "REDIRECT_HTTP_RESPONSE_CODE_307" | |
1807 ], | |
1808 "enumDescriptions": [ | |
1809 "Not specified. 302 is assumed.", | |
1810 "301 Moved Permanently code.", | |
1811 "302 Moved Temporarily code.", | |
1812 "303 See Other code.", | |
1813 "307 Temporary Redirect code." | |
1814 ], | |
1815 "type": "string" | |
1816 }, | |
1817 "securityLevel": { | |
1818 "description": "Security (HTTPS) enforcement for this URL.", | |
1819 "enum": [ | |
1820 "SECURE_UNSPECIFIED", | |
1821 "SECURE_DEFAULT", | |
1822 "SECURE_NEVER", | |
1823 "SECURE_OPTIONAL", | |
1824 "SECURE_ALWAYS" | |
1825 ], | |
1826 "enumDescriptions": [ | |
1827 "Not specified.", | |
1828 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used, and respond accordingly.", | |
1829 "Requests for a URL that match this handler that use HTT
PS are automatically redirected to the HTTP equivalent URL.", | |
1830 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used and respond accordingly.", | |
1831 "Requests for a URL that match this handler that do not
use HTTPS are automatically redirected to the HTTPS URL with the same path. Quer
y parameters are reserved for the redirect." | |
1832 ], | |
1833 "type": "string" | |
1834 }, | |
1835 "authFailAction": { | |
1836 "description": "Action to take when users access resources t
hat require authentication. Defaults to redirect.", | |
1837 "enum": [ | |
1838 "AUTH_FAIL_ACTION_UNSPECIFIED", | |
1839 "AUTH_FAIL_ACTION_REDIRECT", | |
1840 "AUTH_FAIL_ACTION_UNAUTHORIZED" | |
1841 ], | |
1842 "enumDescriptions": [ | |
1843 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", | |
1844 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, | |
1845 "Rejects request with a 401 HTTP status code and an erro
r message." | |
1846 ], | |
1847 "type": "string" | |
1848 } | |
1849 }, | |
1850 "type": "object" | |
1851 }, | |
1852 "Operation": { | |
1853 "description": "This resource represents a long-running operation th
at is the result of a network API call.", | |
1854 "id": "Operation", | |
1855 "properties": { | |
1856 "response": { | |
1857 "additionalProperties": { | |
1858 "description": "Properties of the object. Contains field
@type with type URL.", | |
1859 "type": "any" | |
1860 }, | |
1861 "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.", | |
1862 "type": "object" | |
1863 }, | |
1864 "name": { | |
1865 "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.", | |
1866 "type": "string" | |
1867 }, | |
1868 "error": { | |
1869 "$ref": "Status", | |
1870 "description": "The error result of the operation in case of
failure or cancellation." | |
1871 }, | |
1872 "metadata": { | |
1873 "additionalProperties": { | |
1874 "description": "Properties of the object. Contains field
@type with type URL.", | |
1875 "type": "any" | |
1876 }, | |
1877 "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.", | |
1878 "type": "object" | |
1879 }, | |
1880 "done": { | |
1881 "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.", | |
1882 "type": "boolean" | |
1883 } | |
1884 }, | |
1885 "type": "object" | |
1886 }, | |
1887 "ApiConfigHandler": { | |
1888 "description": "Google Cloud Endpoints (https://cloud.google.com/app
engine/docs/python/endpoints/) configuration for API handlers.", | |
1889 "id": "ApiConfigHandler", | |
1890 "properties": { | |
1891 "url": { | |
1892 "description": "URL to serve the endpoint at.", | |
1893 "type": "string" | |
1894 }, | |
1895 "securityLevel": { | |
1896 "description": "Security (HTTPS) enforcement for this URL.", | |
1897 "enum": [ | |
1898 "SECURE_UNSPECIFIED", | |
1899 "SECURE_DEFAULT", | |
1900 "SECURE_NEVER", | |
1901 "SECURE_OPTIONAL", | |
1902 "SECURE_ALWAYS" | |
1903 ], | |
1904 "enumDescriptions": [ | |
1905 "Not specified.", | |
1906 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used, and respond accordingly.", | |
1907 "Requests for a URL that match this handler that use HTT
PS are automatically redirected to the HTTP equivalent URL.", | |
1908 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used and respond accordingly.", | |
1909 "Requests for a URL that match this handler that do not
use HTTPS are automatically redirected to the HTTPS URL with the same path. Quer
y parameters are reserved for the redirect." | |
1910 ], | |
1911 "type": "string" | |
1912 }, | |
1913 "authFailAction": { | |
1914 "description": "Action to take when users access resources t
hat require authentication. Defaults to redirect.", | |
1915 "enum": [ | |
1916 "AUTH_FAIL_ACTION_UNSPECIFIED", | |
1917 "AUTH_FAIL_ACTION_REDIRECT", | |
1918 "AUTH_FAIL_ACTION_UNAUTHORIZED" | |
1919 ], | |
1920 "enumDescriptions": [ | |
1921 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", | |
1922 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, | |
1923 "Rejects request with a 401 HTTP status code and an erro
r message." | |
1924 ], | |
1925 "type": "string" | |
1926 }, | |
1927 "script": { | |
1928 "description": "Path to the script from the application root
directory.", | |
1929 "type": "string" | |
1930 }, | |
1931 "login": { | |
1932 "description": "Level of login required to access this resou
rce. Defaults to optional.", | |
1933 "enum": [ | |
1934 "LOGIN_UNSPECIFIED", | |
1935 "LOGIN_OPTIONAL", | |
1936 "LOGIN_ADMIN", | |
1937 "LOGIN_REQUIRED" | |
1938 ], | |
1939 "enumDescriptions": [ | |
1940 "Not specified. LOGIN_OPTIONAL is assumed.", | |
1941 "Does not require that the user is signed in.", | |
1942 "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.", | |
1943 "If the user has signed in, the handler proceeds normall
y. Otherwise, the auth_fail_action is taken." | |
1944 ], | |
1945 "type": "string" | |
1946 } | |
1947 }, | |
1948 "type": "object" | |
1949 }, | |
1950 "FileInfo": { | |
1951 "description": "Single source file that is part of the version to be
deployed. Each source file that is deployed must be specified separately.", | |
1952 "id": "FileInfo", | |
1953 "properties": { | |
1954 "sha1Sum": { | |
1955 "description": "The SHA1 hash of the file, in hex.", | |
1956 "type": "string" | |
1957 }, | |
1958 "mimeType": { | |
1959 "description": "The MIME type of the file.Defaults to the va
lue from Google Cloud Storage.", | |
1960 "type": "string" | |
1961 }, | |
1962 "sourceUrl": { | |
1963 "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>'.", | |
1964 "type": "string" | |
1965 } | |
1966 }, | |
1967 "type": "object" | |
1968 }, | |
1969 "StaticFilesHandler": { | |
1970 "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.", | |
1971 "id": "StaticFilesHandler", | |
1972 "properties": { | |
1973 "uploadPathRegex": { | |
1974 "description": "Regular expression that matches the file pat
hs for all files that should be referenced by this handler.", | |
1975 "type": "string" | |
1976 }, | |
1977 "path": { | |
1978 "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.", | |
1979 "type": "string" | |
1980 }, | |
1981 "mimeType": { | |
1982 "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.", | |
1983 "type": "string" | |
1984 }, | |
1985 "requireMatchingFile": { | |
1986 "description": "Whether this handler should match the reques
t if the file referenced by the handler does not exist.", | |
1987 "type": "boolean" | |
1988 }, | |
1989 "expiration": { | |
1990 "description": "Time a static file served by this handler sh
ould be cached.", | |
1991 "format": "google-duration", | |
1992 "type": "string" | |
1993 }, | |
1994 "applicationReadable": { | |
1995 "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.", | |
1996 "type": "boolean" | |
1997 }, | |
1998 "httpHeaders": { | |
1999 "additionalProperties": { | |
2000 "type": "string" | |
2001 }, | |
2002 "description": "HTTP headers to use for all responses from t
hese URLs.", | |
2003 "type": "object" | |
2004 } | |
2005 }, | |
2006 "type": "object" | |
2007 }, | |
2008 "ScriptHandler": { | |
2009 "description": "Executes a script to handle the request that matches
the URL pattern.", | |
2010 "id": "ScriptHandler", | |
2011 "properties": { | |
2012 "scriptPath": { | |
2013 "description": "Path to the script from the application root
directory.", | |
2014 "type": "string" | |
2015 } | |
2016 }, | |
2017 "type": "object" | |
2018 }, | |
2019 "DiskUtilization": { | |
2020 "description": "Target scaling by disk usage. Only applicable for VM
runtimes.", | |
2021 "id": "DiskUtilization", | |
2022 "properties": { | |
2023 "targetReadBytesPerSec": { | |
2024 "description": "Target bytes read per second.", | |
2025 "format": "int32", | |
2026 "type": "integer" | |
2027 }, | |
2028 "targetWriteOpsPerSec": { | |
2029 "description": "Target ops written per second.", | |
2030 "format": "int32", | |
2031 "type": "integer" | |
2032 }, | |
2033 "targetWriteBytesPerSec": { | |
2034 "description": "Target bytes written per second.", | |
2035 "format": "int32", | |
2036 "type": "integer" | |
2037 }, | |
2038 "targetReadOpsPerSec": { | |
2039 "description": "Target ops read per second.", | |
2040 "format": "int32", | |
2041 "type": "integer" | |
2042 } | |
2043 }, | |
2044 "type": "object" | |
2045 }, | |
2046 "BasicScaling": { | |
2047 "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.", | |
2048 "id": "BasicScaling", | |
2049 "properties": { | |
2050 "maxInstances": { | |
2051 "description": "Maximum number of instances to create for th
is version.", | |
2052 "format": "int32", | |
2053 "type": "integer" | |
2054 }, | |
2055 "idleTimeout": { | |
2056 "description": "Duration of time after the last request that
an instance must wait before the instance is shut down.", | |
2057 "format": "google-duration", | |
2058 "type": "string" | |
2059 } | |
2060 }, | |
2061 "type": "object" | |
2062 }, | |
2063 "OperationMetadataExperimental": { | |
2064 "description": "Metadata for the given google.longrunning.Operation.
", | |
2065 "id": "OperationMetadataExperimental", | |
2066 "properties": { | |
2067 "target": { | |
2068 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly", | |
2069 "type": "string" | |
2070 }, | |
2071 "user": { | 1913 "user": { |
2072 "description": "User who requested this operation.@OutputOnl
y", | 1914 "description": "User who requested this operation.@OutputOnl
y", |
2073 "type": "string" | 1915 "type": "string" |
2074 }, | 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 }, |
2075 "method": { | 1925 "method": { |
2076 "description": "API method that initiated this operation. Ex
ample: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnl
y", | 1926 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1.Versions.CreateVersion.@OutputOnly", |
2077 "type": "string" | 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": { |
| 1938 "description": "Metadata for the given google.longrunning.Operation.
", |
| 1939 "id": "OperationMetadataV1Alpha", |
| 1940 "properties": { |
| 1941 "warning": { |
| 1942 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
| 1943 "items": { |
| 1944 "type": "string" |
| 1945 }, |
| 1946 "type": "array" |
2078 }, | 1947 }, |
2079 "insertTime": { | 1948 "insertTime": { |
2080 "description": "Time that this operation was created.@Output
Only", | 1949 "description": "Time that this operation was created.@Output
Only", |
2081 "format": "google-datetime", | 1950 "format": "google-datetime", |
2082 "type": "string" | 1951 "type": "string" |
2083 }, | 1952 }, |
| 1953 "target": { |
| 1954 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
| 1955 "type": "string" |
| 1956 }, |
| 1957 "user": { |
| 1958 "description": "User who requested this operation.@OutputOnl
y", |
| 1959 "type": "string" |
| 1960 }, |
| 1961 "ephemeralMessage": { |
| 1962 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
| 1963 "type": "string" |
| 1964 }, |
| 1965 "method": { |
| 1966 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly", |
| 1967 "type": "string" |
| 1968 }, |
2084 "endTime": { | 1969 "endTime": { |
2085 "description": "Time that this operation completed.@OutputOn
ly", | 1970 "description": "Time that this operation completed.@OutputOn
ly", |
2086 "format": "google-datetime", | 1971 "format": "google-datetime", |
2087 "type": "string" | 1972 "type": "string" |
2088 } | 1973 } |
2089 }, | 1974 }, |
2090 "type": "object" | 1975 "type": "object" |
2091 }, | 1976 }, |
2092 "CpuUtilization": { | 1977 "Network": { |
2093 "description": "Target scaling by CPU usage.", | 1978 "description": "Extra network settings. Only applicable for VM runti
mes.", |
2094 "id": "CpuUtilization", | 1979 "id": "Network", |
2095 "properties": { | 1980 "properties": { |
2096 "aggregationWindowLength": { | 1981 "instanceTag": { |
2097 "description": "Period of time over which CPU utilization is
calculated.", | 1982 "description": "Tag to apply to the VM instance during creat
ion.", |
2098 "format": "google-duration", | 1983 "type": "string" |
2099 "type": "string" | 1984 }, |
2100 }, | 1985 "forwardedPorts": { |
2101 "targetUtilization": { | 1986 "description": "List of ports, or port pairs, to forward fro
m the virtual machine to the application container.", |
2102 "description": "Target CPU utilization ratio to maintain whe
n scaling. Must be between 0 and 1.", | 1987 "items": { |
2103 "format": "double", | 1988 "type": "string" |
| 1989 }, |
| 1990 "type": "array" |
| 1991 }, |
| 1992 "name": { |
| 1993 "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" |
| 1995 } |
| 1996 }, |
| 1997 "type": "object" |
| 1998 }, |
| 1999 "Application": { |
| 2000 "description": "An Application resource contains the top-level confi
guration of an App Engine application.", |
| 2001 "id": "Application", |
| 2002 "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": { |
| 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", |
| 2009 "items": { |
| 2010 "$ref": "UrlDispatchRule" |
| 2011 }, |
| 2012 "type": "array" |
| 2013 }, |
| 2014 "defaultHostname": { |
| 2015 "description": "Hostname used to reach the application, as r
esolved by App Engine.@OutputOnly", |
| 2016 "type": "string" |
| 2017 }, |
| 2018 "name": { |
| 2019 "description": "Full path to the Application resource in the
API. Example: apps/myapp.@OutputOnly", |
| 2020 "type": "string" |
| 2021 }, |
| 2022 "iap": { |
| 2023 "$ref": "IdentityAwareProxy" |
| 2024 }, |
| 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": { |
| 2030 "description": "Cookie expiration policy for this applicatio
n.", |
| 2031 "format": "google-duration", |
| 2032 "type": "string" |
| 2033 }, |
| 2034 "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.", |
| 2036 "type": "string" |
| 2037 }, |
| 2038 "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", |
| 2040 "type": "string" |
| 2041 }, |
| 2042 "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", |
| 2044 "type": "string" |
| 2045 } |
| 2046 }, |
| 2047 "type": "object" |
| 2048 }, |
| 2049 "Instance": { |
| 2050 "description": "An Instance resource is the computing unit that App
Engine uses to automatically scale an application.", |
| 2051 "id": "Instance", |
| 2052 "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": { |
| 2068 "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" |
| 2070 }, |
| 2071 "vmId": { |
| 2072 "description": "Virtual machine ID of this instance. Only ap
plicable for instances in App Engine flexible environment.@OutputOnly", |
| 2073 "type": "string" |
| 2074 }, |
| 2075 "qps": { |
| 2076 "description": "Average queries per second (QPS) over the la
st minute.@OutputOnly", |
| 2077 "format": "float", |
2104 "type": "number" | 2078 "type": "number" |
2105 } | 2079 }, |
2106 }, | 2080 "vmZoneName": { |
2107 "type": "object" | 2081 "description": "Zone where the virtual machine is located. O
nly applicable for instances in App Engine flexible environment.@OutputOnly", |
2108 }, | 2082 "type": "string" |
2109 "Status": { | 2083 }, |
2110 "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.", | 2084 "vmUnlocked": { |
2111 "id": "Status", | 2085 "description": "Whether this instance is in debug mode. Only
applicable for instances in App Engine flexible environment.@OutputOnly", |
2112 "properties": { | |
2113 "details": { | |
2114 "description": "A list of messages that carry the error deta
ils. There will be a common set of message types for APIs to use.", | |
2115 "items": { | |
2116 "additionalProperties": { | |
2117 "description": "Properties of the object. Contains f
ield @type with type URL.", | |
2118 "type": "any" | |
2119 }, | |
2120 "type": "object" | |
2121 }, | |
2122 "type": "array" | |
2123 }, | |
2124 "code": { | |
2125 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | |
2126 "format": "int32", | |
2127 "type": "integer" | |
2128 }, | |
2129 "message": { | |
2130 "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.", | |
2131 "type": "string" | |
2132 } | |
2133 }, | |
2134 "type": "object" | |
2135 }, | |
2136 "IdentityAwareProxy": { | |
2137 "description": "Identity-Aware Proxy", | |
2138 "id": "IdentityAwareProxy", | |
2139 "properties": { | |
2140 "oauth2ClientSecret": { | |
2141 "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", | |
2142 "type": "string" | |
2143 }, | |
2144 "oauth2ClientId": { | |
2145 "description": "OAuth2 client ID to use for the authenticati
on flow.", | |
2146 "type": "string" | |
2147 }, | |
2148 "oauth2ClientSecretSha256": { | |
2149 "description": "Hex-encoded SHA-256 hash of the client secre
t.@OutputOnly", | |
2150 "type": "string" | |
2151 }, | |
2152 "enabled": { | |
2153 "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.", | |
2154 "type": "boolean" | 2086 "type": "boolean" |
2155 } | 2087 }, |
2156 }, | 2088 "name": { |
2157 "type": "object" | 2089 "description": "Full path to the Instance resource in the AP
I. Example: apps/myapp/modules/default/versions/v1/instances/instance-1.@OutputO
nly", |
2158 }, | 2090 "type": "string" |
2159 "ManualScaling": { | 2091 }, |
2160 "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.", | 2092 "averageLatency": { |
2161 "id": "ManualScaling", | 2093 "description": "Average latency (ms) over the last minute.@O
utputOnly", |
2162 "properties": { | 2094 "format": "int32", |
2163 "instances": { | 2095 "type": "integer" |
2164 "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.", | 2096 }, |
2165 "format": "int32", | 2097 "vmIp": { |
2166 "type": "integer" | 2098 "description": "The IP address of this instance. Only applic
able for instances in App Engine flexible environment.@OutputOnly", |
2167 } | 2099 "type": "string" |
2168 }, | 2100 }, |
2169 "type": "object" | 2101 "memoryUsage": { |
2170 }, | 2102 "description": "Total memory in use (bytes).@OutputOnly", |
2171 "TrafficSplit": { | 2103 "format": "int64", |
2172 "description": "Traffic routing configuration for versions within a
single module. Traffic splits define how traffic directed to the module is assig
ned to versions.", | 2104 "type": "string" |
2173 "id": "TrafficSplit", | 2105 }, |
2174 "properties": { | 2106 "id": { |
2175 "allocations": { | 2107 "description": "Relative name of the instance within the ver
sion. Example: instance-1.@OutputOnly", |
2176 "additionalProperties": { | 2108 "type": "string" |
2177 "format": "double", | 2109 }, |
2178 "type": "number" | 2110 "vmStatus": { |
2179 }, | 2111 "description": "Status of the virtual machine where this ins
tance lives. Only applicable for instances in App Engine flexible environment.@O
utputOnly", |
2180 "description": "Mapping from version IDs within the module t
o fractional (0.000, 1] allocations of traffic for that version. Each version ca
n be specified only once, but some versions in the module may not have any traff
ic allocation. Modules that have traffic allocated cannot be deleted until eithe
r the module is deleted or their traffic allocation is removed. Allocations must
sum to 1. Up to two decimal place precision is supported for IP-based splits an
d up to three decimal places is supported for cookie-based splits.", | 2112 "type": "string" |
2181 "type": "object" | 2113 }, |
2182 }, | 2114 "errors": { |
2183 "shardBy": { | 2115 "description": "Number of errors since this instance was sta
rted.@OutputOnly", |
2184 "description": "Mechanism used to determine which version a
request is sent to. The traffic selection algorithm will be stable for either ty
pe until allocations are changed.", | 2116 "format": "uint32", |
| 2117 "type": "integer" |
| 2118 }, |
| 2119 "availability": { |
| 2120 "description": "Availability of the instance.@OutputOnly", |
2185 "enum": [ | 2121 "enum": [ |
2186 "UNSPECIFIED", | 2122 "UNSPECIFIED", |
2187 "COOKIE", | 2123 "RESIDENT", |
2188 "IP" | 2124 "DYNAMIC" |
2189 ], | 2125 ], |
2190 "enumDescriptions": [ | 2126 "enumDescriptions": [ |
2191 "Diversion method unspecified.", | 2127 "", |
2192 "Diversion based on a specially named cookie, \"GOOGAPPU
ID.\" The cookie must be set by the application itself or else no diversion will
occur.", | 2128 "", |
2193 "Diversion based on applying the modulus operation to a
fingerprint of the IP address." | 2129 "" |
2194 ], | 2130 ], |
2195 "type": "string" | 2131 "type": "string" |
2196 } | 2132 } |
2197 }, | 2133 }, |
2198 "type": "object" | 2134 "type": "object" |
2199 }, | 2135 }, |
2200 "LocationMetadata": { | 2136 "UrlDispatchRule": { |
2201 "description": "Metadata for the given google.cloud.location.Locatio
n.", | 2137 "description": "Rules to match an HTTP request and dispatch that req
uest to a module.", |
2202 "id": "LocationMetadata", | 2138 "id": "UrlDispatchRule", |
2203 "properties": { | 2139 "properties": { |
2204 "standardEnvironmentAvailable": { | 2140 "module": { |
2205 "description": "App Engine Standard Environment is available
in the given location.@OutputOnly", | 2141 "description": "Resource ID of a module in this application
that should serve the matched request. The module must already exist. Example: d
efault.", |
2206 "type": "boolean" | 2142 "type": "string" |
2207 }, | 2143 }, |
2208 "flexibleEnvironmentAvailable": { | 2144 "domain": { |
2209 "description": "App Engine Flexible Environment is available
in the given location.@OutputOnly", | 2145 "description": "Domain name to match against. The wildcard \
"*\" is supported if specified before a period: \"*.\".Defaults to matching all
domains: \"*\".", |
2210 "type": "boolean" | 2146 "type": "string" |
2211 } | 2147 }, |
2212 }, | 2148 "path": { |
2213 "type": "object" | 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.", |
2214 }, | 2150 "type": "string" |
2215 "OperationMetadataV1Beta": { | 2151 } |
2216 "description": "Metadata for the given google.longrunning.Operation.
", | 2152 }, |
2217 "id": "OperationMetadataV1Beta", | 2153 "type": "object" |
2218 "properties": { | 2154 }, |
2219 "insertTime": { | 2155 "Module": { |
2220 "description": "Time that this operation was created.@Output
Only", | 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.", |
2221 "format": "google-datetime", | 2157 "id": "Module", |
2222 "type": "string" | 2158 "properties": { |
2223 }, | 2159 "name": { |
2224 "warning": { | 2160 "description": "Full path to the Module resource in the API.
Example: apps/myapp/modules/default.@OutputOnly", |
2225 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", | 2161 "type": "string" |
2226 "items": { | 2162 }, |
2227 "type": "string" | 2163 "split": { |
2228 }, | 2164 "$ref": "TrafficSplit", |
2229 "type": "array" | 2165 "description": "Mapping that defines fractional HTTP traffic
diversion to different versions within the module." |
2230 }, | 2166 }, |
2231 "user": { | 2167 "id": { |
2232 "description": "User who requested this operation.@OutputOnl
y", | 2168 "description": "Relative name of the module within the appli
cation. Example: default.@OutputOnly", |
2233 "type": "string" | 2169 "type": "string" |
2234 }, | 2170 } |
2235 "target": { | 2171 }, |
2236 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | 2172 "type": "object" |
2237 "type": "string" | 2173 }, |
2238 }, | 2174 "ListVersionsResponse": { |
2239 "ephemeralMessage": { | 2175 "description": "Response message for Versions.ListVersions.", |
2240 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", | 2176 "id": "ListVersionsResponse", |
2241 "type": "string" | |
2242 }, | |
2243 "method": { | |
2244 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly", | |
2245 "type": "string" | |
2246 }, | |
2247 "endTime": { | |
2248 "description": "Time that this operation completed.@OutputOn
ly", | |
2249 "format": "google-datetime", | |
2250 "type": "string" | |
2251 } | |
2252 }, | |
2253 "type": "object" | |
2254 }, | |
2255 "ListModulesResponse": { | |
2256 "description": "Response message for Modules.ListModules.", | |
2257 "id": "ListModulesResponse", | |
2258 "properties": { | 2177 "properties": { |
2259 "nextPageToken": { | 2178 "nextPageToken": { |
2260 "description": "Continuation token for fetching the next pag
e of results.", | 2179 "description": "Continuation token for fetching the next pag
e of results.", |
2261 "type": "string" | 2180 "type": "string" |
2262 }, | 2181 }, |
2263 "modules": { | 2182 "versions": { |
2264 "description": "The modules belonging to the requested appli
cation.", | 2183 "description": "The versions belonging to the requested modu
le.", |
2265 "items": { | 2184 "items": { |
2266 "$ref": "Module" | 2185 "$ref": "Version" |
2267 }, | 2186 }, |
2268 "type": "array" | 2187 "type": "array" |
2269 } | 2188 } |
2270 }, | 2189 }, |
2271 "type": "object" | 2190 "type": "object" |
2272 }, | 2191 }, |
2273 "Deployment": { | 2192 "ApiEndpointHandler": { |
2274 "description": "Code and application artifacts used to deploy a vers
ion to App Engine.", | 2193 "description": "Uses Google Cloud Endpoints to handle requests.", |
2275 "id": "Deployment", | 2194 "id": "ApiEndpointHandler", |
2276 "properties": { | 2195 "properties": { |
2277 "files": { | 2196 "scriptPath": { |
| 2197 "description": "Path to the script from the application root
directory.", |
| 2198 "type": "string" |
| 2199 } |
| 2200 }, |
| 2201 "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": { |
2278 "additionalProperties": { | 2217 "additionalProperties": { |
2279 "$ref": "FileInfo" | 2218 "type": "string" |
2280 }, | 2219 }, |
2281 "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.", | 2220 "description": "HTTP headers to use for all responses from t
hese URLs.", |
2282 "type": "object" | 2221 "type": "object" |
2283 }, | 2222 }, |
2284 "sourceReferences": { | 2223 "directory": { |
2285 "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.", | 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.", |
2286 "items": { | 2225 "type": "string" |
2287 "$ref": "SourceReference" | 2226 }, |
2288 }, | 2227 "mimeType": { |
2289 "type": "array" | 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.", |
2290 }, | 2229 "type": "string" |
2291 "container": { | 2230 }, |
2292 "$ref": "ContainerInfo", | 2231 "requireMatchingFile": { |
2293 "description": "The Docker image for the container that runs
the version. Only applicable for instances running in the App Engine flexible e
nvironment." | 2232 "description": "Whether this handler should match the reques
t if the file referenced by the handler does not exist.", |
2294 } | 2233 "type": "boolean" |
2295 }, | 2234 } |
2296 "type": "object" | 2235 }, |
2297 }, | 2236 "type": "object" |
2298 "Resources": { | 2237 }, |
2299 "description": "Machine resources for a version.", | 2238 "AutomaticScaling": { |
2300 "id": "Resources", | 2239 "description": "Automatic scaling is based on request rate, response
latencies, and other application metrics.", |
2301 "properties": { | 2240 "id": "AutomaticScaling", |
2302 "memoryGb": { | 2241 "properties": { |
2303 "description": "Memory (GB) needed.", | 2242 "minTotalInstances": { |
2304 "format": "double", | 2243 "description": "Minimum number of instances that should be m
aintained for this version.", |
2305 "type": "number" | 2244 "format": "int32", |
2306 }, | 2245 "type": "integer" |
2307 "cpu": { | 2246 }, |
2308 "description": "Number of CPU cores needed.", | 2247 "networkUtilization": { |
2309 "format": "double", | 2248 "$ref": "NetworkUtilization", |
2310 "type": "number" | 2249 "description": "Target scaling by network usage." |
2311 }, | 2250 }, |
2312 "volumes": { | 2251 "maxConcurrentRequests": { |
2313 "description": "User specified volumes.", | 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.", |
2314 "items": { | 2253 "format": "int32", |
2315 "$ref": "Volume" | 2254 "type": "integer" |
2316 }, | 2255 }, |
2317 "type": "array" | 2256 "coolDownPeriod": { |
2318 }, | 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.", |
2319 "diskGb": { | 2258 "format": "google-duration", |
2320 "description": "Disk size (GB) needed.", | 2259 "type": "string" |
2321 "format": "double", | 2260 }, |
2322 "type": "number" | 2261 "maxPendingLatency": { |
2323 } | 2262 "description": "Maximum amount of time that a request should
wait in the pending queue before starting a new instance to handle it.", |
2324 }, | 2263 "format": "google-duration", |
2325 "type": "object" | 2264 "type": "string" |
2326 }, | 2265 }, |
2327 "Volume": { | 2266 "cpuUtilization": { |
2328 "description": "Volumes mounted within the app container. Only appli
cable for VM runtimes.", | 2267 "$ref": "CpuUtilization", |
2329 "id": "Volume", | 2268 "description": "Target scaling by CPU usage." |
2330 "properties": { | 2269 }, |
2331 "volumeType": { | 2270 "diskUtilization": { |
2332 "description": "Underlying volume type, e.g. 'tmpfs'.", | 2271 "$ref": "DiskUtilization", |
2333 "type": "string" | 2272 "description": "Target scaling by disk usage." |
2334 }, | 2273 }, |
2335 "sizeGb": { | 2274 "minPendingLatency": { |
2336 "description": "Volume size in gigabytes.", | 2275 "description": "Minimum amount of time a request should wait
in the pending queue before starting a new instance to handle it.", |
2337 "format": "double", | 2276 "format": "google-duration", |
2338 "type": "number" | 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" |
2339 }, | 2338 }, |
2340 "name": { | 2339 "name": { |
2341 "description": "Unique name for the volume.", | 2340 "description": "Resource name for the location, which may va
ry between implementations. For example: \"projects/example-project/locations/us
-east1\"", |
2342 "type": "string" | 2341 "type": "string" |
2343 } | 2342 }, |
2344 }, | 2343 "locationId": { |
2345 "type": "object" | 2344 "description": "The canonical id for this location. For exam
ple: \"us-east1\".", |
2346 }, | 2345 "type": "string" |
2347 "ListOperationsResponse": { | 2346 }, |
2348 "description": "The response message for Operations.ListOperations."
, | 2347 "metadata": { |
2349 "id": "ListOperationsResponse", | 2348 "additionalProperties": { |
2350 "properties": { | 2349 "description": "Properties of the object. Contains field
@type with type URL.", |
2351 "operations": { | 2350 "type": "any" |
2352 "description": "A list of operations that matches the specif
ied filter in the request.", | 2351 }, |
2353 "items": { | 2352 "description": "Service-specific metadata. For example the a
vailable capacity at the given location.", |
2354 "$ref": "Operation" | 2353 "type": "object" |
2355 }, | 2354 } |
2356 "type": "array" | 2355 }, |
2357 }, | 2356 "type": "object" |
2358 "nextPageToken": { | 2357 }, |
2359 "description": "The standard List next-page token.", | 2358 "HealthCheck": { |
2360 "type": "string" | 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.", |
2361 } | 2360 "id": "HealthCheck", |
2362 }, | 2361 "properties": { |
2363 "type": "object" | 2362 "unhealthyThreshold": { |
2364 }, | 2363 "description": "Number of consecutive failed health checks r
equired before removing traffic.", |
2365 "OperationMetadata": { | 2364 "format": "uint32", |
2366 "description": "Metadata for the given google.longrunning.Operation.
", | 2365 "type": "integer" |
2367 "id": "OperationMetadata", | 2366 }, |
2368 "properties": { | 2367 "disableHealthCheck": { |
2369 "operationType": { | 2368 "description": "Whether to explicitly disable health checks
for this instance.", |
2370 "description": "Type of this operation. Deprecated, use meth
od field instead. Example: \"create_version\".@OutputOnly", | 2369 "type": "boolean" |
2371 "type": "string" | 2370 }, |
2372 }, | 2371 "host": { |
2373 "insertTime": { | 2372 "description": "Host header to send when performing an HTTP
health check. Example: \"myapp.appspot.com\"", |
2374 "description": "Timestamp that this operation was created.@O
utputOnly", | 2373 "type": "string" |
2375 "format": "google-datetime", | 2374 }, |
2376 "type": "string" | 2375 "restartThreshold": { |
2377 }, | 2376 "description": "Number of consecutive failed health checks r
equired before an instance is restarted.", |
2378 "user": { | 2377 "format": "uint32", |
2379 "description": "User who requested this operation.@OutputOnl
y", | 2378 "type": "integer" |
2380 "type": "string" | 2379 }, |
2381 }, | 2380 "healthyThreshold": { |
2382 "target": { | 2381 "description": "Number of consecutive successful health chec
ks required before receiving traffic.", |
2383 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/modules/default.@OutputOnly", | 2382 "format": "uint32", |
2384 "type": "string" | 2383 "type": "integer" |
2385 }, | 2384 }, |
2386 "method": { | 2385 "checkInterval": { |
2387 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta4.Version.CreateVersion.@OutputOnly", | 2386 "description": "Interval between health checks.", |
2388 "type": "string" | 2387 "format": "google-duration", |
2389 }, | 2388 "type": "string" |
2390 "endTime": { | 2389 }, |
2391 "description": "Timestamp that this operation completed.@Out
putOnly", | 2390 "timeout": { |
2392 "format": "google-datetime", | 2391 "description": "Time before the health check is considered f
ailed.", |
2393 "type": "string" | 2392 "format": "google-duration", |
2394 } | 2393 "type": "string" |
2395 }, | 2394 } |
| 2395 }, |
2396 "type": "object" | 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 |