OLD | NEW |
(Empty) | |
| 1 { |
| 2 "auth": { |
| 3 "oauth2": { |
| 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/cloud-platform.read-only": { |
| 6 "description": "View your data across Google Cloud Platform
services" |
| 7 }, |
| 8 "https://www.googleapis.com/auth/cloud-platform": { |
| 9 "description": "View and manage your data across Google Clou
d Platform services" |
| 10 }, |
| 11 "https://www.googleapis.com/auth/appengine.admin": { |
| 12 "description": "View and manage your applications deployed o
n Google App Engine" |
| 13 } |
| 14 } |
| 15 } |
| 16 }, |
| 17 "basePath": "", |
| 18 "baseUrl": "https://appengine.googleapis.com/", |
| 19 "batchPath": "batch", |
| 20 "description": "Provisions and manages App Engine applications.", |
| 21 "discoveryVersion": "v1", |
| 22 "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", |
| 23 "icons": { |
| 24 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 25 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 26 }, |
| 27 "id": "appengine:v1beta", |
| 28 "kind": "discovery#restDescription", |
| 29 "name": "appengine", |
| 30 "ownerDomain": "google.com", |
| 31 "ownerName": "Google", |
| 32 "parameters": { |
| 33 "access_token": { |
| 34 "description": "OAuth access token.", |
| 35 "location": "query", |
| 36 "type": "string" |
| 37 }, |
| 38 "key": { |
| 39 "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.", |
| 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 "bearer_token": { |
| 55 "description": "OAuth bearer token.", |
| 56 "location": "query", |
| 57 "type": "string" |
| 58 }, |
| 59 "oauth_token": { |
| 60 "description": "OAuth 2.0 token for the current user.", |
| 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 "fields": { |
| 76 "description": "Selector specifying which fields to include in a par
tial response.", |
| 77 "location": "query", |
| 78 "type": "string" |
| 79 }, |
| 80 "uploadType": { |
| 81 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 82 "location": "query", |
| 83 "type": "string" |
| 84 }, |
| 85 "callback": { |
| 86 "description": "JSONP", |
| 87 "location": "query", |
| 88 "type": "string" |
| 89 }, |
| 90 "$.xgafv": { |
| 91 "description": "V1 error format.", |
| 92 "enum": [ |
| 93 "1", |
| 94 "2" |
| 95 ], |
| 96 "enumDescriptions": [ |
| 97 "v1 error format", |
| 98 "v2 error format" |
| 99 ], |
| 100 "location": "query", |
| 101 "type": "string" |
| 102 }, |
| 103 "alt": { |
| 104 "default": "json", |
| 105 "description": "Data format for response.", |
| 106 "enum": [ |
| 107 "json", |
| 108 "media", |
| 109 "proto" |
| 110 ], |
| 111 "enumDescriptions": [ |
| 112 "Responses with Content-Type of application/json", |
| 113 "Media download with context-dependent Content-Type", |
| 114 "Responses with Content-Type of application/x-protobuf" |
| 115 ], |
| 116 "location": "query", |
| 117 "type": "string" |
| 118 } |
| 119 }, |
| 120 "protocol": "rest", |
| 121 "resources": { |
| 122 "apps": { |
| 123 "methods": { |
| 124 "create": { |
| 125 "description": "Creates an App Engine application for a Goog
le Cloud Platform project. Required fields:\nid - The ID of the target Cloud Pla
tform project.\nlocation - The region (https://cloud.google.com/appengine/docs/l
ocations) where you want the App Engine application located.For more information
about App Engine applications, see Managing Projects, Applications, and Billing
(https://cloud.google.com/appengine/docs/python/console/).", |
| 126 "httpMethod": "POST", |
| 127 "id": "appengine.apps.create", |
| 128 "parameterOrder": [], |
| 129 "parameters": {}, |
| 130 "path": "v1beta/apps", |
| 131 "request": { |
| 132 "$ref": "Application" |
| 133 }, |
| 134 "response": { |
| 135 "$ref": "Operation" |
| 136 }, |
| 137 "scopes": [ |
| 138 "https://www.googleapis.com/auth/cloud-platform" |
| 139 ] |
| 140 }, |
| 141 "repair": { |
| 142 "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
.", |
| 143 "httpMethod": "POST", |
| 144 "id": "appengine.apps.repair", |
| 145 "parameterOrder": [ |
| 146 "appsId" |
| 147 ], |
| 148 "parameters": { |
| 149 "appsId": { |
| 150 "description": "Part of `name`. Name of the applicat
ion to repair. Example: apps/myapp", |
| 151 "location": "path", |
| 152 "required": true, |
| 153 "type": "string" |
| 154 } |
| 155 }, |
| 156 "path": "v1beta/apps/{appsId}:repair", |
| 157 "request": { |
| 158 "$ref": "RepairApplicationRequest" |
| 159 }, |
| 160 "response": { |
| 161 "$ref": "Operation" |
| 162 }, |
| 163 "scopes": [ |
| 164 "https://www.googleapis.com/auth/cloud-platform" |
| 165 ] |
| 166 }, |
| 167 "get": { |
| 168 "description": "Gets information about an application.", |
| 169 "httpMethod": "GET", |
| 170 "id": "appengine.apps.get", |
| 171 "parameterOrder": [ |
| 172 "appsId" |
| 173 ], |
| 174 "parameters": { |
| 175 "appsId": { |
| 176 "description": "Part of `name`. Name of the Applicat
ion resource to get. Example: apps/myapp.", |
| 177 "location": "path", |
| 178 "required": true, |
| 179 "type": "string" |
| 180 } |
| 181 }, |
| 182 "path": "v1beta/apps/{appsId}", |
| 183 "response": { |
| 184 "$ref": "Application" |
| 185 }, |
| 186 "scopes": [ |
| 187 "https://www.googleapis.com/auth/appengine.admin", |
| 188 "https://www.googleapis.com/auth/cloud-platform", |
| 189 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 190 ] |
| 191 }, |
| 192 "patch": { |
| 193 "description": "Updates the specified Application resource.
You can update the following fields:\nauth_domain - Google authentication domain
for controlling user access to the application.\ndefault_cookie_expiration - Co
okie expiration policy for the application.", |
| 194 "httpMethod": "PATCH", |
| 195 "id": "appengine.apps.patch", |
| 196 "parameterOrder": [ |
| 197 "appsId" |
| 198 ], |
| 199 "parameters": { |
| 200 "appsId": { |
| 201 "description": "Part of `name`. Name of the Applicat
ion resource to update. Example: apps/myapp.", |
| 202 "location": "path", |
| 203 "required": true, |
| 204 "type": "string" |
| 205 }, |
| 206 "updateMask": { |
| 207 "description": "Standard field mask for the set of f
ields to be updated.", |
| 208 "format": "google-fieldmask", |
| 209 "location": "query", |
| 210 "type": "string" |
| 211 } |
| 212 }, |
| 213 "path": "v1beta/apps/{appsId}", |
| 214 "request": { |
| 215 "$ref": "Application" |
| 216 }, |
| 217 "response": { |
| 218 "$ref": "Operation" |
| 219 }, |
| 220 "scopes": [ |
| 221 "https://www.googleapis.com/auth/cloud-platform" |
| 222 ] |
| 223 } |
| 224 }, |
| 225 "resources": { |
| 226 "locations": { |
| 227 "methods": { |
| 228 "list": { |
| 229 "description": "Lists information about the supporte
d locations for this service.", |
| 230 "httpMethod": "GET", |
| 231 "id": "appengine.apps.locations.list", |
| 232 "parameterOrder": [ |
| 233 "appsId" |
| 234 ], |
| 235 "parameters": { |
| 236 "appsId": { |
| 237 "description": "Part of `name`. The resource
that owns the locations collection, if applicable.", |
| 238 "location": "path", |
| 239 "required": true, |
| 240 "type": "string" |
| 241 }, |
| 242 "pageToken": { |
| 243 "description": "The standard list page token
.", |
| 244 "location": "query", |
| 245 "type": "string" |
| 246 }, |
| 247 "pageSize": { |
| 248 "description": "The standard list page size.
", |
| 249 "format": "int32", |
| 250 "location": "query", |
| 251 "type": "integer" |
| 252 }, |
| 253 "filter": { |
| 254 "description": "The standard list filter.", |
| 255 "location": "query", |
| 256 "type": "string" |
| 257 } |
| 258 }, |
| 259 "path": "v1beta/apps/{appsId}/locations", |
| 260 "response": { |
| 261 "$ref": "ListLocationsResponse" |
| 262 }, |
| 263 "scopes": [ |
| 264 "https://www.googleapis.com/auth/appengine.admin
", |
| 265 "https://www.googleapis.com/auth/cloud-platform"
, |
| 266 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 267 ] |
| 268 }, |
| 269 "get": { |
| 270 "description": "Get information about a location.", |
| 271 "httpMethod": "GET", |
| 272 "id": "appengine.apps.locations.get", |
| 273 "parameterOrder": [ |
| 274 "appsId", |
| 275 "locationsId" |
| 276 ], |
| 277 "parameters": { |
| 278 "appsId": { |
| 279 "description": "Part of `name`. Resource nam
e for the location.", |
| 280 "location": "path", |
| 281 "required": true, |
| 282 "type": "string" |
| 283 }, |
| 284 "locationsId": { |
| 285 "description": "Part of `name`. See document
ation of `appsId`.", |
| 286 "location": "path", |
| 287 "required": true, |
| 288 "type": "string" |
| 289 } |
| 290 }, |
| 291 "path": "v1beta/apps/{appsId}/locations/{locationsId
}", |
| 292 "response": { |
| 293 "$ref": "Location" |
| 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 "services": { |
| 304 "methods": { |
| 305 "list": { |
| 306 "description": "Lists all the services in the applic
ation.", |
| 307 "httpMethod": "GET", |
| 308 "id": "appengine.apps.services.list", |
| 309 "parameterOrder": [ |
| 310 "appsId" |
| 311 ], |
| 312 "parameters": { |
| 313 "appsId": { |
| 314 "description": "Part of `parent`. Name of th
e parent Application resource. Example: apps/myapp.", |
| 315 "location": "path", |
| 316 "required": true, |
| 317 "type": "string" |
| 318 }, |
| 319 "pageToken": { |
| 320 "description": "Continuation token for fetch
ing the next page of results.", |
| 321 "location": "query", |
| 322 "type": "string" |
| 323 }, |
| 324 "pageSize": { |
| 325 "description": "Maximum results to return pe
r page.", |
| 326 "format": "int32", |
| 327 "location": "query", |
| 328 "type": "integer" |
| 329 } |
| 330 }, |
| 331 "path": "v1beta/apps/{appsId}/services", |
| 332 "response": { |
| 333 "$ref": "ListServicesResponse" |
| 334 }, |
| 335 "scopes": [ |
| 336 "https://www.googleapis.com/auth/appengine.admin
", |
| 337 "https://www.googleapis.com/auth/cloud-platform"
, |
| 338 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 339 ] |
| 340 }, |
| 341 "get": { |
| 342 "description": "Gets the current configuration of th
e specified service.", |
| 343 "httpMethod": "GET", |
| 344 "id": "appengine.apps.services.get", |
| 345 "parameterOrder": [ |
| 346 "appsId", |
| 347 "servicesId" |
| 348 ], |
| 349 "parameters": { |
| 350 "servicesId": { |
| 351 "description": "Part of `name`. See document
ation of `appsId`.", |
| 352 "location": "path", |
| 353 "required": true, |
| 354 "type": "string" |
| 355 }, |
| 356 "appsId": { |
| 357 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/services/default.", |
| 358 "location": "path", |
| 359 "required": true, |
| 360 "type": "string" |
| 361 } |
| 362 }, |
| 363 "path": "v1beta/apps/{appsId}/services/{servicesId}"
, |
| 364 "response": { |
| 365 "$ref": "Service" |
| 366 }, |
| 367 "scopes": [ |
| 368 "https://www.googleapis.com/auth/appengine.admin
", |
| 369 "https://www.googleapis.com/auth/cloud-platform"
, |
| 370 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 371 ] |
| 372 }, |
| 373 "patch": { |
| 374 "description": "Updates the configuration of the spe
cified service.", |
| 375 "httpMethod": "PATCH", |
| 376 "id": "appengine.apps.services.patch", |
| 377 "parameterOrder": [ |
| 378 "appsId", |
| 379 "servicesId" |
| 380 ], |
| 381 "parameters": { |
| 382 "updateMask": { |
| 383 "description": "Standard field mask for the
set of fields to be updated.", |
| 384 "format": "google-fieldmask", |
| 385 "location": "query", |
| 386 "type": "string" |
| 387 }, |
| 388 "servicesId": { |
| 389 "description": "Part of `name`. See document
ation of `appsId`.", |
| 390 "location": "path", |
| 391 "required": true, |
| 392 "type": "string" |
| 393 }, |
| 394 "appsId": { |
| 395 "description": "Part of `name`. Name of the
resource to update. Example: apps/myapp/services/default.", |
| 396 "location": "path", |
| 397 "required": true, |
| 398 "type": "string" |
| 399 }, |
| 400 "migrateTraffic": { |
| 401 "description": "Set to true to gradually shi
ft traffic to one or more versions that you specify. By default, traffic is shif
ted immediately. For gradual traffic migration, the target versions must be loca
ted within instances that are configured for both warmup requests (https://cloud
.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.version
s#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/
docs/admin-api/reference/rest/v1beta/apps.services.versions#automaticscaling). Y
ou must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/r
eference/rest/v1beta/apps.services#shardby) field in the Service resource. Gradu
al traffic migration is not supported in the App Engine flexible environment. Fo
r examples, see Migrating and Splitting Traffic (https://cloud.google.com/appeng
ine/docs/admin-api/migrating-splitting-traffic).", |
| 402 "location": "query", |
| 403 "type": "boolean" |
| 404 } |
| 405 }, |
| 406 "path": "v1beta/apps/{appsId}/services/{servicesId}"
, |
| 407 "request": { |
| 408 "$ref": "Service" |
| 409 }, |
| 410 "response": { |
| 411 "$ref": "Operation" |
| 412 }, |
| 413 "scopes": [ |
| 414 "https://www.googleapis.com/auth/cloud-platform" |
| 415 ] |
| 416 }, |
| 417 "delete": { |
| 418 "description": "Deletes the specified service and al
l enclosed versions.", |
| 419 "httpMethod": "DELETE", |
| 420 "id": "appengine.apps.services.delete", |
| 421 "parameterOrder": [ |
| 422 "appsId", |
| 423 "servicesId" |
| 424 ], |
| 425 "parameters": { |
| 426 "servicesId": { |
| 427 "description": "Part of `name`. See document
ation of `appsId`.", |
| 428 "location": "path", |
| 429 "required": true, |
| 430 "type": "string" |
| 431 }, |
| 432 "appsId": { |
| 433 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/services/default.", |
| 434 "location": "path", |
| 435 "required": true, |
| 436 "type": "string" |
| 437 } |
| 438 }, |
| 439 "path": "v1beta/apps/{appsId}/services/{servicesId}"
, |
| 440 "response": { |
| 441 "$ref": "Operation" |
| 442 }, |
| 443 "scopes": [ |
| 444 "https://www.googleapis.com/auth/cloud-platform" |
| 445 ] |
| 446 } |
| 447 }, |
| 448 "resources": { |
| 449 "versions": { |
| 450 "methods": { |
| 451 "create": { |
| 452 "description": "Deploys code and resource fi
les to a new version.", |
| 453 "httpMethod": "POST", |
| 454 "id": "appengine.apps.services.versions.crea
te", |
| 455 "parameterOrder": [ |
| 456 "appsId", |
| 457 "servicesId" |
| 458 ], |
| 459 "parameters": { |
| 460 "servicesId": { |
| 461 "description": "Part of `parent`. Se
e documentation of `appsId`.", |
| 462 "location": "path", |
| 463 "required": true, |
| 464 "type": "string" |
| 465 }, |
| 466 "appsId": { |
| 467 "description": "Part of `parent`. Na
me of the parent resource to create this version under. Example: apps/myapp/serv
ices/default.", |
| 468 "location": "path", |
| 469 "required": true, |
| 470 "type": "string" |
| 471 } |
| 472 }, |
| 473 "path": "v1beta/apps/{appsId}/services/{serv
icesId}/versions", |
| 474 "request": { |
| 475 "$ref": "Version" |
| 476 }, |
| 477 "response": { |
| 478 "$ref": "Operation" |
| 479 }, |
| 480 "scopes": [ |
| 481 "https://www.googleapis.com/auth/cloud-p
latform" |
| 482 ] |
| 483 }, |
| 484 "delete": { |
| 485 "description": "Deletes an existing Version
resource.", |
| 486 "httpMethod": "DELETE", |
| 487 "id": "appengine.apps.services.versions.dele
te", |
| 488 "parameterOrder": [ |
| 489 "appsId", |
| 490 "servicesId", |
| 491 "versionsId" |
| 492 ], |
| 493 "parameters": { |
| 494 "servicesId": { |
| 495 "description": "Part of `name`. See
documentation of `appsId`.", |
| 496 "location": "path", |
| 497 "required": true, |
| 498 "type": "string" |
| 499 }, |
| 500 "appsId": { |
| 501 "description": "Part of `name`. Name
of the resource requested. Example: apps/myapp/services/default/versions/v1.", |
| 502 "location": "path", |
| 503 "required": true, |
| 504 "type": "string" |
| 505 }, |
| 506 "versionsId": { |
| 507 "description": "Part of `name`. See
documentation of `appsId`.", |
| 508 "location": "path", |
| 509 "required": true, |
| 510 "type": "string" |
| 511 } |
| 512 }, |
| 513 "path": "v1beta/apps/{appsId}/services/{serv
icesId}/versions/{versionsId}", |
| 514 "response": { |
| 515 "$ref": "Operation" |
| 516 }, |
| 517 "scopes": [ |
| 518 "https://www.googleapis.com/auth/cloud-p
latform" |
| 519 ] |
| 520 }, |
| 521 "list": { |
| 522 "description": "Lists the versions of a serv
ice.", |
| 523 "httpMethod": "GET", |
| 524 "id": "appengine.apps.services.versions.list
", |
| 525 "parameterOrder": [ |
| 526 "appsId", |
| 527 "servicesId" |
| 528 ], |
| 529 "parameters": { |
| 530 "servicesId": { |
| 531 "description": "Part of `parent`. Se
e documentation of `appsId`.", |
| 532 "location": "path", |
| 533 "required": true, |
| 534 "type": "string" |
| 535 }, |
| 536 "appsId": { |
| 537 "description": "Part of `parent`. Na
me of the parent Service resource. Example: apps/myapp/services/default.", |
| 538 "location": "path", |
| 539 "required": true, |
| 540 "type": "string" |
| 541 }, |
| 542 "pageToken": { |
| 543 "description": "Continuation token f
or fetching the next page of results.", |
| 544 "location": "query", |
| 545 "type": "string" |
| 546 }, |
| 547 "pageSize": { |
| 548 "description": "Maximum results to r
eturn per page.", |
| 549 "format": "int32", |
| 550 "location": "query", |
| 551 "type": "integer" |
| 552 }, |
| 553 "view": { |
| 554 "description": "Controls the set of
fields returned in the List response.", |
| 555 "enum": [ |
| 556 "BASIC", |
| 557 "FULL" |
| 558 ], |
| 559 "location": "query", |
| 560 "type": "string" |
| 561 } |
| 562 }, |
| 563 "path": "v1beta/apps/{appsId}/services/{serv
icesId}/versions", |
| 564 "response": { |
| 565 "$ref": "ListVersionsResponse" |
| 566 }, |
| 567 "scopes": [ |
| 568 "https://www.googleapis.com/auth/appengi
ne.admin", |
| 569 "https://www.googleapis.com/auth/cloud-p
latform", |
| 570 "https://www.googleapis.com/auth/cloud-p
latform.read-only" |
| 571 ] |
| 572 }, |
| 573 "get": { |
| 574 "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.", |
| 575 "httpMethod": "GET", |
| 576 "id": "appengine.apps.services.versions.get"
, |
| 577 "parameterOrder": [ |
| 578 "appsId", |
| 579 "servicesId", |
| 580 "versionsId" |
| 581 ], |
| 582 "parameters": { |
| 583 "versionsId": { |
| 584 "description": "Part of `name`. See
documentation of `appsId`.", |
| 585 "location": "path", |
| 586 "required": true, |
| 587 "type": "string" |
| 588 }, |
| 589 "view": { |
| 590 "description": "Controls the set of
fields returned in the Get response.", |
| 591 "enum": [ |
| 592 "BASIC", |
| 593 "FULL" |
| 594 ], |
| 595 "location": "query", |
| 596 "type": "string" |
| 597 }, |
| 598 "servicesId": { |
| 599 "description": "Part of `name`. See
documentation of `appsId`.", |
| 600 "location": "path", |
| 601 "required": true, |
| 602 "type": "string" |
| 603 }, |
| 604 "appsId": { |
| 605 "description": "Part of `name`. Name
of the resource requested. Example: apps/myapp/services/default/versions/v1.", |
| 606 "location": "path", |
| 607 "required": true, |
| 608 "type": "string" |
| 609 } |
| 610 }, |
| 611 "path": "v1beta/apps/{appsId}/services/{serv
icesId}/versions/{versionsId}", |
| 612 "response": { |
| 613 "$ref": "Version" |
| 614 }, |
| 615 "scopes": [ |
| 616 "https://www.googleapis.com/auth/appengi
ne.admin", |
| 617 "https://www.googleapis.com/auth/cloud-p
latform", |
| 618 "https://www.googleapis.com/auth/cloud-p
latform.read-only" |
| 619 ] |
| 620 }, |
| 621 "patch": { |
| 622 "description": "Updates the specified Versio
n resource. You can specify the following fields depending on the App Engine env
ironment and type of scaling that the version resource uses:\nserving_status (ht
tps://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.servi
ces.versions#Version.FIELDS.serving_status): For Version resources that use bas
ic scaling, manual scaling, or run in the App Engine flexible environment.\nins
tance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1
beta/apps.services.versions#Version.FIELDS.instance_class): For Version resourc
es that run in the App Engine standard environment.\nautomatic_scaling.min_idle_
instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
ta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resour
ces that use automatic scaling and run in the App Engine standard environment.\
nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/a
dmin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_s
caling): For Version resources that use automatic scaling and run in the App E
ngine standard environment.", |
| 623 "httpMethod": "PATCH", |
| 624 "id": "appengine.apps.services.versions.patc
h", |
| 625 "parameterOrder": [ |
| 626 "appsId", |
| 627 "servicesId", |
| 628 "versionsId" |
| 629 ], |
| 630 "parameters": { |
| 631 "servicesId": { |
| 632 "description": "Part of `name`. See
documentation of `appsId`.", |
| 633 "location": "path", |
| 634 "required": true, |
| 635 "type": "string" |
| 636 }, |
| 637 "appsId": { |
| 638 "description": "Part of `name`. Name
of the resource to update. Example: apps/myapp/services/default/versions/1.", |
| 639 "location": "path", |
| 640 "required": true, |
| 641 "type": "string" |
| 642 }, |
| 643 "versionsId": { |
| 644 "description": "Part of `name`. See
documentation of `appsId`.", |
| 645 "location": "path", |
| 646 "required": true, |
| 647 "type": "string" |
| 648 }, |
| 649 "updateMask": { |
| 650 "description": "Standard field mask
for the set of fields to be updated.", |
| 651 "format": "google-fieldmask", |
| 652 "location": "query", |
| 653 "type": "string" |
| 654 } |
| 655 }, |
| 656 "path": "v1beta/apps/{appsId}/services/{serv
icesId}/versions/{versionsId}", |
| 657 "request": { |
| 658 "$ref": "Version" |
| 659 }, |
| 660 "response": { |
| 661 "$ref": "Operation" |
| 662 }, |
| 663 "scopes": [ |
| 664 "https://www.googleapis.com/auth/cloud-p
latform" |
| 665 ] |
| 666 } |
| 667 }, |
| 668 "resources": { |
| 669 "instances": { |
| 670 "methods": { |
| 671 "delete": { |
| 672 "description": "Stops a running inst
ance.", |
| 673 "httpMethod": "DELETE", |
| 674 "id": "appengine.apps.services.versi
ons.instances.delete", |
| 675 "parameterOrder": [ |
| 676 "appsId", |
| 677 "servicesId", |
| 678 "versionsId", |
| 679 "instancesId" |
| 680 ], |
| 681 "parameters": { |
| 682 "servicesId": { |
| 683 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 684 "location": "path", |
| 685 "required": true, |
| 686 "type": "string" |
| 687 }, |
| 688 "appsId": { |
| 689 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/services/default/version
s/v1/instances/instance-1.", |
| 690 "location": "path", |
| 691 "required": true, |
| 692 "type": "string" |
| 693 }, |
| 694 "instancesId": { |
| 695 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 696 "location": "path", |
| 697 "required": true, |
| 698 "type": "string" |
| 699 }, |
| 700 "versionsId": { |
| 701 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 702 "location": "path", |
| 703 "required": true, |
| 704 "type": "string" |
| 705 } |
| 706 }, |
| 707 "path": "v1beta/apps/{appsId}/servic
es/{servicesId}/versions/{versionsId}/instances/{instancesId}", |
| 708 "response": { |
| 709 "$ref": "Operation" |
| 710 }, |
| 711 "scopes": [ |
| 712 "https://www.googleapis.com/auth
/cloud-platform" |
| 713 ] |
| 714 }, |
| 715 "list": { |
| 716 "description": "Lists the instances
of a version.", |
| 717 "httpMethod": "GET", |
| 718 "id": "appengine.apps.services.versi
ons.instances.list", |
| 719 "parameterOrder": [ |
| 720 "appsId", |
| 721 "servicesId", |
| 722 "versionsId" |
| 723 ], |
| 724 "parameters": { |
| 725 "appsId": { |
| 726 "description": "Part of `par
ent`. Name of the parent Version resource. Example: apps/myapp/services/default/
versions/v1.", |
| 727 "location": "path", |
| 728 "required": true, |
| 729 "type": "string" |
| 730 }, |
| 731 "pageToken": { |
| 732 "description": "Continuation
token for fetching the next page of results.", |
| 733 "location": "query", |
| 734 "type": "string" |
| 735 }, |
| 736 "pageSize": { |
| 737 "description": "Maximum resu
lts to return per page.", |
| 738 "format": "int32", |
| 739 "location": "query", |
| 740 "type": "integer" |
| 741 }, |
| 742 "versionsId": { |
| 743 "description": "Part of `par
ent`. See documentation of `appsId`.", |
| 744 "location": "path", |
| 745 "required": true, |
| 746 "type": "string" |
| 747 }, |
| 748 "servicesId": { |
| 749 "description": "Part of `par
ent`. See documentation of `appsId`.", |
| 750 "location": "path", |
| 751 "required": true, |
| 752 "type": "string" |
| 753 } |
| 754 }, |
| 755 "path": "v1beta/apps/{appsId}/servic
es/{servicesId}/versions/{versionsId}/instances", |
| 756 "response": { |
| 757 "$ref": "ListInstancesResponse" |
| 758 }, |
| 759 "scopes": [ |
| 760 "https://www.googleapis.com/auth
/appengine.admin", |
| 761 "https://www.googleapis.com/auth
/cloud-platform", |
| 762 "https://www.googleapis.com/auth
/cloud-platform.read-only" |
| 763 ] |
| 764 }, |
| 765 "get": { |
| 766 "description": "Gets instance inform
ation.", |
| 767 "httpMethod": "GET", |
| 768 "id": "appengine.apps.services.versi
ons.instances.get", |
| 769 "parameterOrder": [ |
| 770 "appsId", |
| 771 "servicesId", |
| 772 "versionsId", |
| 773 "instancesId" |
| 774 ], |
| 775 "parameters": { |
| 776 "servicesId": { |
| 777 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 778 "location": "path", |
| 779 "required": true, |
| 780 "type": "string" |
| 781 }, |
| 782 "appsId": { |
| 783 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/services/default/version
s/v1/instances/instance-1.", |
| 784 "location": "path", |
| 785 "required": true, |
| 786 "type": "string" |
| 787 }, |
| 788 "instancesId": { |
| 789 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 790 "location": "path", |
| 791 "required": true, |
| 792 "type": "string" |
| 793 }, |
| 794 "versionsId": { |
| 795 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 796 "location": "path", |
| 797 "required": true, |
| 798 "type": "string" |
| 799 } |
| 800 }, |
| 801 "path": "v1beta/apps/{appsId}/servic
es/{servicesId}/versions/{versionsId}/instances/{instancesId}", |
| 802 "response": { |
| 803 "$ref": "Instance" |
| 804 }, |
| 805 "scopes": [ |
| 806 "https://www.googleapis.com/auth
/appengine.admin", |
| 807 "https://www.googleapis.com/auth
/cloud-platform", |
| 808 "https://www.googleapis.com/auth
/cloud-platform.read-only" |
| 809 ] |
| 810 }, |
| 811 "debug": { |
| 812 "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
.", |
| 813 "httpMethod": "POST", |
| 814 "id": "appengine.apps.services.versi
ons.instances.debug", |
| 815 "parameterOrder": [ |
| 816 "appsId", |
| 817 "servicesId", |
| 818 "versionsId", |
| 819 "instancesId" |
| 820 ], |
| 821 "parameters": { |
| 822 "versionsId": { |
| 823 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 824 "location": "path", |
| 825 "required": true, |
| 826 "type": "string" |
| 827 }, |
| 828 "servicesId": { |
| 829 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 830 "location": "path", |
| 831 "required": true, |
| 832 "type": "string" |
| 833 }, |
| 834 "appsId": { |
| 835 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/services/default/version
s/v1/instances/instance-1.", |
| 836 "location": "path", |
| 837 "required": true, |
| 838 "type": "string" |
| 839 }, |
| 840 "instancesId": { |
| 841 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 842 "location": "path", |
| 843 "required": true, |
| 844 "type": "string" |
| 845 } |
| 846 }, |
| 847 "path": "v1beta/apps/{appsId}/servic
es/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug", |
| 848 "request": { |
| 849 "$ref": "DebugInstanceRequest" |
| 850 }, |
| 851 "response": { |
| 852 "$ref": "Operation" |
| 853 }, |
| 854 "scopes": [ |
| 855 "https://www.googleapis.com/auth
/cloud-platform" |
| 856 ] |
| 857 } |
| 858 } |
| 859 } |
| 860 } |
| 861 } |
| 862 } |
| 863 }, |
| 864 "operations": { |
| 865 "methods": { |
| 866 "list": { |
| 867 "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.", |
| 868 "httpMethod": "GET", |
| 869 "id": "appengine.apps.operations.list", |
| 870 "parameterOrder": [ |
| 871 "appsId" |
| 872 ], |
| 873 "parameters": { |
| 874 "filter": { |
| 875 "description": "The standard list filter.", |
| 876 "location": "query", |
| 877 "type": "string" |
| 878 }, |
| 879 "appsId": { |
| 880 "description": "Part of `name`. The name of
the operation collection.", |
| 881 "location": "path", |
| 882 "required": true, |
| 883 "type": "string" |
| 884 }, |
| 885 "pageToken": { |
| 886 "description": "The standard list page token
.", |
| 887 "location": "query", |
| 888 "type": "string" |
| 889 }, |
| 890 "pageSize": { |
| 891 "description": "The standard list page size.
", |
| 892 "format": "int32", |
| 893 "location": "query", |
| 894 "type": "integer" |
| 895 } |
| 896 }, |
| 897 "path": "v1beta/apps/{appsId}/operations", |
| 898 "response": { |
| 899 "$ref": "ListOperationsResponse" |
| 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": "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.", |
| 909 "httpMethod": "GET", |
| 910 "id": "appengine.apps.operations.get", |
| 911 "parameterOrder": [ |
| 912 "appsId", |
| 913 "operationsId" |
| 914 ], |
| 915 "parameters": { |
| 916 "appsId": { |
| 917 "description": "Part of `name`. The name of
the operation resource.", |
| 918 "location": "path", |
| 919 "required": true, |
| 920 "type": "string" |
| 921 }, |
| 922 "operationsId": { |
| 923 "description": "Part of `name`. See document
ation of `appsId`.", |
| 924 "location": "path", |
| 925 "required": true, |
| 926 "type": "string" |
| 927 } |
| 928 }, |
| 929 "path": "v1beta/apps/{appsId}/operations/{operations
Id}", |
| 930 "response": { |
| 931 "$ref": "Operation" |
| 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 } |
| 941 } |
| 942 } |
| 943 }, |
| 944 "revision": "20170221", |
| 945 "rootUrl": "https://appengine.googleapis.com/", |
| 946 "schemas": { |
| 947 "ListLocationsResponse": { |
| 948 "description": "The response message for Locations.ListLocations.", |
| 949 "id": "ListLocationsResponse", |
| 950 "properties": { |
| 951 "nextPageToken": { |
| 952 "description": "The standard List next-page token.", |
| 953 "type": "string" |
| 954 }, |
| 955 "locations": { |
| 956 "description": "A list of locations that matches the specifi
ed filter in the request.", |
| 957 "items": { |
| 958 "$ref": "Location" |
| 959 }, |
| 960 "type": "array" |
| 961 } |
| 962 }, |
| 963 "type": "object" |
| 964 }, |
| 965 "ContainerInfo": { |
| 966 "description": "Docker image that is used to create a container and
start a VM instance for the version that you deploy. Only applicable for instanc
es running in the App Engine flexible environment.", |
| 967 "id": "ContainerInfo", |
| 968 "properties": { |
| 969 "image": { |
| 970 "description": "URI to the hosted container image in Google
Container Registry. The URI must be fully qualified and include a tag or digest.
Examples: \"gcr.io/my-project/image:tag\" or \"gcr.io/my-project/image@digest\"
", |
| 971 "type": "string" |
| 972 } |
| 973 }, |
| 974 "type": "object" |
| 975 }, |
| 976 "RequestUtilization": { |
| 977 "description": "Target scaling by request utilization. Only applicab
le for VM runtimes.", |
| 978 "id": "RequestUtilization", |
| 979 "properties": { |
| 980 "targetRequestCountPerSecond": { |
| 981 "description": "Target requests per second.", |
| 982 "format": "int32", |
| 983 "type": "integer" |
| 984 }, |
| 985 "targetConcurrentRequests": { |
| 986 "description": "Target number of concurrent requests.", |
| 987 "format": "int32", |
| 988 "type": "integer" |
| 989 } |
| 990 }, |
| 991 "type": "object" |
| 992 }, |
| 993 "EndpointsApiService": { |
| 994 "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).", |
| 995 "id": "EndpointsApiService", |
| 996 "properties": { |
| 997 "name": { |
| 998 "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\"", |
| 999 "type": "string" |
| 1000 }, |
| 1001 "configId": { |
| 1002 "description": "Endpoints service configuration id as specif
ied by the Service Management API. For example \"2016-09-19r1\"", |
| 1003 "type": "string" |
| 1004 } |
| 1005 }, |
| 1006 "type": "object" |
| 1007 }, |
| 1008 "UrlMap": { |
| 1009 "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.", |
| 1010 "id": "UrlMap", |
| 1011 "properties": { |
| 1012 "apiEndpoint": { |
| 1013 "$ref": "ApiEndpointHandler", |
| 1014 "description": "Uses API Endpoints to handle requests." |
| 1015 }, |
| 1016 "staticFiles": { |
| 1017 "$ref": "StaticFilesHandler", |
| 1018 "description": "Returns the contents of a file, such as an i
mage, as the response." |
| 1019 }, |
| 1020 "redirectHttpResponseCode": { |
| 1021 "description": "30x code to use when performing redirects fo
r the secure field. Defaults to 302.", |
| 1022 "enum": [ |
| 1023 "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", |
| 1024 "REDIRECT_HTTP_RESPONSE_CODE_301", |
| 1025 "REDIRECT_HTTP_RESPONSE_CODE_302", |
| 1026 "REDIRECT_HTTP_RESPONSE_CODE_303", |
| 1027 "REDIRECT_HTTP_RESPONSE_CODE_307" |
| 1028 ], |
| 1029 "enumDescriptions": [ |
| 1030 "Not specified. 302 is assumed.", |
| 1031 "301 Moved Permanently code.", |
| 1032 "302 Moved Temporarily code.", |
| 1033 "303 See Other code.", |
| 1034 "307 Temporary Redirect code." |
| 1035 ], |
| 1036 "type": "string" |
| 1037 }, |
| 1038 "securityLevel": { |
| 1039 "description": "Security (HTTPS) enforcement for this URL.", |
| 1040 "enum": [ |
| 1041 "SECURE_UNSPECIFIED", |
| 1042 "SECURE_DEFAULT", |
| 1043 "SECURE_NEVER", |
| 1044 "SECURE_OPTIONAL", |
| 1045 "SECURE_ALWAYS" |
| 1046 ], |
| 1047 "enumDescriptions": [ |
| 1048 "Not specified.", |
| 1049 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used, and respond accordingly.", |
| 1050 "Requests for a URL that match this handler that use HTT
PS are automatically redirected to the HTTP equivalent URL.", |
| 1051 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used and respond accordingly.", |
| 1052 "Requests for a URL that match this handler that do not
use HTTPS are automatically redirected to the HTTPS URL with the same path. Quer
y parameters are reserved for the redirect." |
| 1053 ], |
| 1054 "type": "string" |
| 1055 }, |
| 1056 "authFailAction": { |
| 1057 "description": "Action to take when users access resources t
hat require authentication. Defaults to redirect.", |
| 1058 "enum": [ |
| 1059 "AUTH_FAIL_ACTION_UNSPECIFIED", |
| 1060 "AUTH_FAIL_ACTION_REDIRECT", |
| 1061 "AUTH_FAIL_ACTION_UNAUTHORIZED" |
| 1062 ], |
| 1063 "enumDescriptions": [ |
| 1064 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", |
| 1065 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, |
| 1066 "Rejects request with a 401 HTTP status code and an erro
r message." |
| 1067 ], |
| 1068 "type": "string" |
| 1069 }, |
| 1070 "script": { |
| 1071 "$ref": "ScriptHandler", |
| 1072 "description": "Executes a script to handle the request that
matches this URL pattern." |
| 1073 }, |
| 1074 "urlRegex": { |
| 1075 "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.", |
| 1076 "type": "string" |
| 1077 }, |
| 1078 "login": { |
| 1079 "description": "Level of login required to access this resou
rce.", |
| 1080 "enum": [ |
| 1081 "LOGIN_UNSPECIFIED", |
| 1082 "LOGIN_OPTIONAL", |
| 1083 "LOGIN_ADMIN", |
| 1084 "LOGIN_REQUIRED" |
| 1085 ], |
| 1086 "enumDescriptions": [ |
| 1087 "Not specified. LOGIN_OPTIONAL is assumed.", |
| 1088 "Does not require that the user is signed in.", |
| 1089 "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.", |
| 1090 "If the user has signed in, the handler proceeds normall
y. Otherwise, the auth_fail_action is taken." |
| 1091 ], |
| 1092 "type": "string" |
| 1093 } |
| 1094 }, |
| 1095 "type": "object" |
| 1096 }, |
| 1097 "ApiConfigHandler": { |
| 1098 "description": "Google Cloud Endpoints (https://cloud.google.com/app
engine/docs/python/endpoints/) configuration for API handlers.", |
| 1099 "id": "ApiConfigHandler", |
| 1100 "properties": { |
| 1101 "login": { |
| 1102 "description": "Level of login required to access this resou
rce. Defaults to optional.", |
| 1103 "enum": [ |
| 1104 "LOGIN_UNSPECIFIED", |
| 1105 "LOGIN_OPTIONAL", |
| 1106 "LOGIN_ADMIN", |
| 1107 "LOGIN_REQUIRED" |
| 1108 ], |
| 1109 "enumDescriptions": [ |
| 1110 "Not specified. LOGIN_OPTIONAL is assumed.", |
| 1111 "Does not require that the user is signed in.", |
| 1112 "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.", |
| 1113 "If the user has signed in, the handler proceeds normall
y. Otherwise, the auth_fail_action is taken." |
| 1114 ], |
| 1115 "type": "string" |
| 1116 }, |
| 1117 "url": { |
| 1118 "description": "URL to serve the endpoint at.", |
| 1119 "type": "string" |
| 1120 }, |
| 1121 "securityLevel": { |
| 1122 "description": "Security (HTTPS) enforcement for this URL.", |
| 1123 "enum": [ |
| 1124 "SECURE_UNSPECIFIED", |
| 1125 "SECURE_DEFAULT", |
| 1126 "SECURE_NEVER", |
| 1127 "SECURE_OPTIONAL", |
| 1128 "SECURE_ALWAYS" |
| 1129 ], |
| 1130 "enumDescriptions": [ |
| 1131 "Not specified.", |
| 1132 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used, and respond accordingly.", |
| 1133 "Requests for a URL that match this handler that use HTT
PS are automatically redirected to the HTTP equivalent URL.", |
| 1134 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used and respond accordingly.", |
| 1135 "Requests for a URL that match this handler that do not
use HTTPS are automatically redirected to the HTTPS URL with the same path. Quer
y parameters are reserved for the redirect." |
| 1136 ], |
| 1137 "type": "string" |
| 1138 }, |
| 1139 "authFailAction": { |
| 1140 "description": "Action to take when users access resources t
hat require authentication. Defaults to redirect.", |
| 1141 "enum": [ |
| 1142 "AUTH_FAIL_ACTION_UNSPECIFIED", |
| 1143 "AUTH_FAIL_ACTION_REDIRECT", |
| 1144 "AUTH_FAIL_ACTION_UNAUTHORIZED" |
| 1145 ], |
| 1146 "enumDescriptions": [ |
| 1147 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", |
| 1148 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, |
| 1149 "Rejects request with a 401 HTTP status code and an erro
r message." |
| 1150 ], |
| 1151 "type": "string" |
| 1152 }, |
| 1153 "script": { |
| 1154 "description": "Path to the script from the application root
directory.", |
| 1155 "type": "string" |
| 1156 } |
| 1157 }, |
| 1158 "type": "object" |
| 1159 }, |
| 1160 "Operation": { |
| 1161 "description": "This resource represents a long-running operation th
at is the result of a network API call.", |
| 1162 "id": "Operation", |
| 1163 "properties": { |
| 1164 "name": { |
| 1165 "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.", |
| 1166 "type": "string" |
| 1167 }, |
| 1168 "error": { |
| 1169 "$ref": "Status", |
| 1170 "description": "The error result of the operation in case of
failure or cancellation." |
| 1171 }, |
| 1172 "metadata": { |
| 1173 "additionalProperties": { |
| 1174 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1175 "type": "any" |
| 1176 }, |
| 1177 "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.", |
| 1178 "type": "object" |
| 1179 }, |
| 1180 "done": { |
| 1181 "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.", |
| 1182 "type": "boolean" |
| 1183 }, |
| 1184 "response": { |
| 1185 "additionalProperties": { |
| 1186 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1187 "type": "any" |
| 1188 }, |
| 1189 "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.", |
| 1190 "type": "object" |
| 1191 } |
| 1192 }, |
| 1193 "type": "object" |
| 1194 }, |
| 1195 "StaticFilesHandler": { |
| 1196 "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.", |
| 1197 "id": "StaticFilesHandler", |
| 1198 "properties": { |
| 1199 "path": { |
| 1200 "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.", |
| 1201 "type": "string" |
| 1202 }, |
| 1203 "mimeType": { |
| 1204 "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.", |
| 1205 "type": "string" |
| 1206 }, |
| 1207 "requireMatchingFile": { |
| 1208 "description": "Whether this handler should match the reques
t if the file referenced by the handler does not exist.", |
| 1209 "type": "boolean" |
| 1210 }, |
| 1211 "expiration": { |
| 1212 "description": "Time a static file served by this handler sh
ould be cached by web proxies and browsers.", |
| 1213 "format": "google-duration", |
| 1214 "type": "string" |
| 1215 }, |
| 1216 "applicationReadable": { |
| 1217 "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.", |
| 1218 "type": "boolean" |
| 1219 }, |
| 1220 "httpHeaders": { |
| 1221 "additionalProperties": { |
| 1222 "type": "string" |
| 1223 }, |
| 1224 "description": "HTTP headers to use for all responses from t
hese URLs.", |
| 1225 "type": "object" |
| 1226 }, |
| 1227 "uploadPathRegex": { |
| 1228 "description": "Regular expression that matches the file pat
hs for all files that should be referenced by this handler.", |
| 1229 "type": "string" |
| 1230 } |
| 1231 }, |
| 1232 "type": "object" |
| 1233 }, |
| 1234 "BasicScaling": { |
| 1235 "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.", |
| 1236 "id": "BasicScaling", |
| 1237 "properties": { |
| 1238 "maxInstances": { |
| 1239 "description": "Maximum number of instances to create for th
is version.", |
| 1240 "format": "int32", |
| 1241 "type": "integer" |
| 1242 }, |
| 1243 "idleTimeout": { |
| 1244 "description": "Duration of time after the last request that
an instance must wait before the instance is shut down.", |
| 1245 "format": "google-duration", |
| 1246 "type": "string" |
| 1247 } |
| 1248 }, |
| 1249 "type": "object" |
| 1250 }, |
| 1251 "DiskUtilization": { |
| 1252 "description": "Target scaling by disk usage. Only applicable for VM
runtimes.", |
| 1253 "id": "DiskUtilization", |
| 1254 "properties": { |
| 1255 "targetReadBytesPerSecond": { |
| 1256 "description": "Target bytes read per second.", |
| 1257 "format": "int32", |
| 1258 "type": "integer" |
| 1259 }, |
| 1260 "targetReadOpsPerSecond": { |
| 1261 "description": "Target ops read per seconds.", |
| 1262 "format": "int32", |
| 1263 "type": "integer" |
| 1264 }, |
| 1265 "targetWriteOpsPerSecond": { |
| 1266 "description": "Target ops written per second.", |
| 1267 "format": "int32", |
| 1268 "type": "integer" |
| 1269 }, |
| 1270 "targetWriteBytesPerSecond": { |
| 1271 "description": "Target bytes written per second.", |
| 1272 "format": "int32", |
| 1273 "type": "integer" |
| 1274 } |
| 1275 }, |
| 1276 "type": "object" |
| 1277 }, |
| 1278 "CpuUtilization": { |
| 1279 "description": "Target scaling by CPU usage.", |
| 1280 "id": "CpuUtilization", |
| 1281 "properties": { |
| 1282 "targetUtilization": { |
| 1283 "description": "Target CPU utilization ratio to maintain whe
n scaling. Must be between 0 and 1.", |
| 1284 "format": "double", |
| 1285 "type": "number" |
| 1286 }, |
| 1287 "aggregationWindowLength": { |
| 1288 "description": "Period of time over which CPU utilization is
calculated.", |
| 1289 "format": "google-duration", |
| 1290 "type": "string" |
| 1291 } |
| 1292 }, |
| 1293 "type": "object" |
| 1294 }, |
| 1295 "Status": { |
| 1296 "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.", |
| 1297 "id": "Status", |
| 1298 "properties": { |
| 1299 "code": { |
| 1300 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
| 1301 "format": "int32", |
| 1302 "type": "integer" |
| 1303 }, |
| 1304 "message": { |
| 1305 "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.", |
| 1306 "type": "string" |
| 1307 }, |
| 1308 "details": { |
| 1309 "description": "A list of messages that carry the error deta
ils. There will be a common set of message types for APIs to use.", |
| 1310 "items": { |
| 1311 "additionalProperties": { |
| 1312 "description": "Properties of the object. Contains f
ield @type with type URL.", |
| 1313 "type": "any" |
| 1314 }, |
| 1315 "type": "object" |
| 1316 }, |
| 1317 "type": "array" |
| 1318 } |
| 1319 }, |
| 1320 "type": "object" |
| 1321 }, |
| 1322 "IdentityAwareProxy": { |
| 1323 "description": "Identity-Aware Proxy", |
| 1324 "id": "IdentityAwareProxy", |
| 1325 "properties": { |
| 1326 "oauth2ClientSecretSha256": { |
| 1327 "description": "Hex-encoded SHA-256 hash of the client secre
t.@OutputOnly", |
| 1328 "type": "string" |
| 1329 }, |
| 1330 "enabled": { |
| 1331 "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.", |
| 1332 "type": "boolean" |
| 1333 }, |
| 1334 "oauth2ClientSecret": { |
| 1335 "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", |
| 1336 "type": "string" |
| 1337 }, |
| 1338 "oauth2ClientId": { |
| 1339 "description": "OAuth2 client ID to use for the authenticati
on flow.", |
| 1340 "type": "string" |
| 1341 } |
| 1342 }, |
| 1343 "type": "object" |
| 1344 }, |
| 1345 "ManualScaling": { |
| 1346 "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.", |
| 1347 "id": "ManualScaling", |
| 1348 "properties": { |
| 1349 "instances": { |
| 1350 "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.", |
| 1351 "format": "int32", |
| 1352 "type": "integer" |
| 1353 } |
| 1354 }, |
| 1355 "type": "object" |
| 1356 }, |
| 1357 "LocationMetadata": { |
| 1358 "description": "Metadata for the given google.cloud.location.Locatio
n.", |
| 1359 "id": "LocationMetadata", |
| 1360 "properties": { |
| 1361 "flexibleEnvironmentAvailable": { |
| 1362 "description": "App Engine Flexible Environment is available
in the given location.@OutputOnly", |
| 1363 "type": "boolean" |
| 1364 }, |
| 1365 "standardEnvironmentAvailable": { |
| 1366 "description": "App Engine Standard Environment is available
in the given location.@OutputOnly", |
| 1367 "type": "boolean" |
| 1368 } |
| 1369 }, |
| 1370 "type": "object" |
| 1371 }, |
| 1372 "Service": { |
| 1373 "description": "A Service resource is a logical component of an appl
ication that can share state and communicate in a secure fashion with other serv
ices. For example, an application that handles customer requests might include s
eparate services to handle tasks such as backend data analysis or API requests f
rom mobile devices. Each service has a collection of versions that define a spec
ific set of code used to implement the functionality of that service.", |
| 1374 "id": "Service", |
| 1375 "properties": { |
| 1376 "name": { |
| 1377 "description": "Full path to the Service resource in the API
. Example: apps/myapp/services/default.@OutputOnly", |
| 1378 "type": "string" |
| 1379 }, |
| 1380 "split": { |
| 1381 "$ref": "TrafficSplit", |
| 1382 "description": "Mapping that defines fractional HTTP traffic
diversion to different versions within the service." |
| 1383 }, |
| 1384 "id": { |
| 1385 "description": "Relative name of the service within the appl
ication. Example: default.@OutputOnly", |
| 1386 "type": "string" |
| 1387 } |
| 1388 }, |
| 1389 "type": "object" |
| 1390 }, |
| 1391 "ListOperationsResponse": { |
| 1392 "description": "The response message for Operations.ListOperations."
, |
| 1393 "id": "ListOperationsResponse", |
| 1394 "properties": { |
| 1395 "nextPageToken": { |
| 1396 "description": "The standard List next-page token.", |
| 1397 "type": "string" |
| 1398 }, |
| 1399 "operations": { |
| 1400 "description": "A list of operations that matches the specif
ied filter in the request.", |
| 1401 "items": { |
| 1402 "$ref": "Operation" |
| 1403 }, |
| 1404 "type": "array" |
| 1405 } |
| 1406 }, |
| 1407 "type": "object" |
| 1408 }, |
| 1409 "OperationMetadata": { |
| 1410 "description": "Metadata for the given google.longrunning.Operation.
", |
| 1411 "id": "OperationMetadata", |
| 1412 "properties": { |
| 1413 "operationType": { |
| 1414 "description": "Type of this operation. Deprecated, use meth
od field instead. Example: \"create_version\".@OutputOnly", |
| 1415 "type": "string" |
| 1416 }, |
| 1417 "insertTime": { |
| 1418 "description": "Timestamp that this operation was created.@O
utputOnly", |
| 1419 "format": "google-datetime", |
| 1420 "type": "string" |
| 1421 }, |
| 1422 "user": { |
| 1423 "description": "User who requested this operation.@OutputOnl
y", |
| 1424 "type": "string" |
| 1425 }, |
| 1426 "target": { |
| 1427 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/modules/default.@OutputOnly", |
| 1428 "type": "string" |
| 1429 }, |
| 1430 "method": { |
| 1431 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta4.Version.CreateVersion.@OutputOnly", |
| 1432 "type": "string" |
| 1433 }, |
| 1434 "endTime": { |
| 1435 "description": "Timestamp that this operation completed.@Out
putOnly", |
| 1436 "format": "google-datetime", |
| 1437 "type": "string" |
| 1438 } |
| 1439 }, |
| 1440 "type": "object" |
| 1441 }, |
| 1442 "OperationMetadataV1": { |
| 1443 "description": "Metadata for the given google.longrunning.Operation.
", |
| 1444 "id": "OperationMetadataV1", |
| 1445 "properties": { |
| 1446 "method": { |
| 1447 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1.Versions.CreateVersion.@OutputOnly", |
| 1448 "type": "string" |
| 1449 }, |
| 1450 "endTime": { |
| 1451 "description": "Time that this operation completed.@OutputOn
ly", |
| 1452 "format": "google-datetime", |
| 1453 "type": "string" |
| 1454 }, |
| 1455 "insertTime": { |
| 1456 "description": "Time that this operation was created.@Output
Only", |
| 1457 "format": "google-datetime", |
| 1458 "type": "string" |
| 1459 }, |
| 1460 "warning": { |
| 1461 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
| 1462 "items": { |
| 1463 "type": "string" |
| 1464 }, |
| 1465 "type": "array" |
| 1466 }, |
| 1467 "user": { |
| 1468 "description": "User who requested this operation.@OutputOnl
y", |
| 1469 "type": "string" |
| 1470 }, |
| 1471 "target": { |
| 1472 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
| 1473 "type": "string" |
| 1474 }, |
| 1475 "ephemeralMessage": { |
| 1476 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
| 1477 "type": "string" |
| 1478 } |
| 1479 }, |
| 1480 "type": "object" |
| 1481 }, |
| 1482 "ErrorHandler": { |
| 1483 "description": "Custom static error page to be served when an error
occurs.", |
| 1484 "id": "ErrorHandler", |
| 1485 "properties": { |
| 1486 "errorCode": { |
| 1487 "description": "Error condition this handler applies to.", |
| 1488 "enum": [ |
| 1489 "ERROR_CODE_UNSPECIFIED", |
| 1490 "ERROR_CODE_DEFAULT", |
| 1491 "ERROR_CODE_OVER_QUOTA", |
| 1492 "ERROR_CODE_DOS_API_DENIAL", |
| 1493 "ERROR_CODE_TIMEOUT" |
| 1494 ], |
| 1495 "enumDescriptions": [ |
| 1496 "Not specified. ERROR_CODE_DEFAULT is assumed.", |
| 1497 "All other error types.", |
| 1498 "Application has exceeded a resource quota.", |
| 1499 "Client blocked by the application's Denial of Service p
rotection configuration.", |
| 1500 "Deadline reached before the application responds." |
| 1501 ], |
| 1502 "type": "string" |
| 1503 }, |
| 1504 "mimeType": { |
| 1505 "description": "MIME type of file. Defaults to text/html.", |
| 1506 "type": "string" |
| 1507 }, |
| 1508 "staticFile": { |
| 1509 "description": "Static file content to be served for this er
ror.", |
| 1510 "type": "string" |
| 1511 } |
| 1512 }, |
| 1513 "type": "object" |
| 1514 }, |
| 1515 "Network": { |
| 1516 "description": "Extra network settings. Only applicable for VM runti
mes.", |
| 1517 "id": "Network", |
| 1518 "properties": { |
| 1519 "forwardedPorts": { |
| 1520 "description": "List of ports, or port pairs, to forward fro
m the virtual machine to the application container.", |
| 1521 "items": { |
| 1522 "type": "string" |
| 1523 }, |
| 1524 "type": "array" |
| 1525 }, |
| 1526 "instanceTag": { |
| 1527 "description": "Tag to apply to the VM instance during creat
ion.", |
| 1528 "type": "string" |
| 1529 }, |
| 1530 "subnetworkName": { |
| 1531 "description": "Google Cloud Platform sub-network where the
virtual machines are created. Specify the short name, not the resource path.If a
subnetwork name is specified, a network name will also be required unless it is
for the default network.\nIf the network the VM instance is being created in is
a Legacy network, then the IP address is allocated from the IPv4Range.\nIf the
network the VM instance is being created in is an auto Subnet Mode Network, then
only network name should be specified (not the subnetwork_name) and the IP addr
ess is created from the IPCidrRange of the subnetwork that exists in that zone f
or that network.\nIf the network the VM instance is being created in is a custom
Subnet Mode Network, then the subnetwork_name must be specified and the IP addr
ess is created from the IPCidrRange of the subnetwork.If specified, the subnetwo
rk must exist in the same region as the Flex app.", |
| 1532 "type": "string" |
| 1533 }, |
| 1534 "name": { |
| 1535 "description": "Google Cloud Platform network where the virt
ual machines are created. Specify the short name, not the resource path.Defaults
to default.", |
| 1536 "type": "string" |
| 1537 } |
| 1538 }, |
| 1539 "type": "object" |
| 1540 }, |
| 1541 "Application": { |
| 1542 "description": "An Application resource contains the top-level confi
guration of an App Engine application.", |
| 1543 "id": "Application", |
| 1544 "properties": { |
| 1545 "defaultHostname": { |
| 1546 "description": "Hostname used to reach this application, as
resolved by App Engine.@OutputOnly", |
| 1547 "type": "string" |
| 1548 }, |
| 1549 "name": { |
| 1550 "description": "Full path to the Application resource in the
API. Example: apps/myapp.@OutputOnly", |
| 1551 "type": "string" |
| 1552 }, |
| 1553 "iap": { |
| 1554 "$ref": "IdentityAwareProxy" |
| 1555 }, |
| 1556 "authDomain": { |
| 1557 "description": "Google Apps authentication domain that contr
ols which users can access this application.Defaults to open access for any Goog
le Account.", |
| 1558 "type": "string" |
| 1559 }, |
| 1560 "defaultCookieExpiration": { |
| 1561 "description": "Cookie expiration policy for this applicatio
n.", |
| 1562 "format": "google-duration", |
| 1563 "type": "string" |
| 1564 }, |
| 1565 "id": { |
| 1566 "description": "Identifier of the Application resource. This
identifier is equivalent to the project ID of the Google Cloud Platform project
where you want to deploy your application. Example: myapp.", |
| 1567 "type": "string" |
| 1568 }, |
| 1569 "codeBucket": { |
| 1570 "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", |
| 1571 "type": "string" |
| 1572 }, |
| 1573 "defaultBucket": { |
| 1574 "description": "Google Cloud Storage bucket that can be used
by this application to store content.@OutputOnly", |
| 1575 "type": "string" |
| 1576 }, |
| 1577 "locationId": { |
| 1578 "description": "Location from which this application will be
run. Application instances will run out of data centers in the chosen location,
which is also where all of the application's end user content is stored.Default
s to us-central.Options are:us-central - Central USeurope-west - Western Europeu
s-east1 - Eastern US", |
| 1579 "type": "string" |
| 1580 }, |
| 1581 "dispatchRules": { |
| 1582 "description": "HTTP path dispatch rules for requests to the
application that do not explicitly target a service or version. Rules are order
-dependent.@OutputOnly", |
| 1583 "items": { |
| 1584 "$ref": "UrlDispatchRule" |
| 1585 }, |
| 1586 "type": "array" |
| 1587 } |
| 1588 }, |
| 1589 "type": "object" |
| 1590 }, |
| 1591 "Instance": { |
| 1592 "description": "An Instance resource is the computing unit that App
Engine uses to automatically scale an application.", |
| 1593 "id": "Instance", |
| 1594 "properties": { |
| 1595 "vmName": { |
| 1596 "description": "Name of the virtual machine where this insta
nce lives. Only applicable for instances in App Engine flexible environment.@Out
putOnly", |
| 1597 "type": "string" |
| 1598 }, |
| 1599 "vmId": { |
| 1600 "description": "Virtual machine ID of this instance. Only ap
plicable for instances in App Engine flexible environment.@OutputOnly", |
| 1601 "type": "string" |
| 1602 }, |
| 1603 "qps": { |
| 1604 "description": "Average queries per second (QPS) over the la
st minute.@OutputOnly", |
| 1605 "format": "float", |
| 1606 "type": "number" |
| 1607 }, |
| 1608 "name": { |
| 1609 "description": "Full path to the Instance resource in the AP
I. Example: apps/myapp/services/default/versions/v1/instances/instance-1.@Output
Only", |
| 1610 "type": "string" |
| 1611 }, |
| 1612 "vmZoneName": { |
| 1613 "description": "Zone where the virtual machine is located. O
nly applicable for instances in App Engine flexible environment.@OutputOnly", |
| 1614 "type": "string" |
| 1615 }, |
| 1616 "averageLatency": { |
| 1617 "description": "Average latency (ms) over the last minute.@O
utputOnly", |
| 1618 "format": "int32", |
| 1619 "type": "integer" |
| 1620 }, |
| 1621 "vmIp": { |
| 1622 "description": "The IP address of this instance. Only applic
able for instances in App Engine flexible environment.@OutputOnly", |
| 1623 "type": "string" |
| 1624 }, |
| 1625 "id": { |
| 1626 "description": "Relative name of the instance within the ver
sion. Example: instance-1.@OutputOnly", |
| 1627 "type": "string" |
| 1628 }, |
| 1629 "memoryUsage": { |
| 1630 "description": "Total memory in use (bytes).@OutputOnly", |
| 1631 "format": "int64", |
| 1632 "type": "string" |
| 1633 }, |
| 1634 "errors": { |
| 1635 "description": "Number of errors since this instance was sta
rted.@OutputOnly", |
| 1636 "format": "int32", |
| 1637 "type": "integer" |
| 1638 }, |
| 1639 "availability": { |
| 1640 "description": "Availability of the instance.@OutputOnly", |
| 1641 "enum": [ |
| 1642 "UNSPECIFIED", |
| 1643 "RESIDENT", |
| 1644 "DYNAMIC" |
| 1645 ], |
| 1646 "enumDescriptions": [ |
| 1647 "", |
| 1648 "", |
| 1649 "" |
| 1650 ], |
| 1651 "type": "string" |
| 1652 }, |
| 1653 "vmStatus": { |
| 1654 "description": "Status of the virtual machine where this ins
tance lives. Only applicable for instances in App Engine flexible environment.@O
utputOnly", |
| 1655 "type": "string" |
| 1656 }, |
| 1657 "startTime": { |
| 1658 "description": "Time that this instance was started.@OutputO
nly", |
| 1659 "format": "google-datetime", |
| 1660 "type": "string" |
| 1661 }, |
| 1662 "vmDebugEnabled": { |
| 1663 "description": "Whether this instance is in debug mode. Only
applicable for instances in App Engine flexible environment.@OutputOnly", |
| 1664 "type": "boolean" |
| 1665 }, |
| 1666 "requests": { |
| 1667 "description": "Number of requests since this instance was s
tarted.@OutputOnly", |
| 1668 "format": "int32", |
| 1669 "type": "integer" |
| 1670 }, |
| 1671 "appEngineRelease": { |
| 1672 "description": "App Engine release this instance is running
on.@OutputOnly", |
| 1673 "type": "string" |
| 1674 } |
| 1675 }, |
| 1676 "type": "object" |
| 1677 }, |
| 1678 "LivenessCheck": { |
| 1679 "description": "Health checking configuration for VM instances. Unhe
althy instances are killed and replaced with new instances.", |
| 1680 "id": "LivenessCheck", |
| 1681 "properties": { |
| 1682 "timeout": { |
| 1683 "description": "Time before the check is considered failed."
, |
| 1684 "format": "google-duration", |
| 1685 "type": "string" |
| 1686 }, |
| 1687 "initialDelay": { |
| 1688 "description": "The initial delay before starting to execute
the checks.", |
| 1689 "format": "google-duration", |
| 1690 "type": "string" |
| 1691 }, |
| 1692 "unhealthyThreshold": { |
| 1693 "description": "Number of consecutive failed checks required
before considering the VM unhealthy.", |
| 1694 "format": "uint32", |
| 1695 "type": "integer" |
| 1696 }, |
| 1697 "path": { |
| 1698 "description": "The request path.", |
| 1699 "type": "string" |
| 1700 }, |
| 1701 "host": { |
| 1702 "description": "Host header to send when performing a HTTP L
iveness check. Example: \"myapp.appspot.com\"", |
| 1703 "type": "string" |
| 1704 }, |
| 1705 "healthyThreshold": { |
| 1706 "description": "Number of consecutive successful checks requ
ired before considering the VM healthy.", |
| 1707 "format": "uint32", |
| 1708 "type": "integer" |
| 1709 }, |
| 1710 "checkInterval": { |
| 1711 "description": "Interval between health checks.", |
| 1712 "format": "google-duration", |
| 1713 "type": "string" |
| 1714 } |
| 1715 }, |
| 1716 "type": "object" |
| 1717 }, |
| 1718 "NetworkUtilization": { |
| 1719 "description": "Target scaling by network usage. Only applicable for
VM runtimes.", |
| 1720 "id": "NetworkUtilization", |
| 1721 "properties": { |
| 1722 "targetSentPacketsPerSecond": { |
| 1723 "description": "Target packets sent per second.", |
| 1724 "format": "int32", |
| 1725 "type": "integer" |
| 1726 }, |
| 1727 "targetReceivedBytesPerSecond": { |
| 1728 "description": "Target bytes received per second.", |
| 1729 "format": "int32", |
| 1730 "type": "integer" |
| 1731 }, |
| 1732 "targetReceivedPacketsPerSecond": { |
| 1733 "description": "Target packets received per second.", |
| 1734 "format": "int32", |
| 1735 "type": "integer" |
| 1736 }, |
| 1737 "targetSentBytesPerSecond": { |
| 1738 "description": "Target bytes sent per second.", |
| 1739 "format": "int32", |
| 1740 "type": "integer" |
| 1741 } |
| 1742 }, |
| 1743 "type": "object" |
| 1744 }, |
| 1745 "Location": { |
| 1746 "description": "A resource that represents Google Cloud Platform loc
ation.", |
| 1747 "id": "Location", |
| 1748 "properties": { |
| 1749 "labels": { |
| 1750 "additionalProperties": { |
| 1751 "type": "string" |
| 1752 }, |
| 1753 "description": "Cross-service attributes for the location. F
or example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n", |
| 1754 "type": "object" |
| 1755 }, |
| 1756 "name": { |
| 1757 "description": "Resource name for the location, which may va
ry between implementations. For example: \"projects/example-project/locations/us
-east1\"", |
| 1758 "type": "string" |
| 1759 }, |
| 1760 "locationId": { |
| 1761 "description": "The canonical id for this location. For exam
ple: \"us-east1\".", |
| 1762 "type": "string" |
| 1763 }, |
| 1764 "metadata": { |
| 1765 "additionalProperties": { |
| 1766 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1767 "type": "any" |
| 1768 }, |
| 1769 "description": "Service-specific metadata. For example the a
vailable capacity at the given location.", |
| 1770 "type": "object" |
| 1771 } |
| 1772 }, |
| 1773 "type": "object" |
| 1774 }, |
| 1775 "HealthCheck": { |
| 1776 "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.", |
| 1777 "id": "HealthCheck", |
| 1778 "properties": { |
| 1779 "checkInterval": { |
| 1780 "description": "Interval between health checks.", |
| 1781 "format": "google-duration", |
| 1782 "type": "string" |
| 1783 }, |
| 1784 "timeout": { |
| 1785 "description": "Time before the health check is considered f
ailed.", |
| 1786 "format": "google-duration", |
| 1787 "type": "string" |
| 1788 }, |
| 1789 "unhealthyThreshold": { |
| 1790 "description": "Number of consecutive failed health checks r
equired before removing traffic.", |
| 1791 "format": "uint32", |
| 1792 "type": "integer" |
| 1793 }, |
| 1794 "disableHealthCheck": { |
| 1795 "description": "Whether to explicitly disable health checks
for this instance.", |
| 1796 "type": "boolean" |
| 1797 }, |
| 1798 "host": { |
| 1799 "description": "Host header to send when performing an HTTP
health check. Example: \"myapp.appspot.com\"", |
| 1800 "type": "string" |
| 1801 }, |
| 1802 "restartThreshold": { |
| 1803 "description": "Number of consecutive failed health checks r
equired before an instance is restarted.", |
| 1804 "format": "uint32", |
| 1805 "type": "integer" |
| 1806 }, |
| 1807 "healthyThreshold": { |
| 1808 "description": "Number of consecutive successful health chec
ks required before receiving traffic.", |
| 1809 "format": "uint32", |
| 1810 "type": "integer" |
| 1811 } |
| 1812 }, |
| 1813 "type": "object" |
| 1814 }, |
| 1815 "ReadinessCheck": { |
| 1816 "description": "Readiness checking configuration for VM instances. U
nhealthy instances are removed from traffic rotation.", |
| 1817 "id": "ReadinessCheck", |
| 1818 "properties": { |
| 1819 "path": { |
| 1820 "description": "The request path.", |
| 1821 "type": "string" |
| 1822 }, |
| 1823 "host": { |
| 1824 "description": "Host header to send when performing a HTTP R
eadiness check. Example: \"myapp.appspot.com\"", |
| 1825 "type": "string" |
| 1826 }, |
| 1827 "healthyThreshold": { |
| 1828 "description": "Number of consecutive successful checks requ
ired before receiving traffic.", |
| 1829 "format": "uint32", |
| 1830 "type": "integer" |
| 1831 }, |
| 1832 "checkInterval": { |
| 1833 "description": "Interval between health checks.", |
| 1834 "format": "google-duration", |
| 1835 "type": "string" |
| 1836 }, |
| 1837 "timeout": { |
| 1838 "description": "Time before the check is considered failed."
, |
| 1839 "format": "google-duration", |
| 1840 "type": "string" |
| 1841 }, |
| 1842 "unhealthyThreshold": { |
| 1843 "description": "Number of consecutive failed checks required
before removing traffic.", |
| 1844 "format": "uint32", |
| 1845 "type": "integer" |
| 1846 } |
| 1847 }, |
| 1848 "type": "object" |
| 1849 }, |
| 1850 "DebugInstanceRequest": { |
| 1851 "description": "Request message for Instances.DebugInstance.", |
| 1852 "id": "DebugInstanceRequest", |
| 1853 "properties": { |
| 1854 "sshKey": { |
| 1855 "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).", |
| 1856 "type": "string" |
| 1857 } |
| 1858 }, |
| 1859 "type": "object" |
| 1860 }, |
| 1861 "OperationMetadataV1Beta5": { |
| 1862 "description": "Metadata for the given google.longrunning.Operation.
", |
| 1863 "id": "OperationMetadataV1Beta5", |
| 1864 "properties": { |
| 1865 "endTime": { |
| 1866 "description": "Timestamp that this operation completed.@Out
putOnly", |
| 1867 "format": "google-datetime", |
| 1868 "type": "string" |
| 1869 }, |
| 1870 "user": { |
| 1871 "description": "User who requested this operation.@OutputOnl
y", |
| 1872 "type": "string" |
| 1873 }, |
| 1874 "target": { |
| 1875 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
| 1876 "type": "string" |
| 1877 }, |
| 1878 "method": { |
| 1879 "description": "API method name that initiated this operatio
n. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly", |
| 1880 "type": "string" |
| 1881 }, |
| 1882 "insertTime": { |
| 1883 "description": "Timestamp that this operation was created.@O
utputOnly", |
| 1884 "format": "google-datetime", |
| 1885 "type": "string" |
| 1886 } |
| 1887 }, |
| 1888 "type": "object" |
| 1889 }, |
| 1890 "Version": { |
| 1891 "description": "A Version resource is a specific set of source code
and configuration files that are deployed into a service.", |
| 1892 "id": "Version", |
| 1893 "properties": { |
| 1894 "createdBy": { |
| 1895 "description": "Email address of the user who created this v
ersion.@OutputOnly", |
| 1896 "type": "string" |
| 1897 }, |
| 1898 "id": { |
| 1899 "description": "Relative name of the version within the serv
ice. Example: v1. Version names can contain only lowercase letters, numbers, or
hyphens. Reserved names: \"default\", \"latest\", and any name with the prefix \
"ah-\".", |
| 1900 "type": "string" |
| 1901 }, |
| 1902 "envVariables": { |
| 1903 "additionalProperties": { |
| 1904 "type": "string" |
| 1905 }, |
| 1906 "description": "Environment variables available to the appli
cation.Only returned in GET requests if view=FULL is set.", |
| 1907 "type": "object" |
| 1908 }, |
| 1909 "livenessCheck": { |
| 1910 "$ref": "LivenessCheck", |
| 1911 "description": "Configures liveness health checking for VM i
nstances. Unhealthy instances are stopped and replaced with new instancesOnly re
turned in GET requests if view=FULL is set." |
| 1912 }, |
| 1913 "network": { |
| 1914 "$ref": "Network", |
| 1915 "description": "Extra network settings. Only applicable for
VM runtimes." |
| 1916 }, |
| 1917 "betaSettings": { |
| 1918 "additionalProperties": { |
| 1919 "type": "string" |
| 1920 }, |
| 1921 "description": "Metadata settings that are supplied to this
version to enable beta runtime features.", |
| 1922 "type": "object" |
| 1923 }, |
| 1924 "env": { |
| 1925 "description": "App Engine execution environment for this ve
rsion.Defaults to standard.", |
| 1926 "type": "string" |
| 1927 }, |
| 1928 "handlers": { |
| 1929 "description": "An ordered list of URL-matching patterns tha
t should be applied to incoming requests. The first matching URL handles the req
uest and other request handlers are not attempted.Only returned in GET requests
if view=FULL is set.", |
| 1930 "items": { |
| 1931 "$ref": "UrlMap" |
| 1932 }, |
| 1933 "type": "array" |
| 1934 }, |
| 1935 "automaticScaling": { |
| 1936 "$ref": "AutomaticScaling", |
| 1937 "description": "Automatic scaling is based on request rate,
response latencies, and other application metrics." |
| 1938 }, |
| 1939 "diskUsageBytes": { |
| 1940 "description": "Total size in bytes of all the files that ar
e included in this version and curerntly hosted on the App Engine disk.@OutputOn
ly", |
| 1941 "format": "int64", |
| 1942 "type": "string" |
| 1943 }, |
| 1944 "healthCheck": { |
| 1945 "$ref": "HealthCheck", |
| 1946 "description": "Configures health checking for VM instances.
Unhealthy instances are stopped and replaced with new instances. Only applicabl
e for VM runtimes.Only returned in GET requests if view=FULL is set." |
| 1947 }, |
| 1948 "threadsafe": { |
| 1949 "description": "Whether multiple requests can be dispatched
to this version at once.", |
| 1950 "type": "boolean" |
| 1951 }, |
| 1952 "readinessCheck": { |
| 1953 "$ref": "ReadinessCheck", |
| 1954 "description": "Configures readiness health checking for VM
instances. Unhealthy instances are not put into the backend traffic rotation.Onl
y returned in GET requests if view=FULL is set." |
| 1955 }, |
| 1956 "manualScaling": { |
| 1957 "$ref": "ManualScaling", |
| 1958 "description": "A service with manual scaling runs continuou
sly, allowing you to perform complex initialization and rely on the state of its
memory over time." |
| 1959 }, |
| 1960 "name": { |
| 1961 "description": "Full path to the Version resource in the API
. Example: apps/myapp/services/default/versions/v1.@OutputOnly", |
| 1962 "type": "string" |
| 1963 }, |
| 1964 "apiConfig": { |
| 1965 "$ref": "ApiConfigHandler", |
| 1966 "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." |
| 1967 }, |
| 1968 "endpointsApiService": { |
| 1969 "$ref": "EndpointsApiService", |
| 1970 "description": "Cloud Endpoints configuration.If endpoints_a
pi_service is set, the Cloud Endpoints Extensible Service Proxy will be provided
to serve the API implemented by the app." |
| 1971 }, |
| 1972 "versionUrl": { |
| 1973 "description": "Serving URL for this version. Example: \"htt
ps://myversion-dot-myservice-dot-myapp.appspot.com\"@OutputOnly", |
| 1974 "type": "string" |
| 1975 }, |
| 1976 "vm": { |
| 1977 "description": "Whether to deploy this version in a containe
r on a virtual machine.", |
| 1978 "type": "boolean" |
| 1979 }, |
| 1980 "instanceClass": { |
| 1981 "description": "Instance class that is used to run this vers
ion. Valid values are:\nAutomaticScaling: F1, F2, F4, F4_1G\nManualScaling or Ba
sicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for
ManualScaling or BasicScaling.", |
| 1982 "type": "string" |
| 1983 }, |
| 1984 "servingStatus": { |
| 1985 "description": "Current serving status of this version. Only
the versions with a SERVING status create instances and can be billed.SERVING_S
TATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.", |
| 1986 "enum": [ |
| 1987 "SERVING_STATUS_UNSPECIFIED", |
| 1988 "SERVING", |
| 1989 "STOPPED" |
| 1990 ], |
| 1991 "enumDescriptions": [ |
| 1992 "Not specified.", |
| 1993 "Currently serving. Instances are created according to t
he scaling settings of the version.", |
| 1994 "Disabled. No instances will be created and the scaling
settings are ignored until the state of the version changes to SERVING." |
| 1995 ], |
| 1996 "type": "string" |
| 1997 }, |
| 1998 "deployment": { |
| 1999 "$ref": "Deployment", |
| 2000 "description": "Code and application artifacts that make up
this version.Only returned in GET requests if view=FULL is set." |
| 2001 }, |
| 2002 "createTime": { |
| 2003 "description": "Time that this version was created.@OutputOn
ly", |
| 2004 "format": "google-datetime", |
| 2005 "type": "string" |
| 2006 }, |
| 2007 "resources": { |
| 2008 "$ref": "Resources", |
| 2009 "description": "Machine resources for this version. Only app
licable for VM runtimes." |
| 2010 }, |
| 2011 "inboundServices": { |
| 2012 "description": "Before an application can receive email or X
MPP messages, the application must be configured to enable the service.", |
| 2013 "enumDescriptions": [ |
| 2014 "Not specified.", |
| 2015 "Allows an application to receive mail.", |
| 2016 "Allows an application to receive email-bound notificati
ons.", |
| 2017 "Allows an application to receive error stanzas.", |
| 2018 "Allows an application to receive instant messages.", |
| 2019 "Allows an application to receive user subscription POST
s.", |
| 2020 "Allows an application to receive a user's chat presence
.", |
| 2021 "Registers an application for notifications when a clien
t connects or disconnects from a channel.", |
| 2022 "Enables warmup requests." |
| 2023 ], |
| 2024 "items": { |
| 2025 "enum": [ |
| 2026 "INBOUND_SERVICE_UNSPECIFIED", |
| 2027 "INBOUND_SERVICE_MAIL", |
| 2028 "INBOUND_SERVICE_MAIL_BOUNCE", |
| 2029 "INBOUND_SERVICE_XMPP_ERROR", |
| 2030 "INBOUND_SERVICE_XMPP_MESSAGE", |
| 2031 "INBOUND_SERVICE_XMPP_SUBSCRIBE", |
| 2032 "INBOUND_SERVICE_XMPP_PRESENCE", |
| 2033 "INBOUND_SERVICE_CHANNEL_PRESENCE", |
| 2034 "INBOUND_SERVICE_WARMUP" |
| 2035 ], |
| 2036 "type": "string" |
| 2037 }, |
| 2038 "type": "array" |
| 2039 }, |
| 2040 "errorHandlers": { |
| 2041 "description": "Custom static error pages. Limited to 10KB p
er page.Only returned in GET requests if view=FULL is set.", |
| 2042 "items": { |
| 2043 "$ref": "ErrorHandler" |
| 2044 }, |
| 2045 "type": "array" |
| 2046 }, |
| 2047 "defaultExpiration": { |
| 2048 "description": "Duration that static files should be cached
by web proxies and browsers. Only applicable if the corresponding StaticFilesHan
dler (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/ap
ps.services.versions#staticfileshandler) does not specify its own expiration tim
e.Only returned in GET requests if view=FULL is set.", |
| 2049 "format": "google-duration", |
| 2050 "type": "string" |
| 2051 }, |
| 2052 "libraries": { |
| 2053 "description": "Configuration for third-party Python runtime
libraries that are required by the application.Only returned in GET requests if
view=FULL is set.", |
| 2054 "items": { |
| 2055 "$ref": "Library" |
| 2056 }, |
| 2057 "type": "array" |
| 2058 }, |
| 2059 "nobuildFilesRegex": { |
| 2060 "description": "Files that match this pattern will not be bu
ilt into this version. Only applicable for Go runtimes.Only returned in GET requ
ests if view=FULL is set.", |
| 2061 "type": "string" |
| 2062 }, |
| 2063 "basicScaling": { |
| 2064 "$ref": "BasicScaling", |
| 2065 "description": "A service with basic scaling will create an
instance when the application receives a request. The instance will be turned do
wn when the app becomes idle. Basic scaling is ideal for work that is intermitte
nt or driven by user activity." |
| 2066 }, |
| 2067 "runtime": { |
| 2068 "description": "Desired runtime. Example: python27.", |
| 2069 "type": "string" |
| 2070 } |
| 2071 }, |
| 2072 "type": "object" |
| 2073 }, |
| 2074 "RepairApplicationRequest": { |
| 2075 "description": "Request message for 'Applications.RepairApplication'
.", |
| 2076 "id": "RepairApplicationRequest", |
| 2077 "properties": {}, |
| 2078 "type": "object" |
| 2079 }, |
| 2080 "FileInfo": { |
| 2081 "description": "Single source file that is part of the version to be
deployed. Each source file that is deployed must be specified separately.", |
| 2082 "id": "FileInfo", |
| 2083 "properties": { |
| 2084 "mimeType": { |
| 2085 "description": "The MIME type of the file.Defaults to the va
lue from Google Cloud Storage.", |
| 2086 "type": "string" |
| 2087 }, |
| 2088 "sourceUrl": { |
| 2089 "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>'.", |
| 2090 "type": "string" |
| 2091 }, |
| 2092 "sha1Sum": { |
| 2093 "description": "The SHA1 hash of the file, in hex.", |
| 2094 "type": "string" |
| 2095 } |
| 2096 }, |
| 2097 "type": "object" |
| 2098 }, |
| 2099 "ScriptHandler": { |
| 2100 "description": "Executes a script to handle the request that matches
the URL pattern.", |
| 2101 "id": "ScriptHandler", |
| 2102 "properties": { |
| 2103 "scriptPath": { |
| 2104 "description": "Path to the script from the application root
directory.", |
| 2105 "type": "string" |
| 2106 } |
| 2107 }, |
| 2108 "type": "object" |
| 2109 }, |
| 2110 "OperationMetadataExperimental": { |
| 2111 "description": "Metadata for the given google.longrunning.Operation.
", |
| 2112 "id": "OperationMetadataExperimental", |
| 2113 "properties": { |
| 2114 "user": { |
| 2115 "description": "User who requested this operation.@OutputOnl
y", |
| 2116 "type": "string" |
| 2117 }, |
| 2118 "target": { |
| 2119 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly", |
| 2120 "type": "string" |
| 2121 }, |
| 2122 "method": { |
| 2123 "description": "API method that initiated this operation. Ex
ample: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnl
y", |
| 2124 "type": "string" |
| 2125 }, |
| 2126 "insertTime": { |
| 2127 "description": "Time that this operation was created.@Output
Only", |
| 2128 "format": "google-datetime", |
| 2129 "type": "string" |
| 2130 }, |
| 2131 "endTime": { |
| 2132 "description": "Time that this operation completed.@OutputOn
ly", |
| 2133 "format": "google-datetime", |
| 2134 "type": "string" |
| 2135 } |
| 2136 }, |
| 2137 "type": "object" |
| 2138 }, |
| 2139 "TrafficSplit": { |
| 2140 "description": "Traffic routing configuration for versions within a
single service. Traffic splits define how traffic directed to the service is ass
igned to versions.", |
| 2141 "id": "TrafficSplit", |
| 2142 "properties": { |
| 2143 "shardBy": { |
| 2144 "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.", |
| 2145 "enum": [ |
| 2146 "UNSPECIFIED", |
| 2147 "COOKIE", |
| 2148 "IP" |
| 2149 ], |
| 2150 "enumDescriptions": [ |
| 2151 "Diversion method unspecified.", |
| 2152 "Diversion based on a specially named cookie, \"GOOGAPPU
ID.\" The cookie must be set by the application itself or no diversion will occu
r.", |
| 2153 "Diversion based on applying the modulus operation to a
fingerprint of the IP address." |
| 2154 ], |
| 2155 "type": "string" |
| 2156 }, |
| 2157 "allocations": { |
| 2158 "additionalProperties": { |
| 2159 "format": "double", |
| 2160 "type": "number" |
| 2161 }, |
| 2162 "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.", |
| 2163 "type": "object" |
| 2164 } |
| 2165 }, |
| 2166 "type": "object" |
| 2167 }, |
| 2168 "OperationMetadataV1Beta": { |
| 2169 "description": "Metadata for the given google.longrunning.Operation.
", |
| 2170 "id": "OperationMetadataV1Beta", |
| 2171 "properties": { |
| 2172 "warning": { |
| 2173 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
| 2174 "items": { |
| 2175 "type": "string" |
| 2176 }, |
| 2177 "type": "array" |
| 2178 }, |
| 2179 "insertTime": { |
| 2180 "description": "Time that this operation was created.@Output
Only", |
| 2181 "format": "google-datetime", |
| 2182 "type": "string" |
| 2183 }, |
| 2184 "target": { |
| 2185 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
| 2186 "type": "string" |
| 2187 }, |
| 2188 "user": { |
| 2189 "description": "User who requested this operation.@OutputOnl
y", |
| 2190 "type": "string" |
| 2191 }, |
| 2192 "ephemeralMessage": { |
| 2193 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
| 2194 "type": "string" |
| 2195 }, |
| 2196 "method": { |
| 2197 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly", |
| 2198 "type": "string" |
| 2199 }, |
| 2200 "endTime": { |
| 2201 "description": "Time that this operation completed.@OutputOn
ly", |
| 2202 "format": "google-datetime", |
| 2203 "type": "string" |
| 2204 } |
| 2205 }, |
| 2206 "type": "object" |
| 2207 }, |
| 2208 "ListServicesResponse": { |
| 2209 "description": "Response message for Services.ListServices.", |
| 2210 "id": "ListServicesResponse", |
| 2211 "properties": { |
| 2212 "services": { |
| 2213 "description": "The services belonging to the requested appl
ication.", |
| 2214 "items": { |
| 2215 "$ref": "Service" |
| 2216 }, |
| 2217 "type": "array" |
| 2218 }, |
| 2219 "nextPageToken": { |
| 2220 "description": "Continuation token for fetching the next pag
e of results.", |
| 2221 "type": "string" |
| 2222 } |
| 2223 }, |
| 2224 "type": "object" |
| 2225 }, |
| 2226 "Resources": { |
| 2227 "description": "Machine resources for a version.", |
| 2228 "id": "Resources", |
| 2229 "properties": { |
| 2230 "volumes": { |
| 2231 "description": "User specified volumes.", |
| 2232 "items": { |
| 2233 "$ref": "Volume" |
| 2234 }, |
| 2235 "type": "array" |
| 2236 }, |
| 2237 "diskGb": { |
| 2238 "description": "Disk size (GB) needed.", |
| 2239 "format": "double", |
| 2240 "type": "number" |
| 2241 }, |
| 2242 "cpu": { |
| 2243 "description": "Number of CPU cores needed.", |
| 2244 "format": "double", |
| 2245 "type": "number" |
| 2246 }, |
| 2247 "memoryGb": { |
| 2248 "description": "Memory (GB) needed.", |
| 2249 "format": "double", |
| 2250 "type": "number" |
| 2251 } |
| 2252 }, |
| 2253 "type": "object" |
| 2254 }, |
| 2255 "Deployment": { |
| 2256 "description": "Code and application artifacts used to deploy a vers
ion to App Engine.", |
| 2257 "id": "Deployment", |
| 2258 "properties": { |
| 2259 "zip": { |
| 2260 "$ref": "ZipInfo", |
| 2261 "description": "The zip file for this deployment, if this is
a zip deployment." |
| 2262 }, |
| 2263 "container": { |
| 2264 "$ref": "ContainerInfo", |
| 2265 "description": "The Docker image for the container that runs
the version. Only applicable for instances running in the App Engine flexible e
nvironment." |
| 2266 }, |
| 2267 "files": { |
| 2268 "additionalProperties": { |
| 2269 "$ref": "FileInfo" |
| 2270 }, |
| 2271 "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.", |
| 2272 "type": "object" |
| 2273 } |
| 2274 }, |
| 2275 "type": "object" |
| 2276 }, |
| 2277 "Volume": { |
| 2278 "description": "Volumes mounted within the app container. Only appli
cable for VM runtimes.", |
| 2279 "id": "Volume", |
| 2280 "properties": { |
| 2281 "sizeGb": { |
| 2282 "description": "Volume size in gigabytes.", |
| 2283 "format": "double", |
| 2284 "type": "number" |
| 2285 }, |
| 2286 "name": { |
| 2287 "description": "Unique name for the volume.", |
| 2288 "type": "string" |
| 2289 }, |
| 2290 "volumeType": { |
| 2291 "description": "Underlying volume type, e.g. 'tmpfs'.", |
| 2292 "type": "string" |
| 2293 } |
| 2294 }, |
| 2295 "type": "object" |
| 2296 }, |
| 2297 "ListInstancesResponse": { |
| 2298 "description": "Response message for Instances.ListInstances.", |
| 2299 "id": "ListInstancesResponse", |
| 2300 "properties": { |
| 2301 "instances": { |
| 2302 "description": "The instances belonging to the requested ver
sion.", |
| 2303 "items": { |
| 2304 "$ref": "Instance" |
| 2305 }, |
| 2306 "type": "array" |
| 2307 }, |
| 2308 "nextPageToken": { |
| 2309 "description": "Continuation token for fetching the next pag
e of results.", |
| 2310 "type": "string" |
| 2311 } |
| 2312 }, |
| 2313 "type": "object" |
| 2314 }, |
| 2315 "OperationMetadataV1Alpha": { |
| 2316 "description": "Metadata for the given google.longrunning.Operation.
", |
| 2317 "id": "OperationMetadataV1Alpha", |
| 2318 "properties": { |
| 2319 "insertTime": { |
| 2320 "description": "Time that this operation was created.@Output
Only", |
| 2321 "format": "google-datetime", |
| 2322 "type": "string" |
| 2323 }, |
| 2324 "warning": { |
| 2325 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
| 2326 "items": { |
| 2327 "type": "string" |
| 2328 }, |
| 2329 "type": "array" |
| 2330 }, |
| 2331 "user": { |
| 2332 "description": "User who requested this operation.@OutputOnl
y", |
| 2333 "type": "string" |
| 2334 }, |
| 2335 "target": { |
| 2336 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
| 2337 "type": "string" |
| 2338 }, |
| 2339 "ephemeralMessage": { |
| 2340 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
| 2341 "type": "string" |
| 2342 }, |
| 2343 "method": { |
| 2344 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly", |
| 2345 "type": "string" |
| 2346 }, |
| 2347 "endTime": { |
| 2348 "description": "Time that this operation completed.@OutputOn
ly", |
| 2349 "format": "google-datetime", |
| 2350 "type": "string" |
| 2351 } |
| 2352 }, |
| 2353 "type": "object" |
| 2354 }, |
| 2355 "UrlDispatchRule": { |
| 2356 "description": "Rules to match an HTTP request and dispatch that req
uest to a service.", |
| 2357 "id": "UrlDispatchRule", |
| 2358 "properties": { |
| 2359 "path": { |
| 2360 "description": "Pathname within the host. Must start with a
\"/\". A single \"*\" can be included at the end of the path. The sum of the len
gths of the domain and path may not exceed 100 characters.", |
| 2361 "type": "string" |
| 2362 }, |
| 2363 "domain": { |
| 2364 "description": "Domain name to match against. The wildcard \
"*\" is supported if specified before a period: \"*.\".Defaults to matching all
domains: \"*\".", |
| 2365 "type": "string" |
| 2366 }, |
| 2367 "service": { |
| 2368 "description": "Resource ID of a service in this application
that should serve the matched request. The service must already exist. Example:
default.", |
| 2369 "type": "string" |
| 2370 } |
| 2371 }, |
| 2372 "type": "object" |
| 2373 }, |
| 2374 "ListVersionsResponse": { |
| 2375 "description": "Response message for Versions.ListVersions.", |
| 2376 "id": "ListVersionsResponse", |
| 2377 "properties": { |
| 2378 "versions": { |
| 2379 "description": "The versions belonging to the requested serv
ice.", |
| 2380 "items": { |
| 2381 "$ref": "Version" |
| 2382 }, |
| 2383 "type": "array" |
| 2384 }, |
| 2385 "nextPageToken": { |
| 2386 "description": "Continuation token for fetching the next pag
e of results.", |
| 2387 "type": "string" |
| 2388 } |
| 2389 }, |
| 2390 "type": "object" |
| 2391 }, |
| 2392 "ApiEndpointHandler": { |
| 2393 "description": "Uses Google Cloud Endpoints to handle requests.", |
| 2394 "id": "ApiEndpointHandler", |
| 2395 "properties": { |
| 2396 "scriptPath": { |
| 2397 "description": "Path to the script from the application root
directory.", |
| 2398 "type": "string" |
| 2399 } |
| 2400 }, |
| 2401 "type": "object" |
| 2402 }, |
| 2403 "ZipInfo": { |
| 2404 "description": "The zip file information for a zip deployment.", |
| 2405 "id": "ZipInfo", |
| 2406 "properties": { |
| 2407 "sourceUrl": { |
| 2408 "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>'.", |
| 2409 "type": "string" |
| 2410 }, |
| 2411 "filesCount": { |
| 2412 "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.", |
| 2413 "format": "int32", |
| 2414 "type": "integer" |
| 2415 } |
| 2416 }, |
| 2417 "type": "object" |
| 2418 }, |
| 2419 "AutomaticScaling": { |
| 2420 "description": "Automatic scaling is based on request rate, response
latencies, and other application metrics.", |
| 2421 "id": "AutomaticScaling", |
| 2422 "properties": { |
| 2423 "minPendingLatency": { |
| 2424 "description": "Minimum amount of time a request should wait
in the pending queue before starting a new instance to handle it.", |
| 2425 "format": "google-duration", |
| 2426 "type": "string" |
| 2427 }, |
| 2428 "requestUtilization": { |
| 2429 "$ref": "RequestUtilization", |
| 2430 "description": "Target scaling by request utilization." |
| 2431 }, |
| 2432 "maxIdleInstances": { |
| 2433 "description": "Maximum number of idle instances that should
be maintained for this version.", |
| 2434 "format": "int32", |
| 2435 "type": "integer" |
| 2436 }, |
| 2437 "minIdleInstances": { |
| 2438 "description": "Minimum number of idle instances that should
be maintained for this version. Only applicable for the default version of a se
rvice.", |
| 2439 "format": "int32", |
| 2440 "type": "integer" |
| 2441 }, |
| 2442 "maxTotalInstances": { |
| 2443 "description": "Maximum number of instances that should be s
tarted to handle requests.", |
| 2444 "format": "int32", |
| 2445 "type": "integer" |
| 2446 }, |
| 2447 "minTotalInstances": { |
| 2448 "description": "Minimum number of instances that should be m
aintained for this version.", |
| 2449 "format": "int32", |
| 2450 "type": "integer" |
| 2451 }, |
| 2452 "networkUtilization": { |
| 2453 "$ref": "NetworkUtilization", |
| 2454 "description": "Target scaling by network usage." |
| 2455 }, |
| 2456 "maxConcurrentRequests": { |
| 2457 "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.", |
| 2458 "format": "int32", |
| 2459 "type": "integer" |
| 2460 }, |
| 2461 "coolDownPeriod": { |
| 2462 "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.", |
| 2463 "format": "google-duration", |
| 2464 "type": "string" |
| 2465 }, |
| 2466 "maxPendingLatency": { |
| 2467 "description": "Maximum amount of time that a request should
wait in the pending queue before starting a new instance to handle it.", |
| 2468 "format": "google-duration", |
| 2469 "type": "string" |
| 2470 }, |
| 2471 "cpuUtilization": { |
| 2472 "$ref": "CpuUtilization", |
| 2473 "description": "Target scaling by CPU usage." |
| 2474 }, |
| 2475 "diskUtilization": { |
| 2476 "$ref": "DiskUtilization", |
| 2477 "description": "Target scaling by disk usage." |
| 2478 } |
| 2479 }, |
| 2480 "type": "object" |
| 2481 }, |
| 2482 "Library": { |
| 2483 "description": "Third-party Python runtime library that is required
by the application.", |
| 2484 "id": "Library", |
| 2485 "properties": { |
| 2486 "version": { |
| 2487 "description": "Version of the library to select, or \"lates
t\".", |
| 2488 "type": "string" |
| 2489 }, |
| 2490 "name": { |
| 2491 "description": "Name of the library. Example: \"django\".", |
| 2492 "type": "string" |
| 2493 } |
| 2494 }, |
| 2495 "type": "object" |
| 2496 } |
| 2497 }, |
| 2498 "servicePath": "", |
| 2499 "title": "Google App Engine Admin API", |
| 2500 "version": "v1beta" |
| 2501 } |
OLD | NEW |