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