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