Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(722)

Side by Side Diff: discovery/googleapis_beta/appengine__v1beta5.json

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

Powered by Google App Engine
This is Rietveld 408576698