OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/appengine.admin": { | 5 "https://www.googleapis.com/auth/appengine.admin": { |
6 "description": "View and manage your applications deployed o
n Google App Engine" | 6 "description": "View and manage your applications deployed o
n Google App Engine" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/cloud-platform.read-only": { | 8 "https://www.googleapis.com/auth/cloud-platform.read-only": { |
9 "description": "View your data across Google Cloud Platform
services" | 9 "description": "View your data across Google Cloud Platform
services" |
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:v1", | 27 "id": "appengine:v1", |
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 "key": { | |
34 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | |
35 "location": "query", | |
36 "type": "string" | |
37 }, | |
38 "access_token": { | |
39 "description": "OAuth access token.", | |
40 "location": "query", | |
41 "type": "string" | |
42 }, | |
43 "quotaUser": { | |
44 "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.", | |
45 "location": "query", | |
46 "type": "string" | |
47 }, | |
48 "pp": { | |
49 "default": "true", | |
50 "description": "Pretty-print response.", | |
51 "location": "query", | |
52 "type": "boolean" | |
53 }, | |
54 "oauth_token": { | |
55 "description": "OAuth 2.0 token for the current user.", | |
56 "location": "query", | |
57 "type": "string" | |
58 }, | |
59 "bearer_token": { | |
60 "description": "OAuth bearer token.", | |
61 "location": "query", | |
62 "type": "string" | |
63 }, | |
64 "upload_protocol": { | |
65 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | |
66 "location": "query", | |
67 "type": "string" | |
68 }, | |
69 "prettyPrint": { | |
70 "default": "true", | |
71 "description": "Returns response with indentations and line breaks."
, | |
72 "location": "query", | |
73 "type": "boolean" | |
74 }, | |
75 "uploadType": { | 33 "uploadType": { |
76 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 34 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
77 "location": "query", | 35 "location": "query", |
78 "type": "string" | 36 "type": "string" |
79 }, | 37 }, |
80 "fields": { | 38 "fields": { |
81 "description": "Selector specifying which fields to include in a par
tial response.", | 39 "description": "Selector specifying which fields to include in a par
tial response.", |
82 "location": "query", | 40 "location": "query", |
83 "type": "string" | 41 "type": "string" |
84 }, | 42 }, |
| 43 "callback": { |
| 44 "description": "JSONP", |
| 45 "location": "query", |
| 46 "type": "string" |
| 47 }, |
85 "$.xgafv": { | 48 "$.xgafv": { |
86 "description": "V1 error format.", | 49 "description": "V1 error format.", |
87 "enum": [ | 50 "enum": [ |
88 "1", | 51 "1", |
89 "2" | 52 "2" |
90 ], | 53 ], |
91 "enumDescriptions": [ | 54 "enumDescriptions": [ |
92 "v1 error format", | 55 "v1 error format", |
93 "v2 error format" | 56 "v2 error format" |
94 ], | 57 ], |
95 "location": "query", | 58 "location": "query", |
96 "type": "string" | 59 "type": "string" |
97 }, | 60 }, |
98 "callback": { | |
99 "description": "JSONP", | |
100 "location": "query", | |
101 "type": "string" | |
102 }, | |
103 "alt": { | 61 "alt": { |
104 "default": "json", | 62 "default": "json", |
105 "description": "Data format for response.", | 63 "description": "Data format for response.", |
106 "enum": [ | 64 "enum": [ |
107 "json", | 65 "json", |
108 "media", | 66 "media", |
109 "proto" | 67 "proto" |
110 ], | 68 ], |
111 "enumDescriptions": [ | 69 "enumDescriptions": [ |
112 "Responses with Content-Type of application/json", | 70 "Responses with Content-Type of application/json", |
113 "Media download with context-dependent Content-Type", | 71 "Media download with context-dependent Content-Type", |
114 "Responses with Content-Type of application/x-protobuf" | 72 "Responses with Content-Type of application/x-protobuf" |
115 ], | 73 ], |
116 "location": "query", | 74 "location": "query", |
117 "type": "string" | 75 "type": "string" |
| 76 }, |
| 77 "access_token": { |
| 78 "description": "OAuth access token.", |
| 79 "location": "query", |
| 80 "type": "string" |
| 81 }, |
| 82 "key": { |
| 83 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 84 "location": "query", |
| 85 "type": "string" |
| 86 }, |
| 87 "quotaUser": { |
| 88 "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.", |
| 89 "location": "query", |
| 90 "type": "string" |
| 91 }, |
| 92 "pp": { |
| 93 "default": "true", |
| 94 "description": "Pretty-print response.", |
| 95 "location": "query", |
| 96 "type": "boolean" |
| 97 }, |
| 98 "bearer_token": { |
| 99 "description": "OAuth bearer token.", |
| 100 "location": "query", |
| 101 "type": "string" |
| 102 }, |
| 103 "oauth_token": { |
| 104 "description": "OAuth 2.0 token for the current user.", |
| 105 "location": "query", |
| 106 "type": "string" |
| 107 }, |
| 108 "upload_protocol": { |
| 109 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 110 "location": "query", |
| 111 "type": "string" |
| 112 }, |
| 113 "prettyPrint": { |
| 114 "default": "true", |
| 115 "description": "Returns response with indentations and line breaks."
, |
| 116 "location": "query", |
| 117 "type": "boolean" |
118 } | 118 } |
119 }, | 119 }, |
120 "protocol": "rest", | 120 "protocol": "rest", |
121 "resources": { | 121 "resources": { |
122 "apps": { | 122 "apps": { |
123 "methods": { | 123 "methods": { |
| 124 "repair": { |
| 125 "description": "Recreates the required App Engine features f
or the specified App Engine application, for example a Cloud Storage bucket or A
pp Engine service account. Use this method if you receive an error message about
a missing feature, for example, Error retrieving the App Engine service account
.", |
| 126 "httpMethod": "POST", |
| 127 "id": "appengine.apps.repair", |
| 128 "parameterOrder": [ |
| 129 "appsId" |
| 130 ], |
| 131 "parameters": { |
| 132 "appsId": { |
| 133 "description": "Part of `name`. Name of the applicat
ion to repair. Example: apps/myapp", |
| 134 "location": "path", |
| 135 "required": true, |
| 136 "type": "string" |
| 137 } |
| 138 }, |
| 139 "path": "v1/apps/{appsId}:repair", |
| 140 "request": { |
| 141 "$ref": "RepairApplicationRequest" |
| 142 }, |
| 143 "response": { |
| 144 "$ref": "Operation" |
| 145 }, |
| 146 "scopes": [ |
| 147 "https://www.googleapis.com/auth/cloud-platform" |
| 148 ] |
| 149 }, |
124 "get": { | 150 "get": { |
125 "description": "Gets information about an application.", | 151 "description": "Gets information about an application.", |
126 "httpMethod": "GET", | 152 "httpMethod": "GET", |
127 "id": "appengine.apps.get", | 153 "id": "appengine.apps.get", |
128 "parameterOrder": [ | 154 "parameterOrder": [ |
129 "appsId" | 155 "appsId" |
130 ], | 156 ], |
131 "parameters": { | 157 "parameters": { |
132 "appsId": { | 158 "appsId": { |
133 "description": "Part of `name`. Name of the Applicat
ion resource to get. Example: apps/myapp.", | 159 "description": "Part of `name`. Name of the Applicat
ion resource to get. Example: apps/myapp.", |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 "path": "v1/apps", | 213 "path": "v1/apps", |
188 "request": { | 214 "request": { |
189 "$ref": "Application" | 215 "$ref": "Application" |
190 }, | 216 }, |
191 "response": { | 217 "response": { |
192 "$ref": "Operation" | 218 "$ref": "Operation" |
193 }, | 219 }, |
194 "scopes": [ | 220 "scopes": [ |
195 "https://www.googleapis.com/auth/cloud-platform" | 221 "https://www.googleapis.com/auth/cloud-platform" |
196 ] | 222 ] |
197 }, | |
198 "repair": { | |
199 "description": "Recreates the required App Engine features f
or the specified App Engine application, for example a Cloud Storage bucket or A
pp Engine service account. Use this method if you receive an error message about
a missing feature, for example, Error retrieving the App Engine service account
.", | |
200 "httpMethod": "POST", | |
201 "id": "appengine.apps.repair", | |
202 "parameterOrder": [ | |
203 "appsId" | |
204 ], | |
205 "parameters": { | |
206 "appsId": { | |
207 "description": "Part of `name`. Name of the applicat
ion to repair. Example: apps/myapp", | |
208 "location": "path", | |
209 "required": true, | |
210 "type": "string" | |
211 } | |
212 }, | |
213 "path": "v1/apps/{appsId}:repair", | |
214 "request": { | |
215 "$ref": "RepairApplicationRequest" | |
216 }, | |
217 "response": { | |
218 "$ref": "Operation" | |
219 }, | |
220 "scopes": [ | |
221 "https://www.googleapis.com/auth/cloud-platform" | |
222 ] | |
223 } | 223 } |
224 }, | 224 }, |
225 "resources": { | 225 "resources": { |
226 "services": { | 226 "operations": { |
227 "methods": { | 227 "methods": { |
228 "list": { | 228 "list": { |
229 "description": "Lists all the services in the applic
ation.", | 229 "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.", |
230 "httpMethod": "GET", | 230 "httpMethod": "GET", |
231 "id": "appengine.apps.services.list", | 231 "id": "appengine.apps.operations.list", |
232 "parameterOrder": [ | 232 "parameterOrder": [ |
233 "appsId" | 233 "appsId" |
234 ], | 234 ], |
235 "parameters": { | 235 "parameters": { |
236 "pageSize": { | 236 "pageSize": { |
237 "description": "Maximum results to return pe
r page.", | 237 "description": "The standard list page size.
", |
238 "format": "int32", | 238 "format": "int32", |
239 "location": "query", | 239 "location": "query", |
240 "type": "integer" | 240 "type": "integer" |
241 }, | 241 }, |
| 242 "filter": { |
| 243 "description": "The standard list filter.", |
| 244 "location": "query", |
| 245 "type": "string" |
| 246 }, |
242 "appsId": { | 247 "appsId": { |
243 "description": "Part of `parent`. Name of th
e parent Application resource. Example: apps/myapp.", | 248 "description": "Part of `name`. The name of
the operation's parent resource.", |
244 "location": "path", | 249 "location": "path", |
245 "required": true, | 250 "required": true, |
246 "type": "string" | 251 "type": "string" |
247 }, | 252 }, |
248 "pageToken": { | 253 "pageToken": { |
249 "description": "Continuation token for fetch
ing the next page of results.", | 254 "description": "The standard list page token
.", |
250 "location": "query", | 255 "location": "query", |
251 "type": "string" | 256 "type": "string" |
252 } | 257 } |
253 }, | 258 }, |
254 "path": "v1/apps/{appsId}/services", | 259 "path": "v1/apps/{appsId}/operations", |
255 "response": { | 260 "response": { |
256 "$ref": "ListServicesResponse" | 261 "$ref": "ListOperationsResponse" |
257 }, | 262 }, |
258 "scopes": [ | 263 "scopes": [ |
259 "https://www.googleapis.com/auth/appengine.admin
", | 264 "https://www.googleapis.com/auth/appengine.admin
", |
260 "https://www.googleapis.com/auth/cloud-platform"
, | 265 "https://www.googleapis.com/auth/cloud-platform"
, |
261 "https://www.googleapis.com/auth/cloud-platform.
read-only" | 266 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
262 ] | 267 ] |
263 }, | 268 }, |
264 "get": { | 269 "get": { |
| 270 "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.", |
| 271 "httpMethod": "GET", |
| 272 "id": "appengine.apps.operations.get", |
| 273 "parameterOrder": [ |
| 274 "appsId", |
| 275 "operationsId" |
| 276 ], |
| 277 "parameters": { |
| 278 "appsId": { |
| 279 "description": "Part of `name`. The name of
the operation resource.", |
| 280 "location": "path", |
| 281 "required": true, |
| 282 "type": "string" |
| 283 }, |
| 284 "operationsId": { |
| 285 "description": "Part of `name`. See document
ation of `appsId`.", |
| 286 "location": "path", |
| 287 "required": true, |
| 288 "type": "string" |
| 289 } |
| 290 }, |
| 291 "path": "v1/apps/{appsId}/operations/{operationsId}"
, |
| 292 "response": { |
| 293 "$ref": "Operation" |
| 294 }, |
| 295 "scopes": [ |
| 296 "https://www.googleapis.com/auth/appengine.admin
", |
| 297 "https://www.googleapis.com/auth/cloud-platform"
, |
| 298 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 299 ] |
| 300 } |
| 301 } |
| 302 }, |
| 303 "locations": { |
| 304 "methods": { |
| 305 "list": { |
| 306 "description": "Lists information about the supporte
d locations for this service.", |
| 307 "httpMethod": "GET", |
| 308 "id": "appengine.apps.locations.list", |
| 309 "parameterOrder": [ |
| 310 "appsId" |
| 311 ], |
| 312 "parameters": { |
| 313 "filter": { |
| 314 "description": "The standard list filter.", |
| 315 "location": "query", |
| 316 "type": "string" |
| 317 }, |
| 318 "appsId": { |
| 319 "description": "Part of `name`. The resource
that owns the locations collection, if applicable.", |
| 320 "location": "path", |
| 321 "required": true, |
| 322 "type": "string" |
| 323 }, |
| 324 "pageToken": { |
| 325 "description": "The standard list page token
.", |
| 326 "location": "query", |
| 327 "type": "string" |
| 328 }, |
| 329 "pageSize": { |
| 330 "description": "The standard list page size.
", |
| 331 "format": "int32", |
| 332 "location": "query", |
| 333 "type": "integer" |
| 334 } |
| 335 }, |
| 336 "path": "v1/apps/{appsId}/locations", |
| 337 "response": { |
| 338 "$ref": "ListLocationsResponse" |
| 339 }, |
| 340 "scopes": [ |
| 341 "https://www.googleapis.com/auth/appengine.admin
", |
| 342 "https://www.googleapis.com/auth/cloud-platform"
, |
| 343 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 344 ] |
| 345 }, |
| 346 "get": { |
| 347 "description": "Get information about a location.", |
| 348 "httpMethod": "GET", |
| 349 "id": "appengine.apps.locations.get", |
| 350 "parameterOrder": [ |
| 351 "appsId", |
| 352 "locationsId" |
| 353 ], |
| 354 "parameters": { |
| 355 "appsId": { |
| 356 "description": "Part of `name`. Resource nam
e for the location.", |
| 357 "location": "path", |
| 358 "required": true, |
| 359 "type": "string" |
| 360 }, |
| 361 "locationsId": { |
| 362 "description": "Part of `name`. See document
ation of `appsId`.", |
| 363 "location": "path", |
| 364 "required": true, |
| 365 "type": "string" |
| 366 } |
| 367 }, |
| 368 "path": "v1/apps/{appsId}/locations/{locationsId}", |
| 369 "response": { |
| 370 "$ref": "Location" |
| 371 }, |
| 372 "scopes": [ |
| 373 "https://www.googleapis.com/auth/appengine.admin
", |
| 374 "https://www.googleapis.com/auth/cloud-platform"
, |
| 375 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 376 ] |
| 377 } |
| 378 } |
| 379 }, |
| 380 "services": { |
| 381 "methods": { |
| 382 "list": { |
| 383 "description": "Lists all the services in the applic
ation.", |
| 384 "httpMethod": "GET", |
| 385 "id": "appengine.apps.services.list", |
| 386 "parameterOrder": [ |
| 387 "appsId" |
| 388 ], |
| 389 "parameters": { |
| 390 "appsId": { |
| 391 "description": "Part of `parent`. Name of th
e parent Application resource. Example: apps/myapp.", |
| 392 "location": "path", |
| 393 "required": true, |
| 394 "type": "string" |
| 395 }, |
| 396 "pageToken": { |
| 397 "description": "Continuation token for fetch
ing the next page of results.", |
| 398 "location": "query", |
| 399 "type": "string" |
| 400 }, |
| 401 "pageSize": { |
| 402 "description": "Maximum results to return pe
r page.", |
| 403 "format": "int32", |
| 404 "location": "query", |
| 405 "type": "integer" |
| 406 } |
| 407 }, |
| 408 "path": "v1/apps/{appsId}/services", |
| 409 "response": { |
| 410 "$ref": "ListServicesResponse" |
| 411 }, |
| 412 "scopes": [ |
| 413 "https://www.googleapis.com/auth/appengine.admin
", |
| 414 "https://www.googleapis.com/auth/cloud-platform"
, |
| 415 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 416 ] |
| 417 }, |
| 418 "get": { |
265 "description": "Gets the current configuration of th
e specified service.", | 419 "description": "Gets the current configuration of th
e specified service.", |
266 "httpMethod": "GET", | 420 "httpMethod": "GET", |
267 "id": "appengine.apps.services.get", | 421 "id": "appengine.apps.services.get", |
268 "parameterOrder": [ | 422 "parameterOrder": [ |
269 "appsId", | 423 "appsId", |
270 "servicesId" | 424 "servicesId" |
271 ], | 425 ], |
272 "parameters": { | 426 "parameters": { |
273 "servicesId": { | 427 "servicesId": { |
274 "description": "Part of `name`. See document
ation of `appsId`.", | 428 "description": "Part of `name`. See document
ation of `appsId`.", |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 "$ref": "Operation" | 518 "$ref": "Operation" |
365 }, | 519 }, |
366 "scopes": [ | 520 "scopes": [ |
367 "https://www.googleapis.com/auth/cloud-platform" | 521 "https://www.googleapis.com/auth/cloud-platform" |
368 ] | 522 ] |
369 } | 523 } |
370 }, | 524 }, |
371 "resources": { | 525 "resources": { |
372 "versions": { | 526 "versions": { |
373 "methods": { | 527 "methods": { |
374 "delete": { | |
375 "description": "Deletes an existing Version
resource.", | |
376 "httpMethod": "DELETE", | |
377 "id": "appengine.apps.services.versions.dele
te", | |
378 "parameterOrder": [ | |
379 "appsId", | |
380 "servicesId", | |
381 "versionsId" | |
382 ], | |
383 "parameters": { | |
384 "versionsId": { | |
385 "description": "Part of `name`. See
documentation of `appsId`.", | |
386 "location": "path", | |
387 "required": true, | |
388 "type": "string" | |
389 }, | |
390 "servicesId": { | |
391 "description": "Part of `name`. See
documentation of `appsId`.", | |
392 "location": "path", | |
393 "required": true, | |
394 "type": "string" | |
395 }, | |
396 "appsId": { | |
397 "description": "Part of `name`. Name
of the resource requested. Example: apps/myapp/services/default/versions/v1.", | |
398 "location": "path", | |
399 "required": true, | |
400 "type": "string" | |
401 } | |
402 }, | |
403 "path": "v1/apps/{appsId}/services/{services
Id}/versions/{versionsId}", | |
404 "response": { | |
405 "$ref": "Operation" | |
406 }, | |
407 "scopes": [ | |
408 "https://www.googleapis.com/auth/cloud-p
latform" | |
409 ] | |
410 }, | |
411 "list": { | 528 "list": { |
412 "description": "Lists the versions of a serv
ice.", | 529 "description": "Lists the versions of a serv
ice.", |
413 "httpMethod": "GET", | 530 "httpMethod": "GET", |
414 "id": "appengine.apps.services.versions.list
", | 531 "id": "appengine.apps.services.versions.list
", |
415 "parameterOrder": [ | 532 "parameterOrder": [ |
416 "appsId", | 533 "appsId", |
417 "servicesId" | 534 "servicesId" |
418 ], | 535 ], |
419 "parameters": { | 536 "parameters": { |
420 "pageSize": { | 537 "pageSize": { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 "get": { | 580 "get": { |
464 "description": "Gets the specified Version r
esource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW p
arameter to get the full resource.", | 581 "description": "Gets the specified Version r
esource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW p
arameter to get the full resource.", |
465 "httpMethod": "GET", | 582 "httpMethod": "GET", |
466 "id": "appengine.apps.services.versions.get"
, | 583 "id": "appengine.apps.services.versions.get"
, |
467 "parameterOrder": [ | 584 "parameterOrder": [ |
468 "appsId", | 585 "appsId", |
469 "servicesId", | 586 "servicesId", |
470 "versionsId" | 587 "versionsId" |
471 ], | 588 ], |
472 "parameters": { | 589 "parameters": { |
473 "servicesId": { | |
474 "description": "Part of `name`. See
documentation of `appsId`.", | |
475 "location": "path", | |
476 "required": true, | |
477 "type": "string" | |
478 }, | |
479 "appsId": { | |
480 "description": "Part of `name`. Name
of the resource requested. Example: apps/myapp/services/default/versions/v1.", | |
481 "location": "path", | |
482 "required": true, | |
483 "type": "string" | |
484 }, | |
485 "versionsId": { | 590 "versionsId": { |
486 "description": "Part of `name`. See
documentation of `appsId`.", | 591 "description": "Part of `name`. See
documentation of `appsId`.", |
487 "location": "path", | 592 "location": "path", |
488 "required": true, | 593 "required": true, |
489 "type": "string" | 594 "type": "string" |
490 }, | 595 }, |
491 "view": { | 596 "view": { |
492 "description": "Controls the set of
fields returned in the Get response.", | 597 "description": "Controls the set of
fields returned in the Get response.", |
493 "enum": [ | 598 "enum": [ |
494 "BASIC", | 599 "BASIC", |
495 "FULL" | 600 "FULL" |
496 ], | 601 ], |
497 "location": "query", | 602 "location": "query", |
498 "type": "string" | 603 "type": "string" |
| 604 }, |
| 605 "servicesId": { |
| 606 "description": "Part of `name`. See
documentation of `appsId`.", |
| 607 "location": "path", |
| 608 "required": true, |
| 609 "type": "string" |
| 610 }, |
| 611 "appsId": { |
| 612 "description": "Part of `name`. Name
of the resource requested. Example: apps/myapp/services/default/versions/v1.", |
| 613 "location": "path", |
| 614 "required": true, |
| 615 "type": "string" |
499 } | 616 } |
500 }, | 617 }, |
501 "path": "v1/apps/{appsId}/services/{services
Id}/versions/{versionsId}", | 618 "path": "v1/apps/{appsId}/services/{services
Id}/versions/{versionsId}", |
502 "response": { | 619 "response": { |
503 "$ref": "Version" | 620 "$ref": "Version" |
504 }, | 621 }, |
505 "scopes": [ | 622 "scopes": [ |
506 "https://www.googleapis.com/auth/appengi
ne.admin", | 623 "https://www.googleapis.com/auth/appengi
ne.admin", |
507 "https://www.googleapis.com/auth/cloud-p
latform", | 624 "https://www.googleapis.com/auth/cloud-p
latform", |
508 "https://www.googleapis.com/auth/cloud-p
latform.read-only" | 625 "https://www.googleapis.com/auth/cloud-p
latform.read-only" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 "path": "v1/apps/{appsId}/services/{services
Id}/versions", | 696 "path": "v1/apps/{appsId}/services/{services
Id}/versions", |
580 "request": { | 697 "request": { |
581 "$ref": "Version" | 698 "$ref": "Version" |
582 }, | 699 }, |
583 "response": { | 700 "response": { |
584 "$ref": "Operation" | 701 "$ref": "Operation" |
585 }, | 702 }, |
586 "scopes": [ | 703 "scopes": [ |
587 "https://www.googleapis.com/auth/cloud-p
latform" | 704 "https://www.googleapis.com/auth/cloud-p
latform" |
588 ] | 705 ] |
| 706 }, |
| 707 "delete": { |
| 708 "description": "Deletes an existing Version
resource.", |
| 709 "httpMethod": "DELETE", |
| 710 "id": "appengine.apps.services.versions.dele
te", |
| 711 "parameterOrder": [ |
| 712 "appsId", |
| 713 "servicesId", |
| 714 "versionsId" |
| 715 ], |
| 716 "parameters": { |
| 717 "servicesId": { |
| 718 "description": "Part of `name`. See
documentation of `appsId`.", |
| 719 "location": "path", |
| 720 "required": true, |
| 721 "type": "string" |
| 722 }, |
| 723 "appsId": { |
| 724 "description": "Part of `name`. Name
of the resource requested. Example: apps/myapp/services/default/versions/v1.", |
| 725 "location": "path", |
| 726 "required": true, |
| 727 "type": "string" |
| 728 }, |
| 729 "versionsId": { |
| 730 "description": "Part of `name`. See
documentation of `appsId`.", |
| 731 "location": "path", |
| 732 "required": true, |
| 733 "type": "string" |
| 734 } |
| 735 }, |
| 736 "path": "v1/apps/{appsId}/services/{services
Id}/versions/{versionsId}", |
| 737 "response": { |
| 738 "$ref": "Operation" |
| 739 }, |
| 740 "scopes": [ |
| 741 "https://www.googleapis.com/auth/cloud-p
latform" |
| 742 ] |
589 } | 743 } |
590 }, | 744 }, |
591 "resources": { | 745 "resources": { |
592 "instances": { | 746 "instances": { |
593 "methods": { | 747 "methods": { |
594 "list": { | 748 "delete": { |
595 "description": "Lists the instances
of a version.Tip: To aggregate details about instances over time, see the Stackd
river Monitoring API (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/pro
jects.timeSeries/list).", | 749 "description": "Stops a running inst
ance.", |
596 "httpMethod": "GET", | 750 "httpMethod": "DELETE", |
597 "id": "appengine.apps.services.versi
ons.instances.list", | 751 "id": "appengine.apps.services.versi
ons.instances.delete", |
598 "parameterOrder": [ | |
599 "appsId", | |
600 "servicesId", | |
601 "versionsId" | |
602 ], | |
603 "parameters": { | |
604 "pageSize": { | |
605 "description": "Maximum resu
lts to return per page.", | |
606 "format": "int32", | |
607 "location": "query", | |
608 "type": "integer" | |
609 }, | |
610 "versionsId": { | |
611 "description": "Part of `par
ent`. See documentation of `appsId`.", | |
612 "location": "path", | |
613 "required": true, | |
614 "type": "string" | |
615 }, | |
616 "servicesId": { | |
617 "description": "Part of `par
ent`. See documentation of `appsId`.", | |
618 "location": "path", | |
619 "required": true, | |
620 "type": "string" | |
621 }, | |
622 "appsId": { | |
623 "description": "Part of `par
ent`. Name of the parent Version resource. Example: apps/myapp/services/default/
versions/v1.", | |
624 "location": "path", | |
625 "required": true, | |
626 "type": "string" | |
627 }, | |
628 "pageToken": { | |
629 "description": "Continuation
token for fetching the next page of results.", | |
630 "location": "query", | |
631 "type": "string" | |
632 } | |
633 }, | |
634 "path": "v1/apps/{appsId}/services/{
servicesId}/versions/{versionsId}/instances", | |
635 "response": { | |
636 "$ref": "ListInstancesResponse" | |
637 }, | |
638 "scopes": [ | |
639 "https://www.googleapis.com/auth
/appengine.admin", | |
640 "https://www.googleapis.com/auth
/cloud-platform", | |
641 "https://www.googleapis.com/auth
/cloud-platform.read-only" | |
642 ] | |
643 }, | |
644 "get": { | |
645 "description": "Gets instance inform
ation.", | |
646 "httpMethod": "GET", | |
647 "id": "appengine.apps.services.versi
ons.instances.get", | |
648 "parameterOrder": [ | 752 "parameterOrder": [ |
649 "appsId", | 753 "appsId", |
650 "servicesId", | 754 "servicesId", |
651 "versionsId", | 755 "versionsId", |
652 "instancesId" | 756 "instancesId" |
653 ], | 757 ], |
654 "parameters": { | 758 "parameters": { |
655 "servicesId": { | 759 "servicesId": { |
656 "description": "Part of `nam
e`. See documentation of `appsId`.", | 760 "description": "Part of `nam
e`. See documentation of `appsId`.", |
657 "location": "path", | 761 "location": "path", |
(...skipping 14 matching lines...) Expand all Loading... |
672 }, | 776 }, |
673 "versionsId": { | 777 "versionsId": { |
674 "description": "Part of `nam
e`. See documentation of `appsId`.", | 778 "description": "Part of `nam
e`. See documentation of `appsId`.", |
675 "location": "path", | 779 "location": "path", |
676 "required": true, | 780 "required": true, |
677 "type": "string" | 781 "type": "string" |
678 } | 782 } |
679 }, | 783 }, |
680 "path": "v1/apps/{appsId}/services/{
servicesId}/versions/{versionsId}/instances/{instancesId}", | 784 "path": "v1/apps/{appsId}/services/{
servicesId}/versions/{versionsId}/instances/{instancesId}", |
681 "response": { | 785 "response": { |
682 "$ref": "Instance" | 786 "$ref": "Operation" |
| 787 }, |
| 788 "scopes": [ |
| 789 "https://www.googleapis.com/auth
/cloud-platform" |
| 790 ] |
| 791 }, |
| 792 "list": { |
| 793 "description": "Lists the instances
of a version.Tip: To aggregate details about instances over time, see the Stackd
river Monitoring API (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/pro
jects.timeSeries/list).", |
| 794 "httpMethod": "GET", |
| 795 "id": "appengine.apps.services.versi
ons.instances.list", |
| 796 "parameterOrder": [ |
| 797 "appsId", |
| 798 "servicesId", |
| 799 "versionsId" |
| 800 ], |
| 801 "parameters": { |
| 802 "servicesId": { |
| 803 "description": "Part of `par
ent`. See documentation of `appsId`.", |
| 804 "location": "path", |
| 805 "required": true, |
| 806 "type": "string" |
| 807 }, |
| 808 "appsId": { |
| 809 "description": "Part of `par
ent`. Name of the parent Version resource. Example: apps/myapp/services/default/
versions/v1.", |
| 810 "location": "path", |
| 811 "required": true, |
| 812 "type": "string" |
| 813 }, |
| 814 "pageToken": { |
| 815 "description": "Continuation
token for fetching the next page of results.", |
| 816 "location": "query", |
| 817 "type": "string" |
| 818 }, |
| 819 "pageSize": { |
| 820 "description": "Maximum resu
lts to return per page.", |
| 821 "format": "int32", |
| 822 "location": "query", |
| 823 "type": "integer" |
| 824 }, |
| 825 "versionsId": { |
| 826 "description": "Part of `par
ent`. See documentation of `appsId`.", |
| 827 "location": "path", |
| 828 "required": true, |
| 829 "type": "string" |
| 830 } |
| 831 }, |
| 832 "path": "v1/apps/{appsId}/services/{
servicesId}/versions/{versionsId}/instances", |
| 833 "response": { |
| 834 "$ref": "ListInstancesResponse" |
683 }, | 835 }, |
684 "scopes": [ | 836 "scopes": [ |
685 "https://www.googleapis.com/auth
/appengine.admin", | 837 "https://www.googleapis.com/auth
/appengine.admin", |
686 "https://www.googleapis.com/auth
/cloud-platform", | 838 "https://www.googleapis.com/auth
/cloud-platform", |
687 "https://www.googleapis.com/auth
/cloud-platform.read-only" | 839 "https://www.googleapis.com/auth
/cloud-platform.read-only" |
688 ] | 840 ] |
689 }, | 841 }, |
690 "debug": { | 842 "get": { |
691 "description": "Enables debugging on
a VM instance. This allows you to use the SSH command to connect to the virtual
machine where the instance lives. While in \"debug mode\", the instance continu
es to serve live traffic. You should delete the instance when you are done debug
ging and then allow the system to take over and determine if another instance sh
ould be started.Only applicable for instances in App Engine flexible environment
.", | 843 "description": "Gets instance inform
ation.", |
692 "httpMethod": "POST", | 844 "httpMethod": "GET", |
693 "id": "appengine.apps.services.versi
ons.instances.debug", | 845 "id": "appengine.apps.services.versi
ons.instances.get", |
694 "parameterOrder": [ | 846 "parameterOrder": [ |
695 "appsId", | 847 "appsId", |
696 "servicesId", | 848 "servicesId", |
697 "versionsId", | 849 "versionsId", |
698 "instancesId" | 850 "instancesId" |
699 ], | 851 ], |
700 "parameters": { | 852 "parameters": { |
| 853 "versionsId": { |
| 854 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 855 "location": "path", |
| 856 "required": true, |
| 857 "type": "string" |
| 858 }, |
701 "servicesId": { | 859 "servicesId": { |
702 "description": "Part of `nam
e`. See documentation of `appsId`.", | 860 "description": "Part of `nam
e`. See documentation of `appsId`.", |
703 "location": "path", | 861 "location": "path", |
704 "required": true, | 862 "required": true, |
705 "type": "string" | 863 "type": "string" |
706 }, | 864 }, |
707 "appsId": { | 865 "appsId": { |
708 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/services/default/version
s/v1/instances/instance-1.", | 866 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/services/default/version
s/v1/instances/instance-1.", |
709 "location": "path", | 867 "location": "path", |
710 "required": true, | 868 "required": true, |
711 "type": "string" | 869 "type": "string" |
712 }, | 870 }, |
713 "instancesId": { | 871 "instancesId": { |
714 "description": "Part of `nam
e`. See documentation of `appsId`.", | 872 "description": "Part of `nam
e`. See documentation of `appsId`.", |
715 "location": "path", | 873 "location": "path", |
716 "required": true, | 874 "required": true, |
717 "type": "string" | 875 "type": "string" |
718 }, | |
719 "versionsId": { | |
720 "description": "Part of `nam
e`. See documentation of `appsId`.", | |
721 "location": "path", | |
722 "required": true, | |
723 "type": "string" | |
724 } | 876 } |
725 }, | 877 }, |
726 "path": "v1/apps/{appsId}/services/{
servicesId}/versions/{versionsId}/instances/{instancesId}:debug", | 878 "path": "v1/apps/{appsId}/services/{
servicesId}/versions/{versionsId}/instances/{instancesId}", |
727 "request": { | |
728 "$ref": "DebugInstanceRequest" | |
729 }, | |
730 "response": { | 879 "response": { |
731 "$ref": "Operation" | 880 "$ref": "Instance" |
732 }, | 881 }, |
733 "scopes": [ | 882 "scopes": [ |
734 "https://www.googleapis.com/auth
/cloud-platform" | 883 "https://www.googleapis.com/auth
/appengine.admin", |
| 884 "https://www.googleapis.com/auth
/cloud-platform", |
| 885 "https://www.googleapis.com/auth
/cloud-platform.read-only" |
735 ] | 886 ] |
736 }, | 887 }, |
737 "delete": { | 888 "debug": { |
738 "description": "Stops a running inst
ance.", | 889 "description": "Enables debugging on
a VM instance. This allows you to use the SSH command to connect to the virtual
machine where the instance lives. While in \"debug mode\", the instance continu
es to serve live traffic. You should delete the instance when you are done debug
ging and then allow the system to take over and determine if another instance sh
ould be started.Only applicable for instances in App Engine flexible environment
.", |
739 "httpMethod": "DELETE", | 890 "httpMethod": "POST", |
740 "id": "appengine.apps.services.versi
ons.instances.delete", | 891 "id": "appengine.apps.services.versi
ons.instances.debug", |
741 "parameterOrder": [ | 892 "parameterOrder": [ |
742 "appsId", | 893 "appsId", |
743 "servicesId", | 894 "servicesId", |
744 "versionsId", | 895 "versionsId", |
745 "instancesId" | 896 "instancesId" |
746 ], | 897 ], |
747 "parameters": { | 898 "parameters": { |
748 "versionsId": { | 899 "versionsId": { |
749 "description": "Part of `nam
e`. See documentation of `appsId`.", | 900 "description": "Part of `nam
e`. See documentation of `appsId`.", |
750 "location": "path", | 901 "location": "path", |
(...skipping 12 matching lines...) Expand all Loading... |
763 "required": true, | 914 "required": true, |
764 "type": "string" | 915 "type": "string" |
765 }, | 916 }, |
766 "instancesId": { | 917 "instancesId": { |
767 "description": "Part of `nam
e`. See documentation of `appsId`.", | 918 "description": "Part of `nam
e`. See documentation of `appsId`.", |
768 "location": "path", | 919 "location": "path", |
769 "required": true, | 920 "required": true, |
770 "type": "string" | 921 "type": "string" |
771 } | 922 } |
772 }, | 923 }, |
773 "path": "v1/apps/{appsId}/services/{
servicesId}/versions/{versionsId}/instances/{instancesId}", | 924 "path": "v1/apps/{appsId}/services/{
servicesId}/versions/{versionsId}/instances/{instancesId}:debug", |
| 925 "request": { |
| 926 "$ref": "DebugInstanceRequest" |
| 927 }, |
774 "response": { | 928 "response": { |
775 "$ref": "Operation" | 929 "$ref": "Operation" |
776 }, | 930 }, |
777 "scopes": [ | 931 "scopes": [ |
778 "https://www.googleapis.com/auth
/cloud-platform" | 932 "https://www.googleapis.com/auth
/cloud-platform" |
779 ] | 933 ] |
780 } | 934 } |
781 } | 935 } |
782 } | 936 } |
783 } | 937 } |
784 } | 938 } |
785 } | 939 } |
786 }, | |
787 "operations": { | |
788 "methods": { | |
789 "list": { | |
790 "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 below allows API services to override th
e binding to use different resource name schemes, such as users/*/operations.", | |
791 "httpMethod": "GET", | |
792 "id": "appengine.apps.operations.list", | |
793 "parameterOrder": [ | |
794 "appsId" | |
795 ], | |
796 "parameters": { | |
797 "pageSize": { | |
798 "description": "The standard list page size.
", | |
799 "format": "int32", | |
800 "location": "query", | |
801 "type": "integer" | |
802 }, | |
803 "filter": { | |
804 "description": "The standard list filter.", | |
805 "location": "query", | |
806 "type": "string" | |
807 }, | |
808 "appsId": { | |
809 "description": "Part of `name`. The name of
the operation collection.", | |
810 "location": "path", | |
811 "required": true, | |
812 "type": "string" | |
813 }, | |
814 "pageToken": { | |
815 "description": "The standard list page token
.", | |
816 "location": "query", | |
817 "type": "string" | |
818 } | |
819 }, | |
820 "path": "v1/apps/{appsId}/operations", | |
821 "response": { | |
822 "$ref": "ListOperationsResponse" | |
823 }, | |
824 "scopes": [ | |
825 "https://www.googleapis.com/auth/appengine.admin
", | |
826 "https://www.googleapis.com/auth/cloud-platform"
, | |
827 "https://www.googleapis.com/auth/cloud-platform.
read-only" | |
828 ] | |
829 }, | |
830 "get": { | |
831 "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.", | |
832 "httpMethod": "GET", | |
833 "id": "appengine.apps.operations.get", | |
834 "parameterOrder": [ | |
835 "appsId", | |
836 "operationsId" | |
837 ], | |
838 "parameters": { | |
839 "operationsId": { | |
840 "description": "Part of `name`. See document
ation of `appsId`.", | |
841 "location": "path", | |
842 "required": true, | |
843 "type": "string" | |
844 }, | |
845 "appsId": { | |
846 "description": "Part of `name`. The name of
the operation resource.", | |
847 "location": "path", | |
848 "required": true, | |
849 "type": "string" | |
850 } | |
851 }, | |
852 "path": "v1/apps/{appsId}/operations/{operationsId}"
, | |
853 "response": { | |
854 "$ref": "Operation" | |
855 }, | |
856 "scopes": [ | |
857 "https://www.googleapis.com/auth/appengine.admin
", | |
858 "https://www.googleapis.com/auth/cloud-platform"
, | |
859 "https://www.googleapis.com/auth/cloud-platform.
read-only" | |
860 ] | |
861 } | |
862 } | |
863 }, | |
864 "locations": { | |
865 "methods": { | |
866 "list": { | |
867 "description": "Lists information about the supporte
d locations for this service.", | |
868 "httpMethod": "GET", | |
869 "id": "appengine.apps.locations.list", | |
870 "parameterOrder": [ | |
871 "appsId" | |
872 ], | |
873 "parameters": { | |
874 "pageSize": { | |
875 "description": "The standard list page size.
", | |
876 "format": "int32", | |
877 "location": "query", | |
878 "type": "integer" | |
879 }, | |
880 "filter": { | |
881 "description": "The standard list filter.", | |
882 "location": "query", | |
883 "type": "string" | |
884 }, | |
885 "appsId": { | |
886 "description": "Part of `name`. The resource
that owns the locations collection, if applicable.", | |
887 "location": "path", | |
888 "required": true, | |
889 "type": "string" | |
890 }, | |
891 "pageToken": { | |
892 "description": "The standard list page token
.", | |
893 "location": "query", | |
894 "type": "string" | |
895 } | |
896 }, | |
897 "path": "v1/apps/{appsId}/locations", | |
898 "response": { | |
899 "$ref": "ListLocationsResponse" | |
900 }, | |
901 "scopes": [ | |
902 "https://www.googleapis.com/auth/appengine.admin
", | |
903 "https://www.googleapis.com/auth/cloud-platform"
, | |
904 "https://www.googleapis.com/auth/cloud-platform.
read-only" | |
905 ] | |
906 }, | |
907 "get": { | |
908 "description": "Get information about a location.", | |
909 "httpMethod": "GET", | |
910 "id": "appengine.apps.locations.get", | |
911 "parameterOrder": [ | |
912 "appsId", | |
913 "locationsId" | |
914 ], | |
915 "parameters": { | |
916 "appsId": { | |
917 "description": "Part of `name`. Resource nam
e for the location.", | |
918 "location": "path", | |
919 "required": true, | |
920 "type": "string" | |
921 }, | |
922 "locationsId": { | |
923 "description": "Part of `name`. See document
ation of `appsId`.", | |
924 "location": "path", | |
925 "required": true, | |
926 "type": "string" | |
927 } | |
928 }, | |
929 "path": "v1/apps/{appsId}/locations/{locationsId}", | |
930 "response": { | |
931 "$ref": "Location" | |
932 }, | |
933 "scopes": [ | |
934 "https://www.googleapis.com/auth/appengine.admin
", | |
935 "https://www.googleapis.com/auth/cloud-platform"
, | |
936 "https://www.googleapis.com/auth/cloud-platform.
read-only" | |
937 ] | |
938 } | |
939 } | |
940 } | 940 } |
941 } | 941 } |
942 } | 942 } |
943 }, | 943 }, |
944 "revision": "20170426", | 944 "revision": "20170601", |
945 "rootUrl": "https://appengine.googleapis.com/", | 945 "rootUrl": "https://appengine.googleapis.com/", |
946 "schemas": { | 946 "schemas": { |
947 "ScriptHandler": { | 947 "OperationMetadataV1Alpha": { |
948 "description": "Executes a script to handle the request that matches
the URL pattern.", | |
949 "id": "ScriptHandler", | |
950 "properties": { | |
951 "scriptPath": { | |
952 "description": "Path to the script from the application root
directory.", | |
953 "type": "string" | |
954 } | |
955 }, | |
956 "type": "object" | |
957 }, | |
958 "FileInfo": { | |
959 "description": "Single source file that is part of the version to be
deployed. Each source file that is deployed must be specified separately.", | |
960 "id": "FileInfo", | |
961 "properties": { | |
962 "mimeType": { | |
963 "description": "The MIME type of the file.Defaults to the va
lue from Google Cloud Storage.", | |
964 "type": "string" | |
965 }, | |
966 "sourceUrl": { | |
967 "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>'.", | |
968 "type": "string" | |
969 }, | |
970 "sha1Sum": { | |
971 "description": "The SHA1 hash of the file, in hex.", | |
972 "type": "string" | |
973 } | |
974 }, | |
975 "type": "object" | |
976 }, | |
977 "OperationMetadataExperimental": { | |
978 "description": "Metadata for the given google.longrunning.Operation.
", | 948 "description": "Metadata for the given google.longrunning.Operation.
", |
979 "id": "OperationMetadataExperimental", | 949 "id": "OperationMetadataV1Alpha", |
980 "properties": { | |
981 "method": { | |
982 "description": "API method that initiated this operation. Ex
ample: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnl
y", | |
983 "type": "string" | |
984 }, | |
985 "insertTime": { | |
986 "description": "Time that this operation was created.@Output
Only", | |
987 "format": "google-datetime", | |
988 "type": "string" | |
989 }, | |
990 "endTime": { | |
991 "description": "Time that this operation completed.@OutputOn
ly", | |
992 "format": "google-datetime", | |
993 "type": "string" | |
994 }, | |
995 "user": { | |
996 "description": "User who requested this operation.@OutputOnl
y", | |
997 "type": "string" | |
998 }, | |
999 "target": { | |
1000 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly", | |
1001 "type": "string" | |
1002 } | |
1003 }, | |
1004 "type": "object" | |
1005 }, | |
1006 "TrafficSplit": { | |
1007 "description": "Traffic routing configuration for versions within a
single service. Traffic splits define how traffic directed to the service is ass
igned to versions.", | |
1008 "id": "TrafficSplit", | |
1009 "properties": { | |
1010 "shardBy": { | |
1011 "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.", | |
1012 "enum": [ | |
1013 "UNSPECIFIED", | |
1014 "COOKIE", | |
1015 "IP", | |
1016 "RANDOM" | |
1017 ], | |
1018 "enumDescriptions": [ | |
1019 "Diversion method unspecified.", | |
1020 "Diversion based on a specially named cookie, \"GOOGAPPU
ID.\" The cookie must be set by the application itself or no diversion will occu
r.", | |
1021 "Diversion based on applying the modulus operation to a
fingerprint of the IP address.", | |
1022 "Diversion based on weighted random assignment. An incom
ing request is randomly routed to a version in the traffic split, with probabili
ty proportional to the version's traffic share." | |
1023 ], | |
1024 "type": "string" | |
1025 }, | |
1026 "allocations": { | |
1027 "additionalProperties": { | |
1028 "format": "double", | |
1029 "type": "number" | |
1030 }, | |
1031 "description": "Mapping from version IDs within the service
to fractional (0.000, 1] allocations of traffic for that version. Each version c
an be specified only once, but some versions in the service may not have any tra
ffic allocation. Services that have traffic allocated cannot be deleted until ei
ther the service is deleted or their traffic allocation is removed. Allocations
must sum to 1. Up to two decimal place precision is supported for IP-based split
s and up to three decimal places is supported for cookie-based splits.", | |
1032 "type": "object" | |
1033 } | |
1034 }, | |
1035 "type": "object" | |
1036 }, | |
1037 "OperationMetadataV1Beta": { | |
1038 "description": "Metadata for the given google.longrunning.Operation.
", | |
1039 "id": "OperationMetadataV1Beta", | |
1040 "properties": { | 950 "properties": { |
1041 "endTime": { | 951 "endTime": { |
1042 "description": "Time that this operation completed.@OutputOn
ly", | 952 "description": "Time that this operation completed.@OutputOn
ly", |
1043 "format": "google-datetime", | 953 "format": "google-datetime", |
1044 "type": "string" | 954 "type": "string" |
1045 }, | 955 }, |
1046 "insertTime": { | |
1047 "description": "Time that this operation was created.@Output
Only", | |
1048 "format": "google-datetime", | |
1049 "type": "string" | |
1050 }, | |
1051 "warning": { | 956 "warning": { |
1052 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", | 957 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
1053 "items": { | 958 "items": { |
1054 "type": "string" | 959 "type": "string" |
1055 }, | 960 }, |
1056 "type": "array" | 961 "type": "array" |
1057 }, | 962 }, |
1058 "target": { | 963 "insertTime": { |
1059 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | 964 "description": "Time that this operation was created.@Output
Only", |
| 965 "format": "google-datetime", |
1060 "type": "string" | 966 "type": "string" |
1061 }, | 967 }, |
1062 "user": { | 968 "user": { |
1063 "description": "User who requested this operation.@OutputOnl
y", | 969 "description": "User who requested this operation.@OutputOnl
y", |
1064 "type": "string" | 970 "type": "string" |
1065 }, | 971 }, |
| 972 "target": { |
| 973 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
| 974 "type": "string" |
| 975 }, |
1066 "ephemeralMessage": { | 976 "ephemeralMessage": { |
1067 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", | 977 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
1068 "type": "string" | 978 "type": "string" |
1069 }, | 979 }, |
1070 "method": { | 980 "method": { |
1071 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly", | 981 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly", |
1072 "type": "string" | 982 "type": "string" |
1073 } | 983 } |
1074 }, | 984 }, |
1075 "type": "object" | 985 "type": "object" |
1076 }, | |
1077 "ListServicesResponse": { | |
1078 "description": "Response message for Services.ListServices.", | |
1079 "id": "ListServicesResponse", | |
1080 "properties": { | |
1081 "services": { | |
1082 "description": "The services belonging to the requested appl
ication.", | |
1083 "items": { | |
1084 "$ref": "Service" | |
1085 }, | |
1086 "type": "array" | |
1087 }, | |
1088 "nextPageToken": { | |
1089 "description": "Continuation token for fetching the next pag
e of results.", | |
1090 "type": "string" | |
1091 } | |
1092 }, | |
1093 "type": "object" | |
1094 }, | |
1095 "Deployment": { | |
1096 "description": "Code and application artifacts used to deploy a vers
ion to App Engine.", | |
1097 "id": "Deployment", | |
1098 "properties": { | |
1099 "files": { | |
1100 "additionalProperties": { | |
1101 "$ref": "FileInfo" | |
1102 }, | |
1103 "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.", | |
1104 "type": "object" | |
1105 }, | |
1106 "zip": { | |
1107 "$ref": "ZipInfo", | |
1108 "description": "The zip file for this deployment, if this is
a zip deployment." | |
1109 }, | |
1110 "container": { | |
1111 "$ref": "ContainerInfo", | |
1112 "description": "The Docker image for the container that runs
the version. Only applicable for instances running in the App Engine flexible e
nvironment." | |
1113 } | |
1114 }, | |
1115 "type": "object" | |
1116 }, | |
1117 "Resources": { | |
1118 "description": "Machine resources for a version.", | |
1119 "id": "Resources", | |
1120 "properties": { | |
1121 "cpu": { | |
1122 "description": "Number of CPU cores needed.", | |
1123 "format": "double", | |
1124 "type": "number" | |
1125 }, | |
1126 "memoryGb": { | |
1127 "description": "Memory (GB) needed.", | |
1128 "format": "double", | |
1129 "type": "number" | |
1130 }, | |
1131 "volumes": { | |
1132 "description": "User specified volumes.", | |
1133 "items": { | |
1134 "$ref": "Volume" | |
1135 }, | |
1136 "type": "array" | |
1137 }, | |
1138 "diskGb": { | |
1139 "description": "Disk size (GB) needed.", | |
1140 "format": "double", | |
1141 "type": "number" | |
1142 } | |
1143 }, | |
1144 "type": "object" | |
1145 }, | |
1146 "Volume": { | |
1147 "description": "Volumes mounted within the app container. Only appli
cable for VM runtimes.", | |
1148 "id": "Volume", | |
1149 "properties": { | |
1150 "volumeType": { | |
1151 "description": "Underlying volume type, e.g. 'tmpfs'.", | |
1152 "type": "string" | |
1153 }, | |
1154 "sizeGb": { | |
1155 "description": "Volume size in gigabytes.", | |
1156 "format": "double", | |
1157 "type": "number" | |
1158 }, | |
1159 "name": { | |
1160 "description": "Unique name for the volume.", | |
1161 "type": "string" | |
1162 } | |
1163 }, | |
1164 "type": "object" | |
1165 }, | |
1166 "ListInstancesResponse": { | |
1167 "description": "Response message for Instances.ListInstances.", | |
1168 "id": "ListInstancesResponse", | |
1169 "properties": { | |
1170 "nextPageToken": { | |
1171 "description": "Continuation token for fetching the next pag
e of results.", | |
1172 "type": "string" | |
1173 }, | |
1174 "instances": { | |
1175 "description": "The instances belonging to the requested ver
sion.", | |
1176 "items": { | |
1177 "$ref": "Instance" | |
1178 }, | |
1179 "type": "array" | |
1180 } | |
1181 }, | |
1182 "type": "object" | |
1183 }, | 986 }, |
1184 "UrlDispatchRule": { | 987 "UrlDispatchRule": { |
1185 "description": "Rules to match an HTTP request and dispatch that req
uest to a service.", | 988 "description": "Rules to match an HTTP request and dispatch that req
uest to a service.", |
1186 "id": "UrlDispatchRule", | 989 "id": "UrlDispatchRule", |
1187 "properties": { | 990 "properties": { |
1188 "path": { | |
1189 "description": "Pathname within the host. Must start with a
\"/\". A single \"*\" can be included at the end of the path.The sum of the leng
ths of the domain and path may not exceed 100 characters.", | |
1190 "type": "string" | |
1191 }, | |
1192 "domain": { | 991 "domain": { |
1193 "description": "Domain name to match against. The wildcard \
"*\" is supported if specified before a period: \"*.\".Defaults to matching all
domains: \"*\".", | 992 "description": "Domain name to match against. The wildcard \
"*\" is supported if specified before a period: \"*.\".Defaults to matching all
domains: \"*\".", |
1194 "type": "string" | 993 "type": "string" |
1195 }, | 994 }, |
1196 "service": { | 995 "service": { |
1197 "description": "Resource ID of a service in this application
that should serve the matched request. The service must already exist. Example:
default.", | 996 "description": "Resource ID of a service in this application
that should serve the matched request. The service must already exist. Example:
default.", |
1198 "type": "string" | 997 "type": "string" |
| 998 }, |
| 999 "path": { |
| 1000 "description": "Pathname within the host. Must start with a
\"/\". A single \"*\" can be included at the end of the path.The sum of the leng
ths of the domain and path may not exceed 100 characters.", |
| 1001 "type": "string" |
1199 } | 1002 } |
1200 }, | 1003 }, |
1201 "type": "object" | 1004 "type": "object" |
1202 }, | 1005 }, |
1203 "ListVersionsResponse": { | 1006 "ListVersionsResponse": { |
1204 "description": "Response message for Versions.ListVersions.", | 1007 "description": "Response message for Versions.ListVersions.", |
1205 "id": "ListVersionsResponse", | 1008 "id": "ListVersionsResponse", |
1206 "properties": { | 1009 "properties": { |
1207 "versions": { | 1010 "versions": { |
1208 "description": "The versions belonging to the requested serv
ice.", | 1011 "description": "The versions belonging to the requested serv
ice.", |
(...skipping 13 matching lines...) Expand all Loading... |
1222 "description": "Uses Google Cloud Endpoints to handle requests.", | 1025 "description": "Uses Google Cloud Endpoints to handle requests.", |
1223 "id": "ApiEndpointHandler", | 1026 "id": "ApiEndpointHandler", |
1224 "properties": { | 1027 "properties": { |
1225 "scriptPath": { | 1028 "scriptPath": { |
1226 "description": "Path to the script from the application root
directory.", | 1029 "description": "Path to the script from the application root
directory.", |
1227 "type": "string" | 1030 "type": "string" |
1228 } | 1031 } |
1229 }, | 1032 }, |
1230 "type": "object" | 1033 "type": "object" |
1231 }, | 1034 }, |
1232 "ZipInfo": { | |
1233 "description": "The zip file information for a zip deployment.", | |
1234 "id": "ZipInfo", | |
1235 "properties": { | |
1236 "sourceUrl": { | |
1237 "description": "URL of the zip file to deploy from. Must be
a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googl
eapis.com/<bucket>/<object>'.", | |
1238 "type": "string" | |
1239 }, | |
1240 "filesCount": { | |
1241 "description": "An estimate of the number of files in a zip
for a zip deployment. If set, must be greater than or equal to the actual number
of files. Used for optimizing performance; if not provided, deployment may be s
low.", | |
1242 "format": "int32", | |
1243 "type": "integer" | |
1244 } | |
1245 }, | |
1246 "type": "object" | |
1247 }, | |
1248 "AutomaticScaling": { | 1035 "AutomaticScaling": { |
1249 "description": "Automatic scaling is based on request rate, response
latencies, and other application metrics.", | 1036 "description": "Automatic scaling is based on request rate, response
latencies, and other application metrics.", |
1250 "id": "AutomaticScaling", | 1037 "id": "AutomaticScaling", |
1251 "properties": { | 1038 "properties": { |
| 1039 "diskUtilization": { |
| 1040 "$ref": "DiskUtilization", |
| 1041 "description": "Target scaling by disk usage." |
| 1042 }, |
| 1043 "minPendingLatency": { |
| 1044 "description": "Minimum amount of time a request should wait
in the pending queue before starting a new instance to handle it.", |
| 1045 "format": "google-duration", |
| 1046 "type": "string" |
| 1047 }, |
| 1048 "maxIdleInstances": { |
| 1049 "description": "Maximum number of idle instances that should
be maintained for this version.", |
| 1050 "format": "int32", |
| 1051 "type": "integer" |
| 1052 }, |
| 1053 "requestUtilization": { |
| 1054 "$ref": "RequestUtilization", |
| 1055 "description": "Target scaling by request utilization." |
| 1056 }, |
| 1057 "minIdleInstances": { |
| 1058 "description": "Minimum number of idle instances that should
be maintained for this version. Only applicable for the default version of a se
rvice.", |
| 1059 "format": "int32", |
| 1060 "type": "integer" |
| 1061 }, |
| 1062 "maxTotalInstances": { |
| 1063 "description": "Maximum number of instances that should be s
tarted to handle requests.", |
| 1064 "format": "int32", |
| 1065 "type": "integer" |
| 1066 }, |
1252 "minTotalInstances": { | 1067 "minTotalInstances": { |
1253 "description": "Minimum number of instances that should be m
aintained for this version.", | 1068 "description": "Minimum number of instances that should be m
aintained for this version.", |
1254 "format": "int32", | 1069 "format": "int32", |
1255 "type": "integer" | 1070 "type": "integer" |
1256 }, | 1071 }, |
1257 "networkUtilization": { | 1072 "networkUtilization": { |
1258 "$ref": "NetworkUtilization", | 1073 "$ref": "NetworkUtilization", |
1259 "description": "Target scaling by network usage." | 1074 "description": "Target scaling by network usage." |
1260 }, | 1075 }, |
1261 "coolDownPeriod": { | 1076 "coolDownPeriod": { |
1262 "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.", | 1077 "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.", |
1263 "format": "google-duration", | 1078 "format": "google-duration", |
1264 "type": "string" | 1079 "type": "string" |
1265 }, | 1080 }, |
1266 "maxConcurrentRequests": { | 1081 "maxConcurrentRequests": { |
1267 "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.", | 1082 "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.", |
1268 "format": "int32", | 1083 "format": "int32", |
1269 "type": "integer" | 1084 "type": "integer" |
1270 }, | 1085 }, |
1271 "maxPendingLatency": { | 1086 "maxPendingLatency": { |
1272 "description": "Maximum amount of time that a request should
wait in the pending queue before starting a new instance to handle it.", | 1087 "description": "Maximum amount of time that a request should
wait in the pending queue before starting a new instance to handle it.", |
1273 "format": "google-duration", | 1088 "format": "google-duration", |
1274 "type": "string" | 1089 "type": "string" |
1275 }, | 1090 }, |
1276 "cpuUtilization": { | 1091 "cpuUtilization": { |
1277 "$ref": "CpuUtilization", | 1092 "$ref": "CpuUtilization", |
1278 "description": "Target scaling by CPU usage." | 1093 "description": "Target scaling by CPU usage." |
1279 }, | 1094 } |
1280 "diskUtilization": { | 1095 }, |
1281 "$ref": "DiskUtilization", | 1096 "type": "object" |
1282 "description": "Target scaling by disk usage." | 1097 }, |
1283 }, | 1098 "ZipInfo": { |
1284 "minPendingLatency": { | 1099 "description": "The zip file information for a zip deployment.", |
1285 "description": "Minimum amount of time a request should wait
in the pending queue before starting a new instance to handle it.", | 1100 "id": "ZipInfo", |
1286 "format": "google-duration", | 1101 "properties": { |
1287 "type": "string" | 1102 "filesCount": { |
1288 }, | 1103 "description": "An estimate of the number of files in a zip
for a zip deployment. If set, must be greater than or equal to the actual number
of files. Used for optimizing performance; if not provided, deployment may be s
low.", |
1289 "maxIdleInstances": { | |
1290 "description": "Maximum number of idle instances that should
be maintained for this version.", | |
1291 "format": "int32", | 1104 "format": "int32", |
1292 "type": "integer" | 1105 "type": "integer" |
1293 }, | 1106 }, |
1294 "requestUtilization": { | 1107 "sourceUrl": { |
1295 "$ref": "RequestUtilization", | 1108 "description": "URL of the zip file to deploy from. Must be
a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googl
eapis.com/<bucket>/<object>'.", |
1296 "description": "Target scaling by request utilization." | 1109 "type": "string" |
1297 }, | |
1298 "minIdleInstances": { | |
1299 "description": "Minimum number of idle instances that should
be maintained for this version. Only applicable for the default version of a se
rvice.", | |
1300 "format": "int32", | |
1301 "type": "integer" | |
1302 }, | |
1303 "maxTotalInstances": { | |
1304 "description": "Maximum number of instances that should be s
tarted to handle requests.", | |
1305 "format": "int32", | |
1306 "type": "integer" | |
1307 } | 1110 } |
1308 }, | 1111 }, |
1309 "type": "object" | 1112 "type": "object" |
1310 }, | 1113 }, |
1311 "Library": { | 1114 "Library": { |
1312 "description": "Third-party Python runtime library that is required
by the application.", | 1115 "description": "Third-party Python runtime library that is required
by the application.", |
1313 "id": "Library", | 1116 "id": "Library", |
1314 "properties": { | 1117 "properties": { |
| 1118 "name": { |
| 1119 "description": "Name of the library. Example: \"django\".", |
| 1120 "type": "string" |
| 1121 }, |
1315 "version": { | 1122 "version": { |
1316 "description": "Version of the library to select, or \"lates
t\".", | 1123 "description": "Version of the library to select, or \"lates
t\".", |
1317 "type": "string" | 1124 "type": "string" |
1318 }, | |
1319 "name": { | |
1320 "description": "Name of the library. Example: \"django\".", | |
1321 "type": "string" | |
1322 } | 1125 } |
1323 }, | 1126 }, |
1324 "type": "object" | 1127 "type": "object" |
1325 }, | 1128 }, |
1326 "ListLocationsResponse": { | 1129 "ListLocationsResponse": { |
1327 "description": "The response message for Locations.ListLocations.", | 1130 "description": "The response message for Locations.ListLocations.", |
1328 "id": "ListLocationsResponse", | 1131 "id": "ListLocationsResponse", |
1329 "properties": { | 1132 "properties": { |
1330 "locations": { | 1133 "locations": { |
1331 "description": "A list of locations that matches the specifi
ed filter in the request.", | 1134 "description": "A list of locations that matches the specifi
ed filter in the request.", |
(...skipping 30 matching lines...) Expand all Loading... |
1362 "type": "integer" | 1165 "type": "integer" |
1363 }, | 1166 }, |
1364 "targetRequestCountPerSecond": { | 1167 "targetRequestCountPerSecond": { |
1365 "description": "Target requests per second.", | 1168 "description": "Target requests per second.", |
1366 "format": "int32", | 1169 "format": "int32", |
1367 "type": "integer" | 1170 "type": "integer" |
1368 } | 1171 } |
1369 }, | 1172 }, |
1370 "type": "object" | 1173 "type": "object" |
1371 }, | 1174 }, |
| 1175 "EndpointsApiService": { |
| 1176 "description": "Cloud Endpoints (https://cloud.google.com/endpoints)
configuration. The Endpoints API Service provides tooling for serving Open API
and gRPC endpoints via an NGINX proxy.The fields here refer to the name and conf
iguration id of a \"service\" resource in the Service Management API (https://cl
oud.google.com/service-management/overview).", |
| 1177 "id": "EndpointsApiService", |
| 1178 "properties": { |
| 1179 "name": { |
| 1180 "description": "Endpoints service name which is the name of
the \"service\" resource in the Service Management API. For example \"myapi.endp
oints.myproject.cloud.goog\"", |
| 1181 "type": "string" |
| 1182 }, |
| 1183 "configId": { |
| 1184 "description": "Endpoints service configuration id as specif
ied by the Service Management API. For example \"2016-09-19r1\"", |
| 1185 "type": "string" |
| 1186 } |
| 1187 }, |
| 1188 "type": "object" |
| 1189 }, |
1372 "UrlMap": { | 1190 "UrlMap": { |
1373 "description": "URL pattern and description of how the URL should be
handled. App Engine can handle URLs by executing application code or by serving
static files uploaded with the version, such as images, CSS, or JavaScript.", | 1191 "description": "URL pattern and description of how the URL should be
handled. App Engine can handle URLs by executing application code or by serving
static files uploaded with the version, such as images, CSS, or JavaScript.", |
1374 "id": "UrlMap", | 1192 "id": "UrlMap", |
1375 "properties": { | 1193 "properties": { |
| 1194 "staticFiles": { |
| 1195 "$ref": "StaticFilesHandler", |
| 1196 "description": "Returns the contents of a file, such as an i
mage, as the response." |
| 1197 }, |
1376 "redirectHttpResponseCode": { | 1198 "redirectHttpResponseCode": { |
1377 "description": "30x code to use when performing redirects fo
r the secure field. Defaults to 302.", | 1199 "description": "30x code to use when performing redirects fo
r the secure field. Defaults to 302.", |
1378 "enum": [ | 1200 "enum": [ |
1379 "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", | 1201 "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", |
1380 "REDIRECT_HTTP_RESPONSE_CODE_301", | 1202 "REDIRECT_HTTP_RESPONSE_CODE_301", |
1381 "REDIRECT_HTTP_RESPONSE_CODE_302", | 1203 "REDIRECT_HTTP_RESPONSE_CODE_302", |
1382 "REDIRECT_HTTP_RESPONSE_CODE_303", | 1204 "REDIRECT_HTTP_RESPONSE_CODE_303", |
1383 "REDIRECT_HTTP_RESPONSE_CODE_307" | 1205 "REDIRECT_HTTP_RESPONSE_CODE_307" |
1384 ], | 1206 ], |
1385 "enumDescriptions": [ | 1207 "enumDescriptions": [ |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1429 }, | 1251 }, |
1430 "urlRegex": { | 1252 "urlRegex": { |
1431 "description": "URL prefix. Uses regular expression syntax,
which means regexp special characters must be escaped, but should not contain gr
oupings. All URLs that begin with this prefix are handled by this handler, using
the portion of the URL after the prefix as part of the file path.", | 1253 "description": "URL prefix. Uses regular expression syntax,
which means regexp special characters must be escaped, but should not contain gr
oupings. All URLs that begin with this prefix are handled by this handler, using
the portion of the URL after the prefix as part of the file path.", |
1432 "type": "string" | 1254 "type": "string" |
1433 }, | 1255 }, |
1434 "login": { | 1256 "login": { |
1435 "description": "Level of login required to access this resou
rce.", | 1257 "description": "Level of login required to access this resou
rce.", |
1436 "enum": [ | 1258 "enum": [ |
1437 "LOGIN_UNSPECIFIED", | 1259 "LOGIN_UNSPECIFIED", |
1438 "LOGIN_OPTIONAL", | 1260 "LOGIN_OPTIONAL", |
1439 "LOGIN_ADMIN", | |
1440 "LOGIN_REQUIRED" | |
1441 ], | |
1442 "enumDescriptions": [ | |
1443 "Not specified. LOGIN_OPTIONAL is assumed.", | |
1444 "Does not require that the user is signed in.", | |
1445 "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.", | |
1446 "If the user has signed in, the handler proceeds normall
y. Otherwise, the auth_fail_action is taken." | |
1447 ], | |
1448 "type": "string" | |
1449 }, | |
1450 "apiEndpoint": { | |
1451 "$ref": "ApiEndpointHandler", | |
1452 "description": "Uses API Endpoints to handle requests." | |
1453 }, | |
1454 "staticFiles": { | |
1455 "$ref": "StaticFilesHandler", | |
1456 "description": "Returns the contents of a file, such as an i
mage, as the response." | |
1457 } | |
1458 }, | |
1459 "type": "object" | |
1460 }, | |
1461 "EndpointsApiService": { | |
1462 "description": "Cloud Endpoints (https://cloud.google.com/endpoints)
configuration. The Endpoints API Service provides tooling for serving Open API
and gRPC endpoints via an NGINX proxy.The fields here refer to the name and conf
iguration id of a \"service\" resource in the Service Management API (https://cl
oud.google.com/service-management/overview).", | |
1463 "id": "EndpointsApiService", | |
1464 "properties": { | |
1465 "name": { | |
1466 "description": "Endpoints service name which is the name of
the \"service\" resource in the Service Management API. For example \"myapi.endp
oints.myproject.cloud.goog\"", | |
1467 "type": "string" | |
1468 }, | |
1469 "configId": { | |
1470 "description": "Endpoints service configuration id as specif
ied by the Service Management API. For example \"2016-09-19r1\"", | |
1471 "type": "string" | |
1472 } | |
1473 }, | |
1474 "type": "object" | |
1475 }, | |
1476 "Operation": { | |
1477 "description": "This resource represents a long-running operation th
at is the result of a network API call.", | |
1478 "id": "Operation", | |
1479 "properties": { | |
1480 "done": { | |
1481 "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.", | |
1482 "type": "boolean" | |
1483 }, | |
1484 "response": { | |
1485 "additionalProperties": { | |
1486 "description": "Properties of the object. Contains field
@type with type URL.", | |
1487 "type": "any" | |
1488 }, | |
1489 "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.", | |
1490 "type": "object" | |
1491 }, | |
1492 "name": { | |
1493 "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.", | |
1494 "type": "string" | |
1495 }, | |
1496 "error": { | |
1497 "$ref": "Status", | |
1498 "description": "The error result of the operation in case of
failure or cancellation." | |
1499 }, | |
1500 "metadata": { | |
1501 "additionalProperties": { | |
1502 "description": "Properties of the object. Contains field
@type with type URL.", | |
1503 "type": "any" | |
1504 }, | |
1505 "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.", | |
1506 "type": "object" | |
1507 } | |
1508 }, | |
1509 "type": "object" | |
1510 }, | |
1511 "ApiConfigHandler": { | |
1512 "description": "Google Cloud Endpoints (https://cloud.google.com/app
engine/docs/python/endpoints/) configuration for API handlers.", | |
1513 "id": "ApiConfigHandler", | |
1514 "properties": { | |
1515 "login": { | |
1516 "description": "Level of login required to access this resou
rce. Defaults to optional.", | |
1517 "enum": [ | |
1518 "LOGIN_UNSPECIFIED", | |
1519 "LOGIN_OPTIONAL", | |
1520 "LOGIN_ADMIN", | 1261 "LOGIN_ADMIN", |
1521 "LOGIN_REQUIRED" | 1262 "LOGIN_REQUIRED" |
1522 ], | 1263 ], |
1523 "enumDescriptions": [ | 1264 "enumDescriptions": [ |
1524 "Not specified. LOGIN_OPTIONAL is assumed.", | 1265 "Not specified. LOGIN_OPTIONAL is assumed.", |
1525 "Does not require that the user is signed in.", | 1266 "Does not require that the user is signed in.", |
1526 "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.", | 1267 "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.", |
1527 "If the user has signed in, the handler proceeds normall
y. Otherwise, the auth_fail_action is taken." | 1268 "If the user has signed in, the handler proceeds normall
y. Otherwise, the auth_fail_action is taken." |
1528 ], | 1269 ], |
1529 "type": "string" | 1270 "type": "string" |
1530 }, | 1271 }, |
1531 "url": { | 1272 "apiEndpoint": { |
1532 "description": "URL to serve the endpoint at.", | 1273 "$ref": "ApiEndpointHandler", |
1533 "type": "string" | 1274 "description": "Uses API Endpoints to handle requests." |
1534 }, | 1275 } |
| 1276 }, |
| 1277 "type": "object" |
| 1278 }, |
| 1279 "ApiConfigHandler": { |
| 1280 "description": "Google Cloud Endpoints (https://cloud.google.com/app
engine/docs/python/endpoints/) configuration for API handlers.", |
| 1281 "id": "ApiConfigHandler", |
| 1282 "properties": { |
1535 "securityLevel": { | 1283 "securityLevel": { |
1536 "description": "Security (HTTPS) enforcement for this URL.", | 1284 "description": "Security (HTTPS) enforcement for this URL.", |
1537 "enum": [ | 1285 "enum": [ |
1538 "SECURE_UNSPECIFIED", | 1286 "SECURE_UNSPECIFIED", |
1539 "SECURE_DEFAULT", | 1287 "SECURE_DEFAULT", |
1540 "SECURE_NEVER", | 1288 "SECURE_NEVER", |
1541 "SECURE_OPTIONAL", | 1289 "SECURE_OPTIONAL", |
1542 "SECURE_ALWAYS" | 1290 "SECURE_ALWAYS" |
1543 ], | 1291 ], |
1544 "enumDescriptions": [ | 1292 "enumDescriptions": [ |
(...skipping 15 matching lines...) Expand all Loading... |
1560 "enumDescriptions": [ | 1308 "enumDescriptions": [ |
1561 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", | 1309 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", |
1562 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, | 1310 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, |
1563 "Rejects request with a 401 HTTP status code and an erro
r message." | 1311 "Rejects request with a 401 HTTP status code and an erro
r message." |
1564 ], | 1312 ], |
1565 "type": "string" | 1313 "type": "string" |
1566 }, | 1314 }, |
1567 "script": { | 1315 "script": { |
1568 "description": "Path to the script from the application root
directory.", | 1316 "description": "Path to the script from the application root
directory.", |
1569 "type": "string" | 1317 "type": "string" |
| 1318 }, |
| 1319 "login": { |
| 1320 "description": "Level of login required to access this resou
rce. Defaults to optional.", |
| 1321 "enum": [ |
| 1322 "LOGIN_UNSPECIFIED", |
| 1323 "LOGIN_OPTIONAL", |
| 1324 "LOGIN_ADMIN", |
| 1325 "LOGIN_REQUIRED" |
| 1326 ], |
| 1327 "enumDescriptions": [ |
| 1328 "Not specified. LOGIN_OPTIONAL is assumed.", |
| 1329 "Does not require that the user is signed in.", |
| 1330 "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.", |
| 1331 "If the user has signed in, the handler proceeds normall
y. Otherwise, the auth_fail_action is taken." |
| 1332 ], |
| 1333 "type": "string" |
| 1334 }, |
| 1335 "url": { |
| 1336 "description": "URL to serve the endpoint at.", |
| 1337 "type": "string" |
| 1338 } |
| 1339 }, |
| 1340 "type": "object" |
| 1341 }, |
| 1342 "Operation": { |
| 1343 "description": "This resource represents a long-running operation th
at is the result of a network API call.", |
| 1344 "id": "Operation", |
| 1345 "properties": { |
| 1346 "done": { |
| 1347 "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.", |
| 1348 "type": "boolean" |
| 1349 }, |
| 1350 "response": { |
| 1351 "additionalProperties": { |
| 1352 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1353 "type": "any" |
| 1354 }, |
| 1355 "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.", |
| 1356 "type": "object" |
| 1357 }, |
| 1358 "name": { |
| 1359 "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.", |
| 1360 "type": "string" |
| 1361 }, |
| 1362 "error": { |
| 1363 "$ref": "Status", |
| 1364 "description": "The error result of the operation in case of
failure or cancellation." |
| 1365 }, |
| 1366 "metadata": { |
| 1367 "additionalProperties": { |
| 1368 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1369 "type": "any" |
| 1370 }, |
| 1371 "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.", |
| 1372 "type": "object" |
1570 } | 1373 } |
1571 }, | 1374 }, |
1572 "type": "object" | 1375 "type": "object" |
1573 }, | 1376 }, |
1574 "StaticFilesHandler": { | 1377 "StaticFilesHandler": { |
1575 "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.", | 1378 "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.", |
1576 "id": "StaticFilesHandler", | 1379 "id": "StaticFilesHandler", |
1577 "properties": { | 1380 "properties": { |
1578 "mimeType": { | |
1579 "description": "MIME type used to serve all files served by
this handler.Defaults to file-specific MIME types, which are derived from each f
ile's filename extension.", | |
1580 "type": "string" | |
1581 }, | |
1582 "requireMatchingFile": { | |
1583 "description": "Whether this handler should match the reques
t if the file referenced by the handler does not exist.", | |
1584 "type": "boolean" | |
1585 }, | |
1586 "expiration": { | 1381 "expiration": { |
1587 "description": "Time a static file served by this handler sh
ould be cached by web proxies and browsers.", | 1382 "description": "Time a static file served by this handler sh
ould be cached by web proxies and browsers.", |
1588 "format": "google-duration", | 1383 "format": "google-duration", |
1589 "type": "string" | 1384 "type": "string" |
1590 }, | 1385 }, |
1591 "applicationReadable": { | |
1592 "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.", | |
1593 "type": "boolean" | |
1594 }, | |
1595 "httpHeaders": { | 1386 "httpHeaders": { |
1596 "additionalProperties": { | 1387 "additionalProperties": { |
1597 "type": "string" | 1388 "type": "string" |
1598 }, | 1389 }, |
1599 "description": "HTTP headers to use for all responses from t
hese URLs.", | 1390 "description": "HTTP headers to use for all responses from t
hese URLs.", |
1600 "type": "object" | 1391 "type": "object" |
1601 }, | 1392 }, |
| 1393 "applicationReadable": { |
| 1394 "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.", |
| 1395 "type": "boolean" |
| 1396 }, |
1602 "uploadPathRegex": { | 1397 "uploadPathRegex": { |
1603 "description": "Regular expression that matches the file pat
hs for all files that should be referenced by this handler.", | 1398 "description": "Regular expression that matches the file pat
hs for all files that should be referenced by this handler.", |
1604 "type": "string" | 1399 "type": "string" |
1605 }, | 1400 }, |
1606 "path": { | 1401 "path": { |
1607 "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.", | 1402 "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.", |
1608 "type": "string" | 1403 "type": "string" |
| 1404 }, |
| 1405 "mimeType": { |
| 1406 "description": "MIME type used to serve all files served by
this handler.Defaults to file-specific MIME types, which are derived from each f
ile's filename extension.", |
| 1407 "type": "string" |
| 1408 }, |
| 1409 "requireMatchingFile": { |
| 1410 "description": "Whether this handler should match the reques
t if the file referenced by the handler does not exist.", |
| 1411 "type": "boolean" |
| 1412 } |
| 1413 }, |
| 1414 "type": "object" |
| 1415 }, |
| 1416 "BasicScaling": { |
| 1417 "description": "A service with basic scaling will create an instance
when the application receives a request. The instance will be turned down when
the app becomes idle. Basic scaling is ideal for work that is intermittent or dr
iven by user activity.", |
| 1418 "id": "BasicScaling", |
| 1419 "properties": { |
| 1420 "maxInstances": { |
| 1421 "description": "Maximum number of instances to create for th
is version.", |
| 1422 "format": "int32", |
| 1423 "type": "integer" |
| 1424 }, |
| 1425 "idleTimeout": { |
| 1426 "description": "Duration of time after the last request that
an instance must wait before the instance is shut down.", |
| 1427 "format": "google-duration", |
| 1428 "type": "string" |
1609 } | 1429 } |
1610 }, | 1430 }, |
1611 "type": "object" | 1431 "type": "object" |
1612 }, | 1432 }, |
1613 "DiskUtilization": { | 1433 "DiskUtilization": { |
1614 "description": "Target scaling by disk usage. Only applicable for VM
runtimes.", | 1434 "description": "Target scaling by disk usage. Only applicable for VM
runtimes.", |
1615 "id": "DiskUtilization", | 1435 "id": "DiskUtilization", |
1616 "properties": { | 1436 "properties": { |
1617 "targetWriteOpsPerSecond": { | |
1618 "description": "Target ops written per second.", | |
1619 "format": "int32", | |
1620 "type": "integer" | |
1621 }, | |
1622 "targetWriteBytesPerSecond": { | |
1623 "description": "Target bytes written per second.", | |
1624 "format": "int32", | |
1625 "type": "integer" | |
1626 }, | |
1627 "targetReadBytesPerSecond": { | 1437 "targetReadBytesPerSecond": { |
1628 "description": "Target bytes read per second.", | 1438 "description": "Target bytes read per second.", |
1629 "format": "int32", | 1439 "format": "int32", |
1630 "type": "integer" | 1440 "type": "integer" |
1631 }, | 1441 }, |
1632 "targetReadOpsPerSecond": { | 1442 "targetReadOpsPerSecond": { |
1633 "description": "Target ops read per seconds.", | 1443 "description": "Target ops read per seconds.", |
1634 "format": "int32", | 1444 "format": "int32", |
1635 "type": "integer" | 1445 "type": "integer" |
| 1446 }, |
| 1447 "targetWriteOpsPerSecond": { |
| 1448 "description": "Target ops written per second.", |
| 1449 "format": "int32", |
| 1450 "type": "integer" |
| 1451 }, |
| 1452 "targetWriteBytesPerSecond": { |
| 1453 "description": "Target bytes written per second.", |
| 1454 "format": "int32", |
| 1455 "type": "integer" |
1636 } | 1456 } |
1637 }, | 1457 }, |
1638 "type": "object" | 1458 "type": "object" |
1639 }, | |
1640 "BasicScaling": { | |
1641 "description": "A service with basic scaling will create an instance
when the application receives a request. The instance will be turned down when
the app becomes idle. Basic scaling is ideal for work that is intermittent or dr
iven by user activity.", | |
1642 "id": "BasicScaling", | |
1643 "properties": { | |
1644 "maxInstances": { | |
1645 "description": "Maximum number of instances to create for th
is version.", | |
1646 "format": "int32", | |
1647 "type": "integer" | |
1648 }, | |
1649 "idleTimeout": { | |
1650 "description": "Duration of time after the last request that
an instance must wait before the instance is shut down.", | |
1651 "format": "google-duration", | |
1652 "type": "string" | |
1653 } | |
1654 }, | |
1655 "type": "object" | |
1656 }, | 1459 }, |
1657 "CpuUtilization": { | 1460 "CpuUtilization": { |
1658 "description": "Target scaling by CPU usage.", | 1461 "description": "Target scaling by CPU usage.", |
1659 "id": "CpuUtilization", | 1462 "id": "CpuUtilization", |
1660 "properties": { | 1463 "properties": { |
1661 "aggregationWindowLength": { | 1464 "aggregationWindowLength": { |
1662 "description": "Period of time over which CPU utilization is
calculated.", | 1465 "description": "Period of time over which CPU utilization is
calculated.", |
1663 "format": "google-duration", | 1466 "format": "google-duration", |
1664 "type": "string" | 1467 "type": "string" |
1665 }, | 1468 }, |
1666 "targetUtilization": { | 1469 "targetUtilization": { |
1667 "description": "Target CPU utilization ratio to maintain whe
n scaling. Must be between 0 and 1.", | 1470 "description": "Target CPU utilization ratio to maintain whe
n scaling. Must be between 0 and 1.", |
1668 "format": "double", | 1471 "format": "double", |
1669 "type": "number" | 1472 "type": "number" |
1670 } | 1473 } |
1671 }, | 1474 }, |
1672 "type": "object" | 1475 "type": "object" |
1673 }, | 1476 }, |
1674 "IdentityAwareProxy": { | 1477 "IdentityAwareProxy": { |
1675 "description": "Identity-Aware Proxy", | 1478 "description": "Identity-Aware Proxy", |
1676 "id": "IdentityAwareProxy", | 1479 "id": "IdentityAwareProxy", |
1677 "properties": { | 1480 "properties": { |
1678 "enabled": { | |
1679 "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.", | |
1680 "type": "boolean" | |
1681 }, | |
1682 "oauth2ClientSecret": { | 1481 "oauth2ClientSecret": { |
1683 "description": "OAuth2 client secret to use for the authenti
cation flow.For security reasons, this value cannot be retrieved via the API. In
stead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha
256 field.@InputOnly", | 1482 "description": "OAuth2 client secret to use for the authenti
cation flow.For security reasons, this value cannot be retrieved via the API. In
stead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha
256 field.@InputOnly", |
1684 "type": "string" | 1483 "type": "string" |
1685 }, | 1484 }, |
1686 "oauth2ClientId": { | 1485 "oauth2ClientId": { |
1687 "description": "OAuth2 client ID to use for the authenticati
on flow.", | 1486 "description": "OAuth2 client ID to use for the authenticati
on flow.", |
1688 "type": "string" | 1487 "type": "string" |
1689 }, | 1488 }, |
1690 "oauth2ClientSecretSha256": { | 1489 "oauth2ClientSecretSha256": { |
1691 "description": "Hex-encoded SHA-256 hash of the client secre
t.@OutputOnly", | 1490 "description": "Hex-encoded SHA-256 hash of the client secre
t.@OutputOnly", |
1692 "type": "string" | 1491 "type": "string" |
| 1492 }, |
| 1493 "enabled": { |
| 1494 "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.", |
| 1495 "type": "boolean" |
1693 } | 1496 } |
1694 }, | 1497 }, |
1695 "type": "object" | 1498 "type": "object" |
1696 }, | 1499 }, |
1697 "Status": { | 1500 "Status": { |
1698 "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 which can be
used for common error conditions.Language mappingThe Status message is the logic
al representation of the error model, but it is not necessarily the actual wire
format. When the Status message is exposed in different client libraries and dif
ferent 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 code
s 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 inclu
de:\nPartial errors. If a service needs to return partial errors to the client,
it may embed the Status in the normal response to indicate the partial errors.\n
Workflow errors. A typical workflow has multiple steps. Each step may have a Sta
tus message for error reporting purpose.\nBatch operations. If a client uses bat
ch request and batch response, the Status message should be used directly inside
batch response, one for each error sub-response.\nAsynchronous operations. If a
n API call embeds asynchronous operation results in its response, the status of
those operations should be represented directly using the Status message.\nLoggi
ng. If some API errors are stored in logs, the message Status could be used dire
ctly after any stripping needed for security/privacy reasons.", | 1501 "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.", |
1699 "id": "Status", | 1502 "id": "Status", |
1700 "properties": { | 1503 "properties": { |
1701 "code": { | |
1702 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | |
1703 "format": "int32", | |
1704 "type": "integer" | |
1705 }, | |
1706 "message": { | |
1707 "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.", | |
1708 "type": "string" | |
1709 }, | |
1710 "details": { | 1504 "details": { |
1711 "description": "A list of messages that carry the error deta
ils. There will be a common set of message types for APIs to use.", | 1505 "description": "A list of messages that carry the error deta
ils. There will be a common set of message types for APIs to use.", |
1712 "items": { | 1506 "items": { |
1713 "additionalProperties": { | 1507 "additionalProperties": { |
1714 "description": "Properties of the object. Contains f
ield @type with type URL.", | 1508 "description": "Properties of the object. Contains f
ield @type with type URL.", |
1715 "type": "any" | 1509 "type": "any" |
1716 }, | 1510 }, |
1717 "type": "object" | 1511 "type": "object" |
1718 }, | 1512 }, |
1719 "type": "array" | 1513 "type": "array" |
| 1514 }, |
| 1515 "code": { |
| 1516 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
| 1517 "format": "int32", |
| 1518 "type": "integer" |
| 1519 }, |
| 1520 "message": { |
| 1521 "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.", |
| 1522 "type": "string" |
1720 } | 1523 } |
1721 }, | 1524 }, |
1722 "type": "object" | 1525 "type": "object" |
1723 }, | 1526 }, |
1724 "ManualScaling": { | 1527 "ManualScaling": { |
1725 "description": "A service with manual scaling runs continuously, all
owing you to perform complex initialization and rely on the state of its memory
over time.", | 1528 "description": "A service with manual scaling runs continuously, all
owing you to perform complex initialization and rely on the state of its memory
over time.", |
1726 "id": "ManualScaling", | 1529 "id": "ManualScaling", |
1727 "properties": { | 1530 "properties": { |
1728 "instances": { | 1531 "instances": { |
1729 "description": "Number of instances to assign to the service
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()
function.", | 1532 "description": "Number of instances to assign to the service
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()
function.", |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1782 }, | 1585 }, |
1783 "type": "array" | 1586 "type": "array" |
1784 } | 1587 } |
1785 }, | 1588 }, |
1786 "type": "object" | 1589 "type": "object" |
1787 }, | 1590 }, |
1788 "OperationMetadata": { | 1591 "OperationMetadata": { |
1789 "description": "Metadata for the given google.longrunning.Operation.
", | 1592 "description": "Metadata for the given google.longrunning.Operation.
", |
1790 "id": "OperationMetadata", | 1593 "id": "OperationMetadata", |
1791 "properties": { | 1594 "properties": { |
| 1595 "insertTime": { |
| 1596 "description": "Timestamp that this operation was created.@O
utputOnly", |
| 1597 "format": "google-datetime", |
| 1598 "type": "string" |
| 1599 }, |
| 1600 "user": { |
| 1601 "description": "User who requested this operation.@OutputOnl
y", |
| 1602 "type": "string" |
| 1603 }, |
| 1604 "target": { |
| 1605 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/modules/default.@OutputOnly", |
| 1606 "type": "string" |
| 1607 }, |
1792 "method": { | 1608 "method": { |
1793 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta4.Version.CreateVersion.@OutputOnly", | 1609 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta4.Version.CreateVersion.@OutputOnly", |
1794 "type": "string" | 1610 "type": "string" |
1795 }, | 1611 }, |
1796 "endTime": { | 1612 "endTime": { |
1797 "description": "Timestamp that this operation completed.@Out
putOnly", | 1613 "description": "Timestamp that this operation completed.@Out
putOnly", |
1798 "format": "google-datetime", | 1614 "format": "google-datetime", |
1799 "type": "string" | 1615 "type": "string" |
1800 }, | 1616 }, |
1801 "operationType": { | 1617 "operationType": { |
1802 "description": "Type of this operation. Deprecated, use meth
od field instead. Example: \"create_version\".@OutputOnly", | 1618 "description": "Type of this operation. Deprecated, use meth
od field instead. Example: \"create_version\".@OutputOnly", |
1803 "type": "string" | 1619 "type": "string" |
1804 }, | |
1805 "insertTime": { | |
1806 "description": "Timestamp that this operation was created.@O
utputOnly", | |
1807 "format": "google-datetime", | |
1808 "type": "string" | |
1809 }, | |
1810 "target": { | |
1811 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/modules/default.@OutputOnly", | |
1812 "type": "string" | |
1813 }, | |
1814 "user": { | |
1815 "description": "User who requested this operation.@OutputOnl
y", | |
1816 "type": "string" | |
1817 } | 1620 } |
1818 }, | 1621 }, |
1819 "type": "object" | |
1820 }, | |
1821 "OperationMetadataV1": { | |
1822 "description": "Metadata for the given google.longrunning.Operation.
", | |
1823 "id": "OperationMetadataV1", | |
1824 "properties": { | |
1825 "ephemeralMessage": { | |
1826 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", | |
1827 "type": "string" | |
1828 }, | |
1829 "method": { | |
1830 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1.Versions.CreateVersion.@OutputOnly", | |
1831 "type": "string" | |
1832 }, | |
1833 "endTime": { | |
1834 "description": "Time that this operation completed.@OutputOn
ly", | |
1835 "format": "google-datetime", | |
1836 "type": "string" | |
1837 }, | |
1838 "warning": { | |
1839 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", | |
1840 "items": { | |
1841 "type": "string" | |
1842 }, | |
1843 "type": "array" | |
1844 }, | |
1845 "insertTime": { | |
1846 "description": "Time that this operation was created.@Output
Only", | |
1847 "format": "google-datetime", | |
1848 "type": "string" | |
1849 }, | |
1850 "user": { | |
1851 "description": "User who requested this operation.@OutputOnl
y", | |
1852 "type": "string" | |
1853 }, | |
1854 "target": { | |
1855 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | |
1856 "type": "string" | |
1857 } | |
1858 }, | |
1859 "type": "object" | 1622 "type": "object" |
1860 }, | 1623 }, |
1861 "ErrorHandler": { | 1624 "ErrorHandler": { |
1862 "description": "Custom static error page to be served when an error
occurs.", | 1625 "description": "Custom static error page to be served when an error
occurs.", |
1863 "id": "ErrorHandler", | 1626 "id": "ErrorHandler", |
1864 "properties": { | 1627 "properties": { |
1865 "errorCode": { | 1628 "errorCode": { |
1866 "description": "Error condition this handler applies to.", | 1629 "description": "Error condition this handler applies to.", |
1867 "enum": [ | 1630 "enum": [ |
1868 "ERROR_CODE_UNSPECIFIED", | 1631 "ERROR_CODE_UNSPECIFIED", |
(...skipping 15 matching lines...) Expand all Loading... |
1884 "description": "MIME type of file. Defaults to text/html.", | 1647 "description": "MIME type of file. Defaults to text/html.", |
1885 "type": "string" | 1648 "type": "string" |
1886 }, | 1649 }, |
1887 "staticFile": { | 1650 "staticFile": { |
1888 "description": "Static file content to be served for this er
ror.", | 1651 "description": "Static file content to be served for this er
ror.", |
1889 "type": "string" | 1652 "type": "string" |
1890 } | 1653 } |
1891 }, | 1654 }, |
1892 "type": "object" | 1655 "type": "object" |
1893 }, | 1656 }, |
1894 "Application": { | 1657 "OperationMetadataV1": { |
1895 "description": "An Application resource contains the top-level confi
guration of an App Engine application.", | 1658 "description": "Metadata for the given google.longrunning.Operation.
", |
1896 "id": "Application", | 1659 "id": "OperationMetadataV1", |
1897 "properties": { | 1660 "properties": { |
1898 "authDomain": { | 1661 "ephemeralMessage": { |
1899 "description": "Google Apps authentication domain that contr
ols which users can access this application.Defaults to open access for any Goog
le Account.", | 1662 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
1900 "type": "string" | 1663 "type": "string" |
1901 }, | 1664 }, |
1902 "iap": { | 1665 "method": { |
1903 "$ref": "IdentityAwareProxy" | 1666 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1.Versions.CreateVersion.@OutputOnly", |
1904 }, | |
1905 "codeBucket": { | |
1906 "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", | |
1907 "type": "string" | 1667 "type": "string" |
1908 }, | 1668 }, |
1909 "defaultBucket": { | 1669 "endTime": { |
1910 "description": "Google Cloud Storage bucket that can be used
by this application to store content.@OutputOnly", | 1670 "description": "Time that this operation completed.@OutputOn
ly", |
| 1671 "format": "google-datetime", |
1911 "type": "string" | 1672 "type": "string" |
1912 }, | 1673 }, |
1913 "dispatchRules": { | 1674 "warning": { |
1914 "description": "HTTP path dispatch rules for requests to the
application that do not explicitly target a service or version. Rules are order
-dependent. Up to 20 dispatch rules can be supported.@OutputOnly", | 1675 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
1915 "items": { | 1676 "items": { |
1916 "$ref": "UrlDispatchRule" | 1677 "type": "string" |
1917 }, | 1678 }, |
1918 "type": "array" | 1679 "type": "array" |
1919 }, | 1680 }, |
| 1681 "insertTime": { |
| 1682 "description": "Time that this operation was created.@Output
Only", |
| 1683 "format": "google-datetime", |
| 1684 "type": "string" |
| 1685 }, |
| 1686 "user": { |
| 1687 "description": "User who requested this operation.@OutputOnl
y", |
| 1688 "type": "string" |
| 1689 }, |
| 1690 "target": { |
| 1691 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
| 1692 "type": "string" |
| 1693 } |
| 1694 }, |
| 1695 "type": "object" |
| 1696 }, |
| 1697 "Application": { |
| 1698 "description": "An Application resource contains the top-level confi
guration of an App Engine application. Next tag: 19", |
| 1699 "id": "Application", |
| 1700 "properties": { |
1920 "gcrDomain": { | 1701 "gcrDomain": { |
1921 "description": "The Google Container Registry domain used fo
r storing managed build docker images for this application.", | 1702 "description": "The Google Container Registry domain used fo
r storing managed build docker images for this application.", |
1922 "type": "string" | 1703 "type": "string" |
1923 }, | 1704 }, |
1924 "name": { | 1705 "name": { |
1925 "description": "Full path to the Application resource in the
API. Example: apps/myapp.@OutputOnly", | 1706 "description": "Full path to the Application resource in the
API. Example: apps/myapp.@OutputOnly", |
1926 "type": "string" | 1707 "type": "string" |
1927 }, | 1708 }, |
1928 "defaultCookieExpiration": { | 1709 "defaultCookieExpiration": { |
1929 "description": "Cookie expiration policy for this applicatio
n.", | 1710 "description": "Cookie expiration policy for this applicatio
n.", |
(...skipping 20 matching lines...) Expand all Loading... |
1950 "Serving status is unspecified.", | 1731 "Serving status is unspecified.", |
1951 "Application is serving.", | 1732 "Application is serving.", |
1952 "Application has been disabled by the user.", | 1733 "Application has been disabled by the user.", |
1953 "Application has been disabled by the system." | 1734 "Application has been disabled by the system." |
1954 ], | 1735 ], |
1955 "type": "string" | 1736 "type": "string" |
1956 }, | 1737 }, |
1957 "defaultHostname": { | 1738 "defaultHostname": { |
1958 "description": "Hostname used to reach this application, as
resolved by App Engine.@OutputOnly", | 1739 "description": "Hostname used to reach this application, as
resolved by App Engine.@OutputOnly", |
1959 "type": "string" | 1740 "type": "string" |
| 1741 }, |
| 1742 "authDomain": { |
| 1743 "description": "Google Apps authentication domain that contr
ols which users can access this application.Defaults to open access for any Goog
le Account.", |
| 1744 "type": "string" |
| 1745 }, |
| 1746 "iap": { |
| 1747 "$ref": "IdentityAwareProxy" |
| 1748 }, |
| 1749 "codeBucket": { |
| 1750 "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", |
| 1751 "type": "string" |
| 1752 }, |
| 1753 "defaultBucket": { |
| 1754 "description": "Google Cloud Storage bucket that can be used
by this application to store content.@OutputOnly", |
| 1755 "type": "string" |
| 1756 }, |
| 1757 "dispatchRules": { |
| 1758 "description": "HTTP path dispatch rules for requests to the
application that do not explicitly target a service or version. Rules are order
-dependent. Up to 20 dispatch rules can be supported.@OutputOnly", |
| 1759 "items": { |
| 1760 "$ref": "UrlDispatchRule" |
| 1761 }, |
| 1762 "type": "array" |
1960 } | 1763 } |
1961 }, | 1764 }, |
1962 "type": "object" | 1765 "type": "object" |
1963 }, | 1766 }, |
1964 "Network": { | 1767 "Network": { |
1965 "description": "Extra network settings. Only applicable for VM runti
mes.", | 1768 "description": "Extra network settings. Only applicable for VM runti
mes.", |
1966 "id": "Network", | 1769 "id": "Network", |
1967 "properties": { | 1770 "properties": { |
1968 "forwardedPorts": { | 1771 "forwardedPorts": { |
1969 "description": "List of ports, or port pairs, to forward fro
m the virtual machine to the application container.", | 1772 "description": "List of ports, or port pairs, to forward fro
m the virtual machine to the application container.", |
(...skipping 14 matching lines...) Expand all Loading... |
1984 "description": "Google Cloud Platform network where the virt
ual machines are created. Specify the short name, not the resource path.Defaults
to default.", | 1787 "description": "Google Cloud Platform network where the virt
ual machines are created. Specify the short name, not the resource path.Defaults
to default.", |
1985 "type": "string" | 1788 "type": "string" |
1986 } | 1789 } |
1987 }, | 1790 }, |
1988 "type": "object" | 1791 "type": "object" |
1989 }, | 1792 }, |
1990 "Instance": { | 1793 "Instance": { |
1991 "description": "An Instance resource is the computing unit that App
Engine uses to automatically scale an application.", | 1794 "description": "An Instance resource is the computing unit that App
Engine uses to automatically scale an application.", |
1992 "id": "Instance", | 1795 "id": "Instance", |
1993 "properties": { | 1796 "properties": { |
| 1797 "vmDebugEnabled": { |
| 1798 "description": "Whether this instance is in debug mode. Only
applicable for instances in App Engine flexible environment.@OutputOnly", |
| 1799 "type": "boolean" |
| 1800 }, |
| 1801 "requests": { |
| 1802 "description": "Number of requests since this instance was s
tarted.@OutputOnly", |
| 1803 "format": "int32", |
| 1804 "type": "integer" |
| 1805 }, |
| 1806 "appEngineRelease": { |
| 1807 "description": "App Engine release this instance is running
on.@OutputOnly", |
| 1808 "type": "string" |
| 1809 }, |
| 1810 "vmName": { |
| 1811 "description": "Name of the virtual machine where this insta
nce lives. Only applicable for instances in App Engine flexible environment.@Out
putOnly", |
| 1812 "type": "string" |
| 1813 }, |
| 1814 "qps": { |
| 1815 "description": "Average queries per second (QPS) over the la
st minute.@OutputOnly", |
| 1816 "format": "float", |
| 1817 "type": "number" |
| 1818 }, |
| 1819 "vmId": { |
| 1820 "description": "Virtual machine ID of this instance. Only ap
plicable for instances in App Engine flexible environment.@OutputOnly", |
| 1821 "type": "string" |
| 1822 }, |
| 1823 "vmZoneName": { |
| 1824 "description": "Zone where the virtual machine is located. O
nly applicable for instances in App Engine flexible environment.@OutputOnly", |
| 1825 "type": "string" |
| 1826 }, |
| 1827 "name": { |
| 1828 "description": "Full path to the Instance resource in the AP
I. Example: apps/myapp/services/default/versions/v1/instances/instance-1.@Output
Only", |
| 1829 "type": "string" |
| 1830 }, |
1994 "averageLatency": { | 1831 "averageLatency": { |
1995 "description": "Average latency (ms) over the last minute.@O
utputOnly", | 1832 "description": "Average latency (ms) over the last minute.@O
utputOnly", |
1996 "format": "int32", | 1833 "format": "int32", |
1997 "type": "integer" | 1834 "type": "integer" |
1998 }, | 1835 }, |
1999 "memoryUsage": { | 1836 "memoryUsage": { |
2000 "description": "Total memory in use (bytes).@OutputOnly", | 1837 "description": "Total memory in use (bytes).@OutputOnly", |
2001 "format": "int64", | 1838 "format": "int64", |
2002 "type": "string" | 1839 "type": "string" |
2003 }, | 1840 }, |
| 1841 "id": { |
| 1842 "description": "Relative name of the instance within the ver
sion. Example: instance-1.@OutputOnly", |
| 1843 "type": "string" |
| 1844 }, |
2004 "vmIp": { | 1845 "vmIp": { |
2005 "description": "The IP address of this instance. Only applic
able for instances in App Engine flexible environment.@OutputOnly", | 1846 "description": "The IP address of this instance. Only applic
able for instances in App Engine flexible environment.@OutputOnly", |
2006 "type": "string" | 1847 "type": "string" |
2007 }, | 1848 }, |
2008 "id": { | |
2009 "description": "Relative name of the instance within the ver
sion. Example: instance-1.@OutputOnly", | |
2010 "type": "string" | |
2011 }, | |
2012 "vmStatus": { | 1849 "vmStatus": { |
2013 "description": "Status of the virtual machine where this ins
tance lives. Only applicable for instances in App Engine flexible environment.@O
utputOnly", | 1850 "description": "Status of the virtual machine where this ins
tance lives. Only applicable for instances in App Engine flexible environment.@O
utputOnly", |
2014 "type": "string" | 1851 "type": "string" |
2015 }, | 1852 }, |
2016 "availability": { | 1853 "availability": { |
2017 "description": "Availability of the instance.@OutputOnly", | 1854 "description": "Availability of the instance.@OutputOnly", |
2018 "enum": [ | 1855 "enum": [ |
2019 "UNSPECIFIED", | 1856 "UNSPECIFIED", |
2020 "RESIDENT", | 1857 "RESIDENT", |
2021 "DYNAMIC" | 1858 "DYNAMIC" |
2022 ], | 1859 ], |
2023 "enumDescriptions": [ | 1860 "enumDescriptions": [ |
2024 "", | 1861 "", |
2025 "", | 1862 "", |
2026 "" | 1863 "" |
2027 ], | 1864 ], |
2028 "type": "string" | 1865 "type": "string" |
2029 }, | 1866 }, |
2030 "errors": { | 1867 "errors": { |
2031 "description": "Number of errors since this instance was sta
rted.@OutputOnly", | 1868 "description": "Number of errors since this instance was sta
rted.@OutputOnly", |
2032 "format": "int32", | 1869 "format": "int32", |
2033 "type": "integer" | 1870 "type": "integer" |
2034 }, | 1871 }, |
2035 "startTime": { | 1872 "startTime": { |
2036 "description": "Time that this instance was started.@OutputO
nly", | 1873 "description": "Time that this instance was started.@OutputO
nly", |
2037 "format": "google-datetime", | 1874 "format": "google-datetime", |
2038 "type": "string" | 1875 "type": "string" |
2039 }, | |
2040 "vmDebugEnabled": { | |
2041 "description": "Whether this instance is in debug mode. Only
applicable for instances in App Engine flexible environment.@OutputOnly", | |
2042 "type": "boolean" | |
2043 }, | |
2044 "requests": { | |
2045 "description": "Number of requests since this instance was s
tarted.@OutputOnly", | |
2046 "format": "int32", | |
2047 "type": "integer" | |
2048 }, | |
2049 "appEngineRelease": { | |
2050 "description": "App Engine release this instance is running
on.@OutputOnly", | |
2051 "type": "string" | |
2052 }, | |
2053 "vmName": { | |
2054 "description": "Name of the virtual machine where this insta
nce lives. Only applicable for instances in App Engine flexible environment.@Out
putOnly", | |
2055 "type": "string" | |
2056 }, | |
2057 "qps": { | |
2058 "description": "Average queries per second (QPS) over the la
st minute.@OutputOnly", | |
2059 "format": "float", | |
2060 "type": "number" | |
2061 }, | |
2062 "vmId": { | |
2063 "description": "Virtual machine ID of this instance. Only ap
plicable for instances in App Engine flexible environment.@OutputOnly", | |
2064 "type": "string" | |
2065 }, | |
2066 "name": { | |
2067 "description": "Full path to the Instance resource in the AP
I. Example: apps/myapp/services/default/versions/v1/instances/instance-1.@Output
Only", | |
2068 "type": "string" | |
2069 }, | |
2070 "vmZoneName": { | |
2071 "description": "Zone where the virtual machine is located. O
nly applicable for instances in App Engine flexible environment.@OutputOnly", | |
2072 "type": "string" | |
2073 } | 1876 } |
2074 }, | 1877 }, |
2075 "type": "object" | 1878 "type": "object" |
2076 }, | 1879 }, |
2077 "LivenessCheck": { | 1880 "LivenessCheck": { |
2078 "description": "Health checking configuration for VM instances. Unhe
althy instances are killed and replaced with new instances.", | 1881 "description": "Health checking configuration for VM instances. Unhe
althy instances are killed and replaced with new instances.", |
2079 "id": "LivenessCheck", | 1882 "id": "LivenessCheck", |
2080 "properties": { | 1883 "properties": { |
| 1884 "path": { |
| 1885 "description": "The request path.", |
| 1886 "type": "string" |
| 1887 }, |
| 1888 "successThreshold": { |
| 1889 "description": "Number of consecutive successful checks requ
ired before considering the VM healthy.", |
| 1890 "format": "uint32", |
| 1891 "type": "integer" |
| 1892 }, |
| 1893 "host": { |
| 1894 "description": "Host header to send when performing a HTTP L
iveness check. Example: \"myapp.appspot.com\"", |
| 1895 "type": "string" |
| 1896 }, |
| 1897 "checkInterval": { |
| 1898 "description": "Interval between health checks.", |
| 1899 "format": "google-duration", |
| 1900 "type": "string" |
| 1901 }, |
2081 "failureThreshold": { | 1902 "failureThreshold": { |
2082 "description": "Number of consecutive failed checks required
before considering the VM unhealthy.", | 1903 "description": "Number of consecutive failed checks required
before considering the VM unhealthy.", |
2083 "format": "uint32", | 1904 "format": "uint32", |
2084 "type": "integer" | 1905 "type": "integer" |
2085 }, | 1906 }, |
2086 "timeout": { | 1907 "timeout": { |
2087 "description": "Time before the check is considered failed."
, | 1908 "description": "Time before the check is considered failed."
, |
2088 "format": "google-duration", | 1909 "format": "google-duration", |
2089 "type": "string" | 1910 "type": "string" |
2090 }, | 1911 }, |
2091 "initialDelay": { | 1912 "initialDelay": { |
2092 "description": "The initial delay before starting to execute
the checks.", | 1913 "description": "The initial delay before starting to execute
the checks.", |
2093 "format": "google-duration", | 1914 "format": "google-duration", |
2094 "type": "string" | 1915 "type": "string" |
2095 }, | |
2096 "path": { | |
2097 "description": "The request path.", | |
2098 "type": "string" | |
2099 }, | |
2100 "successThreshold": { | |
2101 "description": "Number of consecutive successful checks requ
ired before considering the VM healthy.", | |
2102 "format": "uint32", | |
2103 "type": "integer" | |
2104 }, | |
2105 "host": { | |
2106 "description": "Host header to send when performing a HTTP L
iveness check. Example: \"myapp.appspot.com\"", | |
2107 "type": "string" | |
2108 }, | |
2109 "checkInterval": { | |
2110 "description": "Interval between health checks.", | |
2111 "format": "google-duration", | |
2112 "type": "string" | |
2113 } | 1916 } |
2114 }, | 1917 }, |
2115 "type": "object" | 1918 "type": "object" |
| 1919 }, |
| 1920 "Location": { |
| 1921 "description": "A resource that represents Google Cloud Platform loc
ation.", |
| 1922 "id": "Location", |
| 1923 "properties": { |
| 1924 "labels": { |
| 1925 "additionalProperties": { |
| 1926 "type": "string" |
| 1927 }, |
| 1928 "description": "Cross-service attributes for the location. F
or example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n", |
| 1929 "type": "object" |
| 1930 }, |
| 1931 "name": { |
| 1932 "description": "Resource name for the location, which may va
ry between implementations. For example: \"projects/example-project/locations/us
-east1\"", |
| 1933 "type": "string" |
| 1934 }, |
| 1935 "locationId": { |
| 1936 "description": "The canonical id for this location. For exam
ple: \"us-east1\".", |
| 1937 "type": "string" |
| 1938 }, |
| 1939 "metadata": { |
| 1940 "additionalProperties": { |
| 1941 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1942 "type": "any" |
| 1943 }, |
| 1944 "description": "Service-specific metadata. For example the a
vailable capacity at the given location.", |
| 1945 "type": "object" |
| 1946 } |
| 1947 }, |
| 1948 "type": "object" |
2116 }, | 1949 }, |
2117 "NetworkUtilization": { | 1950 "NetworkUtilization": { |
2118 "description": "Target scaling by network usage. Only applicable for
VM runtimes.", | 1951 "description": "Target scaling by network usage. Only applicable for
VM runtimes.", |
2119 "id": "NetworkUtilization", | 1952 "id": "NetworkUtilization", |
2120 "properties": { | 1953 "properties": { |
2121 "targetReceivedPacketsPerSecond": { | 1954 "targetReceivedPacketsPerSecond": { |
2122 "description": "Target packets received per second.", | 1955 "description": "Target packets received per second.", |
2123 "format": "int32", | 1956 "format": "int32", |
2124 "type": "integer" | 1957 "type": "integer" |
2125 }, | 1958 }, |
2126 "targetSentBytesPerSecond": { | 1959 "targetSentBytesPerSecond": { |
2127 "description": "Target bytes sent per second.", | 1960 "description": "Target bytes sent per second.", |
2128 "format": "int32", | 1961 "format": "int32", |
2129 "type": "integer" | 1962 "type": "integer" |
2130 }, | 1963 }, |
2131 "targetSentPacketsPerSecond": { | 1964 "targetSentPacketsPerSecond": { |
2132 "description": "Target packets sent per second.", | 1965 "description": "Target packets sent per second.", |
2133 "format": "int32", | 1966 "format": "int32", |
2134 "type": "integer" | 1967 "type": "integer" |
2135 }, | 1968 }, |
2136 "targetReceivedBytesPerSecond": { | 1969 "targetReceivedBytesPerSecond": { |
2137 "description": "Target bytes received per second.", | 1970 "description": "Target bytes received per second.", |
2138 "format": "int32", | 1971 "format": "int32", |
2139 "type": "integer" | 1972 "type": "integer" |
2140 } | 1973 } |
2141 }, | 1974 }, |
2142 "type": "object" | 1975 "type": "object" |
2143 }, | 1976 }, |
2144 "Location": { | |
2145 "description": "A resource that represents Google Cloud Platform loc
ation.", | |
2146 "id": "Location", | |
2147 "properties": { | |
2148 "locationId": { | |
2149 "description": "The canonical id for this location. For exam
ple: \"us-east1\".", | |
2150 "type": "string" | |
2151 }, | |
2152 "metadata": { | |
2153 "additionalProperties": { | |
2154 "description": "Properties of the object. Contains field
@type with type URL.", | |
2155 "type": "any" | |
2156 }, | |
2157 "description": "Service-specific metadata. For example the a
vailable capacity at the given location.", | |
2158 "type": "object" | |
2159 }, | |
2160 "labels": { | |
2161 "additionalProperties": { | |
2162 "type": "string" | |
2163 }, | |
2164 "description": "Cross-service attributes for the location. F
or example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n", | |
2165 "type": "object" | |
2166 }, | |
2167 "name": { | |
2168 "description": "Resource name for the location, which may va
ry between implementations. For example: \"projects/example-project/locations/us
-east1\"", | |
2169 "type": "string" | |
2170 } | |
2171 }, | |
2172 "type": "object" | |
2173 }, | |
2174 "HealthCheck": { | 1977 "HealthCheck": { |
2175 "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.", | 1978 "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.", |
2176 "id": "HealthCheck", | 1979 "id": "HealthCheck", |
2177 "properties": { | 1980 "properties": { |
| 1981 "unhealthyThreshold": { |
| 1982 "description": "Number of consecutive failed health checks r
equired before removing traffic.", |
| 1983 "format": "uint32", |
| 1984 "type": "integer" |
| 1985 }, |
| 1986 "disableHealthCheck": { |
| 1987 "description": "Whether to explicitly disable health checks
for this instance.", |
| 1988 "type": "boolean" |
| 1989 }, |
2178 "host": { | 1990 "host": { |
2179 "description": "Host header to send when performing an HTTP
health check. Example: \"myapp.appspot.com\"", | 1991 "description": "Host header to send when performing an HTTP
health check. Example: \"myapp.appspot.com\"", |
2180 "type": "string" | 1992 "type": "string" |
2181 }, | 1993 }, |
| 1994 "restartThreshold": { |
| 1995 "description": "Number of consecutive failed health checks r
equired before an instance is restarted.", |
| 1996 "format": "uint32", |
| 1997 "type": "integer" |
| 1998 }, |
2182 "healthyThreshold": { | 1999 "healthyThreshold": { |
2183 "description": "Number of consecutive successful health chec
ks required before receiving traffic.", | 2000 "description": "Number of consecutive successful health chec
ks required before receiving traffic.", |
2184 "format": "uint32", | 2001 "format": "uint32", |
2185 "type": "integer" | 2002 "type": "integer" |
2186 }, | 2003 }, |
2187 "restartThreshold": { | |
2188 "description": "Number of consecutive failed health checks r
equired before an instance is restarted.", | |
2189 "format": "uint32", | |
2190 "type": "integer" | |
2191 }, | |
2192 "checkInterval": { | 2004 "checkInterval": { |
2193 "description": "Interval between health checks.", | 2005 "description": "Interval between health checks.", |
2194 "format": "google-duration", | 2006 "format": "google-duration", |
2195 "type": "string" | 2007 "type": "string" |
2196 }, | 2008 }, |
2197 "timeout": { | 2009 "timeout": { |
2198 "description": "Time before the health check is considered f
ailed.", | 2010 "description": "Time before the health check is considered f
ailed.", |
2199 "format": "google-duration", | 2011 "format": "google-duration", |
2200 "type": "string" | 2012 "type": "string" |
2201 }, | |
2202 "unhealthyThreshold": { | |
2203 "description": "Number of consecutive failed health checks r
equired before removing traffic.", | |
2204 "format": "uint32", | |
2205 "type": "integer" | |
2206 }, | |
2207 "disableHealthCheck": { | |
2208 "description": "Whether to explicitly disable health checks
for this instance.", | |
2209 "type": "boolean" | |
2210 } | 2013 } |
2211 }, | 2014 }, |
2212 "type": "object" | 2015 "type": "object" |
2213 }, | 2016 }, |
2214 "ReadinessCheck": { | 2017 "ReadinessCheck": { |
2215 "description": "Readiness checking configuration for VM instances. U
nhealthy instances are removed from traffic rotation.", | 2018 "description": "Readiness checking configuration for VM instances. U
nhealthy instances are removed from traffic rotation.", |
2216 "id": "ReadinessCheck", | 2019 "id": "ReadinessCheck", |
2217 "properties": { | 2020 "properties": { |
| 2021 "path": { |
| 2022 "description": "The request path.", |
| 2023 "type": "string" |
| 2024 }, |
2218 "successThreshold": { | 2025 "successThreshold": { |
2219 "description": "Number of consecutive successful checks requ
ired before receiving traffic.", | 2026 "description": "Number of consecutive successful checks requ
ired before receiving traffic.", |
2220 "format": "uint32", | 2027 "format": "uint32", |
2221 "type": "integer" | 2028 "type": "integer" |
2222 }, | 2029 }, |
2223 "host": { | 2030 "host": { |
2224 "description": "Host header to send when performing a HTTP R
eadiness check. Example: \"myapp.appspot.com\"", | 2031 "description": "Host header to send when performing a HTTP R
eadiness check. Example: \"myapp.appspot.com\"", |
2225 "type": "string" | 2032 "type": "string" |
2226 }, | 2033 }, |
2227 "checkInterval": { | 2034 "checkInterval": { |
2228 "description": "Interval between health checks.", | 2035 "description": "Interval between health checks.", |
2229 "format": "google-duration", | 2036 "format": "google-duration", |
2230 "type": "string" | 2037 "type": "string" |
2231 }, | 2038 }, |
| 2039 "timeout": { |
| 2040 "description": "Time before the check is considered failed."
, |
| 2041 "format": "google-duration", |
| 2042 "type": "string" |
| 2043 }, |
2232 "failureThreshold": { | 2044 "failureThreshold": { |
2233 "description": "Number of consecutive failed checks required
before removing traffic.", | 2045 "description": "Number of consecutive failed checks required
before removing traffic.", |
2234 "format": "uint32", | 2046 "format": "uint32", |
2235 "type": "integer" | 2047 "type": "integer" |
2236 }, | |
2237 "timeout": { | |
2238 "description": "Time before the check is considered failed."
, | |
2239 "format": "google-duration", | |
2240 "type": "string" | |
2241 }, | |
2242 "path": { | |
2243 "description": "The request path.", | |
2244 "type": "string" | |
2245 } | 2048 } |
2246 }, | 2049 }, |
2247 "type": "object" | 2050 "type": "object" |
2248 }, | 2051 }, |
2249 "DebugInstanceRequest": { | 2052 "DebugInstanceRequest": { |
2250 "description": "Request message for Instances.DebugInstance.", | 2053 "description": "Request message for Instances.DebugInstance.", |
2251 "id": "DebugInstanceRequest", | 2054 "id": "DebugInstanceRequest", |
2252 "properties": { | 2055 "properties": { |
2253 "sshKey": { | 2056 "sshKey": { |
2254 "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).", | 2057 "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).", |
2255 "type": "string" | 2058 "type": "string" |
2256 } | 2059 } |
2257 }, | 2060 }, |
2258 "type": "object" | 2061 "type": "object" |
2259 }, | 2062 }, |
2260 "OperationMetadataV1Beta5": { | 2063 "OperationMetadataV1Beta5": { |
2261 "description": "Metadata for the given google.longrunning.Operation.
", | 2064 "description": "Metadata for the given google.longrunning.Operation.
", |
2262 "id": "OperationMetadataV1Beta5", | 2065 "id": "OperationMetadataV1Beta5", |
2263 "properties": { | 2066 "properties": { |
2264 "method": { | |
2265 "description": "API method name that initiated this operatio
n. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly", | |
2266 "type": "string" | |
2267 }, | |
2268 "insertTime": { | 2067 "insertTime": { |
2269 "description": "Timestamp that this operation was created.@O
utputOnly", | 2068 "description": "Timestamp that this operation was created.@O
utputOnly", |
2270 "format": "google-datetime", | 2069 "format": "google-datetime", |
2271 "type": "string" | 2070 "type": "string" |
2272 }, | 2071 }, |
2273 "endTime": { | 2072 "endTime": { |
2274 "description": "Timestamp that this operation completed.@Out
putOnly", | 2073 "description": "Timestamp that this operation completed.@Out
putOnly", |
2275 "format": "google-datetime", | 2074 "format": "google-datetime", |
2276 "type": "string" | 2075 "type": "string" |
2277 }, | 2076 }, |
2278 "user": { | 2077 "user": { |
2279 "description": "User who requested this operation.@OutputOnl
y", | 2078 "description": "User who requested this operation.@OutputOnl
y", |
2280 "type": "string" | 2079 "type": "string" |
2281 }, | 2080 }, |
2282 "target": { | 2081 "target": { |
2283 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | 2082 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
2284 "type": "string" | 2083 "type": "string" |
| 2084 }, |
| 2085 "method": { |
| 2086 "description": "API method name that initiated this operatio
n. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly", |
| 2087 "type": "string" |
2285 } | 2088 } |
2286 }, | 2089 }, |
2287 "type": "object" | 2090 "type": "object" |
2288 }, | 2091 }, |
2289 "Version": { | 2092 "Version": { |
2290 "description": "A Version resource is a specific set of source code
and configuration files that are deployed into a service.", | 2093 "description": "A Version resource is a specific set of source code
and configuration files that are deployed into a service.", |
2291 "id": "Version", | 2094 "id": "Version", |
2292 "properties": { | 2095 "properties": { |
2293 "endpointsApiService": { | 2096 "endpointsApiService": { |
2294 "$ref": "EndpointsApiService", | 2097 "$ref": "EndpointsApiService", |
(...skipping 18 matching lines...) Expand all Loading... |
2313 "SERVING", | 2116 "SERVING", |
2314 "STOPPED" | 2117 "STOPPED" |
2315 ], | 2118 ], |
2316 "enumDescriptions": [ | 2119 "enumDescriptions": [ |
2317 "Not specified.", | 2120 "Not specified.", |
2318 "Currently serving. Instances are created according to t
he scaling settings of the version.", | 2121 "Currently serving. Instances are created according to t
he scaling settings of the version.", |
2319 "Disabled. No instances will be created and the scaling
settings are ignored until the state of the version changes to SERVING." | 2122 "Disabled. No instances will be created and the scaling
settings are ignored until the state of the version changes to SERVING." |
2320 ], | 2123 ], |
2321 "type": "string" | 2124 "type": "string" |
2322 }, | 2125 }, |
| 2126 "runtimeApiVersion": { |
| 2127 "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", |
| 2128 "type": "string" |
| 2129 }, |
2323 "deployment": { | 2130 "deployment": { |
2324 "$ref": "Deployment", | 2131 "$ref": "Deployment", |
2325 "description": "Code and application artifacts that make up
this version.Only returned in GET requests if view=FULL is set." | 2132 "description": "Code and application artifacts that make up
this version.Only returned in GET requests if view=FULL is set." |
2326 }, | 2133 }, |
2327 "createTime": { | 2134 "createTime": { |
2328 "description": "Time that this version was created.@OutputOn
ly", | 2135 "description": "Time that this version was created.@OutputOn
ly", |
2329 "format": "google-datetime", | 2136 "format": "google-datetime", |
2330 "type": "string" | 2137 "type": "string" |
2331 }, | 2138 }, |
2332 "resources": { | 2139 "resources": { |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2468 "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." | 2275 "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." |
2469 } | 2276 } |
2470 }, | 2277 }, |
2471 "type": "object" | 2278 "type": "object" |
2472 }, | 2279 }, |
2473 "RepairApplicationRequest": { | 2280 "RepairApplicationRequest": { |
2474 "description": "Request message for 'Applications.RepairApplication'
.", | 2281 "description": "Request message for 'Applications.RepairApplication'
.", |
2475 "id": "RepairApplicationRequest", | 2282 "id": "RepairApplicationRequest", |
2476 "properties": {}, | 2283 "properties": {}, |
2477 "type": "object" | 2284 "type": "object" |
| 2285 }, |
| 2286 "FileInfo": { |
| 2287 "description": "Single source file that is part of the version to be
deployed. Each source file that is deployed must be specified separately.", |
| 2288 "id": "FileInfo", |
| 2289 "properties": { |
| 2290 "mimeType": { |
| 2291 "description": "The MIME type of the file.Defaults to the va
lue from Google Cloud Storage.", |
| 2292 "type": "string" |
| 2293 }, |
| 2294 "sourceUrl": { |
| 2295 "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>'.", |
| 2296 "type": "string" |
| 2297 }, |
| 2298 "sha1Sum": { |
| 2299 "description": "The SHA1 hash of the file, in hex.", |
| 2300 "type": "string" |
| 2301 } |
| 2302 }, |
| 2303 "type": "object" |
| 2304 }, |
| 2305 "ScriptHandler": { |
| 2306 "description": "Executes a script to handle the request that matches
the URL pattern.", |
| 2307 "id": "ScriptHandler", |
| 2308 "properties": { |
| 2309 "scriptPath": { |
| 2310 "description": "Path to the script from the application root
directory.", |
| 2311 "type": "string" |
| 2312 } |
| 2313 }, |
| 2314 "type": "object" |
| 2315 }, |
| 2316 "OperationMetadataExperimental": { |
| 2317 "description": "Metadata for the given google.longrunning.Operation.
", |
| 2318 "id": "OperationMetadataExperimental", |
| 2319 "properties": { |
| 2320 "method": { |
| 2321 "description": "API method that initiated this operation. Ex
ample: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnl
y", |
| 2322 "type": "string" |
| 2323 }, |
| 2324 "insertTime": { |
| 2325 "description": "Time that this operation was created.@Output
Only", |
| 2326 "format": "google-datetime", |
| 2327 "type": "string" |
| 2328 }, |
| 2329 "endTime": { |
| 2330 "description": "Time that this operation completed.@OutputOn
ly", |
| 2331 "format": "google-datetime", |
| 2332 "type": "string" |
| 2333 }, |
| 2334 "user": { |
| 2335 "description": "User who requested this operation.@OutputOnl
y", |
| 2336 "type": "string" |
| 2337 }, |
| 2338 "target": { |
| 2339 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly", |
| 2340 "type": "string" |
| 2341 } |
| 2342 }, |
| 2343 "type": "object" |
| 2344 }, |
| 2345 "TrafficSplit": { |
| 2346 "description": "Traffic routing configuration for versions within a
single service. Traffic splits define how traffic directed to the service is ass
igned to versions.", |
| 2347 "id": "TrafficSplit", |
| 2348 "properties": { |
| 2349 "shardBy": { |
| 2350 "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.", |
| 2351 "enum": [ |
| 2352 "UNSPECIFIED", |
| 2353 "COOKIE", |
| 2354 "IP", |
| 2355 "RANDOM" |
| 2356 ], |
| 2357 "enumDescriptions": [ |
| 2358 "Diversion method unspecified.", |
| 2359 "Diversion based on a specially named cookie, \"GOOGAPPU
ID.\" The cookie must be set by the application itself or no diversion will occu
r.", |
| 2360 "Diversion based on applying the modulus operation to a
fingerprint of the IP address.", |
| 2361 "Diversion based on weighted random assignment. An incom
ing request is randomly routed to a version in the traffic split, with probabili
ty proportional to the version's traffic share." |
| 2362 ], |
| 2363 "type": "string" |
| 2364 }, |
| 2365 "allocations": { |
| 2366 "additionalProperties": { |
| 2367 "format": "double", |
| 2368 "type": "number" |
| 2369 }, |
| 2370 "description": "Mapping from version IDs within the service
to fractional (0.000, 1] allocations of traffic for that version. Each version c
an be specified only once, but some versions in the service may not have any tra
ffic allocation. Services that have traffic allocated cannot be deleted until ei
ther the service is deleted or their traffic allocation is removed. Allocations
must sum to 1. Up to two decimal place precision is supported for IP-based split
s and up to three decimal places is supported for cookie-based splits.", |
| 2371 "type": "object" |
| 2372 } |
| 2373 }, |
| 2374 "type": "object" |
| 2375 }, |
| 2376 "OperationMetadataV1Beta": { |
| 2377 "description": "Metadata for the given google.longrunning.Operation.
", |
| 2378 "id": "OperationMetadataV1Beta", |
| 2379 "properties": { |
| 2380 "endTime": { |
| 2381 "description": "Time that this operation completed.@OutputOn
ly", |
| 2382 "format": "google-datetime", |
| 2383 "type": "string" |
| 2384 }, |
| 2385 "warning": { |
| 2386 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
| 2387 "items": { |
| 2388 "type": "string" |
| 2389 }, |
| 2390 "type": "array" |
| 2391 }, |
| 2392 "insertTime": { |
| 2393 "description": "Time that this operation was created.@Output
Only", |
| 2394 "format": "google-datetime", |
| 2395 "type": "string" |
| 2396 }, |
| 2397 "user": { |
| 2398 "description": "User who requested this operation.@OutputOnl
y", |
| 2399 "type": "string" |
| 2400 }, |
| 2401 "target": { |
| 2402 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
| 2403 "type": "string" |
| 2404 }, |
| 2405 "ephemeralMessage": { |
| 2406 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
| 2407 "type": "string" |
| 2408 }, |
| 2409 "method": { |
| 2410 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly", |
| 2411 "type": "string" |
| 2412 } |
| 2413 }, |
| 2414 "type": "object" |
| 2415 }, |
| 2416 "ListServicesResponse": { |
| 2417 "description": "Response message for Services.ListServices.", |
| 2418 "id": "ListServicesResponse", |
| 2419 "properties": { |
| 2420 "services": { |
| 2421 "description": "The services belonging to the requested appl
ication.", |
| 2422 "items": { |
| 2423 "$ref": "Service" |
| 2424 }, |
| 2425 "type": "array" |
| 2426 }, |
| 2427 "nextPageToken": { |
| 2428 "description": "Continuation token for fetching the next pag
e of results.", |
| 2429 "type": "string" |
| 2430 } |
| 2431 }, |
| 2432 "type": "object" |
| 2433 }, |
| 2434 "Resources": { |
| 2435 "description": "Machine resources for a version.", |
| 2436 "id": "Resources", |
| 2437 "properties": { |
| 2438 "volumes": { |
| 2439 "description": "User specified volumes.", |
| 2440 "items": { |
| 2441 "$ref": "Volume" |
| 2442 }, |
| 2443 "type": "array" |
| 2444 }, |
| 2445 "diskGb": { |
| 2446 "description": "Disk size (GB) needed.", |
| 2447 "format": "double", |
| 2448 "type": "number" |
| 2449 }, |
| 2450 "cpu": { |
| 2451 "description": "Number of CPU cores needed.", |
| 2452 "format": "double", |
| 2453 "type": "number" |
| 2454 }, |
| 2455 "memoryGb": { |
| 2456 "description": "Memory (GB) needed.", |
| 2457 "format": "double", |
| 2458 "type": "number" |
| 2459 } |
| 2460 }, |
| 2461 "type": "object" |
| 2462 }, |
| 2463 "Deployment": { |
| 2464 "description": "Code and application artifacts used to deploy a vers
ion to App Engine.", |
| 2465 "id": "Deployment", |
| 2466 "properties": { |
| 2467 "files": { |
| 2468 "additionalProperties": { |
| 2469 "$ref": "FileInfo" |
| 2470 }, |
| 2471 "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.", |
| 2472 "type": "object" |
| 2473 }, |
| 2474 "zip": { |
| 2475 "$ref": "ZipInfo", |
| 2476 "description": "The zip file for this deployment, if this is
a zip deployment." |
| 2477 }, |
| 2478 "container": { |
| 2479 "$ref": "ContainerInfo", |
| 2480 "description": "The Docker image for the container that runs
the version. Only applicable for instances running in the App Engine flexible e
nvironment." |
| 2481 } |
| 2482 }, |
| 2483 "type": "object" |
| 2484 }, |
| 2485 "Volume": { |
| 2486 "description": "Volumes mounted within the app container. Only appli
cable for VM runtimes.", |
| 2487 "id": "Volume", |
| 2488 "properties": { |
| 2489 "sizeGb": { |
| 2490 "description": "Volume size in gigabytes.", |
| 2491 "format": "double", |
| 2492 "type": "number" |
| 2493 }, |
| 2494 "name": { |
| 2495 "description": "Unique name for the volume.", |
| 2496 "type": "string" |
| 2497 }, |
| 2498 "volumeType": { |
| 2499 "description": "Underlying volume type, e.g. 'tmpfs'.", |
| 2500 "type": "string" |
| 2501 } |
| 2502 }, |
| 2503 "type": "object" |
| 2504 }, |
| 2505 "ListInstancesResponse": { |
| 2506 "description": "Response message for Instances.ListInstances.", |
| 2507 "id": "ListInstancesResponse", |
| 2508 "properties": { |
| 2509 "nextPageToken": { |
| 2510 "description": "Continuation token for fetching the next pag
e of results.", |
| 2511 "type": "string" |
| 2512 }, |
| 2513 "instances": { |
| 2514 "description": "The instances belonging to the requested ver
sion.", |
| 2515 "items": { |
| 2516 "$ref": "Instance" |
| 2517 }, |
| 2518 "type": "array" |
| 2519 } |
| 2520 }, |
| 2521 "type": "object" |
2478 } | 2522 } |
2479 }, | 2523 }, |
2480 "servicePath": "", | 2524 "servicePath": "", |
2481 "title": "Google App Engine Admin API", | 2525 "title": "Google App Engine Admin API", |
2482 "version": "v1" | 2526 "version": "v1" |
2483 } | 2527 } |
OLD | NEW |