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

Side by Side Diff: discovery/googleapis/appengine__v1.json

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 4 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
« no previous file with comments | « discovery/googleapis/androidmanagement__v1.json ('k') | discovery/googleapis/appstate__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform.read-only": {
6 "description": "View your data across Google Cloud Platform services"
7 },
8 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
9 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
10 }, 7 },
11 "https://www.googleapis.com/auth/appengine.admin": { 8 "https://www.googleapis.com/auth/appengine.admin": {
12 "description": "View and manage your applications deployed o n Google App Engine" 9 "description": "View and manage your applications deployed o n Google App Engine"
10 },
11 "https://www.googleapis.com/auth/cloud-platform.read-only": {
12 "description": "View your data across Google Cloud Platform services"
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 "access_token": {
34 "description": "OAuth access token.",
35 "location": "query",
36 "type": "string"
37 },
38 "key": {
39 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
40 "location": "query",
41 "type": "string"
42 },
43 "quotaUser": {
44 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
45 "location": "query",
46 "type": "string"
47 },
48 "pp": {
49 "default": "true",
50 "description": "Pretty-print response.",
51 "location": "query",
52 "type": "boolean"
53 },
54 "bearer_token": {
55 "description": "OAuth bearer token.",
56 "location": "query",
57 "type": "string"
58 },
59 "oauth_token": {
60 "description": "OAuth 2.0 token for the current user.",
61 "location": "query",
62 "type": "string"
63 },
33 "upload_protocol": { 64 "upload_protocol": {
34 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 65 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
35 "location": "query", 66 "location": "query",
36 "type": "string" 67 "type": "string"
37 }, 68 },
38 "prettyPrint": { 69 "prettyPrint": {
39 "default": "true", 70 "default": "true",
40 "description": "Returns response with indentations and line breaks." , 71 "description": "Returns response with indentations and line breaks." ,
41 "location": "query", 72 "location": "query",
42 "type": "boolean" 73 "type": "boolean"
43 }, 74 },
75 "uploadType": {
76 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
77 "location": "query",
78 "type": "string"
79 },
44 "fields": { 80 "fields": {
45 "description": "Selector specifying which fields to include in a par tial response.", 81 "description": "Selector specifying which fields to include in a par tial response.",
46 "location": "query", 82 "location": "query",
47 "type": "string" 83 "type": "string"
48 }, 84 },
49 "uploadType": {
50 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
51 "location": "query",
52 "type": "string"
53 },
54 "callback": {
55 "description": "JSONP",
56 "location": "query",
57 "type": "string"
58 },
59 "$.xgafv": { 85 "$.xgafv": {
60 "description": "V1 error format.", 86 "description": "V1 error format.",
61 "enum": [ 87 "enum": [
62 "1", 88 "1",
63 "2" 89 "2"
64 ], 90 ],
65 "enumDescriptions": [ 91 "enumDescriptions": [
66 "v1 error format", 92 "v1 error format",
67 "v2 error format" 93 "v2 error format"
68 ], 94 ],
69 "location": "query", 95 "location": "query",
70 "type": "string" 96 "type": "string"
71 }, 97 },
98 "callback": {
99 "description": "JSONP",
100 "location": "query",
101 "type": "string"
102 },
72 "alt": { 103 "alt": {
73 "default": "json", 104 "default": "json",
74 "description": "Data format for response.", 105 "description": "Data format for response.",
75 "enum": [ 106 "enum": [
76 "json", 107 "json",
77 "media", 108 "media",
78 "proto" 109 "proto"
79 ], 110 ],
80 "enumDescriptions": [ 111 "enumDescriptions": [
81 "Responses with Content-Type of application/json", 112 "Responses with Content-Type of application/json",
82 "Media download with context-dependent Content-Type", 113 "Media download with context-dependent Content-Type",
83 "Responses with Content-Type of application/x-protobuf" 114 "Responses with Content-Type of application/x-protobuf"
84 ], 115 ],
85 "location": "query", 116 "location": "query",
86 "type": "string" 117 "type": "string"
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 },
93 "access_token": {
94 "description": "OAuth access token.",
95 "location": "query",
96 "type": "string"
97 },
98 "quotaUser": {
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.",
100 "location": "query",
101 "type": "string"
102 },
103 "pp": {
104 "default": "true",
105 "description": "Pretty-print response.",
106 "location": "query",
107 "type": "boolean"
108 },
109 "oauth_token": {
110 "description": "OAuth 2.0 token for the current user.",
111 "location": "query",
112 "type": "string"
113 },
114 "bearer_token": {
115 "description": "OAuth bearer token.",
116 "location": "query",
117 "type": "string"
118 } 118 }
119 }, 119 },
120 "protocol": "rest", 120 "protocol": "rest",
121 "resources": { 121 "resources": {
122 "apps": { 122 "apps": {
123 "methods": { 123 "methods": {
124 "patch": { 124 "create": {
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.", 125 "description": "Creates an App Engine application for a Goog le Cloud Platform project. Required fields:\nid - The ID of the target Cloud Pla tform project.\nlocation - The region (https://cloud.google.com/appengine/docs/l ocations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/python/console/).",
126 "httpMethod": "PATCH", 126 "httpMethod": "POST",
127 "id": "appengine.apps.patch", 127 "id": "appengine.apps.create",
128 "parameterOrder": [],
129 "parameters": {},
130 "path": "v1/apps",
131 "request": {
132 "$ref": "Application"
133 },
134 "response": {
135 "$ref": "Operation"
136 },
137 "scopes": [
138 "https://www.googleapis.com/auth/cloud-platform"
139 ]
140 },
141 "repair": {
142 "description": "Recreates the required App Engine features f or the specified App Engine application, for example a Cloud Storage bucket or A pp Engine service account. Use this method if you receive an error message about a missing feature, for example, Error retrieving the App Engine service account .",
143 "httpMethod": "POST",
144 "id": "appengine.apps.repair",
128 "parameterOrder": [ 145 "parameterOrder": [
129 "appsId" 146 "appsId"
130 ], 147 ],
131 "parameters": { 148 "parameters": {
132 "appsId": { 149 "appsId": {
133 "description": "Part of `name`. Name of the Applicat ion resource to update. Example: apps/myapp.", 150 "description": "Part of `name`. Name of the applicat ion to repair. Example: apps/myapp",
134 "location": "path", 151 "location": "path",
135 "required": true, 152 "required": true,
136 "type": "string" 153 "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"
143 } 154 }
144 }, 155 },
145 "path": "v1/apps/{appsId}", 156 "path": "v1/apps/{appsId}:repair",
146 "request": { 157 "request": {
147 "$ref": "Application" 158 "$ref": "RepairApplicationRequest"
148 }, 159 },
149 "response": { 160 "response": {
150 "$ref": "Operation" 161 "$ref": "Operation"
151 }, 162 },
152 "scopes": [ 163 "scopes": [
153 "https://www.googleapis.com/auth/cloud-platform" 164 "https://www.googleapis.com/auth/cloud-platform"
154 ] 165 ]
155 }, 166 },
156 "get": { 167 "patch": {
157 "description": "Gets information about an application.", 168 "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.",
158 "httpMethod": "GET", 169 "httpMethod": "PATCH",
159 "id": "appengine.apps.get", 170 "id": "appengine.apps.patch",
160 "parameterOrder": [ 171 "parameterOrder": [
161 "appsId" 172 "appsId"
162 ], 173 ],
163 "parameters": { 174 "parameters": {
175 "updateMask": {
176 "description": "Standard field mask for the set of f ields to be updated.",
177 "format": "google-fieldmask",
178 "location": "query",
179 "type": "string"
180 },
164 "appsId": { 181 "appsId": {
165 "description": "Part of `name`. Name of the Applicat ion resource to get. Example: apps/myapp.", 182 "description": "Part of `name`. Name of the Applicat ion resource to update. Example: apps/myapp.",
166 "location": "path", 183 "location": "path",
167 "required": true, 184 "required": true,
168 "type": "string" 185 "type": "string"
169 } 186 }
170 }, 187 },
171 "path": "v1/apps/{appsId}", 188 "path": "v1/apps/{appsId}",
172 "response": {
173 "$ref": "Application"
174 },
175 "scopes": [
176 "https://www.googleapis.com/auth/appengine.admin",
177 "https://www.googleapis.com/auth/cloud-platform",
178 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
179 ]
180 },
181 "create": {
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/).",
183 "httpMethod": "POST",
184 "id": "appengine.apps.create",
185 "parameterOrder": [],
186 "parameters": {},
187 "path": "v1/apps",
188 "request": { 189 "request": {
189 "$ref": "Application" 190 "$ref": "Application"
190 }, 191 },
191 "response": { 192 "response": {
192 "$ref": "Operation" 193 "$ref": "Operation"
193 }, 194 },
194 "scopes": [ 195 "scopes": [
195 "https://www.googleapis.com/auth/cloud-platform" 196 "https://www.googleapis.com/auth/cloud-platform"
196 ] 197 ]
197 }, 198 },
198 "repair": { 199 "get": {
199 "description": "Recreates the required App Engine features f or the specified App Engine application, for example a Cloud Storage bucket or A pp Engine service account. Use this method if you receive an error message about a missing feature, for example, Error retrieving the App Engine service account .", 200 "description": "Gets information about an application.",
200 "httpMethod": "POST", 201 "httpMethod": "GET",
201 "id": "appengine.apps.repair", 202 "id": "appengine.apps.get",
202 "parameterOrder": [ 203 "parameterOrder": [
203 "appsId" 204 "appsId"
204 ], 205 ],
205 "parameters": { 206 "parameters": {
206 "appsId": { 207 "appsId": {
207 "description": "Part of `name`. Name of the applicat ion to repair. Example: apps/myapp", 208 "description": "Part of `name`. Name of the Applicat ion resource to get. Example: apps/myapp.",
208 "location": "path", 209 "location": "path",
209 "required": true, 210 "required": true,
210 "type": "string" 211 "type": "string"
211 } 212 }
212 }, 213 },
213 "path": "v1/apps/{appsId}:repair", 214 "path": "v1/apps/{appsId}",
214 "request": {
215 "$ref": "RepairApplicationRequest"
216 },
217 "response": { 215 "response": {
218 "$ref": "Operation" 216 "$ref": "Application"
219 }, 217 },
220 "scopes": [ 218 "scopes": [
221 "https://www.googleapis.com/auth/cloud-platform" 219 "https://www.googleapis.com/auth/appengine.admin",
220 "https://www.googleapis.com/auth/cloud-platform",
221 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
222 ] 222 ]
223 } 223 }
224 }, 224 },
225 "resources": { 225 "resources": {
226 "operations": { 226 "operations": {
227 "methods": { 227 "methods": {
228 "get": { 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.", 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", 230 "httpMethod": "GET",
231 "id": "appengine.apps.operations.get", 231 "id": "appengine.apps.operations.get",
(...skipping 26 matching lines...) Expand all
258 ] 258 ]
259 }, 259 },
260 "list": { 260 "list": {
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.", 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.",
262 "httpMethod": "GET", 262 "httpMethod": "GET",
263 "id": "appengine.apps.operations.list", 263 "id": "appengine.apps.operations.list",
264 "parameterOrder": [ 264 "parameterOrder": [
265 "appsId" 265 "appsId"
266 ], 266 ],
267 "parameters": { 267 "parameters": {
268 "pageSize": {
269 "description": "The standard list page size. ",
270 "format": "int32",
271 "location": "query",
272 "type": "integer"
273 },
274 "filter": {
275 "description": "The standard list filter.",
276 "location": "query",
277 "type": "string"
278 },
279 "pageToken": { 268 "pageToken": {
280 "description": "The standard list page token .", 269 "description": "The standard list page token .",
281 "location": "query", 270 "location": "query",
282 "type": "string" 271 "type": "string"
283 }, 272 },
284 "appsId": { 273 "appsId": {
285 "description": "Part of `name`. The name of the operation's parent resource.", 274 "description": "Part of `name`. The name of the operation's parent resource.",
286 "location": "path", 275 "location": "path",
287 "required": true, 276 "required": true,
288 "type": "string" 277 "type": "string"
278 },
279 "pageSize": {
280 "description": "The standard list page size. ",
281 "format": "int32",
282 "location": "query",
283 "type": "integer"
284 },
285 "filter": {
286 "description": "The standard list filter.",
287 "location": "query",
288 "type": "string"
289 } 289 }
290 }, 290 },
291 "path": "v1/apps/{appsId}/operations", 291 "path": "v1/apps/{appsId}/operations",
292 "response": { 292 "response": {
293 "$ref": "ListOperationsResponse" 293 "$ref": "ListOperationsResponse"
294 }, 294 },
295 "scopes": [ 295 "scopes": [
296 "https://www.googleapis.com/auth/appengine.admin ", 296 "https://www.googleapis.com/auth/appengine.admin ",
297 "https://www.googleapis.com/auth/cloud-platform" , 297 "https://www.googleapis.com/auth/cloud-platform" ,
298 "https://www.googleapis.com/auth/cloud-platform. read-only" 298 "https://www.googleapis.com/auth/cloud-platform. read-only"
299 ] 299 ]
300 } 300 }
301 } 301 }
302 }, 302 },
303 "locations": { 303 "locations": {
304 "methods": { 304 "methods": {
305 "get": { 305 "get": {
306 "description": "Get information about a location.", 306 "description": "Get information about a location.",
307 "httpMethod": "GET", 307 "httpMethod": "GET",
308 "id": "appengine.apps.locations.get", 308 "id": "appengine.apps.locations.get",
309 "parameterOrder": [ 309 "parameterOrder": [
310 "appsId", 310 "appsId",
311 "locationsId" 311 "locationsId"
312 ], 312 ],
313 "parameters": { 313 "parameters": {
314 "appsId": {
315 "description": "Part of `name`. Resource nam e for the location.",
316 "location": "path",
317 "required": true,
318 "type": "string"
319 },
314 "locationsId": { 320 "locationsId": {
315 "description": "Part of `name`. See document ation of `appsId`.", 321 "description": "Part of `name`. See document ation of `appsId`.",
316 "location": "path", 322 "location": "path",
317 "required": true, 323 "required": true,
318 "type": "string" 324 "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 } 325 }
326 }, 326 },
327 "path": "v1/apps/{appsId}/locations/{locationsId}", 327 "path": "v1/apps/{appsId}/locations/{locationsId}",
328 "response": { 328 "response": {
329 "$ref": "Location" 329 "$ref": "Location"
330 }, 330 },
331 "scopes": [ 331 "scopes": [
332 "https://www.googleapis.com/auth/appengine.admin ", 332 "https://www.googleapis.com/auth/appengine.admin ",
333 "https://www.googleapis.com/auth/cloud-platform" , 333 "https://www.googleapis.com/auth/cloud-platform" ,
334 "https://www.googleapis.com/auth/cloud-platform. read-only" 334 "https://www.googleapis.com/auth/cloud-platform. read-only"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 "scopes": [ 372 "scopes": [
373 "https://www.googleapis.com/auth/appengine.admin ", 373 "https://www.googleapis.com/auth/appengine.admin ",
374 "https://www.googleapis.com/auth/cloud-platform" , 374 "https://www.googleapis.com/auth/cloud-platform" ,
375 "https://www.googleapis.com/auth/cloud-platform. read-only" 375 "https://www.googleapis.com/auth/cloud-platform. read-only"
376 ] 376 ]
377 } 377 }
378 } 378 }
379 }, 379 },
380 "services": { 380 "services": {
381 "methods": { 381 "methods": {
382 "delete": {
383 "description": "Deletes the specified service and al l enclosed versions.",
384 "httpMethod": "DELETE",
385 "id": "appengine.apps.services.delete",
386 "parameterOrder": [
387 "appsId",
388 "servicesId"
389 ],
390 "parameters": {
391 "servicesId": {
392 "description": "Part of `name`. See document ation of `appsId`.",
393 "location": "path",
394 "required": true,
395 "type": "string"
396 },
397 "appsId": {
398 "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.",
399 "location": "path",
400 "required": true,
401 "type": "string"
402 }
403 },
404 "path": "v1/apps/{appsId}/services/{servicesId}",
405 "response": {
406 "$ref": "Operation"
407 },
408 "scopes": [
409 "https://www.googleapis.com/auth/cloud-platform"
410 ]
411 },
382 "patch": { 412 "patch": {
383 "description": "Updates the configuration of the spe cified service.", 413 "description": "Updates the configuration of the spe cified service.",
384 "httpMethod": "PATCH", 414 "httpMethod": "PATCH",
385 "id": "appengine.apps.services.patch", 415 "id": "appengine.apps.services.patch",
386 "parameterOrder": [ 416 "parameterOrder": [
387 "appsId", 417 "appsId",
388 "servicesId" 418 "servicesId"
389 ], 419 ],
390 "parameters": { 420 "parameters": {
391 "migrateTraffic": {
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": { 421 "updateMask": {
397 "description": "Standard field mask for the set of fields to be updated.", 422 "description": "Standard field mask for the set of fields to be updated.",
398 "format": "google-fieldmask", 423 "format": "google-fieldmask",
399 "location": "query", 424 "location": "query",
400 "type": "string" 425 "type": "string"
401 }, 426 },
402 "servicesId": { 427 "servicesId": {
403 "description": "Part of `name`. See document ation of `appsId`.", 428 "description": "Part of `name`. See document ation of `appsId`.",
404 "location": "path", 429 "location": "path",
405 "required": true, 430 "required": true,
406 "type": "string" 431 "type": "string"
407 }, 432 },
408 "appsId": { 433 "appsId": {
409 "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/services/default.", 434 "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/services/default.",
410 "location": "path", 435 "location": "path",
411 "required": true, 436 "required": true,
412 "type": "string" 437 "type": "string"
438 },
439 "migrateTraffic": {
440 "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).",
441 "location": "query",
442 "type": "boolean"
413 } 443 }
414 }, 444 },
415 "path": "v1/apps/{appsId}/services/{servicesId}", 445 "path": "v1/apps/{appsId}/services/{servicesId}",
416 "request": { 446 "request": {
417 "$ref": "Service" 447 "$ref": "Service"
418 }, 448 },
419 "response": { 449 "response": {
420 "$ref": "Operation" 450 "$ref": "Operation"
421 }, 451 },
422 "scopes": [ 452 "scopes": [
423 "https://www.googleapis.com/auth/cloud-platform" 453 "https://www.googleapis.com/auth/cloud-platform"
424 ] 454 ]
425 }, 455 },
426 "get": { 456 "get": {
427 "description": "Gets the current configuration of th e specified service.", 457 "description": "Gets the current configuration of th e specified service.",
428 "httpMethod": "GET", 458 "httpMethod": "GET",
429 "id": "appengine.apps.services.get", 459 "id": "appengine.apps.services.get",
430 "parameterOrder": [ 460 "parameterOrder": [
431 "appsId", 461 "appsId",
432 "servicesId" 462 "servicesId"
433 ], 463 ],
434 "parameters": { 464 "parameters": {
465 "appsId": {
466 "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.",
467 "location": "path",
468 "required": true,
469 "type": "string"
470 },
435 "servicesId": { 471 "servicesId": {
436 "description": "Part of `name`. See document ation of `appsId`.", 472 "description": "Part of `name`. See document ation of `appsId`.",
437 "location": "path", 473 "location": "path",
438 "required": true, 474 "required": true,
439 "type": "string" 475 "type": "string"
440 },
441 "appsId": {
442 "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.",
443 "location": "path",
444 "required": true,
445 "type": "string"
446 } 476 }
447 }, 477 },
448 "path": "v1/apps/{appsId}/services/{servicesId}", 478 "path": "v1/apps/{appsId}/services/{servicesId}",
449 "response": { 479 "response": {
450 "$ref": "Service" 480 "$ref": "Service"
451 }, 481 },
452 "scopes": [ 482 "scopes": [
453 "https://www.googleapis.com/auth/appengine.admin ", 483 "https://www.googleapis.com/auth/appengine.admin ",
454 "https://www.googleapis.com/auth/cloud-platform" , 484 "https://www.googleapis.com/auth/cloud-platform" ,
455 "https://www.googleapis.com/auth/cloud-platform. read-only" 485 "https://www.googleapis.com/auth/cloud-platform. read-only"
(...skipping 27 matching lines...) Expand all
483 }, 513 },
484 "path": "v1/apps/{appsId}/services", 514 "path": "v1/apps/{appsId}/services",
485 "response": { 515 "response": {
486 "$ref": "ListServicesResponse" 516 "$ref": "ListServicesResponse"
487 }, 517 },
488 "scopes": [ 518 "scopes": [
489 "https://www.googleapis.com/auth/appengine.admin ", 519 "https://www.googleapis.com/auth/appengine.admin ",
490 "https://www.googleapis.com/auth/cloud-platform" , 520 "https://www.googleapis.com/auth/cloud-platform" ,
491 "https://www.googleapis.com/auth/cloud-platform. read-only" 521 "https://www.googleapis.com/auth/cloud-platform. read-only"
492 ] 522 ]
493 },
494 "delete": {
495 "description": "Deletes the specified service and al l enclosed versions.",
496 "httpMethod": "DELETE",
497 "id": "appengine.apps.services.delete",
498 "parameterOrder": [
499 "appsId",
500 "servicesId"
501 ],
502 "parameters": {
503 "servicesId": {
504 "description": "Part of `name`. See document ation of `appsId`.",
505 "location": "path",
506 "required": true,
507 "type": "string"
508 },
509 "appsId": {
510 "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.",
511 "location": "path",
512 "required": true,
513 "type": "string"
514 }
515 },
516 "path": "v1/apps/{appsId}/services/{servicesId}",
517 "response": {
518 "$ref": "Operation"
519 },
520 "scopes": [
521 "https://www.googleapis.com/auth/cloud-platform"
522 ]
523 } 523 }
524 }, 524 },
525 "resources": { 525 "resources": {
526 "versions": { 526 "versions": {
527 "methods": { 527 "methods": {
528 "delete": { 528 "delete": {
529 "description": "Deletes an existing Version resource.", 529 "description": "Deletes an existing Version resource.",
530 "httpMethod": "DELETE", 530 "httpMethod": "DELETE",
531 "id": "appengine.apps.services.versions.dele te", 531 "id": "appengine.apps.services.versions.dele te",
532 "parameterOrder": [ 532 "parameterOrder": [
533 "appsId", 533 "appsId",
534 "servicesId", 534 "servicesId",
535 "versionsId" 535 "versionsId"
536 ], 536 ],
537 "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": { 538 "appsId": {
545 "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.", 539 "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.",
546 "location": "path", 540 "location": "path",
547 "required": true, 541 "required": true,
548 "type": "string" 542 "type": "string"
549 }, 543 },
550 "versionsId": { 544 "versionsId": {
551 "description": "Part of `name`. See documentation of `appsId`.", 545 "description": "Part of `name`. See documentation of `appsId`.",
552 "location": "path", 546 "location": "path",
553 "required": true, 547 "required": true,
548 "type": "string"
549 },
550 "servicesId": {
551 "description": "Part of `name`. See documentation of `appsId`.",
552 "location": "path",
553 "required": true,
554 "type": "string" 554 "type": "string"
555 } 555 }
556 }, 556 },
557 "path": "v1/apps/{appsId}/services/{services Id}/versions/{versionsId}", 557 "path": "v1/apps/{appsId}/services/{services Id}/versions/{versionsId}",
558 "response": { 558 "response": {
559 "$ref": "Operation" 559 "$ref": "Operation"
560 }, 560 },
561 "scopes": [ 561 "scopes": [
562 "https://www.googleapis.com/auth/cloud-p latform" 562 "https://www.googleapis.com/auth/cloud-p latform"
563 ] 563 ]
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 }, 658 },
659 "list": { 659 "list": {
660 "description": "Lists the versions of a serv ice.", 660 "description": "Lists the versions of a serv ice.",
661 "httpMethod": "GET", 661 "httpMethod": "GET",
662 "id": "appengine.apps.services.versions.list ", 662 "id": "appengine.apps.services.versions.list ",
663 "parameterOrder": [ 663 "parameterOrder": [
664 "appsId", 664 "appsId",
665 "servicesId" 665 "servicesId"
666 ], 666 ],
667 "parameters": { 667 "parameters": {
668 "pageSize": {
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": { 668 "servicesId": {
684 "description": "Part of `parent`. Se e documentation of `appsId`.", 669 "description": "Part of `parent`. Se e documentation of `appsId`.",
685 "location": "path", 670 "location": "path",
686 "required": true, 671 "required": true,
687 "type": "string" 672 "type": "string"
688 }, 673 },
689 "pageToken": { 674 "pageToken": {
690 "description": "Continuation token f or fetching the next page of results.", 675 "description": "Continuation token f or fetching the next page of results.",
691 "location": "query", 676 "location": "query",
692 "type": "string" 677 "type": "string"
693 }, 678 },
694 "appsId": { 679 "appsId": {
695 "description": "Part of `parent`. Na me of the parent Service resource. Example: apps/myapp/services/default.", 680 "description": "Part of `parent`. Na me of the parent Service resource. Example: apps/myapp/services/default.",
696 "location": "path", 681 "location": "path",
697 "required": true, 682 "required": true,
698 "type": "string" 683 "type": "string"
684 },
685 "pageSize": {
686 "description": "Maximum results to r eturn per page.",
687 "format": "int32",
688 "location": "query",
689 "type": "integer"
690 },
691 "view": {
692 "description": "Controls the set of fields returned in the List response.",
693 "enum": [
694 "BASIC",
695 "FULL"
696 ],
697 "location": "query",
698 "type": "string"
699 } 699 }
700 }, 700 },
701 "path": "v1/apps/{appsId}/services/{services Id}/versions", 701 "path": "v1/apps/{appsId}/services/{services Id}/versions",
702 "response": { 702 "response": {
703 "$ref": "ListVersionsResponse" 703 "$ref": "ListVersionsResponse"
704 }, 704 },
705 "scopes": [ 705 "scopes": [
706 "https://www.googleapis.com/auth/appengi ne.admin", 706 "https://www.googleapis.com/auth/appengi ne.admin",
707 "https://www.googleapis.com/auth/cloud-p latform", 707 "https://www.googleapis.com/auth/cloud-p latform",
708 "https://www.googleapis.com/auth/cloud-p latform.read-only" 708 "https://www.googleapis.com/auth/cloud-p latform.read-only"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 "versionsId": {
760 "description": "Part of `nam e`. See documentation of `appsId`.",
761 "location": "path",
762 "required": true,
763 "type": "string"
764 },
759 "servicesId": { 765 "servicesId": {
760 "description": "Part of `nam e`. See documentation of `appsId`.", 766 "description": "Part of `nam e`. See documentation of `appsId`.",
761 "location": "path", 767 "location": "path",
762 "required": true, 768 "required": true,
763 "type": "string" 769 "type": "string"
764 }, 770 },
765 "instancesId": { 771 "instancesId": {
766 "description": "Part of `nam e`. See documentation of `appsId`.", 772 "description": "Part of `nam e`. See documentation of `appsId`.",
767 "location": "path", 773 "location": "path",
768 "required": true, 774 "required": true,
769 "type": "string" 775 "type": "string"
770 }, 776 },
771 "appsId": { 777 "appsId": {
772 "description": "Part of `nam e`. Name of the resource requested. Example: apps/myapp/services/default/version s/v1/instances/instance-1.", 778 "description": "Part of `nam e`. Name of the resource requested. Example: apps/myapp/services/default/version s/v1/instances/instance-1.",
773 "location": "path", 779 "location": "path",
774 "required": true, 780 "required": true,
775 "type": "string" 781 "type": "string"
776 },
777 "versionsId": {
778 "description": "Part of `nam e`. See documentation of `appsId`.",
779 "location": "path",
780 "required": true,
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 "get": { 792 "get": {
793 "description": "Gets instance inform ation.", 793 "description": "Gets instance inform ation.",
794 "httpMethod": "GET", 794 "httpMethod": "GET",
795 "id": "appengine.apps.services.versi ons.instances.get", 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 "instancesId"
801 ], 801 ],
802 "parameters": { 802 "parameters": {
803 "servicesId": {
804 "description": "Part of `nam e`. See documentation of `appsId`.",
805 "location": "path",
806 "required": true,
807 "type": "string"
808 },
809 "instancesId": { 803 "instancesId": {
810 "description": "Part of `nam e`. See documentation of `appsId`.", 804 "description": "Part of `nam e`. See documentation of `appsId`.",
811 "location": "path", 805 "location": "path",
812 "required": true, 806 "required": true,
813 "type": "string" 807 "type": "string"
814 }, 808 },
815 "appsId": { 809 "appsId": {
816 "description": "Part of `nam e`. Name of the resource requested. Example: apps/myapp/services/default/version s/v1/instances/instance-1.", 810 "description": "Part of `nam e`. Name of the resource requested. Example: apps/myapp/services/default/version s/v1/instances/instance-1.",
817 "location": "path", 811 "location": "path",
818 "required": true, 812 "required": true,
819 "type": "string" 813 "type": "string"
820 }, 814 },
821 "versionsId": { 815 "versionsId": {
822 "description": "Part of `nam e`. See documentation of `appsId`.", 816 "description": "Part of `nam e`. See documentation of `appsId`.",
823 "location": "path", 817 "location": "path",
824 "required": true, 818 "required": true,
825 "type": "string" 819 "type": "string"
820 },
821 "servicesId": {
822 "description": "Part of `nam e`. See documentation of `appsId`.",
823 "location": "path",
824 "required": true,
825 "type": "string"
826 } 826 }
827 }, 827 },
828 "path": "v1/apps/{appsId}/services/{ servicesId}/versions/{versionsId}/instances/{instancesId}", 828 "path": "v1/apps/{appsId}/services/{ servicesId}/versions/{versionsId}/instances/{instancesId}",
829 "response": { 829 "response": {
830 "$ref": "Instance" 830 "$ref": "Instance"
831 }, 831 },
832 "scopes": [ 832 "scopes": [
833 "https://www.googleapis.com/auth /appengine.admin", 833 "https://www.googleapis.com/auth /appengine.admin",
834 "https://www.googleapis.com/auth /cloud-platform", 834 "https://www.googleapis.com/auth /cloud-platform",
835 "https://www.googleapis.com/auth /cloud-platform.read-only" 835 "https://www.googleapis.com/auth /cloud-platform.read-only"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 } 934 }
935 } 935 }
936 } 936 }
937 } 937 }
938 } 938 }
939 } 939 }
940 } 940 }
941 } 941 }
942 } 942 }
943 }, 943 },
944 "revision": "20170626", 944 "revision": "20170721",
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 },
965 "OperationMetadataV1Alpha": {
966 "description": "Metadata for the given google.longrunning.Operation. ",
967 "id": "OperationMetadataV1Alpha",
968 "properties": {
969 "warning": {
970 "description": "Durable messages that persist on every opera tion poll. @OutputOnly",
971 "items": {
972 "type": "string"
973 },
974 "type": "array"
975 },
976 "insertTime": {
977 "description": "Time that this operation was created.@Output Only",
978 "format": "google-datetime",
979 "type": "string"
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 },
985 "user": {
986 "description": "User who requested this operation.@OutputOnl y",
987 "type": "string"
988 },
989 "ephemeralMessage": {
990 "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly",
991 "type": "string"
992 },
993 "method": {
994 "description": "API method that initiated this operation. Ex ample: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly",
995 "type": "string"
996 },
997 "endTime": {
998 "description": "Time that this operation completed.@OutputOn ly",
999 "format": "google-datetime",
1000 "type": "string"
1001 }
1002 },
1003 "type": "object"
1004 },
1005 "UrlDispatchRule": {
1006 "description": "Rules to match an HTTP request and dispatch that req uest to a service.",
1007 "id": "UrlDispatchRule",
1008 "properties": {
1009 "path": {
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.",
1011 "type": "string"
1012 },
1013 "service": {
1014 "description": "Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.",
1015 "type": "string"
1016 },
1017 "domain": {
1018 "description": "Domain name to match against. The wildcard \ "*\" is supported if specified before a period: \"*.\".Defaults to matching all domains: \"*\".",
1019 "type": "string"
1020 }
1021 },
1022 "type": "object"
1023 },
1024 "ListVersionsResponse": {
1025 "description": "Response message for Versions.ListVersions.",
1026 "id": "ListVersionsResponse",
1027 "properties": {
1028 "nextPageToken": {
1029 "description": "Continuation token for fetching the next pag e of results.",
1030 "type": "string"
1031 },
1032 "versions": {
1033 "description": "The versions belonging to the requested serv ice.",
1034 "items": {
1035 "$ref": "Version"
1036 },
1037 "type": "array"
1038 }
1039 },
1040 "type": "object"
1041 },
1042 "ApiEndpointHandler": {
1043 "description": "Uses Google Cloud Endpoints to handle requests.",
1044 "id": "ApiEndpointHandler",
1045 "properties": {
1046 "scriptPath": {
1047 "description": "Path to the script from the application root directory.",
1048 "type": "string"
1049 }
1050 },
1051 "type": "object"
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 },
1069 "AutomaticScaling": {
1070 "description": "Automatic scaling is based on request rate, response latencies, and other application metrics.",
1071 "id": "AutomaticScaling",
1072 "properties": {
1073 "minPendingLatency": {
1074 "description": "Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.",
1075 "format": "google-duration",
1076 "type": "string"
1077 },
1078 "maxIdleInstances": {
1079 "description": "Maximum number of idle instances that should be maintained for this version.",
1080 "format": "int32",
1081 "type": "integer"
1082 },
1083 "requestUtilization": {
1084 "$ref": "RequestUtilization",
1085 "description": "Target scaling by request utilization."
1086 },
1087 "minIdleInstances": {
1088 "description": "Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a se rvice.",
1089 "format": "int32",
1090 "type": "integer"
1091 },
1092 "maxTotalInstances": {
1093 "description": "Maximum number of instances that should be s tarted to handle requests.",
1094 "format": "int32",
1095 "type": "integer"
1096 },
1097 "minTotalInstances": {
1098 "description": "Minimum number of instances that should be m aintained for this version.",
1099 "format": "int32",
1100 "type": "integer"
1101 },
1102 "networkUtilization": {
1103 "$ref": "NetworkUtilization",
1104 "description": "Target scaling by network usage."
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 },
1111 "coolDownPeriod": {
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.",
1113 "format": "google-duration",
1114 "type": "string"
1115 },
1116 "maxPendingLatency": {
1117 "description": "Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.",
1118 "format": "google-duration",
1119 "type": "string"
1120 },
1121 "cpuUtilization": {
1122 "$ref": "CpuUtilization",
1123 "description": "Target scaling by CPU usage."
1124 },
1125 "diskUtilization": {
1126 "$ref": "DiskUtilization",
1127 "description": "Target scaling by disk usage."
1128 }
1129 },
1130 "type": "object"
1131 },
1132 "Library": {
1133 "description": "Third-party Python runtime library that is required by the application.",
1134 "id": "Library",
1135 "properties": {
1136 "name": {
1137 "description": "Name of the library. Example: \"django\".",
1138 "type": "string"
1139 },
1140 "version": {
1141 "description": "Version of the library to select, or \"lates t\".",
1142 "type": "string"
1143 }
1144 },
1145 "type": "object"
1146 },
1147 "ListLocationsResponse": {
1148 "description": "The response message for Locations.ListLocations.",
1149 "id": "ListLocationsResponse",
1150 "properties": {
1151 "locations": {
1152 "description": "A list of locations that matches the specifi ed filter in the request.",
1153 "items": {
1154 "$ref": "Location"
1155 },
1156 "type": "array"
1157 },
1158 "nextPageToken": {
1159 "description": "The standard List next-page token.",
1160 "type": "string"
1161 }
1162 },
1163 "type": "object"
1164 },
1165 "ContainerInfo": {
1166 "description": "Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instanc es running in the App Engine flexible environment.",
1167 "id": "ContainerInfo",
1168 "properties": {
1169 "image": {
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\" ",
1171 "type": "string"
1172 }
1173 },
1174 "type": "object"
1175 },
1176 "RequestUtilization": {
1177 "description": "Target scaling by request utilization. Only applicab le for VM runtimes.",
1178 "id": "RequestUtilization",
1179 "properties": {
1180 "targetRequestCountPerSecond": {
1181 "description": "Target requests per second.",
1182 "format": "int32",
1183 "type": "integer"
1184 },
1185 "targetConcurrentRequests": {
1186 "description": "Target number of concurrent requests.",
1187 "format": "int32",
1188 "type": "integer"
1189 }
1190 },
1191 "type": "object"
1192 },
1193 "EndpointsApiService": {
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).",
1195 "id": "EndpointsApiService",
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 },
1201 "name": {
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\"",
1203 "type": "string"
1204 }
1205 },
1206 "type": "object"
1207 },
1208 "UrlMap": { 947 "UrlMap": {
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.", 948 "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.",
1210 "id": "UrlMap", 949 "id": "UrlMap",
1211 "properties": { 950 "properties": {
951 "script": {
952 "$ref": "ScriptHandler",
953 "description": "Executes a script to handle the request that matches this URL pattern."
954 },
955 "urlRegex": {
956 "description": "URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain gr oupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.",
957 "type": "string"
958 },
959 "login": {
960 "description": "Level of login required to access this resou rce.",
961 "enum": [
962 "LOGIN_UNSPECIFIED",
963 "LOGIN_OPTIONAL",
964 "LOGIN_ADMIN",
965 "LOGIN_REQUIRED"
966 ],
967 "enumDescriptions": [
968 "Not specified. LOGIN_OPTIONAL is assumed.",
969 "Does not require that the user is signed in.",
970 "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.",
971 "If the user has signed in, the handler proceeds normall y. Otherwise, the auth_fail_action is taken."
972 ],
973 "type": "string"
974 },
975 "apiEndpoint": {
976 "$ref": "ApiEndpointHandler",
977 "description": "Uses API Endpoints to handle requests."
978 },
979 "staticFiles": {
980 "$ref": "StaticFilesHandler",
981 "description": "Returns the contents of a file, such as an i mage, as the response."
982 },
1212 "redirectHttpResponseCode": { 983 "redirectHttpResponseCode": {
1213 "description": "30x code to use when performing redirects fo r the secure field. Defaults to 302.", 984 "description": "30x code to use when performing redirects fo r the secure field. Defaults to 302.",
1214 "enum": [ 985 "enum": [
1215 "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", 986 "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED",
1216 "REDIRECT_HTTP_RESPONSE_CODE_301", 987 "REDIRECT_HTTP_RESPONSE_CODE_301",
1217 "REDIRECT_HTTP_RESPONSE_CODE_302", 988 "REDIRECT_HTTP_RESPONSE_CODE_302",
1218 "REDIRECT_HTTP_RESPONSE_CODE_303", 989 "REDIRECT_HTTP_RESPONSE_CODE_303",
1219 "REDIRECT_HTTP_RESPONSE_CODE_307" 990 "REDIRECT_HTTP_RESPONSE_CODE_307"
1220 ], 991 ],
1221 "enumDescriptions": [ 992 "enumDescriptions": [
(...skipping 29 matching lines...) Expand all
1251 "AUTH_FAIL_ACTION_UNSPECIFIED", 1022 "AUTH_FAIL_ACTION_UNSPECIFIED",
1252 "AUTH_FAIL_ACTION_REDIRECT", 1023 "AUTH_FAIL_ACTION_REDIRECT",
1253 "AUTH_FAIL_ACTION_UNAUTHORIZED" 1024 "AUTH_FAIL_ACTION_UNAUTHORIZED"
1254 ], 1025 ],
1255 "enumDescriptions": [ 1026 "enumDescriptions": [
1256 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", 1027 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.",
1257 "Redirects user to \"accounts.google.com\". The user is redirected back to the application URL after signing in or creating an account." , 1028 "Redirects user to \"accounts.google.com\". The user is redirected back to the application URL after signing in or creating an account." ,
1258 "Rejects request with a 401 HTTP status code and an erro r message." 1029 "Rejects request with a 401 HTTP status code and an erro r message."
1259 ], 1030 ],
1260 "type": "string" 1031 "type": "string"
1261 }, 1032 }
1262 "script": { 1033 },
1263 "$ref": "ScriptHandler", 1034 "type": "object"
1264 "description": "Executes a script to handle the request that matches this URL pattern." 1035 },
1265 }, 1036 "EndpointsApiService": {
1266 "urlRegex": { 1037 "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).",
1267 "description": "URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain gr oupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.", 1038 "id": "EndpointsApiService",
1039 "properties": {
1040 "configId": {
1041 "description": "Endpoints service configuration id as specif ied by the Service Management API. For example \"2016-09-19r1\"",
1268 "type": "string" 1042 "type": "string"
1269 }, 1043 },
1044 "name": {
1045 "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\"",
1046 "type": "string"
1047 }
1048 },
1049 "type": "object"
1050 },
1051 "Operation": {
1052 "description": "This resource represents a long-running operation th at is the result of a network API call.",
1053 "id": "Operation",
1054 "properties": {
1055 "response": {
1056 "additionalProperties": {
1057 "description": "Properties of the object. Contains field @type with type URL.",
1058 "type": "any"
1059 },
1060 "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Cr eate/Update, the response should be the resource. For other methods, the respons e should have the type XxxResponse, where Xxx is the original method name. For e xample, if the original method name is TakeSnapshot(), the inferred response typ e is TakeSnapshotResponse.",
1061 "type": "object"
1062 },
1063 "name": {
1064 "description": "The server-assigned name, which is only uniq ue within the same service that originally returns it. If you use the default HT TP mapping, the name should have the format of operations/some/unique/name.",
1065 "type": "string"
1066 },
1067 "error": {
1068 "$ref": "Status",
1069 "description": "The error result of the operation in case of failure or cancellation."
1070 },
1071 "metadata": {
1072 "additionalProperties": {
1073 "description": "Properties of the object. Contains field @type with type URL.",
1074 "type": "any"
1075 },
1076 "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.",
1077 "type": "object"
1078 },
1079 "done": {
1080 "description": "If the value is false, it means the operatio n is still in progress. If true, the operation is completed, and either error or response is available.",
1081 "type": "boolean"
1082 }
1083 },
1084 "type": "object"
1085 },
1086 "ApiConfigHandler": {
1087 "description": "Google Cloud Endpoints (https://cloud.google.com/app engine/docs/python/endpoints/) configuration for API handlers.",
1088 "id": "ApiConfigHandler",
1089 "properties": {
1270 "login": { 1090 "login": {
1271 "description": "Level of login required to access this resou rce.", 1091 "description": "Level of login required to access this resou rce. Defaults to optional.",
1272 "enum": [ 1092 "enum": [
1273 "LOGIN_UNSPECIFIED", 1093 "LOGIN_UNSPECIFIED",
1274 "LOGIN_OPTIONAL", 1094 "LOGIN_OPTIONAL",
1275 "LOGIN_ADMIN", 1095 "LOGIN_ADMIN",
1276 "LOGIN_REQUIRED" 1096 "LOGIN_REQUIRED"
1277 ], 1097 ],
1278 "enumDescriptions": [ 1098 "enumDescriptions": [
1279 "Not specified. LOGIN_OPTIONAL is assumed.", 1099 "Not specified. LOGIN_OPTIONAL is assumed.",
1280 "Does not require that the user is signed in.", 1100 "Does not require that the user is signed in.",
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.", 1101 "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.",
1282 "If the user has signed in, the handler proceeds normall y. Otherwise, the auth_fail_action is taken." 1102 "If the user has signed in, the handler proceeds normall y. Otherwise, the auth_fail_action is taken."
1283 ], 1103 ],
1284 "type": "string" 1104 "type": "string"
1285 }, 1105 },
1286 "apiEndpoint": { 1106 "url": {
1287 "$ref": "ApiEndpointHandler", 1107 "description": "URL to serve the endpoint at.",
1288 "description": "Uses API Endpoints to handle requests." 1108 "type": "string"
1289 }, 1109 },
1290 "staticFiles": {
1291 "$ref": "StaticFilesHandler",
1292 "description": "Returns the contents of a file, such as an i mage, as the response."
1293 }
1294 },
1295 "type": "object"
1296 },
1297 "ApiConfigHandler": {
1298 "description": "Google Cloud Endpoints (https://cloud.google.com/app engine/docs/python/endpoints/) configuration for API handlers.",
1299 "id": "ApiConfigHandler",
1300 "properties": {
1301 "securityLevel": { 1110 "securityLevel": {
1302 "description": "Security (HTTPS) enforcement for this URL.", 1111 "description": "Security (HTTPS) enforcement for this URL.",
1303 "enum": [ 1112 "enum": [
1304 "SECURE_UNSPECIFIED", 1113 "SECURE_UNSPECIFIED",
1305 "SECURE_DEFAULT", 1114 "SECURE_DEFAULT",
1306 "SECURE_NEVER", 1115 "SECURE_NEVER",
1307 "SECURE_OPTIONAL", 1116 "SECURE_OPTIONAL",
1308 "SECURE_ALWAYS" 1117 "SECURE_ALWAYS"
1309 ], 1118 ],
1310 "enumDescriptions": [ 1119 "enumDescriptions": [
(...skipping 15 matching lines...) Expand all
1326 "enumDescriptions": [ 1135 "enumDescriptions": [
1327 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", 1136 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.",
1328 "Redirects user to \"accounts.google.com\". The user is redirected back to the application URL after signing in or creating an account." , 1137 "Redirects user to \"accounts.google.com\". The user is redirected back to the application URL after signing in or creating an account." ,
1329 "Rejects request with a 401 HTTP status code and an erro r message." 1138 "Rejects request with a 401 HTTP status code and an erro r message."
1330 ], 1139 ],
1331 "type": "string" 1140 "type": "string"
1332 }, 1141 },
1333 "script": { 1142 "script": {
1334 "description": "Path to the script from the application root directory.", 1143 "description": "Path to the script from the application root directory.",
1335 "type": "string" 1144 "type": "string"
1336 },
1337 "login": {
1338 "description": "Level of login required to access this resou rce. Defaults to optional.",
1339 "enum": [
1340 "LOGIN_UNSPECIFIED",
1341 "LOGIN_OPTIONAL",
1342 "LOGIN_ADMIN",
1343 "LOGIN_REQUIRED"
1344 ],
1345 "enumDescriptions": [
1346 "Not specified. LOGIN_OPTIONAL is assumed.",
1347 "Does not require that the user is signed in.",
1348 "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.",
1349 "If the user has signed in, the handler proceeds normall y. Otherwise, the auth_fail_action is taken."
1350 ],
1351 "type": "string"
1352 },
1353 "url": {
1354 "description": "URL to serve the endpoint at.",
1355 "type": "string"
1356 } 1145 }
1357 }, 1146 },
1358 "type": "object" 1147 "type": "object"
1359 },
1360 "Operation": {
1361 "description": "This resource represents a long-running operation th at is the result of a network API call.",
1362 "id": "Operation",
1363 "properties": {
1364 "done": {
1365 "description": "If the value is false, it means the operatio n is still in progress. If true, the operation is completed, and either error or response is available.",
1366 "type": "boolean"
1367 },
1368 "response": {
1369 "additionalProperties": {
1370 "description": "Properties of the object. Contains field @type with type URL.",
1371 "type": "any"
1372 },
1373 "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Cr eate/Update, the response should be the resource. For other methods, the respons e should have the type XxxResponse, where Xxx is the original method name. For e xample, if the original method name is TakeSnapshot(), the inferred response typ e is TakeSnapshotResponse.",
1374 "type": "object"
1375 },
1376 "name": {
1377 "description": "The server-assigned name, which is only uniq ue within the same service that originally returns it. If you use the default HT TP mapping, the name should have the format of operations/some/unique/name.",
1378 "type": "string"
1379 },
1380 "error": {
1381 "$ref": "Status",
1382 "description": "The error result of the operation in case of failure or cancellation."
1383 },
1384 "metadata": {
1385 "additionalProperties": {
1386 "description": "Properties of the object. Contains field @type with type URL.",
1387 "type": "any"
1388 },
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.",
1390 "type": "object"
1391 }
1392 },
1393 "type": "object"
1394 }, 1148 },
1395 "StaticFilesHandler": { 1149 "StaticFilesHandler": {
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.", 1150 "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.",
1397 "id": "StaticFilesHandler", 1151 "id": "StaticFilesHandler",
1398 "properties": { 1152 "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 },
1403 "expiration": {
1404 "description": "Time a static file served by this handler sh ould be cached by web proxies and browsers.",
1405 "format": "google-duration",
1406 "type": "string"
1407 },
1408 "httpHeaders": { 1153 "httpHeaders": {
1409 "additionalProperties": { 1154 "additionalProperties": {
1410 "type": "string" 1155 "type": "string"
1411 }, 1156 },
1412 "description": "HTTP headers to use for all responses from t hese URLs.", 1157 "description": "HTTP headers to use for all responses from t hese URLs.",
1413 "type": "object" 1158 "type": "object"
1414 }, 1159 },
1415 "applicationReadable": { 1160 "applicationReadable": {
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.", 1161 "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.",
1417 "type": "boolean" 1162 "type": "boolean"
1418 }, 1163 },
1419 "uploadPathRegex": { 1164 "uploadPathRegex": {
1420 "description": "Regular expression that matches the file pat hs for all files that should be referenced by this handler.", 1165 "description": "Regular expression that matches the file pat hs for all files that should be referenced by this handler.",
1421 "type": "string" 1166 "type": "string"
1422 }, 1167 },
1423 "path": { 1168 "path": {
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.", 1169 "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.",
1425 "type": "string" 1170 "type": "string"
1426 }, 1171 },
1427 "mimeType": { 1172 "mimeType": {
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.", 1173 "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.",
1429 "type": "string" 1174 "type": "string"
1175 },
1176 "requireMatchingFile": {
1177 "description": "Whether this handler should match the reques t if the file referenced by the handler does not exist.",
1178 "type": "boolean"
1179 },
1180 "expiration": {
1181 "description": "Time a static file served by this handler sh ould be cached by web proxies and browsers.",
1182 "format": "google-duration",
1183 "type": "string"
1430 } 1184 }
1431 }, 1185 },
1432 "type": "object" 1186 "type": "object"
1433 }, 1187 },
1434 "DiskUtilization": { 1188 "DiskUtilization": {
1435 "description": "Target scaling by disk usage. Only applicable for VM runtimes.", 1189 "description": "Target scaling by disk usage. Only applicable for VM runtimes.",
1436 "id": "DiskUtilization", 1190 "id": "DiskUtilization",
1437 "properties": { 1191 "properties": {
1192 "targetWriteBytesPerSecond": {
1193 "description": "Target bytes written per second.",
1194 "format": "int32",
1195 "type": "integer"
1196 },
1438 "targetReadOpsPerSecond": { 1197 "targetReadOpsPerSecond": {
1439 "description": "Target ops read per seconds.", 1198 "description": "Target ops read per seconds.",
1440 "format": "int32", 1199 "format": "int32",
1441 "type": "integer" 1200 "type": "integer"
1442 }, 1201 },
1443 "targetReadBytesPerSecond": { 1202 "targetReadBytesPerSecond": {
1444 "description": "Target bytes read per second.", 1203 "description": "Target bytes read per second.",
1445 "format": "int32", 1204 "format": "int32",
1446 "type": "integer" 1205 "type": "integer"
1447 }, 1206 },
1448 "targetWriteOpsPerSecond": { 1207 "targetWriteOpsPerSecond": {
1449 "description": "Target ops written per second.", 1208 "description": "Target ops written per second.",
1450 "format": "int32", 1209 "format": "int32",
1451 "type": "integer" 1210 "type": "integer"
1452 },
1453 "targetWriteBytesPerSecond": {
1454 "description": "Target bytes written per second.",
1455 "format": "int32",
1456 "type": "integer"
1457 } 1211 }
1458 }, 1212 },
1459 "type": "object" 1213 "type": "object"
1460 }, 1214 },
1461 "BasicScaling": { 1215 "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.", 1216 "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", 1217 "id": "BasicScaling",
1464 "properties": { 1218 "properties": {
1219 "idleTimeout": {
1220 "description": "Duration of time after the last request that an instance must wait before the instance is shut down.",
1221 "format": "google-duration",
1222 "type": "string"
1223 },
1465 "maxInstances": { 1224 "maxInstances": {
1466 "description": "Maximum number of instances to create for th is version.", 1225 "description": "Maximum number of instances to create for th is version.",
1467 "format": "int32", 1226 "format": "int32",
1468 "type": "integer" 1227 "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 } 1228 }
1475 }, 1229 },
1476 "type": "object" 1230 "type": "object"
1477 }, 1231 },
1478 "CpuUtilization": { 1232 "CpuUtilization": {
1479 "description": "Target scaling by CPU usage.", 1233 "description": "Target scaling by CPU usage.",
1480 "id": "CpuUtilization", 1234 "id": "CpuUtilization",
1481 "properties": { 1235 "properties": {
1482 "aggregationWindowLength": { 1236 "aggregationWindowLength": {
1483 "description": "Period of time over which CPU utilization is calculated.", 1237 "description": "Period of time over which CPU utilization is calculated.",
1484 "format": "google-duration", 1238 "format": "google-duration",
1485 "type": "string" 1239 "type": "string"
1486 }, 1240 },
1487 "targetUtilization": { 1241 "targetUtilization": {
1488 "description": "Target CPU utilization ratio to maintain whe n scaling. Must be between 0 and 1.", 1242 "description": "Target CPU utilization ratio to maintain whe n scaling. Must be between 0 and 1.",
1489 "format": "double", 1243 "format": "double",
1490 "type": "number" 1244 "type": "number"
1491 } 1245 }
1492 }, 1246 },
1493 "type": "object" 1247 "type": "object"
1494 }, 1248 },
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 },
1522 "IdentityAwareProxy": { 1249 "IdentityAwareProxy": {
1523 "description": "Identity-Aware Proxy", 1250 "description": "Identity-Aware Proxy",
1524 "id": "IdentityAwareProxy", 1251 "id": "IdentityAwareProxy",
1525 "properties": { 1252 "properties": {
1526 "oauth2ClientSecret": { 1253 "oauth2ClientSecret": {
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", 1254 "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",
1528 "type": "string" 1255 "type": "string"
1529 }, 1256 },
1530 "oauth2ClientId": { 1257 "oauth2ClientId": {
1531 "description": "OAuth2 client ID to use for the authenticati on flow.", 1258 "description": "OAuth2 client ID to use for the authenticati on flow.",
1532 "type": "string" 1259 "type": "string"
1533 }, 1260 },
1534 "oauth2ClientSecretSha256": { 1261 "oauth2ClientSecretSha256": {
1535 "description": "Hex-encoded SHA-256 hash of the client secre t.@OutputOnly", 1262 "description": "Hex-encoded SHA-256 hash of the client secre t.@OutputOnly",
1536 "type": "string" 1263 "type": "string"
1537 }, 1264 },
1538 "enabled": { 1265 "enabled": {
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.", 1266 "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.",
1540 "type": "boolean" 1267 "type": "boolean"
1541 } 1268 }
1542 }, 1269 },
1543 "type": "object" 1270 "type": "object"
1544 }, 1271 },
1272 "Status": {
1273 "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.",
1274 "id": "Status",
1275 "properties": {
1276 "message": {
1277 "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.",
1278 "type": "string"
1279 },
1280 "details": {
1281 "description": "A list of messages that carry the error deta ils. There is a common set of message types for APIs to use.",
1282 "items": {
1283 "additionalProperties": {
1284 "description": "Properties of the object. Contains f ield @type with type URL.",
1285 "type": "any"
1286 },
1287 "type": "object"
1288 },
1289 "type": "array"
1290 },
1291 "code": {
1292 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1293 "format": "int32",
1294 "type": "integer"
1295 }
1296 },
1297 "type": "object"
1298 },
1545 "ManualScaling": { 1299 "ManualScaling": {
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.", 1300 "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.",
1547 "id": "ManualScaling", 1301 "id": "ManualScaling",
1548 "properties": { 1302 "properties": {
1549 "instances": { 1303 "instances": {
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.", 1304 "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.",
1551 "format": "int32", 1305 "format": "int32",
1552 "type": "integer" 1306 "type": "integer"
1553 } 1307 }
1554 }, 1308 },
1555 "type": "object" 1309 "type": "object"
1556 }, 1310 },
1557 "LocationMetadata": { 1311 "LocationMetadata": {
1558 "description": "Metadata for the given google.cloud.location.Locatio n.", 1312 "description": "Metadata for the given google.cloud.location.Locatio n.",
1559 "id": "LocationMetadata", 1313 "id": "LocationMetadata",
1560 "properties": { 1314 "properties": {
1315 "flexibleEnvironmentAvailable": {
1316 "description": "App Engine Flexible Environment is available in the given location.@OutputOnly",
1317 "type": "boolean"
1318 },
1561 "standardEnvironmentAvailable": { 1319 "standardEnvironmentAvailable": {
1562 "description": "App Engine Standard Environment is available in the given location.@OutputOnly", 1320 "description": "App Engine Standard Environment is available in the given location.@OutputOnly",
1563 "type": "boolean" 1321 "type": "boolean"
1564 },
1565 "flexibleEnvironmentAvailable": {
1566 "description": "App Engine Flexible Environment is available in the given location.@OutputOnly",
1567 "type": "boolean"
1568 } 1322 }
1569 }, 1323 },
1570 "type": "object" 1324 "type": "object"
1571 }, 1325 },
1572 "Service": { 1326 "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.", 1327 "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.",
1574 "id": "Service", 1328 "id": "Service",
1575 "properties": { 1329 "properties": {
1576 "id": {
1577 "description": "Relative name of the service within the appl ication. Example: default.@OutputOnly",
1578 "type": "string"
1579 },
1580 "name": { 1330 "name": {
1581 "description": "Full path to the Service resource in the API . Example: apps/myapp/services/default.@OutputOnly", 1331 "description": "Full path to the Service resource in the API . Example: apps/myapp/services/default.@OutputOnly",
1582 "type": "string" 1332 "type": "string"
1583 }, 1333 },
1584 "split": { 1334 "split": {
1585 "$ref": "TrafficSplit", 1335 "$ref": "TrafficSplit",
1586 "description": "Mapping that defines fractional HTTP traffic diversion to different versions within the service." 1336 "description": "Mapping that defines fractional HTTP traffic diversion to different versions within the service."
1337 },
1338 "id": {
1339 "description": "Relative name of the service within the appl ication. Example: default.@OutputOnly",
1340 "type": "string"
1587 } 1341 }
1588 }, 1342 },
1589 "type": "object" 1343 "type": "object"
1590 }, 1344 },
1591 "ListOperationsResponse": { 1345 "ListOperationsResponse": {
1592 "description": "The response message for Operations.ListOperations." , 1346 "description": "The response message for Operations.ListOperations." ,
1593 "id": "ListOperationsResponse", 1347 "id": "ListOperationsResponse",
1594 "properties": { 1348 "properties": {
1349 "nextPageToken": {
1350 "description": "The standard List next-page token.",
1351 "type": "string"
1352 },
1595 "operations": { 1353 "operations": {
1596 "description": "A list of operations that matches the specif ied filter in the request.", 1354 "description": "A list of operations that matches the specif ied filter in the request.",
1597 "items": { 1355 "items": {
1598 "$ref": "Operation" 1356 "$ref": "Operation"
1599 }, 1357 },
1600 "type": "array" 1358 "type": "array"
1601 },
1602 "nextPageToken": {
1603 "description": "The standard List next-page token.",
1604 "type": "string"
1605 } 1359 }
1606 }, 1360 },
1607 "type": "object" 1361 "type": "object"
1608 }, 1362 },
1609 "OperationMetadata": { 1363 "OperationMetadata": {
1610 "description": "Metadata for the given google.longrunning.Operation. ", 1364 "description": "Metadata for the given google.longrunning.Operation. ",
1611 "id": "OperationMetadata", 1365 "id": "OperationMetadata",
1612 "properties": { 1366 "properties": {
1613 "endTime": { 1367 "endTime": {
1614 "description": "Timestamp that this operation completed.@Out putOnly", 1368 "description": "Timestamp that this operation completed.@Out putOnly",
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
1669 "description": "Static file content to be served for this er ror.", 1423 "description": "Static file content to be served for this er ror.",
1670 "type": "string" 1424 "type": "string"
1671 } 1425 }
1672 }, 1426 },
1673 "type": "object" 1427 "type": "object"
1674 }, 1428 },
1675 "OperationMetadataV1": { 1429 "OperationMetadataV1": {
1676 "description": "Metadata for the given google.longrunning.Operation. ", 1430 "description": "Metadata for the given google.longrunning.Operation. ",
1677 "id": "OperationMetadataV1", 1431 "id": "OperationMetadataV1",
1678 "properties": { 1432 "properties": {
1433 "endTime": {
1434 "description": "Time that this operation completed.@OutputOn ly",
1435 "format": "google-datetime",
1436 "type": "string"
1437 },
1679 "warning": { 1438 "warning": {
1680 "description": "Durable messages that persist on every opera tion poll. @OutputOnly", 1439 "description": "Durable messages that persist on every opera tion poll. @OutputOnly",
1681 "items": { 1440 "items": {
1682 "type": "string" 1441 "type": "string"
1683 }, 1442 },
1684 "type": "array" 1443 "type": "array"
1685 }, 1444 },
1686 "insertTime": { 1445 "insertTime": {
1687 "description": "Time that this operation was created.@Output Only", 1446 "description": "Time that this operation was created.@Output Only",
1688 "format": "google-datetime", 1447 "format": "google-datetime",
1689 "type": "string" 1448 "type": "string"
1690 }, 1449 },
1450 "user": {
1451 "description": "User who requested this operation.@OutputOnl y",
1452 "type": "string"
1453 },
1691 "target": { 1454 "target": {
1692 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly", 1455 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
1693 "type": "string" 1456 "type": "string"
1694 }, 1457 },
1695 "user": {
1696 "description": "User who requested this operation.@OutputOnl y",
1697 "type": "string"
1698 },
1699 "ephemeralMessage": { 1458 "ephemeralMessage": {
1700 "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly", 1459 "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly",
1701 "type": "string" 1460 "type": "string"
1702 }, 1461 },
1703 "method": { 1462 "method": {
1704 "description": "API method that initiated this operation. Ex ample: google.appengine.v1.Versions.CreateVersion.@OutputOnly", 1463 "description": "API method that initiated this operation. Ex ample: google.appengine.v1.Versions.CreateVersion.@OutputOnly",
1705 "type": "string" 1464 "type": "string"
1706 },
1707 "endTime": {
1708 "description": "Time that this operation completed.@OutputOn ly",
1709 "format": "google-datetime",
1710 "type": "string"
1711 } 1465 }
1712 }, 1466 },
1713 "type": "object" 1467 "type": "object"
1714 }, 1468 },
1715 "Application": { 1469 "Application": {
1716 "description": "An Application resource contains the top-level confi guration of an App Engine application. Next tag: 19", 1470 "description": "An Application resource contains the top-level confi guration of an App Engine application. Next tag: 20",
1717 "id": "Application", 1471 "id": "Application",
1718 "properties": { 1472 "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 },
1726 "gcrDomain": {
1727 "description": "The Google Container Registry domain used fo r storing managed build docker images for this application.",
1728 "type": "string"
1729 },
1730 "name": {
1731 "description": "Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly",
1732 "type": "string"
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 },
1738 "defaultCookieExpiration": {
1739 "description": "Cookie expiration policy for this applicatio n.",
1740 "format": "google-duration",
1741 "type": "string"
1742 },
1743 "locationId": { 1473 "locationId": {
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", 1474 "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",
1745 "type": "string" 1475 "type": "string"
1746 }, 1476 },
1747 "servingStatus": { 1477 "servingStatus": {
1748 "description": "Serving status of this application.", 1478 "description": "Serving status of this application.",
1749 "enum": [ 1479 "enum": [
1750 "UNSPECIFIED", 1480 "UNSPECIFIED",
1751 "SERVING", 1481 "SERVING",
1752 "USER_DISABLED", 1482 "USER_DISABLED",
(...skipping 18 matching lines...) Expand all
1771 "iap": { 1501 "iap": {
1772 "$ref": "IdentityAwareProxy" 1502 "$ref": "IdentityAwareProxy"
1773 }, 1503 },
1774 "codeBucket": { 1504 "codeBucket": {
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", 1505 "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",
1776 "type": "string" 1506 "type": "string"
1777 }, 1507 },
1778 "defaultBucket": { 1508 "defaultBucket": {
1779 "description": "Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly", 1509 "description": "Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly",
1780 "type": "string" 1510 "type": "string"
1511 },
1512 "dispatchRules": {
1513 "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",
1514 "items": {
1515 "$ref": "UrlDispatchRule"
1516 },
1517 "type": "array"
1518 },
1519 "gcrDomain": {
1520 "description": "The Google Container Registry domain used fo r storing managed build docker images for this application.",
1521 "type": "string"
1522 },
1523 "name": {
1524 "description": "Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly",
1525 "type": "string"
1526 },
1527 "defaultCookieExpiration": {
1528 "description": "Cookie expiration policy for this applicatio n.",
1529 "format": "google-duration",
1530 "type": "string"
1531 },
1532 "id": {
1533 "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.",
1534 "type": "string"
1781 } 1535 }
1782 }, 1536 },
1783 "type": "object" 1537 "type": "object"
1784 }, 1538 },
1785 "Network": { 1539 "Network": {
1786 "description": "Extra network settings. Only applicable for VM runti mes.", 1540 "description": "Extra network settings. Only applicable for VM runti mes.",
1787 "id": "Network", 1541 "id": "Network",
1788 "properties": { 1542 "properties": {
1789 "subnetworkName": { 1543 "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.", 1544 "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.",
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
1857 }, 1611 },
1858 "vmIp": { 1612 "vmIp": {
1859 "description": "The IP address of this instance. Only applic able for instances in App Engine flexible environment.@OutputOnly", 1613 "description": "The IP address of this instance. Only applic able for instances in App Engine flexible environment.@OutputOnly",
1860 "type": "string" 1614 "type": "string"
1861 }, 1615 },
1862 "memoryUsage": { 1616 "memoryUsage": {
1863 "description": "Total memory in use (bytes).@OutputOnly", 1617 "description": "Total memory in use (bytes).@OutputOnly",
1864 "format": "int64", 1618 "format": "int64",
1865 "type": "string" 1619 "type": "string"
1866 }, 1620 },
1867 "errors": {
1868 "description": "Number of errors since this instance was sta rted.@OutputOnly",
1869 "format": "int32",
1870 "type": "integer"
1871 },
1872 "availability": { 1621 "availability": {
1873 "description": "Availability of the instance.@OutputOnly", 1622 "description": "Availability of the instance.@OutputOnly",
1874 "enum": [ 1623 "enum": [
1875 "UNSPECIFIED", 1624 "UNSPECIFIED",
1876 "RESIDENT", 1625 "RESIDENT",
1877 "DYNAMIC" 1626 "DYNAMIC"
1878 ], 1627 ],
1879 "enumDescriptions": [ 1628 "enumDescriptions": [
1880 "", 1629 "",
1881 "", 1630 "",
1882 "" 1631 ""
1883 ], 1632 ],
1884 "type": "string" 1633 "type": "string"
1885 }, 1634 },
1886 "vmStatus": { 1635 "vmStatus": {
1887 "description": "Status of the virtual machine where this ins tance lives. Only applicable for instances in App Engine flexible environment.@O utputOnly", 1636 "description": "Status of the virtual machine where this ins tance lives. Only applicable for instances in App Engine flexible environment.@O utputOnly",
1888 "type": "string" 1637 "type": "string"
1889 }, 1638 },
1639 "errors": {
1640 "description": "Number of errors since this instance was sta rted.@OutputOnly",
1641 "format": "int32",
1642 "type": "integer"
1643 },
1890 "startTime": { 1644 "startTime": {
1891 "description": "Time that this instance was started.@OutputO nly", 1645 "description": "Time that this instance was started.@OutputO nly",
1892 "format": "google-datetime", 1646 "format": "google-datetime",
1893 "type": "string" 1647 "type": "string"
1894 } 1648 }
1895 }, 1649 },
1896 "type": "object" 1650 "type": "object"
1897 }, 1651 },
1898 "LivenessCheck": { 1652 "LivenessCheck": {
1899 "description": "Health checking configuration for VM instances. Unhe althy instances are killed and replaced with new instances.", 1653 "description": "Health checking configuration for VM instances. Unhe althy instances are killed and replaced with new instances.",
1900 "id": "LivenessCheck", 1654 "id": "LivenessCheck",
1901 "properties": { 1655 "properties": {
1902 "checkInterval": { 1656 "checkInterval": {
1903 "description": "Interval between health checks.", 1657 "description": "Interval between health checks.",
1904 "format": "google-duration", 1658 "format": "google-duration",
1905 "type": "string" 1659 "type": "string"
1906 }, 1660 },
1907 "timeout": {
1908 "description": "Time before the check is considered failed." ,
1909 "format": "google-duration",
1910 "type": "string"
1911 },
1912 "failureThreshold": { 1661 "failureThreshold": {
1913 "description": "Number of consecutive failed checks required before considering the VM unhealthy.", 1662 "description": "Number of consecutive failed checks required before considering the VM unhealthy.",
1914 "format": "uint32", 1663 "format": "uint32",
1915 "type": "integer" 1664 "type": "integer"
1916 }, 1665 },
1666 "timeout": {
1667 "description": "Time before the check is considered failed." ,
1668 "format": "google-duration",
1669 "type": "string"
1670 },
1917 "initialDelay": { 1671 "initialDelay": {
1918 "description": "The initial delay before starting to execute the checks.", 1672 "description": "The initial delay before starting to execute the checks.",
1919 "format": "google-duration", 1673 "format": "google-duration",
1920 "type": "string" 1674 "type": "string"
1921 }, 1675 },
1922 "path": { 1676 "path": {
1923 "description": "The request path.", 1677 "description": "The request path.",
1924 "type": "string" 1678 "type": "string"
1925 }, 1679 },
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": { 1680 "successThreshold": {
1931 "description": "Number of consecutive successful checks requ ired before considering the VM healthy.", 1681 "description": "Number of consecutive successful checks requ ired before considering the VM healthy.",
1932 "format": "uint32", 1682 "format": "uint32",
1933 "type": "integer" 1683 "type": "integer"
1684 },
1685 "host": {
1686 "description": "Host header to send when performing a HTTP L iveness check. Example: \"myapp.appspot.com\"",
1687 "type": "string"
1934 } 1688 }
1935 }, 1689 },
1936 "type": "object" 1690 "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"
1964 }, 1691 },
1965 "Location": { 1692 "Location": {
1966 "description": "A resource that represents Google Cloud Platform loc ation.", 1693 "description": "A resource that represents Google Cloud Platform loc ation.",
1967 "id": "Location", 1694 "id": "Location",
1968 "properties": { 1695 "properties": {
1969 "labels": { 1696 "labels": {
1970 "additionalProperties": { 1697 "additionalProperties": {
1971 "type": "string" 1698 "type": "string"
1972 }, 1699 },
1973 "description": "Cross-service attributes for the location. F or example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n", 1700 "description": "Cross-service attributes for the location. F or example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n",
(...skipping 11 matching lines...) Expand all
1985 "additionalProperties": { 1712 "additionalProperties": {
1986 "description": "Properties of the object. Contains field @type with type URL.", 1713 "description": "Properties of the object. Contains field @type with type URL.",
1987 "type": "any" 1714 "type": "any"
1988 }, 1715 },
1989 "description": "Service-specific metadata. For example the a vailable capacity at the given location.", 1716 "description": "Service-specific metadata. For example the a vailable capacity at the given location.",
1990 "type": "object" 1717 "type": "object"
1991 } 1718 }
1992 }, 1719 },
1993 "type": "object" 1720 "type": "object"
1994 }, 1721 },
1722 "NetworkUtilization": {
1723 "description": "Target scaling by network usage. Only applicable for VM runtimes.",
1724 "id": "NetworkUtilization",
1725 "properties": {
1726 "targetReceivedPacketsPerSecond": {
1727 "description": "Target packets received per second.",
1728 "format": "int32",
1729 "type": "integer"
1730 },
1731 "targetSentBytesPerSecond": {
1732 "description": "Target bytes sent per second.",
1733 "format": "int32",
1734 "type": "integer"
1735 },
1736 "targetReceivedBytesPerSecond": {
1737 "description": "Target bytes received per second.",
1738 "format": "int32",
1739 "type": "integer"
1740 },
1741 "targetSentPacketsPerSecond": {
1742 "description": "Target packets sent per second.",
1743 "format": "int32",
1744 "type": "integer"
1745 }
1746 },
1747 "type": "object"
1748 },
1995 "HealthCheck": { 1749 "HealthCheck": {
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.", 1750 "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.",
1997 "id": "HealthCheck", 1751 "id": "HealthCheck",
1998 "properties": { 1752 "properties": {
1999 "checkInterval": {
2000 "description": "Interval between health checks.",
2001 "format": "google-duration",
2002 "type": "string"
2003 },
2004 "timeout": { 1753 "timeout": {
2005 "description": "Time before the health check is considered f ailed.", 1754 "description": "Time before the health check is considered f ailed.",
2006 "format": "google-duration", 1755 "format": "google-duration",
2007 "type": "string" 1756 "type": "string"
2008 }, 1757 },
2009 "unhealthyThreshold": { 1758 "unhealthyThreshold": {
2010 "description": "Number of consecutive failed health checks r equired before removing traffic.", 1759 "description": "Number of consecutive failed health checks r equired before removing traffic.",
2011 "format": "uint32", 1760 "format": "uint32",
2012 "type": "integer" 1761 "type": "integer"
2013 }, 1762 },
2014 "disableHealthCheck": { 1763 "disableHealthCheck": {
2015 "description": "Whether to explicitly disable health checks for this instance.", 1764 "description": "Whether to explicitly disable health checks for this instance.",
2016 "type": "boolean" 1765 "type": "boolean"
2017 }, 1766 },
2018 "host": { 1767 "host": {
2019 "description": "Host header to send when performing an HTTP health check. Example: \"myapp.appspot.com\"", 1768 "description": "Host header to send when performing an HTTP health check. Example: \"myapp.appspot.com\"",
2020 "type": "string" 1769 "type": "string"
2021 }, 1770 },
1771 "healthyThreshold": {
1772 "description": "Number of consecutive successful health chec ks required before receiving traffic.",
1773 "format": "uint32",
1774 "type": "integer"
1775 },
2022 "restartThreshold": { 1776 "restartThreshold": {
2023 "description": "Number of consecutive failed health checks r equired before an instance is restarted.", 1777 "description": "Number of consecutive failed health checks r equired before an instance is restarted.",
2024 "format": "uint32", 1778 "format": "uint32",
2025 "type": "integer" 1779 "type": "integer"
2026 }, 1780 },
2027 "healthyThreshold": { 1781 "checkInterval": {
2028 "description": "Number of consecutive successful health chec ks required before receiving traffic.", 1782 "description": "Interval between health checks.",
2029 "format": "uint32", 1783 "format": "google-duration",
2030 "type": "integer" 1784 "type": "string"
2031 } 1785 }
2032 }, 1786 },
2033 "type": "object" 1787 "type": "object"
2034 }, 1788 },
2035 "ReadinessCheck": { 1789 "ReadinessCheck": {
2036 "description": "Readiness checking configuration for VM instances. U nhealthy instances are removed from traffic rotation.", 1790 "description": "Readiness checking configuration for VM instances. U nhealthy instances are removed from traffic rotation.",
2037 "id": "ReadinessCheck", 1791 "id": "ReadinessCheck",
2038 "properties": { 1792 "properties": {
1793 "checkInterval": {
1794 "description": "Interval between health checks.",
1795 "format": "google-duration",
1796 "type": "string"
1797 },
2039 "timeout": { 1798 "timeout": {
2040 "description": "Time before the check is considered failed." , 1799 "description": "Time before the check is considered failed." ,
2041 "format": "google-duration", 1800 "format": "google-duration",
2042 "type": "string" 1801 "type": "string"
2043 }, 1802 },
2044 "failureThreshold": { 1803 "failureThreshold": {
2045 "description": "Number of consecutive failed checks required before removing traffic.", 1804 "description": "Number of consecutive failed checks required before removing traffic.",
2046 "format": "uint32", 1805 "format": "uint32",
2047 "type": "integer" 1806 "type": "integer"
2048 }, 1807 },
1808 "appStartTimeout": {
1809 "description": "A maximum time limit on application initiali zation, measured from moment the application successfully replies to a healthche ck until it is ready to serve traffic.",
1810 "format": "google-duration",
1811 "type": "string"
1812 },
2049 "path": { 1813 "path": {
2050 "description": "The request path.", 1814 "description": "The request path.",
2051 "type": "string" 1815 "type": "string"
2052 }, 1816 },
2053 "host": { 1817 "host": {
2054 "description": "Host header to send when performing a HTTP R eadiness check. Example: \"myapp.appspot.com\"", 1818 "description": "Host header to send when performing a HTTP R eadiness check. Example: \"myapp.appspot.com\"",
2055 "type": "string" 1819 "type": "string"
2056 }, 1820 },
2057 "successThreshold": { 1821 "successThreshold": {
2058 "description": "Number of consecutive successful checks requ ired before receiving traffic.", 1822 "description": "Number of consecutive successful checks requ ired before receiving traffic.",
2059 "format": "uint32", 1823 "format": "uint32",
2060 "type": "integer" 1824 "type": "integer"
2061 },
2062 "checkInterval": {
2063 "description": "Interval between health checks.",
2064 "format": "google-duration",
2065 "type": "string"
2066 } 1825 }
2067 }, 1826 },
2068 "type": "object" 1827 "type": "object"
2069 }, 1828 },
2070 "DebugInstanceRequest": { 1829 "DebugInstanceRequest": {
2071 "description": "Request message for Instances.DebugInstance.", 1830 "description": "Request message for Instances.DebugInstance.",
2072 "id": "DebugInstanceRequest", 1831 "id": "DebugInstanceRequest",
2073 "properties": { 1832 "properties": {
2074 "sshKey": { 1833 "sshKey": {
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).", 1834 "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).",
2076 "type": "string" 1835 "type": "string"
2077 } 1836 }
2078 }, 1837 },
2079 "type": "object" 1838 "type": "object"
2080 }, 1839 },
2081 "OperationMetadataV1Beta5": { 1840 "OperationMetadataV1Beta5": {
2082 "description": "Metadata for the given google.longrunning.Operation. ", 1841 "description": "Metadata for the given google.longrunning.Operation. ",
2083 "id": "OperationMetadataV1Beta5", 1842 "id": "OperationMetadataV1Beta5",
2084 "properties": { 1843 "properties": {
1844 "method": {
1845 "description": "API method name that initiated this operatio n. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly",
1846 "type": "string"
1847 },
2085 "insertTime": { 1848 "insertTime": {
2086 "description": "Timestamp that this operation was created.@O utputOnly", 1849 "description": "Timestamp that this operation was created.@O utputOnly",
2087 "format": "google-datetime", 1850 "format": "google-datetime",
2088 "type": "string" 1851 "type": "string"
2089 }, 1852 },
2090 "endTime": { 1853 "endTime": {
2091 "description": "Timestamp that this operation completed.@Out putOnly", 1854 "description": "Timestamp that this operation completed.@Out putOnly",
2092 "format": "google-datetime", 1855 "format": "google-datetime",
2093 "type": "string" 1856 "type": "string"
2094 }, 1857 },
2095 "target": { 1858 "target": {
2096 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly", 1859 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
2097 "type": "string" 1860 "type": "string"
2098 }, 1861 },
2099 "user": { 1862 "user": {
2100 "description": "User who requested this operation.@OutputOnl y", 1863 "description": "User who requested this operation.@OutputOnl y",
2101 "type": "string" 1864 "type": "string"
2102 },
2103 "method": {
2104 "description": "API method name that initiated this operatio n. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly",
2105 "type": "string"
2106 } 1865 }
2107 }, 1866 },
2108 "type": "object" 1867 "type": "object"
2109 }, 1868 },
2110 "Version": { 1869 "Version": {
2111 "description": "A Version resource is a specific set of source code and configuration files that are deployed into a service.", 1870 "description": "A Version resource is a specific set of source code and configuration files that are deployed into a service.",
2112 "id": "Version", 1871 "id": "Version",
2113 "properties": { 1872 "properties": {
1873 "basicScaling": {
1874 "$ref": "BasicScaling",
1875 "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."
1876 },
1877 "runtime": {
1878 "description": "Desired runtime. Example: python27.",
1879 "type": "string"
1880 },
1881 "createdBy": {
1882 "description": "Email address of the user who created this v ersion.@OutputOnly",
1883 "type": "string"
1884 },
1885 "id": {
1886 "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-\".",
1887 "type": "string"
1888 },
1889 "envVariables": {
1890 "additionalProperties": {
1891 "type": "string"
1892 },
1893 "description": "Environment variables available to the appli cation.Only returned in GET requests if view=FULL is set.",
1894 "type": "object"
1895 },
1896 "livenessCheck": {
1897 "$ref": "LivenessCheck",
1898 "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."
1899 },
1900 "network": {
1901 "$ref": "Network",
1902 "description": "Extra network settings. Only applicable for VM runtimes."
1903 },
1904 "betaSettings": {
1905 "additionalProperties": {
1906 "type": "string"
1907 },
1908 "description": "Metadata settings that are supplied to this version to enable beta runtime features.",
1909 "type": "object"
1910 },
1911 "env": {
1912 "description": "App Engine execution environment for this ve rsion.Defaults to standard.",
1913 "type": "string"
1914 },
1915 "handlers": {
1916 "description": "An ordered list of URL-matching patterns tha t should be applied to incoming requests. The first matching URL handles the req uest and other request handlers are not attempted.Only returned in GET requests if view=FULL is set.",
1917 "items": {
1918 "$ref": "UrlMap"
1919 },
1920 "type": "array"
1921 },
1922 "automaticScaling": {
1923 "$ref": "AutomaticScaling",
1924 "description": "Automatic scaling is based on request rate, response latencies, and other application metrics."
1925 },
1926 "diskUsageBytes": {
1927 "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",
1928 "format": "int64",
1929 "type": "string"
1930 },
1931 "healthCheck": {
1932 "$ref": "HealthCheck",
1933 "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."
1934 },
2114 "threadsafe": { 1935 "threadsafe": {
2115 "description": "Whether multiple requests can be dispatched to this version at once.", 1936 "description": "Whether multiple requests can be dispatched to this version at once.",
2116 "type": "boolean" 1937 "type": "boolean"
2117 }, 1938 },
2118 "readinessCheck": { 1939 "readinessCheck": {
2119 "$ref": "ReadinessCheck", 1940 "$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." 1941 "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 }, 1942 },
2122 "manualScaling": { 1943 "manualScaling": {
2123 "$ref": "ManualScaling", 1944 "$ref": "ManualScaling",
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
2167 }, 1988 },
2168 "runtimeApiVersion": { 1989 "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", 1990 "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" 1991 "type": "string"
2171 }, 1992 },
2172 "createTime": { 1993 "createTime": {
2173 "description": "Time that this version was created.@OutputOn ly", 1994 "description": "Time that this version was created.@OutputOn ly",
2174 "format": "google-datetime", 1995 "format": "google-datetime",
2175 "type": "string" 1996 "type": "string"
2176 }, 1997 },
1998 "resources": {
1999 "$ref": "Resources",
2000 "description": "Machine resources for this version. Only app licable for VM runtimes."
2001 },
2177 "inboundServices": { 2002 "inboundServices": {
2178 "description": "Before an application can receive email or X MPP messages, the application must be configured to enable the service.", 2003 "description": "Before an application can receive email or X MPP messages, the application must be configured to enable the service.",
2179 "enumDescriptions": [ 2004 "enumDescriptions": [
2180 "Not specified.", 2005 "Not specified.",
2181 "Allows an application to receive mail.", 2006 "Allows an application to receive mail.",
2182 "Allows an application to receive email-bound notificati ons.", 2007 "Allows an application to receive email-bound notificati ons.",
2183 "Allows an application to receive error stanzas.", 2008 "Allows an application to receive error stanzas.",
2184 "Allows an application to receive instant messages.", 2009 "Allows an application to receive instant messages.",
2185 "Allows an application to receive user subscription POST s.", 2010 "Allows an application to receive user subscription POST s.",
2186 "Allows an application to receive a user's chat presence .", 2011 "Allows an application to receive a user's chat presence .",
2187 "Registers an application for notifications when a clien t connects or disconnects from a channel.", 2012 "Registers an application for notifications when a clien t connects or disconnects from a channel.",
2188 "Enables warmup requests." 2013 "Enables warmup requests."
2189 ], 2014 ],
2190 "items": { 2015 "items": {
2191 "enum": [ 2016 "enum": [
2192 "INBOUND_SERVICE_UNSPECIFIED", 2017 "INBOUND_SERVICE_UNSPECIFIED",
2193 "INBOUND_SERVICE_MAIL", 2018 "INBOUND_SERVICE_MAIL",
2194 "INBOUND_SERVICE_MAIL_BOUNCE", 2019 "INBOUND_SERVICE_MAIL_BOUNCE",
2195 "INBOUND_SERVICE_XMPP_ERROR", 2020 "INBOUND_SERVICE_XMPP_ERROR",
2196 "INBOUND_SERVICE_XMPP_MESSAGE", 2021 "INBOUND_SERVICE_XMPP_MESSAGE",
2197 "INBOUND_SERVICE_XMPP_SUBSCRIBE", 2022 "INBOUND_SERVICE_XMPP_SUBSCRIBE",
2198 "INBOUND_SERVICE_XMPP_PRESENCE", 2023 "INBOUND_SERVICE_XMPP_PRESENCE",
2199 "INBOUND_SERVICE_CHANNEL_PRESENCE", 2024 "INBOUND_SERVICE_CHANNEL_PRESENCE",
2200 "INBOUND_SERVICE_WARMUP" 2025 "INBOUND_SERVICE_WARMUP"
2201 ], 2026 ],
2202 "type": "string" 2027 "type": "string"
2203 }, 2028 },
2204 "type": "array" 2029 "type": "array"
2205 }, 2030 },
2206 "resources": {
2207 "$ref": "Resources",
2208 "description": "Machine resources for this version. Only app licable for VM runtimes."
2209 },
2210 "errorHandlers": { 2031 "errorHandlers": {
2211 "description": "Custom static error pages. Limited to 10KB p er page.Only returned in GET requests if view=FULL is set.", 2032 "description": "Custom static error pages. Limited to 10KB p er page.Only returned in GET requests if view=FULL is set.",
2212 "items": { 2033 "items": {
2213 "$ref": "ErrorHandler" 2034 "$ref": "ErrorHandler"
2214 }, 2035 },
2215 "type": "array" 2036 "type": "array"
2216 }, 2037 },
2217 "defaultExpiration": { 2038 "defaultExpiration": {
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.", 2039 "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.",
2219 "format": "google-duration", 2040 "format": "google-duration",
2220 "type": "string" 2041 "type": "string"
2221 }, 2042 },
2222 "libraries": { 2043 "libraries": {
2223 "description": "Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set.", 2044 "description": "Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set.",
2224 "items": { 2045 "items": {
2225 "$ref": "Library" 2046 "$ref": "Library"
2226 }, 2047 },
2227 "type": "array" 2048 "type": "array"
2228 }, 2049 },
2229 "nobuildFilesRegex": { 2050 "nobuildFilesRegex": {
2230 "description": "Files that match this pattern will not be bu ilt into this version. Only applicable for Go runtimes.Only returned in GET requ ests if view=FULL is set.", 2051 "description": "Files that match this pattern will not be bu ilt into this version. Only applicable for Go runtimes.Only returned in GET requ ests if view=FULL is set.",
2231 "type": "string" 2052 "type": "string"
2232 },
2233 "basicScaling": {
2234 "$ref": "BasicScaling",
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."
2236 },
2237 "runtime": {
2238 "description": "Desired runtime. Example: python27.",
2239 "type": "string"
2240 },
2241 "createdBy": {
2242 "description": "Email address of the user who created this v ersion.@OutputOnly",
2243 "type": "string"
2244 },
2245 "id": {
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-\".",
2247 "type": "string"
2248 },
2249 "envVariables": {
2250 "additionalProperties": {
2251 "type": "string"
2252 },
2253 "description": "Environment variables available to the appli cation.Only returned in GET requests if view=FULL is set.",
2254 "type": "object"
2255 },
2256 "livenessCheck": {
2257 "$ref": "LivenessCheck",
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."
2259 },
2260 "network": {
2261 "$ref": "Network",
2262 "description": "Extra network settings. Only applicable for VM runtimes."
2263 },
2264 "betaSettings": {
2265 "additionalProperties": {
2266 "type": "string"
2267 },
2268 "description": "Metadata settings that are supplied to this version to enable beta runtime features.",
2269 "type": "object"
2270 },
2271 "env": {
2272 "description": "App Engine execution environment for this ve rsion.Defaults to standard.",
2273 "type": "string"
2274 },
2275 "handlers": {
2276 "description": "An ordered list of URL-matching patterns tha t should be applied to incoming requests. The first matching URL handles the req uest and other request handlers are not attempted.Only returned in GET requests if view=FULL is set.",
2277 "items": {
2278 "$ref": "UrlMap"
2279 },
2280 "type": "array"
2281 },
2282 "automaticScaling": {
2283 "$ref": "AutomaticScaling",
2284 "description": "Automatic scaling is based on request rate, response latencies, and other application metrics."
2285 },
2286 "diskUsageBytes": {
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",
2288 "format": "int64",
2289 "type": "string"
2290 },
2291 "healthCheck": {
2292 "$ref": "HealthCheck",
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."
2294 } 2053 }
2295 }, 2054 },
2296 "type": "object" 2055 "type": "object"
2297 }, 2056 },
2298 "RepairApplicationRequest": { 2057 "RepairApplicationRequest": {
2299 "description": "Request message for 'Applications.RepairApplication' .", 2058 "description": "Request message for 'Applications.RepairApplication' .",
2300 "id": "RepairApplicationRequest", 2059 "id": "RepairApplicationRequest",
2301 "properties": {}, 2060 "properties": {},
2302 "type": "object" 2061 "type": "object"
2303 }, 2062 },
2304 "ScriptHandler": { 2063 "ScriptHandler": {
2305 "description": "Executes a script to handle the request that matches the URL pattern.", 2064 "description": "Executes a script to handle the request that matches the URL pattern.",
2306 "id": "ScriptHandler", 2065 "id": "ScriptHandler",
2307 "properties": { 2066 "properties": {
2308 "scriptPath": { 2067 "scriptPath": {
2309 "description": "Path to the script from the application root directory.", 2068 "description": "Path to the script from the application root directory.",
2310 "type": "string" 2069 "type": "string"
2311 } 2070 }
2312 }, 2071 },
2313 "type": "object" 2072 "type": "object"
2314 }, 2073 },
2315 "FileInfo": { 2074 "FileInfo": {
2316 "description": "Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.", 2075 "description": "Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.",
2317 "id": "FileInfo", 2076 "id": "FileInfo",
2318 "properties": { 2077 "properties": {
2078 "mimeType": {
2079 "description": "The MIME type of the file.Defaults to the va lue from Google Cloud Storage.",
2080 "type": "string"
2081 },
2319 "sourceUrl": { 2082 "sourceUrl": {
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>'.", 2083 "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>'.",
2321 "type": "string" 2084 "type": "string"
2322 }, 2085 },
2323 "sha1Sum": { 2086 "sha1Sum": {
2324 "description": "The SHA1 hash of the file, in hex.", 2087 "description": "The SHA1 hash of the file, in hex.",
2325 "type": "string" 2088 "type": "string"
2326 },
2327 "mimeType": {
2328 "description": "The MIME type of the file.Defaults to the va lue from Google Cloud Storage.",
2329 "type": "string"
2330 } 2089 }
2331 }, 2090 },
2332 "type": "object" 2091 "type": "object"
2333 }, 2092 },
2334 "OperationMetadataExperimental": { 2093 "OperationMetadataExperimental": {
2335 "description": "Metadata for the given google.longrunning.Operation. ", 2094 "description": "Metadata for the given google.longrunning.Operation. ",
2336 "id": "OperationMetadataExperimental", 2095 "id": "OperationMetadataExperimental",
2337 "properties": { 2096 "properties": {
2338 "method": { 2097 "method": {
2339 "description": "API method that initiated this operation. Ex ample: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnl y", 2098 "description": "API method that initiated this operation. Ex ample: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnl y",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
2388 ], 2147 ],
2389 "type": "string" 2148 "type": "string"
2390 } 2149 }
2391 }, 2150 },
2392 "type": "object" 2151 "type": "object"
2393 }, 2152 },
2394 "OperationMetadataV1Beta": { 2153 "OperationMetadataV1Beta": {
2395 "description": "Metadata for the given google.longrunning.Operation. ", 2154 "description": "Metadata for the given google.longrunning.Operation. ",
2396 "id": "OperationMetadataV1Beta", 2155 "id": "OperationMetadataV1Beta",
2397 "properties": { 2156 "properties": {
2157 "method": {
2158 "description": "API method that initiated this operation. Ex ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly",
2159 "type": "string"
2160 },
2398 "endTime": { 2161 "endTime": {
2399 "description": "Time that this operation completed.@OutputOn ly", 2162 "description": "Time that this operation completed.@OutputOn ly",
2400 "format": "google-datetime", 2163 "format": "google-datetime",
2401 "type": "string" 2164 "type": "string"
2402 }, 2165 },
2403 "warning": { 2166 "warning": {
2404 "description": "Durable messages that persist on every opera tion poll. @OutputOnly", 2167 "description": "Durable messages that persist on every opera tion poll. @OutputOnly",
2405 "items": { 2168 "items": {
2169 "type": "string"
2170 },
2171 "type": "array"
2172 },
2173 "insertTime": {
2174 "description": "Time that this operation was created.@Output Only",
2175 "format": "google-datetime",
2176 "type": "string"
2177 },
2178 "target": {
2179 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
2180 "type": "string"
2181 },
2182 "user": {
2183 "description": "User who requested this operation.@OutputOnl y",
2184 "type": "string"
2185 },
2186 "ephemeralMessage": {
2187 "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly",
2188 "type": "string"
2189 }
2190 },
2191 "type": "object"
2192 },
2193 "ListServicesResponse": {
2194 "description": "Response message for Services.ListServices.",
2195 "id": "ListServicesResponse",
2196 "properties": {
2197 "nextPageToken": {
2198 "description": "Continuation token for fetching the next pag e of results.",
2199 "type": "string"
2200 },
2201 "services": {
2202 "description": "The services belonging to the requested appl ication.",
2203 "items": {
2204 "$ref": "Service"
2205 },
2206 "type": "array"
2207 }
2208 },
2209 "type": "object"
2210 },
2211 "Deployment": {
2212 "description": "Code and application artifacts used to deploy a vers ion to App Engine.",
2213 "id": "Deployment",
2214 "properties": {
2215 "zip": {
2216 "$ref": "ZipInfo",
2217 "description": "The zip file for this deployment, if this is a zip deployment."
2218 },
2219 "container": {
2220 "$ref": "ContainerInfo",
2221 "description": "The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible e nvironment."
2222 },
2223 "files": {
2224 "additionalProperties": {
2225 "$ref": "FileInfo"
2226 },
2227 "description": "Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable u sing the credentials supplied with this call.",
2228 "type": "object"
2229 }
2230 },
2231 "type": "object"
2232 },
2233 "Resources": {
2234 "description": "Machine resources for a version.",
2235 "id": "Resources",
2236 "properties": {
2237 "volumes": {
2238 "description": "User specified volumes.",
2239 "items": {
2240 "$ref": "Volume"
2241 },
2242 "type": "array"
2243 },
2244 "diskGb": {
2245 "description": "Disk size (GB) needed.",
2246 "format": "double",
2247 "type": "number"
2248 },
2249 "memoryGb": {
2250 "description": "Memory (GB) needed.",
2251 "format": "double",
2252 "type": "number"
2253 },
2254 "cpu": {
2255 "description": "Number of CPU cores needed.",
2256 "format": "double",
2257 "type": "number"
2258 }
2259 },
2260 "type": "object"
2261 },
2262 "Volume": {
2263 "description": "Volumes mounted within the app container. Only appli cable for VM runtimes.",
2264 "id": "Volume",
2265 "properties": {
2266 "sizeGb": {
2267 "description": "Volume size in gigabytes.",
2268 "format": "double",
2269 "type": "number"
2270 },
2271 "name": {
2272 "description": "Unique name for the volume.",
2273 "type": "string"
2274 },
2275 "volumeType": {
2276 "description": "Underlying volume type, e.g. 'tmpfs'.",
2277 "type": "string"
2278 }
2279 },
2280 "type": "object"
2281 },
2282 "ListInstancesResponse": {
2283 "description": "Response message for Instances.ListInstances.",
2284 "id": "ListInstancesResponse",
2285 "properties": {
2286 "instances": {
2287 "description": "The instances belonging to the requested ver sion.",
2288 "items": {
2289 "$ref": "Instance"
2290 },
2291 "type": "array"
2292 },
2293 "nextPageToken": {
2294 "description": "Continuation token for fetching the next pag e of results.",
2295 "type": "string"
2296 }
2297 },
2298 "type": "object"
2299 },
2300 "OperationMetadataV1Alpha": {
2301 "description": "Metadata for the given google.longrunning.Operation. ",
2302 "id": "OperationMetadataV1Alpha",
2303 "properties": {
2304 "warning": {
2305 "description": "Durable messages that persist on every opera tion poll. @OutputOnly",
2306 "items": {
2406 "type": "string" 2307 "type": "string"
2407 }, 2308 },
2408 "type": "array" 2309 "type": "array"
2409 }, 2310 },
2410 "insertTime": { 2311 "insertTime": {
2411 "description": "Time that this operation was created.@Output Only", 2312 "description": "Time that this operation was created.@Output Only",
2412 "format": "google-datetime", 2313 "format": "google-datetime",
2413 "type": "string" 2314 "type": "string"
2414 }, 2315 },
2316 "user": {
2317 "description": "User who requested this operation.@OutputOnl y",
2318 "type": "string"
2319 },
2415 "target": { 2320 "target": {
2416 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly", 2321 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
2417 "type": "string" 2322 "type": "string"
2418 }, 2323 },
2419 "user": {
2420 "description": "User who requested this operation.@OutputOnl y",
2421 "type": "string"
2422 },
2423 "ephemeralMessage": { 2324 "ephemeralMessage": {
2424 "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly", 2325 "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly",
2425 "type": "string" 2326 "type": "string"
2426 }, 2327 },
2427 "method": { 2328 "method": {
2428 "description": "API method that initiated this operation. Ex ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly", 2329 "description": "API method that initiated this operation. Ex ample: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly",
2429 "type": "string" 2330 "type": "string"
2430 } 2331 },
2431 }, 2332 "endTime": {
2432 "type": "object" 2333 "description": "Time that this operation completed.@OutputOn ly",
2433 }, 2334 "format": "google-datetime",
2434 "ListServicesResponse": { 2335 "type": "string"
2435 "description": "Response message for Services.ListServices.", 2336 }
2436 "id": "ListServicesResponse", 2337 },
2437 "properties": { 2338 "type": "object"
2339 },
2340 "UrlDispatchRule": {
2341 "description": "Rules to match an HTTP request and dispatch that req uest to a service.",
2342 "id": "UrlDispatchRule",
2343 "properties": {
2344 "service": {
2345 "description": "Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.",
2346 "type": "string"
2347 },
2348 "domain": {
2349 "description": "Domain name to match against. The wildcard \ "*\" is supported if specified before a period: \"*.\".Defaults to matching all domains: \"*\".",
2350 "type": "string"
2351 },
2352 "path": {
2353 "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.",
2354 "type": "string"
2355 }
2356 },
2357 "type": "object"
2358 },
2359 "ListVersionsResponse": {
2360 "description": "Response message for Versions.ListVersions.",
2361 "id": "ListVersionsResponse",
2362 "properties": {
2363 "versions": {
2364 "description": "The versions belonging to the requested serv ice.",
2365 "items": {
2366 "$ref": "Version"
2367 },
2368 "type": "array"
2369 },
2438 "nextPageToken": { 2370 "nextPageToken": {
2439 "description": "Continuation token for fetching the next pag e of results.", 2371 "description": "Continuation token for fetching the next pag e of results.",
2440 "type": "string" 2372 "type": "string"
2441 }, 2373 }
2442 "services": { 2374 },
2443 "description": "The services belonging to the requested appl ication.", 2375 "type": "object"
2376 },
2377 "ApiEndpointHandler": {
2378 "description": "Uses Google Cloud Endpoints to handle requests.",
2379 "id": "ApiEndpointHandler",
2380 "properties": {
2381 "scriptPath": {
2382 "description": "Path to the script from the application root directory.",
2383 "type": "string"
2384 }
2385 },
2386 "type": "object"
2387 },
2388 "AutomaticScaling": {
2389 "description": "Automatic scaling is based on request rate, response latencies, and other application metrics.",
2390 "id": "AutomaticScaling",
2391 "properties": {
2392 "diskUtilization": {
2393 "$ref": "DiskUtilization",
2394 "description": "Target scaling by disk usage."
2395 },
2396 "minPendingLatency": {
2397 "description": "Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.",
2398 "format": "google-duration",
2399 "type": "string"
2400 },
2401 "requestUtilization": {
2402 "$ref": "RequestUtilization",
2403 "description": "Target scaling by request utilization."
2404 },
2405 "maxIdleInstances": {
2406 "description": "Maximum number of idle instances that should be maintained for this version.",
2407 "format": "int32",
2408 "type": "integer"
2409 },
2410 "minIdleInstances": {
2411 "description": "Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a se rvice.",
2412 "format": "int32",
2413 "type": "integer"
2414 },
2415 "maxTotalInstances": {
2416 "description": "Maximum number of instances that should be s tarted to handle requests.",
2417 "format": "int32",
2418 "type": "integer"
2419 },
2420 "minTotalInstances": {
2421 "description": "Minimum number of instances that should be m aintained for this version.",
2422 "format": "int32",
2423 "type": "integer"
2424 },
2425 "networkUtilization": {
2426 "$ref": "NetworkUtilization",
2427 "description": "Target scaling by network usage."
2428 },
2429 "coolDownPeriod": {
2430 "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.",
2431 "format": "google-duration",
2432 "type": "string"
2433 },
2434 "maxConcurrentRequests": {
2435 "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.",
2436 "format": "int32",
2437 "type": "integer"
2438 },
2439 "maxPendingLatency": {
2440 "description": "Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.",
2441 "format": "google-duration",
2442 "type": "string"
2443 },
2444 "cpuUtilization": {
2445 "$ref": "CpuUtilization",
2446 "description": "Target scaling by CPU usage."
2447 }
2448 },
2449 "type": "object"
2450 },
2451 "ZipInfo": {
2452 "description": "The zip file information for a zip deployment.",
2453 "id": "ZipInfo",
2454 "properties": {
2455 "sourceUrl": {
2456 "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>'.",
2457 "type": "string"
2458 },
2459 "filesCount": {
2460 "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.",
2461 "format": "int32",
2462 "type": "integer"
2463 }
2464 },
2465 "type": "object"
2466 },
2467 "Library": {
2468 "description": "Third-party Python runtime library that is required by the application.",
2469 "id": "Library",
2470 "properties": {
2471 "name": {
2472 "description": "Name of the library. Example: \"django\".",
2473 "type": "string"
2474 },
2475 "version": {
2476 "description": "Version of the library to select, or \"lates t\".",
2477 "type": "string"
2478 }
2479 },
2480 "type": "object"
2481 },
2482 "ListLocationsResponse": {
2483 "description": "The response message for Locations.ListLocations.",
2484 "id": "ListLocationsResponse",
2485 "properties": {
2486 "nextPageToken": {
2487 "description": "The standard List next-page token.",
2488 "type": "string"
2489 },
2490 "locations": {
2491 "description": "A list of locations that matches the specifi ed filter in the request.",
2444 "items": { 2492 "items": {
2445 "$ref": "Service" 2493 "$ref": "Location"
2446 }, 2494 },
2447 "type": "array" 2495 "type": "array"
2448 } 2496 }
2449 }, 2497 },
2450 "type": "object" 2498 "type": "object"
2451 }, 2499 },
2452 "Resources": { 2500 "ContainerInfo": {
2453 "description": "Machine resources for a version.", 2501 "description": "Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instanc es running in the App Engine flexible environment.",
2454 "id": "Resources", 2502 "id": "ContainerInfo",
2455 "properties": { 2503 "properties": {
2456 "volumes": { 2504 "image": {
2457 "description": "User specified volumes.", 2505 "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\" ",
2458 "items": { 2506 "type": "string"
2459 "$ref": "Volume" 2507 }
2460 }, 2508 },
2461 "type": "array" 2509 "type": "object"
2462 }, 2510 },
2463 "diskGb": { 2511 "RequestUtilization": {
2464 "description": "Disk size (GB) needed.", 2512 "description": "Target scaling by request utilization. Only applicab le for VM runtimes.",
2465 "format": "double", 2513 "id": "RequestUtilization",
2466 "type": "number" 2514 "properties": {
2467 }, 2515 "targetRequestCountPerSecond": {
2468 "memoryGb": { 2516 "description": "Target requests per second.",
2469 "description": "Memory (GB) needed.", 2517 "format": "int32",
2470 "format": "double", 2518 "type": "integer"
2471 "type": "number" 2519 },
2472 }, 2520 "targetConcurrentRequests": {
2473 "cpu": { 2521 "description": "Target number of concurrent requests.",
2474 "description": "Number of CPU cores needed.", 2522 "format": "int32",
2475 "format": "double", 2523 "type": "integer"
2476 "type": "number"
2477 }
2478 },
2479 "type": "object"
2480 },
2481 "Deployment": {
2482 "description": "Code and application artifacts used to deploy a vers ion to App Engine.",
2483 "id": "Deployment",
2484 "properties": {
2485 "files": {
2486 "additionalProperties": {
2487 "$ref": "FileInfo"
2488 },
2489 "description": "Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable u sing the credentials supplied with this call.",
2490 "type": "object"
2491 },
2492 "zip": {
2493 "$ref": "ZipInfo",
2494 "description": "The zip file for this deployment, if this is a zip deployment."
2495 },
2496 "container": {
2497 "$ref": "ContainerInfo",
2498 "description": "The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible e nvironment."
2499 }
2500 },
2501 "type": "object"
2502 },
2503 "Volume": {
2504 "description": "Volumes mounted within the app container. Only appli cable for VM runtimes.",
2505 "id": "Volume",
2506 "properties": {
2507 "sizeGb": {
2508 "description": "Volume size in gigabytes.",
2509 "format": "double",
2510 "type": "number"
2511 },
2512 "name": {
2513 "description": "Unique name for the volume.",
2514 "type": "string"
2515 },
2516 "volumeType": {
2517 "description": "Underlying volume type, e.g. 'tmpfs'.",
2518 "type": "string"
2519 } 2524 }
2520 }, 2525 },
2521 "type": "object" 2526 "type": "object"
2522 } 2527 }
2523 }, 2528 },
2524 "servicePath": "", 2529 "servicePath": "",
2525 "title": "Google App Engine Admin API", 2530 "title": "Google App Engine Admin API",
2526 "version": "v1" 2531 "version": "v1"
2527 } 2532 }
OLDNEW
« no previous file with comments | « discovery/googleapis/androidmanagement__v1.json ('k') | discovery/googleapis/appstate__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698