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

Side by Side Diff: discovery/googleapis/appengine__v1.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": {
6 "description": "View and manage your applications deployed o n Google App Engine"
7 },
8 "https://www.googleapis.com/auth/cloud-platform.read-only": { 5 "https://www.googleapis.com/auth/cloud-platform.read-only": {
9 "description": "View your data across Google Cloud Platform services" 6 "description": "View your data across Google Cloud Platform services"
10 }, 7 },
11 "https://www.googleapis.com/auth/cloud-platform": { 8 "https://www.googleapis.com/auth/cloud-platform": {
12 "description": "View and manage your data across Google Clou d Platform services" 9 "description": "View and manage your data across Google Clou d Platform services"
10 },
11 "https://www.googleapis.com/auth/appengine.admin": {
12 "description": "View and manage your applications deployed o n Google App Engine"
13 } 13 }
14 } 14 }
15 } 15 }
16 }, 16 },
17 "basePath": "", 17 "basePath": "",
18 "baseUrl": "https://appengine.googleapis.com/", 18 "baseUrl": "https://appengine.googleapis.com/",
19 "batchPath": "batch", 19 "batchPath": "batch",
20 "description": "The App Engine Admin API enables developers to provision and manage their App Engine applications.", 20 "description": "The App Engine Admin API enables developers to provision and manage their App Engine applications.",
21 "discoveryVersion": "v1", 21 "discoveryVersion": "v1",
22 "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", 22 "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/",
23 "icons": { 23 "icons": {
24 "x16": "http://www.google.com/images/icons/product/search-16.gif", 24 "x16": "http://www.google.com/images/icons/product/search-16.gif",
25 "x32": "http://www.google.com/images/icons/product/search-32.gif" 25 "x32": "http://www.google.com/images/icons/product/search-32.gif"
26 }, 26 },
27 "id": "appengine:v1", 27 "id": "appengine:v1",
28 "kind": "discovery#restDescription", 28 "kind": "discovery#restDescription",
29 "name": "appengine", 29 "name": "appengine",
30 "ownerDomain": "google.com", 30 "ownerDomain": "google.com",
31 "ownerName": "Google", 31 "ownerName": "Google",
32 "parameters": { 32 "parameters": {
33 "uploadType": { 33 "upload_protocol": {
34 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 34 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
35 "location": "query", 35 "location": "query",
36 "type": "string" 36 "type": "string"
37 }, 37 },
38 "prettyPrint": {
39 "default": "true",
40 "description": "Returns response with indentations and line breaks." ,
41 "location": "query",
42 "type": "boolean"
43 },
38 "fields": { 44 "fields": {
39 "description": "Selector specifying which fields to include in a par tial response.", 45 "description": "Selector specifying which fields to include in a par tial response.",
40 "location": "query", 46 "location": "query",
41 "type": "string" 47 "type": "string"
42 }, 48 },
49 "uploadType": {
50 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
51 "location": "query",
52 "type": "string"
53 },
43 "callback": { 54 "callback": {
44 "description": "JSONP", 55 "description": "JSONP",
45 "location": "query", 56 "location": "query",
46 "type": "string" 57 "type": "string"
47 }, 58 },
48 "$.xgafv": { 59 "$.xgafv": {
49 "description": "V1 error format.", 60 "description": "V1 error format.",
50 "enum": [ 61 "enum": [
51 "1", 62 "1",
52 "2" 63 "2"
(...skipping 14 matching lines...) Expand all
67 "proto" 78 "proto"
68 ], 79 ],
69 "enumDescriptions": [ 80 "enumDescriptions": [
70 "Responses with Content-Type of application/json", 81 "Responses with Content-Type of application/json",
71 "Media download with context-dependent Content-Type", 82 "Media download with context-dependent Content-Type",
72 "Responses with Content-Type of application/x-protobuf" 83 "Responses with Content-Type of application/x-protobuf"
73 ], 84 ],
74 "location": "query", 85 "location": "query",
75 "type": "string" 86 "type": "string"
76 }, 87 },
88 "key": {
89 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
90 "location": "query",
91 "type": "string"
92 },
77 "access_token": { 93 "access_token": {
78 "description": "OAuth access token.", 94 "description": "OAuth access token.",
79 "location": "query", 95 "location": "query",
80 "type": "string" 96 "type": "string"
81 }, 97 },
82 "key": {
83 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
84 "location": "query",
85 "type": "string"
86 },
87 "quotaUser": { 98 "quotaUser": {
88 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.", 99 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
89 "location": "query", 100 "location": "query",
90 "type": "string" 101 "type": "string"
91 }, 102 },
92 "pp": { 103 "pp": {
93 "default": "true", 104 "default": "true",
94 "description": "Pretty-print response.", 105 "description": "Pretty-print response.",
95 "location": "query", 106 "location": "query",
96 "type": "boolean" 107 "type": "boolean"
97 }, 108 },
98 "bearer_token": {
99 "description": "OAuth bearer token.",
100 "location": "query",
101 "type": "string"
102 },
103 "oauth_token": { 109 "oauth_token": {
104 "description": "OAuth 2.0 token for the current user.", 110 "description": "OAuth 2.0 token for the current user.",
105 "location": "query", 111 "location": "query",
106 "type": "string" 112 "type": "string"
107 }, 113 },
108 "upload_protocol": { 114 "bearer_token": {
109 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 115 "description": "OAuth bearer token.",
110 "location": "query", 116 "location": "query",
111 "type": "string" 117 "type": "string"
112 },
113 "prettyPrint": {
114 "default": "true",
115 "description": "Returns response with indentations and line breaks." ,
116 "location": "query",
117 "type": "boolean"
118 } 118 }
119 }, 119 },
120 "protocol": "rest", 120 "protocol": "rest",
121 "resources": { 121 "resources": {
122 "apps": { 122 "apps": {
123 "methods": { 123 "methods": {
124 "repair": { 124 "patch": {
125 "description": "Recreates the required App Engine features f or the specified App Engine application, for example a Cloud Storage bucket or A pp Engine service account. Use this method if you receive an error message about a missing feature, for example, Error retrieving the App Engine service account .", 125 "description": "Updates the specified Application resource. You can update the following fields:\nauth_domain - Google authentication domain for controlling user access to the application.\ndefault_cookie_expiration - Co okie expiration policy for the application.",
126 "httpMethod": "POST", 126 "httpMethod": "PATCH",
127 "id": "appengine.apps.repair", 127 "id": "appengine.apps.patch",
128 "parameterOrder": [ 128 "parameterOrder": [
129 "appsId" 129 "appsId"
130 ], 130 ],
131 "parameters": { 131 "parameters": {
132 "appsId": { 132 "appsId": {
133 "description": "Part of `name`. Name of the applicat ion to repair. Example: apps/myapp", 133 "description": "Part of `name`. Name of the Applicat ion resource to update. Example: apps/myapp.",
134 "location": "path", 134 "location": "path",
135 "required": true, 135 "required": true,
136 "type": "string" 136 "type": "string"
137 },
138 "updateMask": {
139 "description": "Standard field mask for the set of f ields to be updated.",
140 "format": "google-fieldmask",
141 "location": "query",
142 "type": "string"
137 } 143 }
138 }, 144 },
139 "path": "v1/apps/{appsId}:repair", 145 "path": "v1/apps/{appsId}",
140 "request": { 146 "request": {
141 "$ref": "RepairApplicationRequest" 147 "$ref": "Application"
142 }, 148 },
143 "response": { 149 "response": {
144 "$ref": "Operation" 150 "$ref": "Operation"
145 }, 151 },
146 "scopes": [ 152 "scopes": [
147 "https://www.googleapis.com/auth/cloud-platform" 153 "https://www.googleapis.com/auth/cloud-platform"
148 ] 154 ]
149 }, 155 },
150 "get": { 156 "get": {
151 "description": "Gets information about an application.", 157 "description": "Gets information about an application.",
(...skipping 13 matching lines...) Expand all
165 "path": "v1/apps/{appsId}", 171 "path": "v1/apps/{appsId}",
166 "response": { 172 "response": {
167 "$ref": "Application" 173 "$ref": "Application"
168 }, 174 },
169 "scopes": [ 175 "scopes": [
170 "https://www.googleapis.com/auth/appengine.admin", 176 "https://www.googleapis.com/auth/appengine.admin",
171 "https://www.googleapis.com/auth/cloud-platform", 177 "https://www.googleapis.com/auth/cloud-platform",
172 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 178 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
173 ] 179 ]
174 }, 180 },
175 "patch": { 181 "create": {
176 "description": "Updates the specified Application resource. You can update the following fields:\nauth_domain - Google authentication domain for controlling user access to the application.\ndefault_cookie_expiration - Co okie expiration policy for the application.", 182 "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/).",
177 "httpMethod": "PATCH", 183 "httpMethod": "POST",
178 "id": "appengine.apps.patch", 184 "id": "appengine.apps.create",
179 "parameterOrder": [ 185 "parameterOrder": [],
180 "appsId" 186 "parameters": {},
181 ], 187 "path": "v1/apps",
182 "parameters": {
183 "updateMask": {
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 "appsId": {
190 "description": "Part of `name`. Name of the Applicat ion resource to update. Example: apps/myapp.",
191 "location": "path",
192 "required": true,
193 "type": "string"
194 }
195 },
196 "path": "v1/apps/{appsId}",
197 "request": { 188 "request": {
198 "$ref": "Application" 189 "$ref": "Application"
199 }, 190 },
200 "response": { 191 "response": {
201 "$ref": "Operation" 192 "$ref": "Operation"
202 }, 193 },
203 "scopes": [ 194 "scopes": [
204 "https://www.googleapis.com/auth/cloud-platform" 195 "https://www.googleapis.com/auth/cloud-platform"
205 ] 196 ]
206 }, 197 },
207 "create": { 198 "repair": {
208 "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/).", 199 "description": "Recreates the required App Engine features f or the specified App Engine application, for example a Cloud Storage bucket or A pp Engine service account. Use this method if you receive an error message about a missing feature, for example, Error retrieving the App Engine service account .",
209 "httpMethod": "POST", 200 "httpMethod": "POST",
210 "id": "appengine.apps.create", 201 "id": "appengine.apps.repair",
211 "parameterOrder": [], 202 "parameterOrder": [
212 "parameters": {}, 203 "appsId"
213 "path": "v1/apps", 204 ],
205 "parameters": {
206 "appsId": {
207 "description": "Part of `name`. Name of the applicat ion to repair. Example: apps/myapp",
208 "location": "path",
209 "required": true,
210 "type": "string"
211 }
212 },
213 "path": "v1/apps/{appsId}:repair",
214 "request": { 214 "request": {
215 "$ref": "Application" 215 "$ref": "RepairApplicationRequest"
216 }, 216 },
217 "response": { 217 "response": {
218 "$ref": "Operation" 218 "$ref": "Operation"
219 }, 219 },
220 "scopes": [ 220 "scopes": [
221 "https://www.googleapis.com/auth/cloud-platform" 221 "https://www.googleapis.com/auth/cloud-platform"
222 ] 222 ]
223 } 223 }
224 }, 224 },
225 "resources": { 225 "resources": {
226 "operations": { 226 "operations": {
227 "methods": { 227 "methods": {
228 "get": {
229 "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.",
230 "httpMethod": "GET",
231 "id": "appengine.apps.operations.get",
232 "parameterOrder": [
233 "appsId",
234 "operationsId"
235 ],
236 "parameters": {
237 "appsId": {
238 "description": "Part of `name`. The name of the operation resource.",
239 "location": "path",
240 "required": true,
241 "type": "string"
242 },
243 "operationsId": {
244 "description": "Part of `name`. See document ation of `appsId`.",
245 "location": "path",
246 "required": true,
247 "type": "string"
248 }
249 },
250 "path": "v1/apps/{appsId}/operations/{operationsId}" ,
251 "response": {
252 "$ref": "Operation"
253 },
254 "scopes": [
255 "https://www.googleapis.com/auth/appengine.admin ",
256 "https://www.googleapis.com/auth/cloud-platform" ,
257 "https://www.googleapis.com/auth/cloud-platform. read-only"
258 ]
259 },
228 "list": { 260 "list": {
229 "description": "Lists operations that match the spec ified filter in the request. If the server doesn't support this method, it retur ns UNIMPLEMENTED.NOTE: the name binding allows API services to override the bind ing to use different resource name schemes, such as users/*/operations. To overr ide the binding, API services can add a binding such as \"/v1/{name=users/*}/ope rations\" to their service configuration. For backwards compatibility, the defau lt name includes the operations collection id, however overriding users must ens ure the name binding is the parent resource, without the operations collection i d.", 261 "description": "Lists operations that match the spec ified filter in the request. If the server doesn't support this method, it retur ns UNIMPLEMENTED.NOTE: the name binding allows API services to override the bind ing to use different resource name schemes, such as users/*/operations. To overr ide the binding, API services can add a binding such as \"/v1/{name=users/*}/ope rations\" to their service configuration. For backwards compatibility, the defau lt name includes the operations collection id, however overriding users must ens ure the name binding is the parent resource, without the operations collection i d.",
230 "httpMethod": "GET", 262 "httpMethod": "GET",
231 "id": "appengine.apps.operations.list", 263 "id": "appengine.apps.operations.list",
232 "parameterOrder": [ 264 "parameterOrder": [
233 "appsId" 265 "appsId"
234 ], 266 ],
235 "parameters": { 267 "parameters": {
236 "pageSize": { 268 "pageSize": {
237 "description": "The standard list page size. ", 269 "description": "The standard list page size. ",
238 "format": "int32", 270 "format": "int32",
239 "location": "query", 271 "location": "query",
240 "type": "integer" 272 "type": "integer"
241 }, 273 },
242 "filter": { 274 "filter": {
243 "description": "The standard list filter.", 275 "description": "The standard list filter.",
244 "location": "query", 276 "location": "query",
245 "type": "string" 277 "type": "string"
246 }, 278 },
279 "pageToken": {
280 "description": "The standard list page token .",
281 "location": "query",
282 "type": "string"
283 },
247 "appsId": { 284 "appsId": {
248 "description": "Part of `name`. The name of the operation's parent resource.", 285 "description": "Part of `name`. The name of the operation's parent resource.",
249 "location": "path", 286 "location": "path",
250 "required": true, 287 "required": true,
251 "type": "string" 288 "type": "string"
252 },
253 "pageToken": {
254 "description": "The standard list page token .",
255 "location": "query",
256 "type": "string"
257 } 289 }
258 }, 290 },
259 "path": "v1/apps/{appsId}/operations", 291 "path": "v1/apps/{appsId}/operations",
260 "response": { 292 "response": {
261 "$ref": "ListOperationsResponse" 293 "$ref": "ListOperationsResponse"
262 }, 294 },
263 "scopes": [ 295 "scopes": [
264 "https://www.googleapis.com/auth/appengine.admin ", 296 "https://www.googleapis.com/auth/appengine.admin ",
265 "https://www.googleapis.com/auth/cloud-platform" , 297 "https://www.googleapis.com/auth/cloud-platform" ,
266 "https://www.googleapis.com/auth/cloud-platform. read-only" 298 "https://www.googleapis.com/auth/cloud-platform. read-only"
267 ] 299 ]
268 },
269 "get": {
270 "description": "Gets the latest state of a long-runn ing operation. Clients can use this method to poll the operation result at inter vals as recommended by the API service.",
271 "httpMethod": "GET",
272 "id": "appengine.apps.operations.get",
273 "parameterOrder": [
274 "appsId",
275 "operationsId"
276 ],
277 "parameters": {
278 "appsId": {
279 "description": "Part of `name`. The name of the operation resource.",
280 "location": "path",
281 "required": true,
282 "type": "string"
283 },
284 "operationsId": {
285 "description": "Part of `name`. See document ation of `appsId`.",
286 "location": "path",
287 "required": true,
288 "type": "string"
289 }
290 },
291 "path": "v1/apps/{appsId}/operations/{operationsId}" ,
292 "response": {
293 "$ref": "Operation"
294 },
295 "scopes": [
296 "https://www.googleapis.com/auth/appengine.admin ",
297 "https://www.googleapis.com/auth/cloud-platform" ,
298 "https://www.googleapis.com/auth/cloud-platform. read-only"
299 ]
300 } 300 }
301 } 301 }
302 }, 302 },
303 "locations": { 303 "locations": {
304 "methods": { 304 "methods": {
305 "get": {
306 "description": "Get information about a location.",
307 "httpMethod": "GET",
308 "id": "appengine.apps.locations.get",
309 "parameterOrder": [
310 "appsId",
311 "locationsId"
312 ],
313 "parameters": {
314 "locationsId": {
315 "description": "Part of `name`. See document ation of `appsId`.",
316 "location": "path",
317 "required": true,
318 "type": "string"
319 },
320 "appsId": {
321 "description": "Part of `name`. Resource nam e for the location.",
322 "location": "path",
323 "required": true,
324 "type": "string"
325 }
326 },
327 "path": "v1/apps/{appsId}/locations/{locationsId}",
328 "response": {
329 "$ref": "Location"
330 },
331 "scopes": [
332 "https://www.googleapis.com/auth/appengine.admin ",
333 "https://www.googleapis.com/auth/cloud-platform" ,
334 "https://www.googleapis.com/auth/cloud-platform. read-only"
335 ]
336 },
305 "list": { 337 "list": {
306 "description": "Lists information about the supporte d locations for this service.", 338 "description": "Lists information about the supporte d locations for this service.",
307 "httpMethod": "GET", 339 "httpMethod": "GET",
308 "id": "appengine.apps.locations.list", 340 "id": "appengine.apps.locations.list",
309 "parameterOrder": [ 341 "parameterOrder": [
310 "appsId" 342 "appsId"
311 ], 343 ],
312 "parameters": { 344 "parameters": {
313 "filter": { 345 "filter": {
314 "description": "The standard list filter.", 346 "description": "The standard list filter.",
315 "location": "query", 347 "location": "query",
316 "type": "string" 348 "type": "string"
317 }, 349 },
350 "pageToken": {
351 "description": "The standard list page token .",
352 "location": "query",
353 "type": "string"
354 },
318 "appsId": { 355 "appsId": {
319 "description": "Part of `name`. The resource that owns the locations collection, if applicable.", 356 "description": "Part of `name`. The resource that owns the locations collection, if applicable.",
320 "location": "path", 357 "location": "path",
321 "required": true, 358 "required": true,
322 "type": "string" 359 "type": "string"
323 }, 360 },
324 "pageToken": {
325 "description": "The standard list page token .",
326 "location": "query",
327 "type": "string"
328 },
329 "pageSize": { 361 "pageSize": {
330 "description": "The standard list page size. ", 362 "description": "The standard list page size. ",
331 "format": "int32", 363 "format": "int32",
332 "location": "query", 364 "location": "query",
333 "type": "integer" 365 "type": "integer"
334 } 366 }
335 }, 367 },
336 "path": "v1/apps/{appsId}/locations", 368 "path": "v1/apps/{appsId}/locations",
337 "response": { 369 "response": {
338 "$ref": "ListLocationsResponse" 370 "$ref": "ListLocationsResponse"
339 }, 371 },
340 "scopes": [ 372 "scopes": [
341 "https://www.googleapis.com/auth/appengine.admin ", 373 "https://www.googleapis.com/auth/appengine.admin ",
342 "https://www.googleapis.com/auth/cloud-platform" , 374 "https://www.googleapis.com/auth/cloud-platform" ,
343 "https://www.googleapis.com/auth/cloud-platform. read-only" 375 "https://www.googleapis.com/auth/cloud-platform. read-only"
344 ] 376 ]
345 },
346 "get": {
347 "description": "Get information about a location.",
348 "httpMethod": "GET",
349 "id": "appengine.apps.locations.get",
350 "parameterOrder": [
351 "appsId",
352 "locationsId"
353 ],
354 "parameters": {
355 "appsId": {
356 "description": "Part of `name`. Resource nam e for the location.",
357 "location": "path",
358 "required": true,
359 "type": "string"
360 },
361 "locationsId": {
362 "description": "Part of `name`. See document ation of `appsId`.",
363 "location": "path",
364 "required": true,
365 "type": "string"
366 }
367 },
368 "path": "v1/apps/{appsId}/locations/{locationsId}",
369 "response": {
370 "$ref": "Location"
371 },
372 "scopes": [
373 "https://www.googleapis.com/auth/appengine.admin ",
374 "https://www.googleapis.com/auth/cloud-platform" ,
375 "https://www.googleapis.com/auth/cloud-platform. read-only"
376 ]
377 } 377 }
378 } 378 }
379 }, 379 },
380 "services": { 380 "services": {
381 "methods": { 381 "methods": {
382 "list": { 382 "patch": {
383 "description": "Lists all the services in the applic ation.", 383 "description": "Updates the configuration of the spe cified service.",
384 "httpMethod": "GET", 384 "httpMethod": "PATCH",
385 "id": "appengine.apps.services.list", 385 "id": "appengine.apps.services.patch",
386 "parameterOrder": [ 386 "parameterOrder": [
387 "appsId" 387 "appsId",
388 "servicesId"
388 ], 389 ],
389 "parameters": { 390 "parameters": {
390 "appsId": { 391 "migrateTraffic": {
391 "description": "Part of `parent`. Name of th e parent Application resource. Example: apps/myapp.", 392 "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/v1/apps.services.versions#in boundservicetype) and automatic scaling (https://cloud.google.com/appengine/docs /admin-api/reference/rest/v1/apps.services.versions#automaticscaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference /rest/v1/apps.services#shardby) field in the Service resource. Gradual traffic m igration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/adm in-api/migrating-splitting-traffic).",
393 "location": "query",
394 "type": "boolean"
395 },
396 "updateMask": {
397 "description": "Standard field mask for the set of fields to be updated.",
398 "format": "google-fieldmask",
399 "location": "query",
400 "type": "string"
401 },
402 "servicesId": {
403 "description": "Part of `name`. See document ation of `appsId`.",
392 "location": "path", 404 "location": "path",
393 "required": true, 405 "required": true,
394 "type": "string" 406 "type": "string"
395 }, 407 },
396 "pageToken": { 408 "appsId": {
397 "description": "Continuation token for fetch ing the next page of results.", 409 "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/services/default.",
398 "location": "query", 410 "location": "path",
411 "required": true,
399 "type": "string" 412 "type": "string"
400 },
401 "pageSize": {
402 "description": "Maximum results to return pe r page.",
403 "format": "int32",
404 "location": "query",
405 "type": "integer"
406 } 413 }
407 }, 414 },
408 "path": "v1/apps/{appsId}/services", 415 "path": "v1/apps/{appsId}/services/{servicesId}",
416 "request": {
417 "$ref": "Service"
418 },
409 "response": { 419 "response": {
410 "$ref": "ListServicesResponse" 420 "$ref": "Operation"
411 }, 421 },
412 "scopes": [ 422 "scopes": [
413 "https://www.googleapis.com/auth/appengine.admin ", 423 "https://www.googleapis.com/auth/cloud-platform"
414 "https://www.googleapis.com/auth/cloud-platform" ,
415 "https://www.googleapis.com/auth/cloud-platform. read-only"
416 ] 424 ]
417 }, 425 },
418 "get": { 426 "get": {
419 "description": "Gets the current configuration of th e specified service.", 427 "description": "Gets the current configuration of th e specified service.",
420 "httpMethod": "GET", 428 "httpMethod": "GET",
421 "id": "appengine.apps.services.get", 429 "id": "appengine.apps.services.get",
422 "parameterOrder": [ 430 "parameterOrder": [
423 "appsId", 431 "appsId",
424 "servicesId" 432 "servicesId"
425 ], 433 ],
(...skipping 14 matching lines...) Expand all
440 "path": "v1/apps/{appsId}/services/{servicesId}", 448 "path": "v1/apps/{appsId}/services/{servicesId}",
441 "response": { 449 "response": {
442 "$ref": "Service" 450 "$ref": "Service"
443 }, 451 },
444 "scopes": [ 452 "scopes": [
445 "https://www.googleapis.com/auth/appengine.admin ", 453 "https://www.googleapis.com/auth/appengine.admin ",
446 "https://www.googleapis.com/auth/cloud-platform" , 454 "https://www.googleapis.com/auth/cloud-platform" ,
447 "https://www.googleapis.com/auth/cloud-platform. read-only" 455 "https://www.googleapis.com/auth/cloud-platform. read-only"
448 ] 456 ]
449 }, 457 },
450 "patch": { 458 "list": {
451 "description": "Updates the configuration of the spe cified service.", 459 "description": "Lists all the services in the applic ation.",
452 "httpMethod": "PATCH", 460 "httpMethod": "GET",
453 "id": "appengine.apps.services.patch", 461 "id": "appengine.apps.services.list",
454 "parameterOrder": [ 462 "parameterOrder": [
455 "appsId", 463 "appsId"
456 "servicesId"
457 ], 464 ],
458 "parameters": { 465 "parameters": {
459 "updateMask": { 466 "pageToken": {
460 "description": "Standard field mask for the set of fields to be updated.", 467 "description": "Continuation token for fetch ing the next page of results.",
461 "format": "google-fieldmask",
462 "location": "query", 468 "location": "query",
463 "type": "string" 469 "type": "string"
464 }, 470 },
465 "servicesId": { 471 "appsId": {
466 "description": "Part of `name`. See document ation of `appsId`.", 472 "description": "Part of `parent`. Name of th e parent Application resource. Example: apps/myapp.",
467 "location": "path", 473 "location": "path",
468 "required": true, 474 "required": true,
469 "type": "string" 475 "type": "string"
470 }, 476 },
471 "appsId": { 477 "pageSize": {
472 "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/services/default.", 478 "description": "Maximum results to return pe r page.",
473 "location": "path", 479 "format": "int32",
474 "required": true,
475 "type": "string"
476 },
477 "migrateTraffic": {
478 "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/v1/apps.services.versions#in boundservicetype) and automatic scaling (https://cloud.google.com/appengine/docs /admin-api/reference/rest/v1/apps.services.versions#automaticscaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference /rest/v1/apps.services#shardby) field in the Service resource. Gradual traffic m igration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/adm in-api/migrating-splitting-traffic).",
479 "location": "query", 480 "location": "query",
480 "type": "boolean" 481 "type": "integer"
481 } 482 }
482 }, 483 },
483 "path": "v1/apps/{appsId}/services/{servicesId}", 484 "path": "v1/apps/{appsId}/services",
484 "request": {
485 "$ref": "Service"
486 },
487 "response": { 485 "response": {
488 "$ref": "Operation" 486 "$ref": "ListServicesResponse"
489 }, 487 },
490 "scopes": [ 488 "scopes": [
491 "https://www.googleapis.com/auth/cloud-platform" 489 "https://www.googleapis.com/auth/appengine.admin ",
490 "https://www.googleapis.com/auth/cloud-platform" ,
491 "https://www.googleapis.com/auth/cloud-platform. read-only"
492 ] 492 ]
493 }, 493 },
494 "delete": { 494 "delete": {
495 "description": "Deletes the specified service and al l enclosed versions.", 495 "description": "Deletes the specified service and al l enclosed versions.",
496 "httpMethod": "DELETE", 496 "httpMethod": "DELETE",
497 "id": "appengine.apps.services.delete", 497 "id": "appengine.apps.services.delete",
498 "parameterOrder": [ 498 "parameterOrder": [
499 "appsId", 499 "appsId",
500 "servicesId" 500 "servicesId"
501 ], 501 ],
(...skipping 16 matching lines...) Expand all
518 "$ref": "Operation" 518 "$ref": "Operation"
519 }, 519 },
520 "scopes": [ 520 "scopes": [
521 "https://www.googleapis.com/auth/cloud-platform" 521 "https://www.googleapis.com/auth/cloud-platform"
522 ] 522 ]
523 } 523 }
524 }, 524 },
525 "resources": { 525 "resources": {
526 "versions": { 526 "versions": {
527 "methods": { 527 "methods": {
528 "list": { 528 "delete": {
529 "description": "Lists the versions of a serv ice.", 529 "description": "Deletes an existing Version resource.",
530 "httpMethod": "GET", 530 "httpMethod": "DELETE",
531 "id": "appengine.apps.services.versions.list ", 531 "id": "appengine.apps.services.versions.dele te",
532 "parameterOrder": [
533 "appsId",
534 "servicesId"
535 ],
536 "parameters": {
537 "pageSize": {
538 "description": "Maximum results to r eturn per page.",
539 "format": "int32",
540 "location": "query",
541 "type": "integer"
542 },
543 "view": {
544 "description": "Controls the set of fields returned in the List response.",
545 "enum": [
546 "BASIC",
547 "FULL"
548 ],
549 "location": "query",
550 "type": "string"
551 },
552 "servicesId": {
553 "description": "Part of `parent`. Se e documentation of `appsId`.",
554 "location": "path",
555 "required": true,
556 "type": "string"
557 },
558 "appsId": {
559 "description": "Part of `parent`. Na me of the parent Service resource. Example: apps/myapp/services/default.",
560 "location": "path",
561 "required": true,
562 "type": "string"
563 },
564 "pageToken": {
565 "description": "Continuation token f or fetching the next page of results.",
566 "location": "query",
567 "type": "string"
568 }
569 },
570 "path": "v1/apps/{appsId}/services/{services Id}/versions",
571 "response": {
572 "$ref": "ListVersionsResponse"
573 },
574 "scopes": [
575 "https://www.googleapis.com/auth/appengi ne.admin",
576 "https://www.googleapis.com/auth/cloud-p latform",
577 "https://www.googleapis.com/auth/cloud-p latform.read-only"
578 ]
579 },
580 "get": {
581 "description": "Gets the specified Version r esource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW p arameter to get the full resource.",
582 "httpMethod": "GET",
583 "id": "appengine.apps.services.versions.get" ,
584 "parameterOrder": [ 532 "parameterOrder": [
585 "appsId", 533 "appsId",
586 "servicesId", 534 "servicesId",
587 "versionsId" 535 "versionsId"
588 ], 536 ],
589 "parameters": { 537 "parameters": {
538 "servicesId": {
539 "description": "Part of `name`. See documentation of `appsId`.",
540 "location": "path",
541 "required": true,
542 "type": "string"
543 },
544 "appsId": {
545 "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.",
546 "location": "path",
547 "required": true,
548 "type": "string"
549 },
590 "versionsId": { 550 "versionsId": {
591 "description": "Part of `name`. See documentation of `appsId`.", 551 "description": "Part of `name`. See documentation of `appsId`.",
592 "location": "path", 552 "location": "path",
593 "required": true, 553 "required": true,
594 "type": "string" 554 "type": "string"
595 }, 555 }
596 "view": { 556 },
597 "description": "Controls the set of fields returned in the Get response.", 557 "path": "v1/apps/{appsId}/services/{services Id}/versions/{versionsId}",
598 "enum": [ 558 "response": {
599 "BASIC", 559 "$ref": "Operation"
600 "FULL" 560 },
601 ], 561 "scopes": [
562 "https://www.googleapis.com/auth/cloud-p latform"
563 ]
564 },
565 "patch": {
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/v1/apps.services. versions#Version.FIELDS.serving_status): For Version resources that use basic s caling, manual scaling, or run in the App Engine flexible environment.\ninstanc e_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/app s.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine standard environment.\nautomatic_scaling.min_idle_instance s (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.serv ices.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_s caling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/ref erence/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Ve rsion resources that use automatic scaling and run in the App Engine standard e nvironment.",
567 "httpMethod": "PATCH",
568 "id": "appengine.apps.services.versions.patc h",
569 "parameterOrder": [
570 "appsId",
571 "servicesId",
572 "versionsId"
573 ],
574 "parameters": {
575 "updateMask": {
576 "description": "Standard field mask for the set of fields to be updated.",
577 "format": "google-fieldmask",
602 "location": "query", 578 "location": "query",
603 "type": "string" 579 "type": "string"
604 }, 580 },
605 "servicesId": { 581 "servicesId": {
606 "description": "Part of `name`. See documentation of `appsId`.", 582 "description": "Part of `name`. See documentation of `appsId`.",
607 "location": "path", 583 "location": "path",
608 "required": true, 584 "required": true,
609 "type": "string" 585 "type": "string"
610 }, 586 },
611 "appsId": { 587 "appsId": {
588 "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/services/default/versions/1.",
589 "location": "path",
590 "required": true,
591 "type": "string"
592 },
593 "versionsId": {
594 "description": "Part of `name`. See documentation of `appsId`.",
595 "location": "path",
596 "required": true,
597 "type": "string"
598 }
599 },
600 "path": "v1/apps/{appsId}/services/{services Id}/versions/{versionsId}",
601 "request": {
602 "$ref": "Version"
603 },
604 "response": {
605 "$ref": "Operation"
606 },
607 "scopes": [
608 "https://www.googleapis.com/auth/cloud-p latform"
609 ]
610 },
611 "get": {
612 "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.",
613 "httpMethod": "GET",
614 "id": "appengine.apps.services.versions.get" ,
615 "parameterOrder": [
616 "appsId",
617 "servicesId",
618 "versionsId"
619 ],
620 "parameters": {
621 "servicesId": {
622 "description": "Part of `name`. See documentation of `appsId`.",
623 "location": "path",
624 "required": true,
625 "type": "string"
626 },
627 "appsId": {
612 "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.", 628 "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.",
613 "location": "path", 629 "location": "path",
614 "required": true, 630 "required": true,
615 "type": "string" 631 "type": "string"
632 },
633 "view": {
634 "description": "Controls the set of fields returned in the Get response.",
635 "enum": [
636 "BASIC",
637 "FULL"
638 ],
639 "location": "query",
640 "type": "string"
641 },
642 "versionsId": {
643 "description": "Part of `name`. See documentation of `appsId`.",
644 "location": "path",
645 "required": true,
646 "type": "string"
616 } 647 }
617 }, 648 },
618 "path": "v1/apps/{appsId}/services/{services Id}/versions/{versionsId}", 649 "path": "v1/apps/{appsId}/services/{services Id}/versions/{versionsId}",
619 "response": { 650 "response": {
620 "$ref": "Version" 651 "$ref": "Version"
621 }, 652 },
622 "scopes": [ 653 "scopes": [
623 "https://www.googleapis.com/auth/appengi ne.admin", 654 "https://www.googleapis.com/auth/appengi ne.admin",
624 "https://www.googleapis.com/auth/cloud-p latform", 655 "https://www.googleapis.com/auth/cloud-p latform",
625 "https://www.googleapis.com/auth/cloud-p latform.read-only" 656 "https://www.googleapis.com/auth/cloud-p latform.read-only"
626 ] 657 ]
627 }, 658 },
628 "patch": { 659 "list": {
629 "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/v1/apps.services. versions#Version.FIELDS.serving_status): For Version resources that use basic s caling, manual scaling, or run in the App Engine flexible environment.\ninstanc e_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/app s.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine standard environment.\nautomatic_scaling.min_idle_instance s (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.serv ices.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_s caling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/ref erence/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Ve rsion resources that use automatic scaling and run in the App Engine standard e nvironment.", 660 "description": "Lists the versions of a serv ice.",
630 "httpMethod": "PATCH", 661 "httpMethod": "GET",
631 "id": "appengine.apps.services.versions.patc h", 662 "id": "appengine.apps.services.versions.list ",
632 "parameterOrder": [ 663 "parameterOrder": [
633 "appsId", 664 "appsId",
634 "servicesId", 665 "servicesId"
635 "versionsId"
636 ], 666 ],
637 "parameters": { 667 "parameters": {
638 "versionsId": { 668 "pageSize": {
639 "description": "Part of `name`. See documentation of `appsId`.", 669 "description": "Maximum results to r eturn per page.",
670 "format": "int32",
671 "location": "query",
672 "type": "integer"
673 },
674 "view": {
675 "description": "Controls the set of fields returned in the List response.",
676 "enum": [
677 "BASIC",
678 "FULL"
679 ],
680 "location": "query",
681 "type": "string"
682 },
683 "servicesId": {
684 "description": "Part of `parent`. Se e documentation of `appsId`.",
640 "location": "path", 685 "location": "path",
641 "required": true, 686 "required": true,
642 "type": "string" 687 "type": "string"
643 }, 688 },
644 "updateMask": { 689 "pageToken": {
645 "description": "Standard field mask for the set of fields to be updated.", 690 "description": "Continuation token f or fetching the next page of results.",
646 "format": "google-fieldmask",
647 "location": "query", 691 "location": "query",
648 "type": "string" 692 "type": "string"
649 }, 693 },
650 "servicesId": {
651 "description": "Part of `name`. See documentation of `appsId`.",
652 "location": "path",
653 "required": true,
654 "type": "string"
655 },
656 "appsId": { 694 "appsId": {
657 "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/services/default/versions/1.", 695 "description": "Part of `parent`. Na me of the parent Service resource. Example: apps/myapp/services/default.",
658 "location": "path", 696 "location": "path",
659 "required": true, 697 "required": true,
660 "type": "string" 698 "type": "string"
661 } 699 }
662 }, 700 },
663 "path": "v1/apps/{appsId}/services/{services Id}/versions/{versionsId}", 701 "path": "v1/apps/{appsId}/services/{services Id}/versions",
664 "request": {
665 "$ref": "Version"
666 },
667 "response": { 702 "response": {
668 "$ref": "Operation" 703 "$ref": "ListVersionsResponse"
669 }, 704 },
670 "scopes": [ 705 "scopes": [
671 "https://www.googleapis.com/auth/cloud-p latform" 706 "https://www.googleapis.com/auth/appengi ne.admin",
707 "https://www.googleapis.com/auth/cloud-p latform",
708 "https://www.googleapis.com/auth/cloud-p latform.read-only"
672 ] 709 ]
673 }, 710 },
674 "create": { 711 "create": {
675 "description": "Deploys code and resource fi les to a new version.", 712 "description": "Deploys code and resource fi les to a new version.",
676 "httpMethod": "POST", 713 "httpMethod": "POST",
677 "id": "appengine.apps.services.versions.crea te", 714 "id": "appengine.apps.services.versions.crea te",
678 "parameterOrder": [ 715 "parameterOrder": [
679 "appsId", 716 "appsId",
680 "servicesId" 717 "servicesId"
681 ], 718 ],
(...skipping 11 matching lines...) Expand all
693 "type": "string" 730 "type": "string"
694 } 731 }
695 }, 732 },
696 "path": "v1/apps/{appsId}/services/{services Id}/versions", 733 "path": "v1/apps/{appsId}/services/{services Id}/versions",
697 "request": { 734 "request": {
698 "$ref": "Version" 735 "$ref": "Version"
699 }, 736 },
700 "response": { 737 "response": {
701 "$ref": "Operation" 738 "$ref": "Operation"
702 }, 739 },
703 "scopes": [
704 "https://www.googleapis.com/auth/cloud-p latform"
705 ]
706 },
707 "delete": {
708 "description": "Deletes an existing Version resource.",
709 "httpMethod": "DELETE",
710 "id": "appengine.apps.services.versions.dele te",
711 "parameterOrder": [
712 "appsId",
713 "servicesId",
714 "versionsId"
715 ],
716 "parameters": {
717 "servicesId": {
718 "description": "Part of `name`. See documentation of `appsId`.",
719 "location": "path",
720 "required": true,
721 "type": "string"
722 },
723 "appsId": {
724 "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.",
725 "location": "path",
726 "required": true,
727 "type": "string"
728 },
729 "versionsId": {
730 "description": "Part of `name`. See documentation of `appsId`.",
731 "location": "path",
732 "required": true,
733 "type": "string"
734 }
735 },
736 "path": "v1/apps/{appsId}/services/{services Id}/versions/{versionsId}",
737 "response": {
738 "$ref": "Operation"
739 },
740 "scopes": [ 740 "scopes": [
741 "https://www.googleapis.com/auth/cloud-p latform" 741 "https://www.googleapis.com/auth/cloud-p latform"
742 ] 742 ]
743 } 743 }
744 }, 744 },
745 "resources": { 745 "resources": {
746 "instances": { 746 "instances": {
747 "methods": { 747 "methods": {
748 "delete": { 748 "delete": {
749 "description": "Stops a running inst ance.", 749 "description": "Stops a running inst ance.",
750 "httpMethod": "DELETE", 750 "httpMethod": "DELETE",
751 "id": "appengine.apps.services.versi ons.instances.delete", 751 "id": "appengine.apps.services.versi ons.instances.delete",
752 "parameterOrder": [ 752 "parameterOrder": [
753 "appsId", 753 "appsId",
754 "servicesId", 754 "servicesId",
755 "versionsId", 755 "versionsId",
756 "instancesId" 756 "instancesId"
757 ], 757 ],
758 "parameters": { 758 "parameters": {
759 "servicesId": { 759 "servicesId": {
760 "description": "Part of `nam e`. See documentation of `appsId`.", 760 "description": "Part of `nam e`. See documentation of `appsId`.",
761 "location": "path", 761 "location": "path",
762 "required": true, 762 "required": true,
763 "type": "string" 763 "type": "string"
764 }, 764 },
765 "instancesId": {
766 "description": "Part of `nam e`. See documentation of `appsId`.",
767 "location": "path",
768 "required": true,
769 "type": "string"
770 },
765 "appsId": { 771 "appsId": {
766 "description": "Part of `nam e`. Name of the resource requested. Example: apps/myapp/services/default/version s/v1/instances/instance-1.", 772 "description": "Part of `nam e`. Name of the resource requested. Example: apps/myapp/services/default/version s/v1/instances/instance-1.",
767 "location": "path", 773 "location": "path",
768 "required": true, 774 "required": true,
769 "type": "string" 775 "type": "string"
770 },
771 "instancesId": {
772 "description": "Part of `nam e`. See documentation of `appsId`.",
773 "location": "path",
774 "required": true,
775 "type": "string"
776 }, 776 },
777 "versionsId": { 777 "versionsId": {
778 "description": "Part of `nam e`. See documentation of `appsId`.", 778 "description": "Part of `nam e`. See documentation of `appsId`.",
779 "location": "path", 779 "location": "path",
780 "required": true, 780 "required": true,
781 "type": "string" 781 "type": "string"
782 } 782 }
783 }, 783 },
784 "path": "v1/apps/{appsId}/services/{ servicesId}/versions/{versionsId}/instances/{instancesId}", 784 "path": "v1/apps/{appsId}/services/{ servicesId}/versions/{versionsId}/instances/{instancesId}",
785 "response": { 785 "response": {
786 "$ref": "Operation" 786 "$ref": "Operation"
787 }, 787 },
788 "scopes": [ 788 "scopes": [
789 "https://www.googleapis.com/auth /cloud-platform" 789 "https://www.googleapis.com/auth /cloud-platform"
790 ] 790 ]
791 }, 791 },
792 "list": { 792 "get": {
793 "description": "Lists the instances of a version.Tip: To aggregate details about instances over time, see the Stackd river Monitoring API (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/pro jects.timeSeries/list).", 793 "description": "Gets instance inform ation.",
794 "httpMethod": "GET", 794 "httpMethod": "GET",
795 "id": "appengine.apps.services.versi ons.instances.list", 795 "id": "appengine.apps.services.versi ons.instances.get",
796 "parameterOrder": [ 796 "parameterOrder": [
797 "appsId", 797 "appsId",
798 "servicesId", 798 "servicesId",
799 "versionsId" 799 "versionsId",
800 "instancesId"
800 ], 801 ],
801 "parameters": { 802 "parameters": {
802 "servicesId": { 803 "servicesId": {
803 "description": "Part of `par ent`. See documentation of `appsId`.", 804 "description": "Part of `nam e`. See documentation of `appsId`.",
805 "location": "path",
806 "required": true,
807 "type": "string"
808 },
809 "instancesId": {
810 "description": "Part of `nam e`. See documentation of `appsId`.",
804 "location": "path", 811 "location": "path",
805 "required": true, 812 "required": true,
806 "type": "string" 813 "type": "string"
807 }, 814 },
808 "appsId": { 815 "appsId": {
809 "description": "Part of `par ent`. Name of the parent Version resource. Example: apps/myapp/services/default/ versions/v1.", 816 "description": "Part of `nam e`. Name of the resource requested. Example: apps/myapp/services/default/version s/v1/instances/instance-1.",
810 "location": "path", 817 "location": "path",
811 "required": true, 818 "required": true,
812 "type": "string" 819 "type": "string"
813 }, 820 },
814 "pageToken": {
815 "description": "Continuation token for fetching the next page of results.",
816 "location": "query",
817 "type": "string"
818 },
819 "pageSize": {
820 "description": "Maximum resu lts to return per page.",
821 "format": "int32",
822 "location": "query",
823 "type": "integer"
824 },
825 "versionsId": { 821 "versionsId": {
826 "description": "Part of `par ent`. See documentation of `appsId`.", 822 "description": "Part of `nam e`. See documentation of `appsId`.",
827 "location": "path", 823 "location": "path",
828 "required": true, 824 "required": true,
829 "type": "string" 825 "type": "string"
830 } 826 }
831 }, 827 },
832 "path": "v1/apps/{appsId}/services/{ servicesId}/versions/{versionsId}/instances", 828 "path": "v1/apps/{appsId}/services/{ servicesId}/versions/{versionsId}/instances/{instancesId}",
833 "response": { 829 "response": {
834 "$ref": "ListInstancesResponse" 830 "$ref": "Instance"
835 }, 831 },
836 "scopes": [ 832 "scopes": [
837 "https://www.googleapis.com/auth /appengine.admin", 833 "https://www.googleapis.com/auth /appengine.admin",
838 "https://www.googleapis.com/auth /cloud-platform", 834 "https://www.googleapis.com/auth /cloud-platform",
839 "https://www.googleapis.com/auth /cloud-platform.read-only" 835 "https://www.googleapis.com/auth /cloud-platform.read-only"
840 ] 836 ]
841 }, 837 },
842 "get": { 838 "list": {
843 "description": "Gets instance inform ation.", 839 "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).",
844 "httpMethod": "GET", 840 "httpMethod": "GET",
845 "id": "appengine.apps.services.versi ons.instances.get", 841 "id": "appengine.apps.services.versi ons.instances.list",
846 "parameterOrder": [ 842 "parameterOrder": [
847 "appsId", 843 "appsId",
848 "servicesId", 844 "servicesId",
849 "versionsId", 845 "versionsId"
850 "instancesId"
851 ], 846 ],
852 "parameters": { 847 "parameters": {
848 "pageSize": {
849 "description": "Maximum resu lts to return per page.",
850 "format": "int32",
851 "location": "query",
852 "type": "integer"
853 },
853 "versionsId": { 854 "versionsId": {
854 "description": "Part of `nam e`. See documentation of `appsId`.", 855 "description": "Part of `par ent`. See documentation of `appsId`.",
855 "location": "path", 856 "location": "path",
856 "required": true, 857 "required": true,
857 "type": "string" 858 "type": "string"
858 }, 859 },
859 "servicesId": { 860 "servicesId": {
860 "description": "Part of `nam e`. See documentation of `appsId`.", 861 "description": "Part of `par ent`. See documentation of `appsId`.",
861 "location": "path", 862 "location": "path",
862 "required": true, 863 "required": true,
863 "type": "string" 864 "type": "string"
864 }, 865 },
865 "appsId": { 866 "pageToken": {
866 "description": "Part of `nam e`. Name of the resource requested. Example: apps/myapp/services/default/version s/v1/instances/instance-1.", 867 "description": "Continuation token for fetching the next page of results.",
867 "location": "path", 868 "location": "query",
868 "required": true,
869 "type": "string" 869 "type": "string"
870 }, 870 },
871 "instancesId": { 871 "appsId": {
872 "description": "Part of `nam e`. See documentation of `appsId`.", 872 "description": "Part of `par ent`. Name of the parent Version resource. Example: apps/myapp/services/default/ versions/v1.",
873 "location": "path", 873 "location": "path",
874 "required": true, 874 "required": true,
875 "type": "string" 875 "type": "string"
876 } 876 }
877 }, 877 },
878 "path": "v1/apps/{appsId}/services/{ servicesId}/versions/{versionsId}/instances/{instancesId}", 878 "path": "v1/apps/{appsId}/services/{ servicesId}/versions/{versionsId}/instances",
879 "response": { 879 "response": {
880 "$ref": "Instance" 880 "$ref": "ListInstancesResponse"
881 }, 881 },
882 "scopes": [ 882 "scopes": [
883 "https://www.googleapis.com/auth /appengine.admin", 883 "https://www.googleapis.com/auth /appengine.admin",
884 "https://www.googleapis.com/auth /cloud-platform", 884 "https://www.googleapis.com/auth /cloud-platform",
885 "https://www.googleapis.com/auth /cloud-platform.read-only" 885 "https://www.googleapis.com/auth /cloud-platform.read-only"
886 ] 886 ]
887 }, 887 },
888 "debug": { 888 "debug": {
889 "description": "Enables debugging on a VM instance. This allows you to use the SSH command to connect to the virtual machine where the instance lives. While in \"debug mode\", the instance continu es to serve live traffic. You should delete the instance when you are done debug ging and then allow the system to take over and determine if another instance sh ould be started.Only applicable for instances in App Engine flexible environment .", 889 "description": "Enables debugging on a VM instance. This allows you to use the SSH command to connect to the virtual machine where the instance lives. While in \"debug mode\", the instance continu es to serve live traffic. You should delete the instance when you are done debug ging and then allow the system to take over and determine if another instance sh ould be started.Only applicable for instances in App Engine flexible environment .",
890 "httpMethod": "POST", 890 "httpMethod": "POST",
891 "id": "appengine.apps.services.versi ons.instances.debug", 891 "id": "appengine.apps.services.versi ons.instances.debug",
892 "parameterOrder": [ 892 "parameterOrder": [
893 "appsId", 893 "appsId",
894 "servicesId", 894 "servicesId",
895 "versionsId", 895 "versionsId",
896 "instancesId" 896 "instancesId"
897 ], 897 ],
898 "parameters": { 898 "parameters": {
899 "versionsId": { 899 "servicesId": {
900 "description": "Part of `nam e`. See documentation of `appsId`.", 900 "description": "Part of `nam e`. See documentation of `appsId`.",
901 "location": "path", 901 "location": "path",
902 "required": true, 902 "required": true,
903 "type": "string" 903 "type": "string"
904 }, 904 },
905 "servicesId": { 905 "instancesId": {
906 "description": "Part of `nam e`. See documentation of `appsId`.", 906 "description": "Part of `nam e`. See documentation of `appsId`.",
907 "location": "path", 907 "location": "path",
908 "required": true, 908 "required": true,
909 "type": "string" 909 "type": "string"
910 }, 910 },
911 "appsId": { 911 "appsId": {
912 "description": "Part of `nam e`. Name of the resource requested. Example: apps/myapp/services/default/version s/v1/instances/instance-1.", 912 "description": "Part of `nam e`. Name of the resource requested. Example: apps/myapp/services/default/version s/v1/instances/instance-1.",
913 "location": "path", 913 "location": "path",
914 "required": true, 914 "required": true,
915 "type": "string" 915 "type": "string"
916 }, 916 },
917 "instancesId": { 917 "versionsId": {
918 "description": "Part of `nam e`. See documentation of `appsId`.", 918 "description": "Part of `nam e`. See documentation of `appsId`.",
919 "location": "path", 919 "location": "path",
920 "required": true, 920 "required": true,
921 "type": "string" 921 "type": "string"
922 } 922 }
923 }, 923 },
924 "path": "v1/apps/{appsId}/services/{ servicesId}/versions/{versionsId}/instances/{instancesId}:debug", 924 "path": "v1/apps/{appsId}/services/{ servicesId}/versions/{versionsId}/instances/{instancesId}:debug",
925 "request": { 925 "request": {
926 "$ref": "DebugInstanceRequest" 926 "$ref": "DebugInstanceRequest"
927 }, 927 },
928 "response": { 928 "response": {
929 "$ref": "Operation" 929 "$ref": "Operation"
930 }, 930 },
931 "scopes": [ 931 "scopes": [
932 "https://www.googleapis.com/auth /cloud-platform" 932 "https://www.googleapis.com/auth /cloud-platform"
933 ] 933 ]
934 } 934 }
935 } 935 }
936 } 936 }
937 } 937 }
938 } 938 }
939 } 939 }
940 } 940 }
941 } 941 }
942 } 942 }
943 }, 943 },
944 "revision": "20170601", 944 "revision": "20170626",
945 "rootUrl": "https://appengine.googleapis.com/", 945 "rootUrl": "https://appengine.googleapis.com/",
946 "schemas": { 946 "schemas": {
947 "ListInstancesResponse": {
948 "description": "Response message for Instances.ListInstances.",
949 "id": "ListInstancesResponse",
950 "properties": {
951 "instances": {
952 "description": "The instances belonging to the requested ver sion.",
953 "items": {
954 "$ref": "Instance"
955 },
956 "type": "array"
957 },
958 "nextPageToken": {
959 "description": "Continuation token for fetching the next pag e of results.",
960 "type": "string"
961 }
962 },
963 "type": "object"
964 },
947 "OperationMetadataV1Alpha": { 965 "OperationMetadataV1Alpha": {
948 "description": "Metadata for the given google.longrunning.Operation. ", 966 "description": "Metadata for the given google.longrunning.Operation. ",
949 "id": "OperationMetadataV1Alpha", 967 "id": "OperationMetadataV1Alpha",
950 "properties": { 968 "properties": {
951 "endTime": {
952 "description": "Time that this operation completed.@OutputOn ly",
953 "format": "google-datetime",
954 "type": "string"
955 },
956 "warning": { 969 "warning": {
957 "description": "Durable messages that persist on every opera tion poll. @OutputOnly", 970 "description": "Durable messages that persist on every opera tion poll. @OutputOnly",
958 "items": { 971 "items": {
959 "type": "string" 972 "type": "string"
960 }, 973 },
961 "type": "array" 974 "type": "array"
962 }, 975 },
963 "insertTime": { 976 "insertTime": {
964 "description": "Time that this operation was created.@Output Only", 977 "description": "Time that this operation was created.@Output Only",
965 "format": "google-datetime", 978 "format": "google-datetime",
966 "type": "string" 979 "type": "string"
967 }, 980 },
981 "target": {
982 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
983 "type": "string"
984 },
968 "user": { 985 "user": {
969 "description": "User who requested this operation.@OutputOnl y", 986 "description": "User who requested this operation.@OutputOnl y",
970 "type": "string" 987 "type": "string"
971 }, 988 },
972 "target": {
973 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
974 "type": "string"
975 },
976 "ephemeralMessage": { 989 "ephemeralMessage": {
977 "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly", 990 "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly",
978 "type": "string" 991 "type": "string"
979 }, 992 },
980 "method": { 993 "method": {
981 "description": "API method that initiated this operation. Ex ample: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly", 994 "description": "API method that initiated this operation. Ex ample: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly",
982 "type": "string" 995 "type": "string"
996 },
997 "endTime": {
998 "description": "Time that this operation completed.@OutputOn ly",
999 "format": "google-datetime",
1000 "type": "string"
983 } 1001 }
984 }, 1002 },
985 "type": "object" 1003 "type": "object"
986 }, 1004 },
987 "UrlDispatchRule": { 1005 "UrlDispatchRule": {
988 "description": "Rules to match an HTTP request and dispatch that req uest to a service.", 1006 "description": "Rules to match an HTTP request and dispatch that req uest to a service.",
989 "id": "UrlDispatchRule", 1007 "id": "UrlDispatchRule",
990 "properties": { 1008 "properties": {
991 "domain": { 1009 "path": {
992 "description": "Domain name to match against. The wildcard \ "*\" is supported if specified before a period: \"*.\".Defaults to matching all domains: \"*\".", 1010 "description": "Pathname within the host. Must start with a \"/\". A single \"*\" can be included at the end of the path.The sum of the leng ths of the domain and path may not exceed 100 characters.",
993 "type": "string" 1011 "type": "string"
994 }, 1012 },
995 "service": { 1013 "service": {
996 "description": "Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.", 1014 "description": "Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.",
997 "type": "string" 1015 "type": "string"
998 }, 1016 },
999 "path": { 1017 "domain": {
1000 "description": "Pathname within the host. Must start with a \"/\". A single \"*\" can be included at the end of the path.The sum of the leng ths of the domain and path may not exceed 100 characters.", 1018 "description": "Domain name to match against. The wildcard \ "*\" is supported if specified before a period: \"*.\".Defaults to matching all domains: \"*\".",
1001 "type": "string" 1019 "type": "string"
1002 } 1020 }
1003 }, 1021 },
1004 "type": "object" 1022 "type": "object"
1005 }, 1023 },
1006 "ListVersionsResponse": { 1024 "ListVersionsResponse": {
1007 "description": "Response message for Versions.ListVersions.", 1025 "description": "Response message for Versions.ListVersions.",
1008 "id": "ListVersionsResponse", 1026 "id": "ListVersionsResponse",
1009 "properties": { 1027 "properties": {
1028 "nextPageToken": {
1029 "description": "Continuation token for fetching the next pag e of results.",
1030 "type": "string"
1031 },
1010 "versions": { 1032 "versions": {
1011 "description": "The versions belonging to the requested serv ice.", 1033 "description": "The versions belonging to the requested serv ice.",
1012 "items": { 1034 "items": {
1013 "$ref": "Version" 1035 "$ref": "Version"
1014 }, 1036 },
1015 "type": "array" 1037 "type": "array"
1016 },
1017 "nextPageToken": {
1018 "description": "Continuation token for fetching the next pag e of results.",
1019 "type": "string"
1020 } 1038 }
1021 }, 1039 },
1022 "type": "object" 1040 "type": "object"
1023 }, 1041 },
1024 "ApiEndpointHandler": { 1042 "ApiEndpointHandler": {
1025 "description": "Uses Google Cloud Endpoints to handle requests.", 1043 "description": "Uses Google Cloud Endpoints to handle requests.",
1026 "id": "ApiEndpointHandler", 1044 "id": "ApiEndpointHandler",
1027 "properties": { 1045 "properties": {
1028 "scriptPath": { 1046 "scriptPath": {
1029 "description": "Path to the script from the application root directory.", 1047 "description": "Path to the script from the application root directory.",
1030 "type": "string" 1048 "type": "string"
1031 } 1049 }
1032 }, 1050 },
1033 "type": "object" 1051 "type": "object"
1034 }, 1052 },
1053 "ZipInfo": {
1054 "description": "The zip file information for a zip deployment.",
1055 "id": "ZipInfo",
1056 "properties": {
1057 "filesCount": {
1058 "description": "An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be s low.",
1059 "format": "int32",
1060 "type": "integer"
1061 },
1062 "sourceUrl": {
1063 "description": "URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googl eapis.com/<bucket>/<object>'.",
1064 "type": "string"
1065 }
1066 },
1067 "type": "object"
1068 },
1035 "AutomaticScaling": { 1069 "AutomaticScaling": {
1036 "description": "Automatic scaling is based on request rate, response latencies, and other application metrics.", 1070 "description": "Automatic scaling is based on request rate, response latencies, and other application metrics.",
1037 "id": "AutomaticScaling", 1071 "id": "AutomaticScaling",
1038 "properties": { 1072 "properties": {
1039 "diskUtilization": {
1040 "$ref": "DiskUtilization",
1041 "description": "Target scaling by disk usage."
1042 },
1043 "minPendingLatency": { 1073 "minPendingLatency": {
1044 "description": "Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.", 1074 "description": "Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.",
1045 "format": "google-duration", 1075 "format": "google-duration",
1046 "type": "string" 1076 "type": "string"
1047 }, 1077 },
1048 "maxIdleInstances": { 1078 "maxIdleInstances": {
1049 "description": "Maximum number of idle instances that should be maintained for this version.", 1079 "description": "Maximum number of idle instances that should be maintained for this version.",
1050 "format": "int32", 1080 "format": "int32",
1051 "type": "integer" 1081 "type": "integer"
1052 }, 1082 },
(...skipping 13 matching lines...) Expand all
1066 }, 1096 },
1067 "minTotalInstances": { 1097 "minTotalInstances": {
1068 "description": "Minimum number of instances that should be m aintained for this version.", 1098 "description": "Minimum number of instances that should be m aintained for this version.",
1069 "format": "int32", 1099 "format": "int32",
1070 "type": "integer" 1100 "type": "integer"
1071 }, 1101 },
1072 "networkUtilization": { 1102 "networkUtilization": {
1073 "$ref": "NetworkUtilization", 1103 "$ref": "NetworkUtilization",
1074 "description": "Target scaling by network usage." 1104 "description": "Target scaling by network usage."
1075 }, 1105 },
1106 "maxConcurrentRequests": {
1107 "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.",
1108 "format": "int32",
1109 "type": "integer"
1110 },
1076 "coolDownPeriod": { 1111 "coolDownPeriod": {
1077 "description": "Amount of time that the Autoscaler (https:// cloud.google.com/compute/docs/autoscaler/) should wait between changes to the nu mber of virtual machines. Only applicable for VM runtimes.", 1112 "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.",
1078 "format": "google-duration", 1113 "format": "google-duration",
1079 "type": "string" 1114 "type": "string"
1080 }, 1115 },
1081 "maxConcurrentRequests": {
1082 "description": "Number of concurrent requests an automatic s caling instance can accept before the scheduler spawns a new instance.Defaults t o a runtime-specific value.",
1083 "format": "int32",
1084 "type": "integer"
1085 },
1086 "maxPendingLatency": { 1116 "maxPendingLatency": {
1087 "description": "Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.", 1117 "description": "Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.",
1088 "format": "google-duration", 1118 "format": "google-duration",
1089 "type": "string" 1119 "type": "string"
1090 }, 1120 },
1091 "cpuUtilization": { 1121 "cpuUtilization": {
1092 "$ref": "CpuUtilization", 1122 "$ref": "CpuUtilization",
1093 "description": "Target scaling by CPU usage." 1123 "description": "Target scaling by CPU usage."
1124 },
1125 "diskUtilization": {
1126 "$ref": "DiskUtilization",
1127 "description": "Target scaling by disk usage."
1094 } 1128 }
1095 }, 1129 },
1096 "type": "object" 1130 "type": "object"
1097 },
1098 "ZipInfo": {
1099 "description": "The zip file information for a zip deployment.",
1100 "id": "ZipInfo",
1101 "properties": {
1102 "filesCount": {
1103 "description": "An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be s low.",
1104 "format": "int32",
1105 "type": "integer"
1106 },
1107 "sourceUrl": {
1108 "description": "URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googl eapis.com/<bucket>/<object>'.",
1109 "type": "string"
1110 }
1111 },
1112 "type": "object"
1113 }, 1131 },
1114 "Library": { 1132 "Library": {
1115 "description": "Third-party Python runtime library that is required by the application.", 1133 "description": "Third-party Python runtime library that is required by the application.",
1116 "id": "Library", 1134 "id": "Library",
1117 "properties": { 1135 "properties": {
1118 "name": { 1136 "name": {
1119 "description": "Name of the library. Example: \"django\".", 1137 "description": "Name of the library. Example: \"django\".",
1120 "type": "string" 1138 "type": "string"
1121 }, 1139 },
1122 "version": { 1140 "version": {
(...skipping 29 matching lines...) Expand all
1152 "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\" ", 1170 "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\" ",
1153 "type": "string" 1171 "type": "string"
1154 } 1172 }
1155 }, 1173 },
1156 "type": "object" 1174 "type": "object"
1157 }, 1175 },
1158 "RequestUtilization": { 1176 "RequestUtilization": {
1159 "description": "Target scaling by request utilization. Only applicab le for VM runtimes.", 1177 "description": "Target scaling by request utilization. Only applicab le for VM runtimes.",
1160 "id": "RequestUtilization", 1178 "id": "RequestUtilization",
1161 "properties": { 1179 "properties": {
1180 "targetRequestCountPerSecond": {
1181 "description": "Target requests per second.",
1182 "format": "int32",
1183 "type": "integer"
1184 },
1162 "targetConcurrentRequests": { 1185 "targetConcurrentRequests": {
1163 "description": "Target number of concurrent requests.", 1186 "description": "Target number of concurrent requests.",
1164 "format": "int32", 1187 "format": "int32",
1165 "type": "integer" 1188 "type": "integer"
1166 },
1167 "targetRequestCountPerSecond": {
1168 "description": "Target requests per second.",
1169 "format": "int32",
1170 "type": "integer"
1171 } 1189 }
1172 }, 1190 },
1173 "type": "object" 1191 "type": "object"
1174 }, 1192 },
1175 "EndpointsApiService": { 1193 "EndpointsApiService": {
1176 "description": "Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy.The fields here refer to the name and conf iguration id of a \"service\" resource in the Service Management API (https://cl oud.google.com/service-management/overview).", 1194 "description": "Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy.The fields here refer to the name and conf iguration id of a \"service\" resource in the Service Management API (https://cl oud.google.com/service-management/overview).",
1177 "id": "EndpointsApiService", 1195 "id": "EndpointsApiService",
1178 "properties": { 1196 "properties": {
1197 "configId": {
1198 "description": "Endpoints service configuration id as specif ied by the Service Management API. For example \"2016-09-19r1\"",
1199 "type": "string"
1200 },
1179 "name": { 1201 "name": {
1180 "description": "Endpoints service name which is the name of the \"service\" resource in the Service Management API. For example \"myapi.endp oints.myproject.cloud.goog\"", 1202 "description": "Endpoints service name which is the name of the \"service\" resource in the Service Management API. For example \"myapi.endp oints.myproject.cloud.goog\"",
1181 "type": "string" 1203 "type": "string"
1182 },
1183 "configId": {
1184 "description": "Endpoints service configuration id as specif ied by the Service Management API. For example \"2016-09-19r1\"",
1185 "type": "string"
1186 } 1204 }
1187 }, 1205 },
1188 "type": "object" 1206 "type": "object"
1189 }, 1207 },
1190 "UrlMap": { 1208 "UrlMap": {
1191 "description": "URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript.", 1209 "description": "URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript.",
1192 "id": "UrlMap", 1210 "id": "UrlMap",
1193 "properties": { 1211 "properties": {
1194 "staticFiles": {
1195 "$ref": "StaticFilesHandler",
1196 "description": "Returns the contents of a file, such as an i mage, as the response."
1197 },
1198 "redirectHttpResponseCode": { 1212 "redirectHttpResponseCode": {
1199 "description": "30x code to use when performing redirects fo r the secure field. Defaults to 302.", 1213 "description": "30x code to use when performing redirects fo r the secure field. Defaults to 302.",
1200 "enum": [ 1214 "enum": [
1201 "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", 1215 "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED",
1202 "REDIRECT_HTTP_RESPONSE_CODE_301", 1216 "REDIRECT_HTTP_RESPONSE_CODE_301",
1203 "REDIRECT_HTTP_RESPONSE_CODE_302", 1217 "REDIRECT_HTTP_RESPONSE_CODE_302",
1204 "REDIRECT_HTTP_RESPONSE_CODE_303", 1218 "REDIRECT_HTTP_RESPONSE_CODE_303",
1205 "REDIRECT_HTTP_RESPONSE_CODE_307" 1219 "REDIRECT_HTTP_RESPONSE_CODE_307"
1206 ], 1220 ],
1207 "enumDescriptions": [ 1221 "enumDescriptions": [
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
1265 "Not specified. LOGIN_OPTIONAL is assumed.", 1279 "Not specified. LOGIN_OPTIONAL is assumed.",
1266 "Does not require that the user is signed in.", 1280 "Does not require that the user is signed in.",
1267 "If the user is not signed in, the auth_fail_action is t aken. In addition, if the user is not an administrator for the application, they are given an error message regardless of auth_fail_action. If the user is an ad ministrator, the handler proceeds.", 1281 "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.",
1268 "If the user has signed in, the handler proceeds normall y. Otherwise, the auth_fail_action is taken." 1282 "If the user has signed in, the handler proceeds normall y. Otherwise, the auth_fail_action is taken."
1269 ], 1283 ],
1270 "type": "string" 1284 "type": "string"
1271 }, 1285 },
1272 "apiEndpoint": { 1286 "apiEndpoint": {
1273 "$ref": "ApiEndpointHandler", 1287 "$ref": "ApiEndpointHandler",
1274 "description": "Uses API Endpoints to handle requests." 1288 "description": "Uses API Endpoints to handle requests."
1289 },
1290 "staticFiles": {
1291 "$ref": "StaticFilesHandler",
1292 "description": "Returns the contents of a file, such as an i mage, as the response."
1275 } 1293 }
1276 }, 1294 },
1277 "type": "object" 1295 "type": "object"
1278 }, 1296 },
1279 "ApiConfigHandler": { 1297 "ApiConfigHandler": {
1280 "description": "Google Cloud Endpoints (https://cloud.google.com/app engine/docs/python/endpoints/) configuration for API handlers.", 1298 "description": "Google Cloud Endpoints (https://cloud.google.com/app engine/docs/python/endpoints/) configuration for API handlers.",
1281 "id": "ApiConfigHandler", 1299 "id": "ApiConfigHandler",
1282 "properties": { 1300 "properties": {
1283 "securityLevel": { 1301 "securityLevel": {
1284 "description": "Security (HTTPS) enforcement for this URL.", 1302 "description": "Security (HTTPS) enforcement for this URL.",
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
1371 "description": "Service-specific metadata associated with th e operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", 1389 "description": "Service-specific metadata associated with th e operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
1372 "type": "object" 1390 "type": "object"
1373 } 1391 }
1374 }, 1392 },
1375 "type": "object" 1393 "type": "object"
1376 }, 1394 },
1377 "StaticFilesHandler": { 1395 "StaticFilesHandler": {
1378 "description": "Files served directly to the user for a given URL, s uch as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which U RLs serve them.", 1396 "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.",
1379 "id": "StaticFilesHandler", 1397 "id": "StaticFilesHandler",
1380 "properties": { 1398 "properties": {
1399 "requireMatchingFile": {
1400 "description": "Whether this handler should match the reques t if the file referenced by the handler does not exist.",
1401 "type": "boolean"
1402 },
1381 "expiration": { 1403 "expiration": {
1382 "description": "Time a static file served by this handler sh ould be cached by web proxies and browsers.", 1404 "description": "Time a static file served by this handler sh ould be cached by web proxies and browsers.",
1383 "format": "google-duration", 1405 "format": "google-duration",
1384 "type": "string" 1406 "type": "string"
1385 }, 1407 },
1386 "httpHeaders": { 1408 "httpHeaders": {
1387 "additionalProperties": { 1409 "additionalProperties": {
1388 "type": "string" 1410 "type": "string"
1389 }, 1411 },
1390 "description": "HTTP headers to use for all responses from t hese URLs.", 1412 "description": "HTTP headers to use for all responses from t hese URLs.",
1391 "type": "object" 1413 "type": "object"
1392 }, 1414 },
1393 "applicationReadable": { 1415 "applicationReadable": {
1394 "description": "Whether files should also be uploaded as cod e data. By default, files declared in static file handlers are uploaded as stati c data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.", 1416 "description": "Whether files should also be uploaded as cod e data. By default, files declared in static file handlers are uploaded as stati c data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.",
1395 "type": "boolean" 1417 "type": "boolean"
1396 }, 1418 },
1397 "uploadPathRegex": { 1419 "uploadPathRegex": {
1398 "description": "Regular expression that matches the file pat hs for all files that should be referenced by this handler.", 1420 "description": "Regular expression that matches the file pat hs for all files that should be referenced by this handler.",
1399 "type": "string" 1421 "type": "string"
1400 }, 1422 },
1401 "path": { 1423 "path": {
1402 "description": "Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.", 1424 "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.",
1403 "type": "string" 1425 "type": "string"
1404 }, 1426 },
1405 "mimeType": { 1427 "mimeType": {
1406 "description": "MIME type used to serve all files served by this handler.Defaults to file-specific MIME types, which are derived from each f ile's filename extension.", 1428 "description": "MIME type used to serve all files served by this handler.Defaults to file-specific MIME types, which are derived from each f ile's filename extension.",
1407 "type": "string" 1429 "type": "string"
1408 },
1409 "requireMatchingFile": {
1410 "description": "Whether this handler should match the reques t if the file referenced by the handler does not exist.",
1411 "type": "boolean"
1412 }
1413 },
1414 "type": "object"
1415 },
1416 "BasicScaling": {
1417 "description": "A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or dr iven by user activity.",
1418 "id": "BasicScaling",
1419 "properties": {
1420 "maxInstances": {
1421 "description": "Maximum number of instances to create for th is version.",
1422 "format": "int32",
1423 "type": "integer"
1424 },
1425 "idleTimeout": {
1426 "description": "Duration of time after the last request that an instance must wait before the instance is shut down.",
1427 "format": "google-duration",
1428 "type": "string"
1429 } 1430 }
1430 }, 1431 },
1431 "type": "object" 1432 "type": "object"
1432 }, 1433 },
1433 "DiskUtilization": { 1434 "DiskUtilization": {
1434 "description": "Target scaling by disk usage. Only applicable for VM runtimes.", 1435 "description": "Target scaling by disk usage. Only applicable for VM runtimes.",
1435 "id": "DiskUtilization", 1436 "id": "DiskUtilization",
1436 "properties": { 1437 "properties": {
1438 "targetReadOpsPerSecond": {
1439 "description": "Target ops read per seconds.",
1440 "format": "int32",
1441 "type": "integer"
1442 },
1437 "targetReadBytesPerSecond": { 1443 "targetReadBytesPerSecond": {
1438 "description": "Target bytes read per second.", 1444 "description": "Target bytes read per second.",
1439 "format": "int32", 1445 "format": "int32",
1440 "type": "integer" 1446 "type": "integer"
1441 }, 1447 },
1442 "targetReadOpsPerSecond": {
1443 "description": "Target ops read per seconds.",
1444 "format": "int32",
1445 "type": "integer"
1446 },
1447 "targetWriteOpsPerSecond": { 1448 "targetWriteOpsPerSecond": {
1448 "description": "Target ops written per second.", 1449 "description": "Target ops written per second.",
1449 "format": "int32", 1450 "format": "int32",
1450 "type": "integer" 1451 "type": "integer"
1451 }, 1452 },
1452 "targetWriteBytesPerSecond": { 1453 "targetWriteBytesPerSecond": {
1453 "description": "Target bytes written per second.", 1454 "description": "Target bytes written per second.",
1454 "format": "int32", 1455 "format": "int32",
1455 "type": "integer" 1456 "type": "integer"
1456 } 1457 }
1457 }, 1458 },
1458 "type": "object" 1459 "type": "object"
1460 },
1461 "BasicScaling": {
1462 "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.",
1463 "id": "BasicScaling",
1464 "properties": {
1465 "maxInstances": {
1466 "description": "Maximum number of instances to create for th is version.",
1467 "format": "int32",
1468 "type": "integer"
1469 },
1470 "idleTimeout": {
1471 "description": "Duration of time after the last request that an instance must wait before the instance is shut down.",
1472 "format": "google-duration",
1473 "type": "string"
1474 }
1475 },
1476 "type": "object"
1459 }, 1477 },
1460 "CpuUtilization": { 1478 "CpuUtilization": {
1461 "description": "Target scaling by CPU usage.", 1479 "description": "Target scaling by CPU usage.",
1462 "id": "CpuUtilization", 1480 "id": "CpuUtilization",
1463 "properties": { 1481 "properties": {
1464 "aggregationWindowLength": { 1482 "aggregationWindowLength": {
1465 "description": "Period of time over which CPU utilization is calculated.", 1483 "description": "Period of time over which CPU utilization is calculated.",
1466 "format": "google-duration", 1484 "format": "google-duration",
1467 "type": "string" 1485 "type": "string"
1468 }, 1486 },
1469 "targetUtilization": { 1487 "targetUtilization": {
1470 "description": "Target CPU utilization ratio to maintain whe n scaling. Must be between 0 and 1.", 1488 "description": "Target CPU utilization ratio to maintain whe n scaling. Must be between 0 and 1.",
1471 "format": "double", 1489 "format": "double",
1472 "type": "number" 1490 "type": "number"
1473 } 1491 }
1474 }, 1492 },
1475 "type": "object" 1493 "type": "object"
1476 }, 1494 },
1495 "Status": {
1496 "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.",
1497 "id": "Status",
1498 "properties": {
1499 "code": {
1500 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1501 "format": "int32",
1502 "type": "integer"
1503 },
1504 "message": {
1505 "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.",
1506 "type": "string"
1507 },
1508 "details": {
1509 "description": "A list of messages that carry the error deta ils. There will be a common set of message types for APIs to use.",
1510 "items": {
1511 "additionalProperties": {
1512 "description": "Properties of the object. Contains f ield @type with type URL.",
1513 "type": "any"
1514 },
1515 "type": "object"
1516 },
1517 "type": "array"
1518 }
1519 },
1520 "type": "object"
1521 },
1477 "IdentityAwareProxy": { 1522 "IdentityAwareProxy": {
1478 "description": "Identity-Aware Proxy", 1523 "description": "Identity-Aware Proxy",
1479 "id": "IdentityAwareProxy", 1524 "id": "IdentityAwareProxy",
1480 "properties": { 1525 "properties": {
1481 "oauth2ClientSecret": { 1526 "oauth2ClientSecret": {
1482 "description": "OAuth2 client secret to use for the authenti cation flow.For security reasons, this value cannot be retrieved via the API. In stead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha 256 field.@InputOnly", 1527 "description": "OAuth2 client secret to use for the authenti cation flow.For security reasons, this value cannot be retrieved via the API. In stead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha 256 field.@InputOnly",
1483 "type": "string" 1528 "type": "string"
1484 }, 1529 },
1485 "oauth2ClientId": { 1530 "oauth2ClientId": {
1486 "description": "OAuth2 client ID to use for the authenticati on flow.", 1531 "description": "OAuth2 client ID to use for the authenticati on flow.",
1487 "type": "string" 1532 "type": "string"
1488 }, 1533 },
1489 "oauth2ClientSecretSha256": { 1534 "oauth2ClientSecretSha256": {
1490 "description": "Hex-encoded SHA-256 hash of the client secre t.@OutputOnly", 1535 "description": "Hex-encoded SHA-256 hash of the client secre t.@OutputOnly",
1491 "type": "string" 1536 "type": "string"
1492 }, 1537 },
1493 "enabled": { 1538 "enabled": {
1494 "description": "Whether the serving infrastructure will auth enticate and authorize all incoming requests.If true, the oauth2_client_id and o auth2_client_secret fields must be non-empty.", 1539 "description": "Whether the serving infrastructure will auth enticate and authorize all incoming requests.If true, the oauth2_client_id and o auth2_client_secret fields must be non-empty.",
1495 "type": "boolean" 1540 "type": "boolean"
1496 } 1541 }
1497 }, 1542 },
1498 "type": "object" 1543 "type": "object"
1499 }, 1544 },
1500 "Status": {
1501 "description": "The Status type defines a logical error model that i s suitable for different programming environments, including REST APIs and RPC A PIs. It is used by gRPC (https://github.com/grpc). The error model is designed t o be:\nSimple to use and understand for most users\nFlexible enough to meet unex pected needsOverviewThe Status message contains three pieces of data: error code , error message, and error details. The error code should be an enum value of go ogle.rpc.Code, but it may accept additional error codes if needed. The error mes sage should be a developer-facing English message that helps developers understa nd and resolve the error. If a localized user-facing error message is needed, pu t the localized message in the error details or localize it in the client. The o ptional error details may contain arbitrary information about the error. There i s a predefined set of error detail types in the package google.rpc that can be u sed for common error conditions.Language mappingThe Status message is the logica l representation of the error model, but it is not necessarily the actual wire f ormat. When the Status message is exposed in different client libraries and diff erent wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model includ e:\nPartial errors. If a service needs to return partial errors to the client, i t may embed the Status in the normal response to indicate the partial errors.\nW orkflow errors. A typical workflow has multiple steps. Each step may have a Stat us message for error reporting.\nBatch operations. If a client uses batch reques t and batch response, the Status message should be used directly inside batch re sponse, one for each error sub-response.\nAsynchronous operations. If an API cal l embeds asynchronous operation results in its response, the status of those ope rations should be represented directly using the Status message.\nLogging. If so me API errors are stored in logs, the message Status could be used directly afte r any stripping needed for security/privacy reasons.",
1502 "id": "Status",
1503 "properties": {
1504 "details": {
1505 "description": "A list of messages that carry the error deta ils. There will be a common set of message types for APIs to use.",
1506 "items": {
1507 "additionalProperties": {
1508 "description": "Properties of the object. Contains f ield @type with type URL.",
1509 "type": "any"
1510 },
1511 "type": "object"
1512 },
1513 "type": "array"
1514 },
1515 "code": {
1516 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1517 "format": "int32",
1518 "type": "integer"
1519 },
1520 "message": {
1521 "description": "A developer-facing error message, which shou ld be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
1522 "type": "string"
1523 }
1524 },
1525 "type": "object"
1526 },
1527 "ManualScaling": { 1545 "ManualScaling": {
1528 "description": "A service with manual scaling runs continuously, all owing you to perform complex initialization and rely on the state of its memory over time.", 1546 "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.",
1529 "id": "ManualScaling", 1547 "id": "ManualScaling",
1530 "properties": { 1548 "properties": {
1531 "instances": { 1549 "instances": {
1532 "description": "Number of instances to assign to the service at the start. This number can later be altered by using the Modules API (https: //cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function.", 1550 "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.",
1533 "format": "int32", 1551 "format": "int32",
1534 "type": "integer" 1552 "type": "integer"
1535 } 1553 }
1536 }, 1554 },
(...skipping 11 matching lines...) Expand all
1548 "description": "App Engine Flexible Environment is available in the given location.@OutputOnly", 1566 "description": "App Engine Flexible Environment is available in the given location.@OutputOnly",
1549 "type": "boolean" 1567 "type": "boolean"
1550 } 1568 }
1551 }, 1569 },
1552 "type": "object" 1570 "type": "object"
1553 }, 1571 },
1554 "Service": { 1572 "Service": {
1555 "description": "A Service resource is a logical component of an appl ication that can share state and communicate in a secure fashion with other serv ices. For example, an application that handles customer requests might include s eparate services to handle tasks such as backend data analysis or API requests f rom mobile devices. Each service has a collection of versions that define a spec ific set of code used to implement the functionality of that service.", 1573 "description": "A Service resource is a logical component of an appl ication that can share state and communicate in a secure fashion with other serv ices. For example, an application that handles customer requests might include s eparate services to handle tasks such as backend data analysis or API requests f rom mobile devices. Each service has a collection of versions that define a spec ific set of code used to implement the functionality of that service.",
1556 "id": "Service", 1574 "id": "Service",
1557 "properties": { 1575 "properties": {
1558 "split": {
1559 "$ref": "TrafficSplit",
1560 "description": "Mapping that defines fractional HTTP traffic diversion to different versions within the service."
1561 },
1562 "id": { 1576 "id": {
1563 "description": "Relative name of the service within the appl ication. Example: default.@OutputOnly", 1577 "description": "Relative name of the service within the appl ication. Example: default.@OutputOnly",
1564 "type": "string" 1578 "type": "string"
1565 }, 1579 },
1566 "name": { 1580 "name": {
1567 "description": "Full path to the Service resource in the API . Example: apps/myapp/services/default.@OutputOnly", 1581 "description": "Full path to the Service resource in the API . Example: apps/myapp/services/default.@OutputOnly",
1568 "type": "string" 1582 "type": "string"
1583 },
1584 "split": {
1585 "$ref": "TrafficSplit",
1586 "description": "Mapping that defines fractional HTTP traffic diversion to different versions within the service."
1569 } 1587 }
1570 }, 1588 },
1571 "type": "object" 1589 "type": "object"
1572 }, 1590 },
1573 "ListOperationsResponse": { 1591 "ListOperationsResponse": {
1574 "description": "The response message for Operations.ListOperations." , 1592 "description": "The response message for Operations.ListOperations." ,
1575 "id": "ListOperationsResponse", 1593 "id": "ListOperationsResponse",
1576 "properties": { 1594 "properties": {
1577 "nextPageToken": {
1578 "description": "The standard List next-page token.",
1579 "type": "string"
1580 },
1581 "operations": { 1595 "operations": {
1582 "description": "A list of operations that matches the specif ied filter in the request.", 1596 "description": "A list of operations that matches the specif ied filter in the request.",
1583 "items": { 1597 "items": {
1584 "$ref": "Operation" 1598 "$ref": "Operation"
1585 }, 1599 },
1586 "type": "array" 1600 "type": "array"
1601 },
1602 "nextPageToken": {
1603 "description": "The standard List next-page token.",
1604 "type": "string"
1587 } 1605 }
1588 }, 1606 },
1589 "type": "object" 1607 "type": "object"
1590 }, 1608 },
1591 "OperationMetadata": { 1609 "OperationMetadata": {
1592 "description": "Metadata for the given google.longrunning.Operation. ", 1610 "description": "Metadata for the given google.longrunning.Operation. ",
1593 "id": "OperationMetadata", 1611 "id": "OperationMetadata",
1594 "properties": { 1612 "properties": {
1613 "endTime": {
1614 "description": "Timestamp that this operation completed.@Out putOnly",
1615 "format": "google-datetime",
1616 "type": "string"
1617 },
1618 "operationType": {
1619 "description": "Type of this operation. Deprecated, use meth od field instead. Example: \"create_version\".@OutputOnly",
1620 "type": "string"
1621 },
1595 "insertTime": { 1622 "insertTime": {
1596 "description": "Timestamp that this operation was created.@O utputOnly", 1623 "description": "Timestamp that this operation was created.@O utputOnly",
1597 "format": "google-datetime", 1624 "format": "google-datetime",
1598 "type": "string" 1625 "type": "string"
1599 }, 1626 },
1600 "user": { 1627 "user": {
1601 "description": "User who requested this operation.@OutputOnl y", 1628 "description": "User who requested this operation.@OutputOnl y",
1602 "type": "string" 1629 "type": "string"
1603 }, 1630 },
1604 "target": { 1631 "target": {
1605 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/modules/default.@OutputOnly", 1632 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/modules/default.@OutputOnly",
1606 "type": "string" 1633 "type": "string"
1607 }, 1634 },
1608 "method": { 1635 "method": {
1609 "description": "API method that initiated this operation. Ex ample: google.appengine.v1beta4.Version.CreateVersion.@OutputOnly", 1636 "description": "API method that initiated this operation. Ex ample: google.appengine.v1beta4.Version.CreateVersion.@OutputOnly",
1610 "type": "string" 1637 "type": "string"
1611 },
1612 "endTime": {
1613 "description": "Timestamp that this operation completed.@Out putOnly",
1614 "format": "google-datetime",
1615 "type": "string"
1616 },
1617 "operationType": {
1618 "description": "Type of this operation. Deprecated, use meth od field instead. Example: \"create_version\".@OutputOnly",
1619 "type": "string"
1620 } 1638 }
1621 }, 1639 },
1622 "type": "object" 1640 "type": "object"
1623 }, 1641 },
1624 "ErrorHandler": { 1642 "ErrorHandler": {
1625 "description": "Custom static error page to be served when an error occurs.", 1643 "description": "Custom static error page to be served when an error occurs.",
1626 "id": "ErrorHandler", 1644 "id": "ErrorHandler",
1627 "properties": { 1645 "properties": {
1646 "mimeType": {
1647 "description": "MIME type of file. Defaults to text/html.",
1648 "type": "string"
1649 },
1628 "errorCode": { 1650 "errorCode": {
1629 "description": "Error condition this handler applies to.", 1651 "description": "Error condition this handler applies to.",
1630 "enum": [ 1652 "enum": [
1631 "ERROR_CODE_UNSPECIFIED", 1653 "ERROR_CODE_UNSPECIFIED",
1632 "ERROR_CODE_DEFAULT", 1654 "ERROR_CODE_DEFAULT",
1633 "ERROR_CODE_OVER_QUOTA", 1655 "ERROR_CODE_OVER_QUOTA",
1634 "ERROR_CODE_DOS_API_DENIAL", 1656 "ERROR_CODE_DOS_API_DENIAL",
1635 "ERROR_CODE_TIMEOUT" 1657 "ERROR_CODE_TIMEOUT"
1636 ], 1658 ],
1637 "enumDescriptions": [ 1659 "enumDescriptions": [
1638 "Not specified. ERROR_CODE_DEFAULT is assumed.", 1660 "Not specified. ERROR_CODE_DEFAULT is assumed.",
1639 "All other error types.", 1661 "All other error types.",
1640 "Application has exceeded a resource quota.", 1662 "Application has exceeded a resource quota.",
1641 "Client blocked by the application's Denial of Service p rotection configuration.", 1663 "Client blocked by the application's Denial of Service p rotection configuration.",
1642 "Deadline reached before the application responds." 1664 "Deadline reached before the application responds."
1643 ], 1665 ],
1644 "type": "string" 1666 "type": "string"
1645 }, 1667 },
1646 "mimeType": {
1647 "description": "MIME type of file. Defaults to text/html.",
1648 "type": "string"
1649 },
1650 "staticFile": { 1668 "staticFile": {
1651 "description": "Static file content to be served for this er ror.", 1669 "description": "Static file content to be served for this er ror.",
1652 "type": "string" 1670 "type": "string"
1653 } 1671 }
1654 }, 1672 },
1655 "type": "object" 1673 "type": "object"
1656 }, 1674 },
1657 "OperationMetadataV1": { 1675 "OperationMetadataV1": {
1658 "description": "Metadata for the given google.longrunning.Operation. ", 1676 "description": "Metadata for the given google.longrunning.Operation. ",
1659 "id": "OperationMetadataV1", 1677 "id": "OperationMetadataV1",
1660 "properties": { 1678 "properties": {
1661 "ephemeralMessage": {
1662 "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly",
1663 "type": "string"
1664 },
1665 "method": {
1666 "description": "API method that initiated this operation. Ex ample: google.appengine.v1.Versions.CreateVersion.@OutputOnly",
1667 "type": "string"
1668 },
1669 "endTime": {
1670 "description": "Time that this operation completed.@OutputOn ly",
1671 "format": "google-datetime",
1672 "type": "string"
1673 },
1674 "warning": { 1679 "warning": {
1675 "description": "Durable messages that persist on every opera tion poll. @OutputOnly", 1680 "description": "Durable messages that persist on every opera tion poll. @OutputOnly",
1676 "items": { 1681 "items": {
1677 "type": "string" 1682 "type": "string"
1678 }, 1683 },
1679 "type": "array" 1684 "type": "array"
1680 }, 1685 },
1681 "insertTime": { 1686 "insertTime": {
1682 "description": "Time that this operation was created.@Output Only", 1687 "description": "Time that this operation was created.@Output Only",
1683 "format": "google-datetime", 1688 "format": "google-datetime",
1684 "type": "string" 1689 "type": "string"
1685 }, 1690 },
1691 "target": {
1692 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
1693 "type": "string"
1694 },
1686 "user": { 1695 "user": {
1687 "description": "User who requested this operation.@OutputOnl y", 1696 "description": "User who requested this operation.@OutputOnl y",
1688 "type": "string" 1697 "type": "string"
1689 }, 1698 },
1690 "target": { 1699 "ephemeralMessage": {
1691 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly", 1700 "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly",
1701 "type": "string"
1702 },
1703 "method": {
1704 "description": "API method that initiated this operation. Ex ample: google.appengine.v1.Versions.CreateVersion.@OutputOnly",
1705 "type": "string"
1706 },
1707 "endTime": {
1708 "description": "Time that this operation completed.@OutputOn ly",
1709 "format": "google-datetime",
1692 "type": "string" 1710 "type": "string"
1693 } 1711 }
1694 }, 1712 },
1695 "type": "object" 1713 "type": "object"
1696 }, 1714 },
1697 "Application": { 1715 "Application": {
1698 "description": "An Application resource contains the top-level confi guration of an App Engine application. Next tag: 19", 1716 "description": "An Application resource contains the top-level confi guration of an App Engine application. Next tag: 19",
1699 "id": "Application", 1717 "id": "Application",
1700 "properties": { 1718 "properties": {
1719 "dispatchRules": {
1720 "description": "HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order -dependent. Up to 20 dispatch rules can be supported.@OutputOnly",
1721 "items": {
1722 "$ref": "UrlDispatchRule"
1723 },
1724 "type": "array"
1725 },
1701 "gcrDomain": { 1726 "gcrDomain": {
1702 "description": "The Google Container Registry domain used fo r storing managed build docker images for this application.", 1727 "description": "The Google Container Registry domain used fo r storing managed build docker images for this application.",
1703 "type": "string" 1728 "type": "string"
1704 }, 1729 },
1705 "name": { 1730 "name": {
1706 "description": "Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly", 1731 "description": "Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly",
1707 "type": "string" 1732 "type": "string"
1708 }, 1733 },
1734 "id": {
1735 "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.",
1736 "type": "string"
1737 },
1709 "defaultCookieExpiration": { 1738 "defaultCookieExpiration": {
1710 "description": "Cookie expiration policy for this applicatio n.", 1739 "description": "Cookie expiration policy for this applicatio n.",
1711 "format": "google-duration", 1740 "format": "google-duration",
1712 "type": "string" 1741 "type": "string"
1713 }, 1742 },
1714 "id": {
1715 "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.",
1716 "type": "string"
1717 },
1718 "locationId": { 1743 "locationId": {
1719 "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", 1744 "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",
1720 "type": "string" 1745 "type": "string"
1721 }, 1746 },
1722 "servingStatus": { 1747 "servingStatus": {
1723 "description": "Serving status of this application.", 1748 "description": "Serving status of this application.",
1724 "enum": [ 1749 "enum": [
1725 "UNSPECIFIED", 1750 "UNSPECIFIED",
1726 "SERVING", 1751 "SERVING",
1727 "USER_DISABLED", 1752 "USER_DISABLED",
(...skipping 18 matching lines...) Expand all
1746 "iap": { 1771 "iap": {
1747 "$ref": "IdentityAwareProxy" 1772 "$ref": "IdentityAwareProxy"
1748 }, 1773 },
1749 "codeBucket": { 1774 "codeBucket": {
1750 "description": "Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated w ith the application and can be used by the gcloud deployment commands.@OutputOnl y", 1775 "description": "Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated w ith the application and can be used by the gcloud deployment commands.@OutputOnl y",
1751 "type": "string" 1776 "type": "string"
1752 }, 1777 },
1753 "defaultBucket": { 1778 "defaultBucket": {
1754 "description": "Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly", 1779 "description": "Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly",
1755 "type": "string" 1780 "type": "string"
1756 },
1757 "dispatchRules": {
1758 "description": "HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order -dependent. Up to 20 dispatch rules can be supported.@OutputOnly",
1759 "items": {
1760 "$ref": "UrlDispatchRule"
1761 },
1762 "type": "array"
1763 } 1781 }
1764 }, 1782 },
1765 "type": "object" 1783 "type": "object"
1766 }, 1784 },
1767 "Network": { 1785 "Network": {
1768 "description": "Extra network settings. Only applicable for VM runti mes.", 1786 "description": "Extra network settings. Only applicable for VM runti mes.",
1769 "id": "Network", 1787 "id": "Network",
1770 "properties": { 1788 "properties": {
1789 "subnetworkName": {
1790 "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.",
1791 "type": "string"
1792 },
1793 "instanceTag": {
1794 "description": "Tag to apply to the VM instance during creat ion.",
1795 "type": "string"
1796 },
1771 "forwardedPorts": { 1797 "forwardedPorts": {
1772 "description": "List of ports, or port pairs, to forward fro m the virtual machine to the application container.", 1798 "description": "List of ports, or port pairs, to forward fro m the virtual machine to the application container.",
1773 "items": { 1799 "items": {
1774 "type": "string" 1800 "type": "string"
1775 }, 1801 },
1776 "type": "array" 1802 "type": "array"
1777 }, 1803 },
1778 "instanceTag": {
1779 "description": "Tag to apply to the VM instance during creat ion.",
1780 "type": "string"
1781 },
1782 "subnetworkName": {
1783 "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.",
1784 "type": "string"
1785 },
1786 "name": { 1804 "name": {
1787 "description": "Google Cloud Platform network where the virt ual machines are created. Specify the short name, not the resource path.Defaults to default.", 1805 "description": "Google Cloud Platform network where the virt ual machines are created. Specify the short name, not the resource path.Defaults to default.",
1788 "type": "string" 1806 "type": "string"
1789 } 1807 }
1790 }, 1808 },
1791 "type": "object" 1809 "type": "object"
1792 }, 1810 },
1793 "Instance": { 1811 "Instance": {
1794 "description": "An Instance resource is the computing unit that App Engine uses to automatically scale an application.", 1812 "description": "An Instance resource is the computing unit that App Engine uses to automatically scale an application.",
1795 "id": "Instance", 1813 "id": "Instance",
(...skipping 30 matching lines...) Expand all
1826 }, 1844 },
1827 "name": { 1845 "name": {
1828 "description": "Full path to the Instance resource in the AP I. Example: apps/myapp/services/default/versions/v1/instances/instance-1.@Output Only", 1846 "description": "Full path to the Instance resource in the AP I. Example: apps/myapp/services/default/versions/v1/instances/instance-1.@Output Only",
1829 "type": "string" 1847 "type": "string"
1830 }, 1848 },
1831 "averageLatency": { 1849 "averageLatency": {
1832 "description": "Average latency (ms) over the last minute.@O utputOnly", 1850 "description": "Average latency (ms) over the last minute.@O utputOnly",
1833 "format": "int32", 1851 "format": "int32",
1834 "type": "integer" 1852 "type": "integer"
1835 }, 1853 },
1836 "memoryUsage": {
1837 "description": "Total memory in use (bytes).@OutputOnly",
1838 "format": "int64",
1839 "type": "string"
1840 },
1841 "id": { 1854 "id": {
1842 "description": "Relative name of the instance within the ver sion. Example: instance-1.@OutputOnly", 1855 "description": "Relative name of the instance within the ver sion. Example: instance-1.@OutputOnly",
1843 "type": "string" 1856 "type": "string"
1844 }, 1857 },
1845 "vmIp": { 1858 "vmIp": {
1846 "description": "The IP address of this instance. Only applic able for instances in App Engine flexible environment.@OutputOnly", 1859 "description": "The IP address of this instance. Only applic able for instances in App Engine flexible environment.@OutputOnly",
1847 "type": "string" 1860 "type": "string"
1848 }, 1861 },
1849 "vmStatus": { 1862 "memoryUsage": {
1850 "description": "Status of the virtual machine where this ins tance lives. Only applicable for instances in App Engine flexible environment.@O utputOnly", 1863 "description": "Total memory in use (bytes).@OutputOnly",
1864 "format": "int64",
1851 "type": "string" 1865 "type": "string"
1852 }, 1866 },
1867 "errors": {
1868 "description": "Number of errors since this instance was sta rted.@OutputOnly",
1869 "format": "int32",
1870 "type": "integer"
1871 },
1853 "availability": { 1872 "availability": {
1854 "description": "Availability of the instance.@OutputOnly", 1873 "description": "Availability of the instance.@OutputOnly",
1855 "enum": [ 1874 "enum": [
1856 "UNSPECIFIED", 1875 "UNSPECIFIED",
1857 "RESIDENT", 1876 "RESIDENT",
1858 "DYNAMIC" 1877 "DYNAMIC"
1859 ], 1878 ],
1860 "enumDescriptions": [ 1879 "enumDescriptions": [
1861 "", 1880 "",
1862 "", 1881 "",
1863 "" 1882 ""
1864 ], 1883 ],
1865 "type": "string" 1884 "type": "string"
1866 }, 1885 },
1867 "errors": { 1886 "vmStatus": {
1868 "description": "Number of errors since this instance was sta rted.@OutputOnly", 1887 "description": "Status of the virtual machine where this ins tance lives. Only applicable for instances in App Engine flexible environment.@O utputOnly",
1869 "format": "int32", 1888 "type": "string"
1870 "type": "integer"
1871 }, 1889 },
1872 "startTime": { 1890 "startTime": {
1873 "description": "Time that this instance was started.@OutputO nly", 1891 "description": "Time that this instance was started.@OutputO nly",
1874 "format": "google-datetime", 1892 "format": "google-datetime",
1875 "type": "string" 1893 "type": "string"
1876 } 1894 }
1877 }, 1895 },
1878 "type": "object" 1896 "type": "object"
1879 }, 1897 },
1880 "LivenessCheck": { 1898 "LivenessCheck": {
1881 "description": "Health checking configuration for VM instances. Unhe althy instances are killed and replaced with new instances.", 1899 "description": "Health checking configuration for VM instances. Unhe althy instances are killed and replaced with new instances.",
1882 "id": "LivenessCheck", 1900 "id": "LivenessCheck",
1883 "properties": { 1901 "properties": {
1884 "path": { 1902 "checkInterval": {
1885 "description": "The request path.", 1903 "description": "Interval between health checks.",
1904 "format": "google-duration",
1886 "type": "string" 1905 "type": "string"
1887 }, 1906 },
1888 "successThreshold": { 1907 "timeout": {
1889 "description": "Number of consecutive successful checks requ ired before considering the VM healthy.", 1908 "description": "Time before the check is considered failed." ,
1890 "format": "uint32",
1891 "type": "integer"
1892 },
1893 "host": {
1894 "description": "Host header to send when performing a HTTP L iveness check. Example: \"myapp.appspot.com\"",
1895 "type": "string"
1896 },
1897 "checkInterval": {
1898 "description": "Interval between health checks.",
1899 "format": "google-duration", 1909 "format": "google-duration",
1900 "type": "string" 1910 "type": "string"
1901 }, 1911 },
1902 "failureThreshold": { 1912 "failureThreshold": {
1903 "description": "Number of consecutive failed checks required before considering the VM unhealthy.", 1913 "description": "Number of consecutive failed checks required before considering the VM unhealthy.",
1904 "format": "uint32", 1914 "format": "uint32",
1905 "type": "integer" 1915 "type": "integer"
1906 }, 1916 },
1907 "timeout": {
1908 "description": "Time before the check is considered failed." ,
1909 "format": "google-duration",
1910 "type": "string"
1911 },
1912 "initialDelay": { 1917 "initialDelay": {
1913 "description": "The initial delay before starting to execute the checks.", 1918 "description": "The initial delay before starting to execute the checks.",
1914 "format": "google-duration", 1919 "format": "google-duration",
1915 "type": "string" 1920 "type": "string"
1921 },
1922 "path": {
1923 "description": "The request path.",
1924 "type": "string"
1925 },
1926 "host": {
1927 "description": "Host header to send when performing a HTTP L iveness check. Example: \"myapp.appspot.com\"",
1928 "type": "string"
1929 },
1930 "successThreshold": {
1931 "description": "Number of consecutive successful checks requ ired before considering the VM healthy.",
1932 "format": "uint32",
1933 "type": "integer"
1916 } 1934 }
1917 }, 1935 },
1918 "type": "object" 1936 "type": "object"
1937 },
1938 "NetworkUtilization": {
1939 "description": "Target scaling by network usage. Only applicable for VM runtimes.",
1940 "id": "NetworkUtilization",
1941 "properties": {
1942 "targetSentBytesPerSecond": {
1943 "description": "Target bytes sent per second.",
1944 "format": "int32",
1945 "type": "integer"
1946 },
1947 "targetReceivedBytesPerSecond": {
1948 "description": "Target bytes received per second.",
1949 "format": "int32",
1950 "type": "integer"
1951 },
1952 "targetSentPacketsPerSecond": {
1953 "description": "Target packets sent per second.",
1954 "format": "int32",
1955 "type": "integer"
1956 },
1957 "targetReceivedPacketsPerSecond": {
1958 "description": "Target packets received per second.",
1959 "format": "int32",
1960 "type": "integer"
1961 }
1962 },
1963 "type": "object"
1919 }, 1964 },
1920 "Location": { 1965 "Location": {
1921 "description": "A resource that represents Google Cloud Platform loc ation.", 1966 "description": "A resource that represents Google Cloud Platform loc ation.",
1922 "id": "Location", 1967 "id": "Location",
1923 "properties": { 1968 "properties": {
1924 "labels": { 1969 "labels": {
1925 "additionalProperties": { 1970 "additionalProperties": {
1926 "type": "string" 1971 "type": "string"
1927 }, 1972 },
1928 "description": "Cross-service attributes for the location. F or example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n", 1973 "description": "Cross-service attributes for the location. F or example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n",
(...skipping 11 matching lines...) Expand all
1940 "additionalProperties": { 1985 "additionalProperties": {
1941 "description": "Properties of the object. Contains field @type with type URL.", 1986 "description": "Properties of the object. Contains field @type with type URL.",
1942 "type": "any" 1987 "type": "any"
1943 }, 1988 },
1944 "description": "Service-specific metadata. For example the a vailable capacity at the given location.", 1989 "description": "Service-specific metadata. For example the a vailable capacity at the given location.",
1945 "type": "object" 1990 "type": "object"
1946 } 1991 }
1947 }, 1992 },
1948 "type": "object" 1993 "type": "object"
1949 }, 1994 },
1950 "NetworkUtilization": {
1951 "description": "Target scaling by network usage. Only applicable for VM runtimes.",
1952 "id": "NetworkUtilization",
1953 "properties": {
1954 "targetReceivedPacketsPerSecond": {
1955 "description": "Target packets received per second.",
1956 "format": "int32",
1957 "type": "integer"
1958 },
1959 "targetSentBytesPerSecond": {
1960 "description": "Target bytes sent per second.",
1961 "format": "int32",
1962 "type": "integer"
1963 },
1964 "targetSentPacketsPerSecond": {
1965 "description": "Target packets sent per second.",
1966 "format": "int32",
1967 "type": "integer"
1968 },
1969 "targetReceivedBytesPerSecond": {
1970 "description": "Target bytes received per second.",
1971 "format": "int32",
1972 "type": "integer"
1973 }
1974 },
1975 "type": "object"
1976 },
1977 "HealthCheck": { 1995 "HealthCheck": {
1978 "description": "Health checking configuration for VM instances. Unhe althy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.", 1996 "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.",
1979 "id": "HealthCheck", 1997 "id": "HealthCheck",
1980 "properties": { 1998 "properties": {
1999 "checkInterval": {
2000 "description": "Interval between health checks.",
2001 "format": "google-duration",
2002 "type": "string"
2003 },
2004 "timeout": {
2005 "description": "Time before the health check is considered f ailed.",
2006 "format": "google-duration",
2007 "type": "string"
2008 },
1981 "unhealthyThreshold": { 2009 "unhealthyThreshold": {
1982 "description": "Number of consecutive failed health checks r equired before removing traffic.", 2010 "description": "Number of consecutive failed health checks r equired before removing traffic.",
1983 "format": "uint32", 2011 "format": "uint32",
1984 "type": "integer" 2012 "type": "integer"
1985 }, 2013 },
1986 "disableHealthCheck": { 2014 "disableHealthCheck": {
1987 "description": "Whether to explicitly disable health checks for this instance.", 2015 "description": "Whether to explicitly disable health checks for this instance.",
1988 "type": "boolean" 2016 "type": "boolean"
1989 }, 2017 },
1990 "host": { 2018 "host": {
1991 "description": "Host header to send when performing an HTTP health check. Example: \"myapp.appspot.com\"", 2019 "description": "Host header to send when performing an HTTP health check. Example: \"myapp.appspot.com\"",
1992 "type": "string" 2020 "type": "string"
1993 }, 2021 },
1994 "restartThreshold": { 2022 "restartThreshold": {
1995 "description": "Number of consecutive failed health checks r equired before an instance is restarted.", 2023 "description": "Number of consecutive failed health checks r equired before an instance is restarted.",
1996 "format": "uint32", 2024 "format": "uint32",
1997 "type": "integer" 2025 "type": "integer"
1998 }, 2026 },
1999 "healthyThreshold": { 2027 "healthyThreshold": {
2000 "description": "Number of consecutive successful health chec ks required before receiving traffic.", 2028 "description": "Number of consecutive successful health chec ks required before receiving traffic.",
2001 "format": "uint32", 2029 "format": "uint32",
2002 "type": "integer" 2030 "type": "integer"
2003 },
2004 "checkInterval": {
2005 "description": "Interval between health checks.",
2006 "format": "google-duration",
2007 "type": "string"
2008 },
2009 "timeout": {
2010 "description": "Time before the health check is considered f ailed.",
2011 "format": "google-duration",
2012 "type": "string"
2013 } 2031 }
2014 }, 2032 },
2015 "type": "object" 2033 "type": "object"
2016 }, 2034 },
2017 "ReadinessCheck": { 2035 "ReadinessCheck": {
2018 "description": "Readiness checking configuration for VM instances. U nhealthy instances are removed from traffic rotation.", 2036 "description": "Readiness checking configuration for VM instances. U nhealthy instances are removed from traffic rotation.",
2019 "id": "ReadinessCheck", 2037 "id": "ReadinessCheck",
2020 "properties": { 2038 "properties": {
2021 "path": {
2022 "description": "The request path.",
2023 "type": "string"
2024 },
2025 "successThreshold": {
2026 "description": "Number of consecutive successful checks requ ired before receiving traffic.",
2027 "format": "uint32",
2028 "type": "integer"
2029 },
2030 "host": {
2031 "description": "Host header to send when performing a HTTP R eadiness check. Example: \"myapp.appspot.com\"",
2032 "type": "string"
2033 },
2034 "checkInterval": {
2035 "description": "Interval between health checks.",
2036 "format": "google-duration",
2037 "type": "string"
2038 },
2039 "timeout": { 2039 "timeout": {
2040 "description": "Time before the check is considered failed." , 2040 "description": "Time before the check is considered failed." ,
2041 "format": "google-duration", 2041 "format": "google-duration",
2042 "type": "string" 2042 "type": "string"
2043 }, 2043 },
2044 "failureThreshold": { 2044 "failureThreshold": {
2045 "description": "Number of consecutive failed checks required before removing traffic.", 2045 "description": "Number of consecutive failed checks required before removing traffic.",
2046 "format": "uint32", 2046 "format": "uint32",
2047 "type": "integer" 2047 "type": "integer"
2048 },
2049 "path": {
2050 "description": "The request path.",
2051 "type": "string"
2052 },
2053 "host": {
2054 "description": "Host header to send when performing a HTTP R eadiness check. Example: \"myapp.appspot.com\"",
2055 "type": "string"
2056 },
2057 "successThreshold": {
2058 "description": "Number of consecutive successful checks requ ired before receiving traffic.",
2059 "format": "uint32",
2060 "type": "integer"
2061 },
2062 "checkInterval": {
2063 "description": "Interval between health checks.",
2064 "format": "google-duration",
2065 "type": "string"
2048 } 2066 }
2049 }, 2067 },
2050 "type": "object" 2068 "type": "object"
2051 }, 2069 },
2052 "DebugInstanceRequest": { 2070 "DebugInstanceRequest": {
2053 "description": "Request message for Instances.DebugInstance.", 2071 "description": "Request message for Instances.DebugInstance.",
2054 "id": "DebugInstanceRequest", 2072 "id": "DebugInstanceRequest",
2055 "properties": { 2073 "properties": {
2056 "sshKey": { 2074 "sshKey": {
2057 "description": "Public SSH key to add to the instance. Examp les:\n[USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]\n[USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {\"userName\":\"[USERNAME]\",\"expireOn\":\"[EXPIRE_TIME]\"}For more information, see Adding and Removing SSH Keys (https://cloud.google.com/compute/ docs/instances/adding-removing-ssh-keys).", 2075 "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).",
2058 "type": "string" 2076 "type": "string"
2059 } 2077 }
2060 }, 2078 },
2061 "type": "object" 2079 "type": "object"
2062 }, 2080 },
2063 "OperationMetadataV1Beta5": { 2081 "OperationMetadataV1Beta5": {
2064 "description": "Metadata for the given google.longrunning.Operation. ", 2082 "description": "Metadata for the given google.longrunning.Operation. ",
2065 "id": "OperationMetadataV1Beta5", 2083 "id": "OperationMetadataV1Beta5",
2066 "properties": { 2084 "properties": {
2067 "insertTime": { 2085 "insertTime": {
2068 "description": "Timestamp that this operation was created.@O utputOnly", 2086 "description": "Timestamp that this operation was created.@O utputOnly",
2069 "format": "google-datetime", 2087 "format": "google-datetime",
2070 "type": "string" 2088 "type": "string"
2071 }, 2089 },
2072 "endTime": { 2090 "endTime": {
2073 "description": "Timestamp that this operation completed.@Out putOnly", 2091 "description": "Timestamp that this operation completed.@Out putOnly",
2074 "format": "google-datetime", 2092 "format": "google-datetime",
2075 "type": "string" 2093 "type": "string"
2076 }, 2094 },
2095 "target": {
2096 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
2097 "type": "string"
2098 },
2077 "user": { 2099 "user": {
2078 "description": "User who requested this operation.@OutputOnl y", 2100 "description": "User who requested this operation.@OutputOnl y",
2079 "type": "string" 2101 "type": "string"
2080 }, 2102 },
2081 "target": {
2082 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
2083 "type": "string"
2084 },
2085 "method": { 2103 "method": {
2086 "description": "API method name that initiated this operatio n. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly", 2104 "description": "API method name that initiated this operatio n. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly",
2087 "type": "string" 2105 "type": "string"
2088 } 2106 }
2089 }, 2107 },
2090 "type": "object" 2108 "type": "object"
2091 }, 2109 },
2092 "Version": { 2110 "Version": {
2093 "description": "A Version resource is a specific set of source code and configuration files that are deployed into a service.", 2111 "description": "A Version resource is a specific set of source code and configuration files that are deployed into a service.",
2094 "id": "Version", 2112 "id": "Version",
2095 "properties": { 2113 "properties": {
2114 "threadsafe": {
2115 "description": "Whether multiple requests can be dispatched to this version at once.",
2116 "type": "boolean"
2117 },
2118 "readinessCheck": {
2119 "$ref": "ReadinessCheck",
2120 "description": "Configures readiness health checking for VM instances. Unhealthy instances are not put into the backend traffic rotation.Onl y returned in GET requests if view=FULL is set."
2121 },
2122 "manualScaling": {
2123 "$ref": "ManualScaling",
2124 "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."
2125 },
2126 "name": {
2127 "description": "Full path to the Version resource in the API . Example: apps/myapp/services/default/versions/v1.@OutputOnly",
2128 "type": "string"
2129 },
2130 "apiConfig": {
2131 "$ref": "ApiConfigHandler",
2132 "description": "Serving configuration for Google Cloud Endpo ints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned i n GET requests if view=FULL is set."
2133 },
2096 "endpointsApiService": { 2134 "endpointsApiService": {
2097 "$ref": "EndpointsApiService", 2135 "$ref": "EndpointsApiService",
2098 "description": "Cloud Endpoints configuration.If endpoints_a pi_service is set, the Cloud Endpoints Extensible Service Proxy will be provided to serve the API implemented by the app." 2136 "description": "Cloud Endpoints configuration.If endpoints_a pi_service is set, the Cloud Endpoints Extensible Service Proxy will be provided to serve the API implemented by the app."
2099 }, 2137 },
2138 "vm": {
2139 "description": "Whether to deploy this version in a containe r on a virtual machine.",
2140 "type": "boolean"
2141 },
2100 "versionUrl": { 2142 "versionUrl": {
2101 "description": "Serving URL for this version. Example: \"htt ps://myversion-dot-myservice-dot-myapp.appspot.com\"@OutputOnly", 2143 "description": "Serving URL for this version. Example: \"htt ps://myversion-dot-myservice-dot-myapp.appspot.com\"@OutputOnly",
2102 "type": "string" 2144 "type": "string"
2103 }, 2145 },
2104 "vm": {
2105 "description": "Whether to deploy this version in a containe r on a virtual machine.",
2106 "type": "boolean"
2107 },
2108 "instanceClass": { 2146 "instanceClass": {
2109 "description": "Instance class that is used to run this vers ion. Valid values are:\nAutomaticScaling: F1, F2, F4, F4_1G\nManualScaling or Ba sicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.", 2147 "description": "Instance class that is used to run this vers ion. Valid values are:\nAutomaticScaling: F1, F2, F4, F4_1G\nManualScaling or Ba sicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.",
2110 "type": "string" 2148 "type": "string"
2111 }, 2149 },
2112 "servingStatus": { 2150 "servingStatus": {
2113 "description": "Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.SERVING_S TATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.", 2151 "description": "Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.SERVING_S TATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.",
2114 "enum": [ 2152 "enum": [
2115 "SERVING_STATUS_UNSPECIFIED", 2153 "SERVING_STATUS_UNSPECIFIED",
2116 "SERVING", 2154 "SERVING",
2117 "STOPPED" 2155 "STOPPED"
2118 ], 2156 ],
2119 "enumDescriptions": [ 2157 "enumDescriptions": [
2120 "Not specified.", 2158 "Not specified.",
2121 "Currently serving. Instances are created according to t he scaling settings of the version.", 2159 "Currently serving. Instances are created according to t he scaling settings of the version.",
2122 "Disabled. No instances will be created and the scaling settings are ignored until the state of the version changes to SERVING." 2160 "Disabled. No instances will be created and the scaling settings are ignored until the state of the version changes to SERVING."
2123 ], 2161 ],
2124 "type": "string" 2162 "type": "string"
2125 }, 2163 },
2126 "runtimeApiVersion": {
2127 "description": "The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud .google.com/appengine/docs/standard/<language>/config/appref",
2128 "type": "string"
2129 },
2130 "deployment": { 2164 "deployment": {
2131 "$ref": "Deployment", 2165 "$ref": "Deployment",
2132 "description": "Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set." 2166 "description": "Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set."
2133 }, 2167 },
2168 "runtimeApiVersion": {
2169 "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",
2170 "type": "string"
2171 },
2134 "createTime": { 2172 "createTime": {
2135 "description": "Time that this version was created.@OutputOn ly", 2173 "description": "Time that this version was created.@OutputOn ly",
2136 "format": "google-datetime", 2174 "format": "google-datetime",
2137 "type": "string" 2175 "type": "string"
2138 }, 2176 },
2139 "resources": {
2140 "$ref": "Resources",
2141 "description": "Machine resources for this version. Only app licable for VM runtimes."
2142 },
2143 "inboundServices": { 2177 "inboundServices": {
2144 "description": "Before an application can receive email or X MPP messages, the application must be configured to enable the service.", 2178 "description": "Before an application can receive email or X MPP messages, the application must be configured to enable the service.",
2145 "enumDescriptions": [ 2179 "enumDescriptions": [
2146 "Not specified.", 2180 "Not specified.",
2147 "Allows an application to receive mail.", 2181 "Allows an application to receive mail.",
2148 "Allows an application to receive email-bound notificati ons.", 2182 "Allows an application to receive email-bound notificati ons.",
2149 "Allows an application to receive error stanzas.", 2183 "Allows an application to receive error stanzas.",
2150 "Allows an application to receive instant messages.", 2184 "Allows an application to receive instant messages.",
2151 "Allows an application to receive user subscription POST s.", 2185 "Allows an application to receive user subscription POST s.",
2152 "Allows an application to receive a user's chat presence .", 2186 "Allows an application to receive a user's chat presence .",
2153 "Registers an application for notifications when a clien t connects or disconnects from a channel.", 2187 "Registers an application for notifications when a clien t connects or disconnects from a channel.",
2154 "Enables warmup requests." 2188 "Enables warmup requests."
2155 ], 2189 ],
2156 "items": { 2190 "items": {
2157 "enum": [ 2191 "enum": [
2158 "INBOUND_SERVICE_UNSPECIFIED", 2192 "INBOUND_SERVICE_UNSPECIFIED",
2159 "INBOUND_SERVICE_MAIL", 2193 "INBOUND_SERVICE_MAIL",
2160 "INBOUND_SERVICE_MAIL_BOUNCE", 2194 "INBOUND_SERVICE_MAIL_BOUNCE",
2161 "INBOUND_SERVICE_XMPP_ERROR", 2195 "INBOUND_SERVICE_XMPP_ERROR",
2162 "INBOUND_SERVICE_XMPP_MESSAGE", 2196 "INBOUND_SERVICE_XMPP_MESSAGE",
2163 "INBOUND_SERVICE_XMPP_SUBSCRIBE", 2197 "INBOUND_SERVICE_XMPP_SUBSCRIBE",
2164 "INBOUND_SERVICE_XMPP_PRESENCE", 2198 "INBOUND_SERVICE_XMPP_PRESENCE",
2165 "INBOUND_SERVICE_CHANNEL_PRESENCE", 2199 "INBOUND_SERVICE_CHANNEL_PRESENCE",
2166 "INBOUND_SERVICE_WARMUP" 2200 "INBOUND_SERVICE_WARMUP"
2167 ], 2201 ],
2168 "type": "string" 2202 "type": "string"
2169 }, 2203 },
2170 "type": "array" 2204 "type": "array"
2171 }, 2205 },
2206 "resources": {
2207 "$ref": "Resources",
2208 "description": "Machine resources for this version. Only app licable for VM runtimes."
2209 },
2172 "errorHandlers": { 2210 "errorHandlers": {
2173 "description": "Custom static error pages. Limited to 10KB p er page.Only returned in GET requests if view=FULL is set.", 2211 "description": "Custom static error pages. Limited to 10KB p er page.Only returned in GET requests if view=FULL is set.",
2174 "items": { 2212 "items": {
2175 "$ref": "ErrorHandler" 2213 "$ref": "ErrorHandler"
2176 }, 2214 },
2177 "type": "array" 2215 "type": "array"
2178 }, 2216 },
2179 "defaultExpiration": { 2217 "defaultExpiration": {
2180 "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.", 2218 "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.",
2181 "format": "google-duration", 2219 "format": "google-duration",
(...skipping 11 matching lines...) Expand all
2193 "type": "string" 2231 "type": "string"
2194 }, 2232 },
2195 "basicScaling": { 2233 "basicScaling": {
2196 "$ref": "BasicScaling", 2234 "$ref": "BasicScaling",
2197 "description": "A service with basic scaling will create an instance when the application receives a request. The instance will be turned do wn when the app becomes idle. Basic scaling is ideal for work that is intermitte nt or driven by user activity." 2235 "description": "A service with basic scaling will create an instance when the application receives a request. The instance will be turned do wn when the app becomes idle. Basic scaling is ideal for work that is intermitte nt or driven by user activity."
2198 }, 2236 },
2199 "runtime": { 2237 "runtime": {
2200 "description": "Desired runtime. Example: python27.", 2238 "description": "Desired runtime. Example: python27.",
2201 "type": "string" 2239 "type": "string"
2202 }, 2240 },
2241 "createdBy": {
2242 "description": "Email address of the user who created this v ersion.@OutputOnly",
2243 "type": "string"
2244 },
2203 "id": { 2245 "id": {
2204 "description": "Relative name of the version within the serv ice. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: \"default\", \"latest\", and any name with the prefix \ "ah-\".", 2246 "description": "Relative name of the version within the serv ice. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: \"default\", \"latest\", and any name with the prefix \ "ah-\".",
2205 "type": "string" 2247 "type": "string"
2206 }, 2248 },
2207 "createdBy": {
2208 "description": "Email address of the user who created this v ersion.@OutputOnly",
2209 "type": "string"
2210 },
2211 "envVariables": { 2249 "envVariables": {
2212 "additionalProperties": { 2250 "additionalProperties": {
2213 "type": "string" 2251 "type": "string"
2214 }, 2252 },
2215 "description": "Environment variables available to the appli cation.Only returned in GET requests if view=FULL is set.", 2253 "description": "Environment variables available to the appli cation.Only returned in GET requests if view=FULL is set.",
2216 "type": "object" 2254 "type": "object"
2217 }, 2255 },
2218 "livenessCheck": { 2256 "livenessCheck": {
2219 "$ref": "LivenessCheck", 2257 "$ref": "LivenessCheck",
2220 "description": "Configures liveness health checking for VM i nstances. Unhealthy instances are stopped and replaced with new instancesOnly re turned in GET requests if view=FULL is set." 2258 "description": "Configures liveness health checking for VM i nstances. Unhealthy instances are stopped and replaced with new instancesOnly re turned in GET requests if view=FULL is set."
(...skipping 25 matching lines...) Expand all
2246 "description": "Automatic scaling is based on request rate, response latencies, and other application metrics." 2284 "description": "Automatic scaling is based on request rate, response latencies, and other application metrics."
2247 }, 2285 },
2248 "diskUsageBytes": { 2286 "diskUsageBytes": {
2249 "description": "Total size in bytes of all the files that ar e included in this version and curerntly hosted on the App Engine disk.@OutputOn ly", 2287 "description": "Total size in bytes of all the files that ar e included in this version and curerntly hosted on the App Engine disk.@OutputOn ly",
2250 "format": "int64", 2288 "format": "int64",
2251 "type": "string" 2289 "type": "string"
2252 }, 2290 },
2253 "healthCheck": { 2291 "healthCheck": {
2254 "$ref": "HealthCheck", 2292 "$ref": "HealthCheck",
2255 "description": "Configures health checking for VM instances. Unhealthy instances are stopped and replaced with new instances. Only applicabl e for VM runtimes.Only returned in GET requests if view=FULL is set." 2293 "description": "Configures health checking for VM instances. Unhealthy instances are stopped and replaced with new instances. Only applicabl e for VM runtimes.Only returned in GET requests if view=FULL is set."
2256 },
2257 "threadsafe": {
2258 "description": "Whether multiple requests can be dispatched to this version at once.",
2259 "type": "boolean"
2260 },
2261 "readinessCheck": {
2262 "$ref": "ReadinessCheck",
2263 "description": "Configures readiness health checking for VM instances. Unhealthy instances are not put into the backend traffic rotation.Onl y returned in GET requests if view=FULL is set."
2264 },
2265 "manualScaling": {
2266 "$ref": "ManualScaling",
2267 "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."
2268 },
2269 "name": {
2270 "description": "Full path to the Version resource in the API . Example: apps/myapp/services/default/versions/v1.@OutputOnly",
2271 "type": "string"
2272 },
2273 "apiConfig": {
2274 "$ref": "ApiConfigHandler",
2275 "description": "Serving configuration for Google Cloud Endpo ints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned i n GET requests if view=FULL is set."
2276 } 2294 }
2277 }, 2295 },
2278 "type": "object" 2296 "type": "object"
2279 }, 2297 },
2280 "RepairApplicationRequest": { 2298 "RepairApplicationRequest": {
2281 "description": "Request message for 'Applications.RepairApplication' .", 2299 "description": "Request message for 'Applications.RepairApplication' .",
2282 "id": "RepairApplicationRequest", 2300 "id": "RepairApplicationRequest",
2283 "properties": {}, 2301 "properties": {},
2284 "type": "object" 2302 "type": "object"
2285 }, 2303 },
2304 "ScriptHandler": {
2305 "description": "Executes a script to handle the request that matches the URL pattern.",
2306 "id": "ScriptHandler",
2307 "properties": {
2308 "scriptPath": {
2309 "description": "Path to the script from the application root directory.",
2310 "type": "string"
2311 }
2312 },
2313 "type": "object"
2314 },
2286 "FileInfo": { 2315 "FileInfo": {
2287 "description": "Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.", 2316 "description": "Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.",
2288 "id": "FileInfo", 2317 "id": "FileInfo",
2289 "properties": { 2318 "properties": {
2290 "mimeType": {
2291 "description": "The MIME type of the file.Defaults to the va lue from Google Cloud Storage.",
2292 "type": "string"
2293 },
2294 "sourceUrl": { 2319 "sourceUrl": {
2295 "description": "URL source to use to fetch this file. Must b e a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.goo gleapis.com/<bucket>/<object>'.", 2320 "description": "URL source to use to fetch this file. Must b e a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.goo gleapis.com/<bucket>/<object>'.",
2296 "type": "string" 2321 "type": "string"
2297 }, 2322 },
2298 "sha1Sum": { 2323 "sha1Sum": {
2299 "description": "The SHA1 hash of the file, in hex.", 2324 "description": "The SHA1 hash of the file, in hex.",
2300 "type": "string" 2325 "type": "string"
2301 } 2326 },
2302 }, 2327 "mimeType": {
2303 "type": "object" 2328 "description": "The MIME type of the file.Defaults to the va lue from Google Cloud Storage.",
2304 },
2305 "ScriptHandler": {
2306 "description": "Executes a script to handle the request that matches the URL pattern.",
2307 "id": "ScriptHandler",
2308 "properties": {
2309 "scriptPath": {
2310 "description": "Path to the script from the application root directory.",
2311 "type": "string" 2329 "type": "string"
2312 } 2330 }
2313 }, 2331 },
2314 "type": "object" 2332 "type": "object"
2315 }, 2333 },
2316 "OperationMetadataExperimental": { 2334 "OperationMetadataExperimental": {
2317 "description": "Metadata for the given google.longrunning.Operation. ", 2335 "description": "Metadata for the given google.longrunning.Operation. ",
2318 "id": "OperationMetadataExperimental", 2336 "id": "OperationMetadataExperimental",
2319 "properties": { 2337 "properties": {
2320 "method": { 2338 "method": {
2321 "description": "API method that initiated this operation. Ex ample: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnl y", 2339 "description": "API method that initiated this operation. Ex ample: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnl y",
2322 "type": "string" 2340 "type": "string"
2323 }, 2341 },
2324 "insertTime": { 2342 "insertTime": {
2325 "description": "Time that this operation was created.@Output Only", 2343 "description": "Time that this operation was created.@Output Only",
2326 "format": "google-datetime", 2344 "format": "google-datetime",
2327 "type": "string" 2345 "type": "string"
2328 }, 2346 },
2329 "endTime": { 2347 "endTime": {
2330 "description": "Time that this operation completed.@OutputOn ly", 2348 "description": "Time that this operation completed.@OutputOn ly",
2331 "format": "google-datetime", 2349 "format": "google-datetime",
2332 "type": "string" 2350 "type": "string"
2333 }, 2351 },
2352 "target": {
2353 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly",
2354 "type": "string"
2355 },
2334 "user": { 2356 "user": {
2335 "description": "User who requested this operation.@OutputOnl y", 2357 "description": "User who requested this operation.@OutputOnl y",
2336 "type": "string" 2358 "type": "string"
2337 },
2338 "target": {
2339 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly",
2340 "type": "string"
2341 } 2359 }
2342 }, 2360 },
2343 "type": "object" 2361 "type": "object"
2344 }, 2362 },
2345 "TrafficSplit": { 2363 "TrafficSplit": {
2346 "description": "Traffic routing configuration for versions within a single service. Traffic splits define how traffic directed to the service is ass igned to versions.", 2364 "description": "Traffic routing configuration for versions within a single service. Traffic splits define how traffic directed to the service is ass igned to versions.",
2347 "id": "TrafficSplit", 2365 "id": "TrafficSplit",
2348 "properties": { 2366 "properties": {
2367 "allocations": {
2368 "additionalProperties": {
2369 "format": "double",
2370 "type": "number"
2371 },
2372 "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.",
2373 "type": "object"
2374 },
2349 "shardBy": { 2375 "shardBy": {
2350 "description": "Mechanism used to determine which version a request is sent to. The traffic selection algorithm will be stable for either ty pe until allocations are changed.", 2376 "description": "Mechanism used to determine which version a request is sent to. The traffic selection algorithm will be stable for either ty pe until allocations are changed.",
2351 "enum": [ 2377 "enum": [
2352 "UNSPECIFIED", 2378 "UNSPECIFIED",
2353 "COOKIE", 2379 "COOKIE",
2354 "IP", 2380 "IP",
2355 "RANDOM" 2381 "RANDOM"
2356 ], 2382 ],
2357 "enumDescriptions": [ 2383 "enumDescriptions": [
2358 "Diversion method unspecified.", 2384 "Diversion method unspecified.",
2359 "Diversion based on a specially named cookie, \"GOOGAPPU ID.\" The cookie must be set by the application itself or no diversion will occu r.", 2385 "Diversion based on a specially named cookie, \"GOOGAPPU ID.\" The cookie must be set by the application itself or no diversion will occu r.",
2360 "Diversion based on applying the modulus operation to a fingerprint of the IP address.", 2386 "Diversion based on applying the modulus operation to a fingerprint of the IP address.",
2361 "Diversion based on weighted random assignment. An incom ing request is randomly routed to a version in the traffic split, with probabili ty proportional to the version's traffic share." 2387 "Diversion based on weighted random assignment. An incom ing request is randomly routed to a version in the traffic split, with probabili ty proportional to the version's traffic share."
2362 ], 2388 ],
2363 "type": "string" 2389 "type": "string"
2364 },
2365 "allocations": {
2366 "additionalProperties": {
2367 "format": "double",
2368 "type": "number"
2369 },
2370 "description": "Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version c an be specified only once, but some versions in the service may not have any tra ffic allocation. Services that have traffic allocated cannot be deleted until ei ther the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based split s and up to three decimal places is supported for cookie-based splits.",
2371 "type": "object"
2372 } 2390 }
2373 }, 2391 },
2374 "type": "object" 2392 "type": "object"
2375 }, 2393 },
2376 "OperationMetadataV1Beta": { 2394 "OperationMetadataV1Beta": {
2377 "description": "Metadata for the given google.longrunning.Operation. ", 2395 "description": "Metadata for the given google.longrunning.Operation. ",
2378 "id": "OperationMetadataV1Beta", 2396 "id": "OperationMetadataV1Beta",
2379 "properties": { 2397 "properties": {
2380 "endTime": { 2398 "endTime": {
2381 "description": "Time that this operation completed.@OutputOn ly", 2399 "description": "Time that this operation completed.@OutputOn ly",
2382 "format": "google-datetime", 2400 "format": "google-datetime",
2383 "type": "string" 2401 "type": "string"
2384 }, 2402 },
2385 "warning": { 2403 "warning": {
2386 "description": "Durable messages that persist on every opera tion poll. @OutputOnly", 2404 "description": "Durable messages that persist on every opera tion poll. @OutputOnly",
2387 "items": { 2405 "items": {
2388 "type": "string" 2406 "type": "string"
2389 }, 2407 },
2390 "type": "array" 2408 "type": "array"
2391 }, 2409 },
2392 "insertTime": { 2410 "insertTime": {
2393 "description": "Time that this operation was created.@Output Only", 2411 "description": "Time that this operation was created.@Output Only",
2394 "format": "google-datetime", 2412 "format": "google-datetime",
2395 "type": "string" 2413 "type": "string"
2396 }, 2414 },
2415 "target": {
2416 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
2417 "type": "string"
2418 },
2397 "user": { 2419 "user": {
2398 "description": "User who requested this operation.@OutputOnl y", 2420 "description": "User who requested this operation.@OutputOnl y",
2399 "type": "string" 2421 "type": "string"
2400 }, 2422 },
2401 "target": {
2402 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
2403 "type": "string"
2404 },
2405 "ephemeralMessage": { 2423 "ephemeralMessage": {
2406 "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly", 2424 "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly",
2407 "type": "string" 2425 "type": "string"
2408 }, 2426 },
2409 "method": { 2427 "method": {
2410 "description": "API method that initiated this operation. Ex ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly", 2428 "description": "API method that initiated this operation. Ex ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly",
2411 "type": "string" 2429 "type": "string"
2412 } 2430 }
2413 }, 2431 },
2414 "type": "object" 2432 "type": "object"
2415 }, 2433 },
2416 "ListServicesResponse": { 2434 "ListServicesResponse": {
2417 "description": "Response message for Services.ListServices.", 2435 "description": "Response message for Services.ListServices.",
2418 "id": "ListServicesResponse", 2436 "id": "ListServicesResponse",
2419 "properties": { 2437 "properties": {
2438 "nextPageToken": {
2439 "description": "Continuation token for fetching the next pag e of results.",
2440 "type": "string"
2441 },
2420 "services": { 2442 "services": {
2421 "description": "The services belonging to the requested appl ication.", 2443 "description": "The services belonging to the requested appl ication.",
2422 "items": { 2444 "items": {
2423 "$ref": "Service" 2445 "$ref": "Service"
2424 }, 2446 },
2425 "type": "array" 2447 "type": "array"
2426 },
2427 "nextPageToken": {
2428 "description": "Continuation token for fetching the next pag e of results.",
2429 "type": "string"
2430 } 2448 }
2431 }, 2449 },
2432 "type": "object" 2450 "type": "object"
2433 }, 2451 },
2434 "Resources": { 2452 "Resources": {
2435 "description": "Machine resources for a version.", 2453 "description": "Machine resources for a version.",
2436 "id": "Resources", 2454 "id": "Resources",
2437 "properties": { 2455 "properties": {
2438 "volumes": { 2456 "volumes": {
2439 "description": "User specified volumes.", 2457 "description": "User specified volumes.",
2440 "items": { 2458 "items": {
2441 "$ref": "Volume" 2459 "$ref": "Volume"
2442 }, 2460 },
2443 "type": "array" 2461 "type": "array"
2444 }, 2462 },
2445 "diskGb": { 2463 "diskGb": {
2446 "description": "Disk size (GB) needed.", 2464 "description": "Disk size (GB) needed.",
2447 "format": "double", 2465 "format": "double",
2448 "type": "number" 2466 "type": "number"
2449 }, 2467 },
2468 "memoryGb": {
2469 "description": "Memory (GB) needed.",
2470 "format": "double",
2471 "type": "number"
2472 },
2450 "cpu": { 2473 "cpu": {
2451 "description": "Number of CPU cores needed.", 2474 "description": "Number of CPU cores needed.",
2452 "format": "double", 2475 "format": "double",
2453 "type": "number" 2476 "type": "number"
2454 },
2455 "memoryGb": {
2456 "description": "Memory (GB) needed.",
2457 "format": "double",
2458 "type": "number"
2459 } 2477 }
2460 }, 2478 },
2461 "type": "object" 2479 "type": "object"
2462 }, 2480 },
2463 "Deployment": { 2481 "Deployment": {
2464 "description": "Code and application artifacts used to deploy a vers ion to App Engine.", 2482 "description": "Code and application artifacts used to deploy a vers ion to App Engine.",
2465 "id": "Deployment", 2483 "id": "Deployment",
2466 "properties": { 2484 "properties": {
2467 "files": { 2485 "files": {
2468 "additionalProperties": { 2486 "additionalProperties": {
(...skipping 25 matching lines...) Expand all
2494 "name": { 2512 "name": {
2495 "description": "Unique name for the volume.", 2513 "description": "Unique name for the volume.",
2496 "type": "string" 2514 "type": "string"
2497 }, 2515 },
2498 "volumeType": { 2516 "volumeType": {
2499 "description": "Underlying volume type, e.g. 'tmpfs'.", 2517 "description": "Underlying volume type, e.g. 'tmpfs'.",
2500 "type": "string" 2518 "type": "string"
2501 } 2519 }
2502 }, 2520 },
2503 "type": "object" 2521 "type": "object"
2504 },
2505 "ListInstancesResponse": {
2506 "description": "Response message for Instances.ListInstances.",
2507 "id": "ListInstancesResponse",
2508 "properties": {
2509 "nextPageToken": {
2510 "description": "Continuation token for fetching the next pag e of results.",
2511 "type": "string"
2512 },
2513 "instances": {
2514 "description": "The instances belonging to the requested ver sion.",
2515 "items": {
2516 "$ref": "Instance"
2517 },
2518 "type": "array"
2519 }
2520 },
2521 "type": "object"
2522 } 2522 }
2523 }, 2523 },
2524 "servicePath": "", 2524 "servicePath": "",
2525 "title": "Google App Engine Admin API", 2525 "title": "Google App Engine Admin API",
2526 "version": "v1" 2526 "version": "v1"
2527 } 2527 }
OLDNEW
« no previous file with comments | « discovery/googleapis/androidenterprise__v1.json ('k') | discovery/googleapis/appsactivity__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698