OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform.read-only": { | 5 "https://www.googleapis.com/auth/appengine.admin": { |
6 "description": "View your data across Google Cloud Platform
services" | 6 "description": "View and manage your applications deployed o
n Google App Engine" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/cloud-platform": { | 8 "https://www.googleapis.com/auth/cloud-platform": { |
9 "description": "View and manage your data across Google Clou
d Platform services" | 9 "description": "View and manage your data across Google Clou
d Platform services" |
10 }, | 10 }, |
11 "https://www.googleapis.com/auth/appengine.admin": { | 11 "https://www.googleapis.com/auth/cloud-platform.read-only": { |
12 "description": "View and manage your applications deployed o
n Google App Engine" | 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": "Provisions and manages 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/0wieiWOLZ-Vm6vgB6dsBIuzASBg\"", |
23 "icons": { | 24 "icons": { |
24 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 25 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
25 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 26 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
26 }, | 27 }, |
27 "id": "appengine:v1beta", | 28 "id": "appengine:v1beta", |
28 "kind": "discovery#restDescription", | 29 "kind": "discovery#restDescription", |
29 "name": "appengine", | 30 "name": "appengine", |
30 "ownerDomain": "google.com", | 31 "ownerDomain": "google.com", |
31 "ownerName": "Google", | 32 "ownerName": "Google", |
32 "parameters": { | 33 "parameters": { |
33 "access_token": { | 34 "access_token": { |
34 "description": "OAuth access token.", | 35 "description": "OAuth access token.", |
35 "location": "query", | 36 "location": "query", |
36 "type": "string" | 37 "type": "string" |
37 }, | 38 }, |
| 39 "alt": { |
| 40 "default": "json", |
| 41 "description": "Data format for response.", |
| 42 "enumDescriptions": [ |
| 43 "Responses with Content-Type of application/json", |
| 44 "Media download with context-dependent Content-Type", |
| 45 "Responses with Content-Type of application/x-protobuf" |
| 46 ], |
| 47 "location": "query", |
| 48 "type": "string" |
| 49 }, |
| 50 "bearer_token": { |
| 51 "description": "OAuth bearer token.", |
| 52 "location": "query", |
| 53 "type": "string" |
| 54 }, |
| 55 "callback": { |
| 56 "description": "JSONP", |
| 57 "location": "query", |
| 58 "type": "string" |
| 59 }, |
| 60 "fields": { |
| 61 "description": "Selector specifying which fields to include in a par
tial response.", |
| 62 "location": "query", |
| 63 "type": "string" |
| 64 }, |
38 "key": { | 65 "key": { |
39 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | 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.", |
40 "location": "query", | 67 "location": "query", |
41 "type": "string" | 68 "type": "string" |
42 }, | 69 }, |
43 "quotaUser": { | |
44 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | |
45 "location": "query", | |
46 "type": "string" | |
47 }, | |
48 "pp": { | |
49 "default": "true", | |
50 "description": "Pretty-print response.", | |
51 "location": "query", | |
52 "type": "boolean" | |
53 }, | |
54 "bearer_token": { | |
55 "description": "OAuth bearer token.", | |
56 "location": "query", | |
57 "type": "string" | |
58 }, | |
59 "oauth_token": { | 70 "oauth_token": { |
60 "description": "OAuth 2.0 token for the current user.", | 71 "description": "OAuth 2.0 token for the current user.", |
61 "location": "query", | 72 "location": "query", |
62 "type": "string" | 73 "type": "string" |
63 }, | 74 }, |
64 "upload_protocol": { | 75 "pp": { |
65 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 76 "default": "true", |
| 77 "description": "Pretty-print response.", |
66 "location": "query", | 78 "location": "query", |
67 "type": "string" | 79 "type": "boolean" |
68 }, | 80 }, |
69 "prettyPrint": { | 81 "prettyPrint": { |
70 "default": "true", | 82 "default": "true", |
71 "description": "Returns response with indentations and line breaks."
, | 83 "description": "Returns response with indentations and line breaks."
, |
72 "location": "query", | 84 "location": "query", |
73 "type": "boolean" | 85 "type": "boolean" |
74 }, | 86 }, |
75 "fields": { | 87 "quotaUser": { |
76 "description": "Selector specifying which fields to include in a par
tial response.", | 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
\").", |
77 "location": "query", | 94 "location": "query", |
78 "type": "string" | 95 "type": "string" |
79 }, | 96 }, |
80 "uploadType": { | 97 "uploadType": { |
81 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 98 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
82 "location": "query", | 99 "location": "query", |
83 "type": "string" | 100 "type": "string" |
84 }, | 101 }, |
85 "callback": { | |
86 "description": "JSONP", | |
87 "location": "query", | |
88 "type": "string" | |
89 }, | |
90 "$.xgafv": { | 102 "$.xgafv": { |
91 "description": "V1 error format.", | 103 "description": "V1 error format.", |
92 "enum": [ | |
93 "1", | |
94 "2" | |
95 ], | |
96 "enumDescriptions": [ | 104 "enumDescriptions": [ |
97 "v1 error format", | 105 "v1 error format", |
98 "v2 error format" | 106 "v2 error format" |
99 ], | 107 ], |
100 "location": "query", | 108 "location": "query", |
101 "type": "string" | 109 "type": "string" |
102 }, | |
103 "alt": { | |
104 "default": "json", | |
105 "description": "Data format for response.", | |
106 "enum": [ | |
107 "json", | |
108 "media", | |
109 "proto" | |
110 ], | |
111 "enumDescriptions": [ | |
112 "Responses with Content-Type of application/json", | |
113 "Media download with context-dependent Content-Type", | |
114 "Responses with Content-Type of application/x-protobuf" | |
115 ], | |
116 "location": "query", | |
117 "type": "string" | |
118 } | 110 } |
119 }, | 111 }, |
120 "protocol": "rest", | 112 "protocol": "rest", |
121 "resources": { | 113 "resources": { |
122 "apps": { | 114 "apps": { |
123 "methods": { | 115 "methods": { |
124 "create": { | |
125 "description": "Creates an App Engine application for a Goog
le Cloud Platform project. Required fields:\nid - The ID of the target Cloud Pla
tform project.\nlocation - The region (https://cloud.google.com/appengine/docs/l
ocations) where you want the App Engine application located.For more information
about App Engine applications, see Managing Projects, Applications, and Billing
(https://cloud.google.com/appengine/docs/python/console/).", | |
126 "httpMethod": "POST", | |
127 "id": "appengine.apps.create", | |
128 "parameterOrder": [], | |
129 "parameters": {}, | |
130 "path": "v1beta/apps", | |
131 "request": { | |
132 "$ref": "Application" | |
133 }, | |
134 "response": { | |
135 "$ref": "Operation" | |
136 }, | |
137 "scopes": [ | |
138 "https://www.googleapis.com/auth/cloud-platform" | |
139 ] | |
140 }, | |
141 "repair": { | |
142 "description": "Recreates the required App Engine features f
or the specified App Engine application, for example a Cloud Storage bucket or A
pp Engine service account. Use this method if you receive an error message about
a missing feature, for example, Error retrieving the App Engine service account
.", | |
143 "httpMethod": "POST", | |
144 "id": "appengine.apps.repair", | |
145 "parameterOrder": [ | |
146 "appsId" | |
147 ], | |
148 "parameters": { | |
149 "appsId": { | |
150 "description": "Part of `name`. Name of the applicat
ion to repair. Example: apps/myapp", | |
151 "location": "path", | |
152 "required": true, | |
153 "type": "string" | |
154 } | |
155 }, | |
156 "path": "v1beta/apps/{appsId}:repair", | |
157 "request": { | |
158 "$ref": "RepairApplicationRequest" | |
159 }, | |
160 "response": { | |
161 "$ref": "Operation" | |
162 }, | |
163 "scopes": [ | |
164 "https://www.googleapis.com/auth/cloud-platform" | |
165 ] | |
166 }, | |
167 "get": { | 116 "get": { |
168 "description": "Gets information about an application.", | 117 "description": "Gets information about an application.", |
169 "httpMethod": "GET", | 118 "httpMethod": "GET", |
170 "id": "appengine.apps.get", | 119 "id": "appengine.apps.get", |
171 "parameterOrder": [ | 120 "parameterOrder": [ |
172 "appsId" | 121 "appsId" |
173 ], | 122 ], |
174 "parameters": { | 123 "parameters": { |
175 "appsId": { | 124 "appsId": { |
176 "description": "Part of `name`. Name of the Applicat
ion resource to get. Example: apps/myapp.", | 125 "description": "Part of `name`. Name of the Applicat
ion resource to get. Example: apps/myapp.", |
177 "location": "path", | 126 "location": "path", |
178 "required": true, | 127 "required": true, |
179 "type": "string" | 128 "type": "string" |
180 } | 129 } |
181 }, | 130 }, |
182 "path": "v1beta/apps/{appsId}", | 131 "path": "v1beta/apps/{appsId}", |
183 "response": { | 132 "response": { |
184 "$ref": "Application" | 133 "$ref": "Application" |
185 }, | 134 }, |
186 "scopes": [ | 135 "scopes": [ |
187 "https://www.googleapis.com/auth/appengine.admin", | 136 "https://www.googleapis.com/auth/appengine.admin", |
188 "https://www.googleapis.com/auth/cloud-platform", | 137 "https://www.googleapis.com/auth/cloud-platform", |
189 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 138 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
190 ] | 139 ] |
191 }, | 140 }, |
| 141 "create": { |
| 142 "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/).", |
| 143 "httpMethod": "POST", |
| 144 "id": "appengine.apps.create", |
| 145 "path": "v1beta/apps", |
| 146 "request": { |
| 147 "$ref": "Application" |
| 148 }, |
| 149 "response": { |
| 150 "$ref": "Operation" |
| 151 }, |
| 152 "scopes": [ |
| 153 "https://www.googleapis.com/auth/cloud-platform" |
| 154 ] |
| 155 }, |
192 "patch": { | 156 "patch": { |
193 "description": "Updates the specified Application resource.
You can update the following fields:\nauth_domain - Google authentication domain
for controlling user access to the application.\ndefault_cookie_expiration - Co
okie expiration policy for the application.", | 157 "description": "Updates the specified Application resource.
You can update the following fields: auth_domain - Google authentication domain
for controlling user access to the application. default_cookie_expiration - Cook
ie expiration policy for the application.", |
194 "httpMethod": "PATCH", | 158 "httpMethod": "PATCH", |
195 "id": "appengine.apps.patch", | 159 "id": "appengine.apps.patch", |
196 "parameterOrder": [ | 160 "parameterOrder": [ |
197 "appsId" | 161 "appsId" |
198 ], | 162 ], |
199 "parameters": { | 163 "parameters": { |
200 "appsId": { | 164 "appsId": { |
201 "description": "Part of `name`. Name of the Applicat
ion resource to update. Example: apps/myapp.", | 165 "description": "Part of `name`. Name of the Applicat
ion resource to update. Example: apps/myapp.", |
202 "location": "path", | 166 "location": "path", |
203 "required": true, | 167 "required": true, |
204 "type": "string" | 168 "type": "string" |
205 }, | 169 }, |
206 "updateMask": { | 170 "updateMask": { |
207 "description": "Standard field mask for the set of f
ields to be updated.", | 171 "description": "Standard field mask for the set of f
ields to be updated.", |
208 "format": "google-fieldmask", | |
209 "location": "query", | 172 "location": "query", |
210 "type": "string" | 173 "type": "string" |
211 } | 174 } |
212 }, | 175 }, |
213 "path": "v1beta/apps/{appsId}", | 176 "path": "v1beta/apps/{appsId}", |
214 "request": { | 177 "request": { |
215 "$ref": "Application" | 178 "$ref": "Application" |
216 }, | 179 }, |
217 "response": { | 180 "response": { |
218 "$ref": "Operation" | 181 "$ref": "Operation" |
219 }, | 182 }, |
220 "scopes": [ | 183 "scopes": [ |
221 "https://www.googleapis.com/auth/cloud-platform" | 184 "https://www.googleapis.com/auth/cloud-platform" |
222 ] | 185 ] |
| 186 }, |
| 187 "repair": { |
| 188 "description": "Recreates the required App Engine features f
or the specified App Engine application, for example a Cloud Storage bucket or A
pp Engine service account. Use this method if you receive an error message about
a missing feature, for example, Error retrieving the App Engine service account
.", |
| 189 "httpMethod": "POST", |
| 190 "id": "appengine.apps.repair", |
| 191 "parameterOrder": [ |
| 192 "appsId" |
| 193 ], |
| 194 "parameters": { |
| 195 "appsId": { |
| 196 "description": "Part of `name`. Name of the applicat
ion to repair. Example: apps/myapp", |
| 197 "location": "path", |
| 198 "required": true, |
| 199 "type": "string" |
| 200 } |
| 201 }, |
| 202 "path": "v1beta/apps/{appsId}:repair", |
| 203 "request": { |
| 204 "$ref": "RepairApplicationRequest" |
| 205 }, |
| 206 "response": { |
| 207 "$ref": "Operation" |
| 208 }, |
| 209 "scopes": [ |
| 210 "https://www.googleapis.com/auth/cloud-platform" |
| 211 ] |
223 } | 212 } |
224 }, | 213 }, |
225 "resources": { | 214 "resources": { |
226 "locations": { | 215 "operations": { |
227 "methods": { | 216 "methods": { |
228 "list": { | 217 "list": { |
229 "description": "Lists information about the supporte
d locations for this service.", | 218 "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.", |
230 "httpMethod": "GET", | 219 "httpMethod": "GET", |
231 "id": "appengine.apps.locations.list", | 220 "id": "appengine.apps.operations.list", |
232 "parameterOrder": [ | 221 "parameterOrder": [ |
233 "appsId" | 222 "appsId" |
234 ], | 223 ], |
235 "parameters": { | 224 "parameters": { |
236 "appsId": { | 225 "appsId": { |
237 "description": "Part of `name`. The resource
that owns the locations collection, if applicable.", | 226 "description": "Part of `name`. The name of
the operation collection.", |
238 "location": "path", | 227 "location": "path", |
239 "required": true, | 228 "required": true, |
240 "type": "string" | 229 "type": "string" |
241 }, | 230 }, |
242 "pageToken": { | 231 "filter": { |
243 "description": "The standard list page token
.", | 232 "description": "The standard list filter.", |
244 "location": "query", | 233 "location": "query", |
245 "type": "string" | 234 "type": "string" |
246 }, | 235 }, |
247 "pageSize": { | 236 "pageSize": { |
248 "description": "The standard list page size.
", | 237 "description": "The standard list page size.
", |
249 "format": "int32", | 238 "format": "int32", |
250 "location": "query", | 239 "location": "query", |
251 "type": "integer" | 240 "type": "integer" |
252 }, | 241 }, |
253 "filter": { | 242 "pageToken": { |
254 "description": "The standard list filter.", | 243 "description": "The standard list page token
.", |
255 "location": "query", | 244 "location": "query", |
256 "type": "string" | 245 "type": "string" |
257 } | 246 } |
258 }, | 247 }, |
259 "path": "v1beta/apps/{appsId}/locations", | 248 "path": "v1beta/apps/{appsId}/operations", |
260 "response": { | 249 "response": { |
261 "$ref": "ListLocationsResponse" | 250 "$ref": "ListOperationsResponse" |
262 }, | 251 }, |
263 "scopes": [ | 252 "scopes": [ |
264 "https://www.googleapis.com/auth/appengine.admin
", | 253 "https://www.googleapis.com/auth/appengine.admin
", |
265 "https://www.googleapis.com/auth/cloud-platform"
, | 254 "https://www.googleapis.com/auth/cloud-platform"
, |
266 "https://www.googleapis.com/auth/cloud-platform.
read-only" | 255 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
267 ] | 256 ] |
268 }, | 257 }, |
269 "get": { | 258 "get": { |
270 "description": "Get information about a location.", | 259 "description": "Gets the latest state of a long-runn
ing operation. Clients can use this method to poll the operation result at inter
vals as recommended by the API service.", |
271 "httpMethod": "GET", | 260 "httpMethod": "GET", |
272 "id": "appengine.apps.locations.get", | 261 "id": "appengine.apps.operations.get", |
273 "parameterOrder": [ | 262 "parameterOrder": [ |
274 "appsId", | 263 "appsId", |
275 "locationsId" | 264 "operationsId" |
276 ], | 265 ], |
277 "parameters": { | 266 "parameters": { |
278 "appsId": { | 267 "appsId": { |
279 "description": "Part of `name`. Resource nam
e for the location.", | 268 "description": "Part of `name`. The name of
the operation resource.", |
280 "location": "path", | 269 "location": "path", |
281 "required": true, | 270 "required": true, |
282 "type": "string" | 271 "type": "string" |
283 }, | 272 }, |
284 "locationsId": { | 273 "operationsId": { |
285 "description": "Part of `name`. See document
ation of `appsId`.", | 274 "description": "Part of `name`. See document
ation of `appsId`.", |
286 "location": "path", | 275 "location": "path", |
287 "required": true, | 276 "required": true, |
288 "type": "string" | 277 "type": "string" |
289 } | 278 } |
290 }, | 279 }, |
291 "path": "v1beta/apps/{appsId}/locations/{locationsId
}", | 280 "path": "v1beta/apps/{appsId}/operations/{operations
Id}", |
292 "response": { | 281 "response": { |
293 "$ref": "Location" | 282 "$ref": "Operation" |
294 }, | 283 }, |
295 "scopes": [ | 284 "scopes": [ |
296 "https://www.googleapis.com/auth/appengine.admin
", | 285 "https://www.googleapis.com/auth/appengine.admin
", |
297 "https://www.googleapis.com/auth/cloud-platform"
, | 286 "https://www.googleapis.com/auth/cloud-platform"
, |
298 "https://www.googleapis.com/auth/cloud-platform.
read-only" | 287 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
299 ] | 288 ] |
300 } | 289 } |
301 } | 290 } |
302 }, | 291 }, |
303 "services": { | 292 "services": { |
304 "methods": { | 293 "methods": { |
305 "list": { | 294 "list": { |
306 "description": "Lists all the services in the applic
ation.", | 295 "description": "Lists all the services in the applic
ation.", |
307 "httpMethod": "GET", | 296 "httpMethod": "GET", |
308 "id": "appengine.apps.services.list", | 297 "id": "appengine.apps.services.list", |
309 "parameterOrder": [ | 298 "parameterOrder": [ |
310 "appsId" | 299 "appsId" |
311 ], | 300 ], |
312 "parameters": { | 301 "parameters": { |
313 "appsId": { | 302 "appsId": { |
314 "description": "Part of `parent`. Name of th
e parent Application resource. Example: apps/myapp.", | 303 "description": "Part of `parent`. Name of th
e parent Application resource. Example: apps/myapp.", |
315 "location": "path", | 304 "location": "path", |
316 "required": true, | 305 "required": true, |
317 "type": "string" | 306 "type": "string" |
318 }, | 307 }, |
319 "pageToken": { | |
320 "description": "Continuation token for fetch
ing the next page of results.", | |
321 "location": "query", | |
322 "type": "string" | |
323 }, | |
324 "pageSize": { | 308 "pageSize": { |
325 "description": "Maximum results to return pe
r page.", | 309 "description": "Maximum results to return pe
r page.", |
326 "format": "int32", | 310 "format": "int32", |
327 "location": "query", | 311 "location": "query", |
328 "type": "integer" | 312 "type": "integer" |
| 313 }, |
| 314 "pageToken": { |
| 315 "description": "Continuation token for fetch
ing the next page of results.", |
| 316 "location": "query", |
| 317 "type": "string" |
329 } | 318 } |
330 }, | 319 }, |
331 "path": "v1beta/apps/{appsId}/services", | 320 "path": "v1beta/apps/{appsId}/services", |
332 "response": { | 321 "response": { |
333 "$ref": "ListServicesResponse" | 322 "$ref": "ListServicesResponse" |
334 }, | 323 }, |
335 "scopes": [ | 324 "scopes": [ |
336 "https://www.googleapis.com/auth/appengine.admin
", | 325 "https://www.googleapis.com/auth/appengine.admin
", |
337 "https://www.googleapis.com/auth/cloud-platform"
, | 326 "https://www.googleapis.com/auth/cloud-platform"
, |
338 "https://www.googleapis.com/auth/cloud-platform.
read-only" | 327 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
339 ] | 328 ] |
340 }, | 329 }, |
341 "get": { | 330 "get": { |
342 "description": "Gets the current configuration of th
e specified service.", | 331 "description": "Gets the current configuration of th
e specified service.", |
343 "httpMethod": "GET", | 332 "httpMethod": "GET", |
344 "id": "appengine.apps.services.get", | 333 "id": "appengine.apps.services.get", |
345 "parameterOrder": [ | 334 "parameterOrder": [ |
346 "appsId", | 335 "appsId", |
347 "servicesId" | 336 "servicesId" |
348 ], | 337 ], |
349 "parameters": { | 338 "parameters": { |
| 339 "appsId": { |
| 340 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/services/default.", |
| 341 "location": "path", |
| 342 "required": true, |
| 343 "type": "string" |
| 344 }, |
350 "servicesId": { | 345 "servicesId": { |
351 "description": "Part of `name`. See document
ation of `appsId`.", | 346 "description": "Part of `name`. See document
ation of `appsId`.", |
352 "location": "path", | 347 "location": "path", |
353 "required": true, | 348 "required": true, |
354 "type": "string" | 349 "type": "string" |
355 }, | |
356 "appsId": { | |
357 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/services/default.", | |
358 "location": "path", | |
359 "required": true, | |
360 "type": "string" | |
361 } | 350 } |
362 }, | 351 }, |
363 "path": "v1beta/apps/{appsId}/services/{servicesId}"
, | 352 "path": "v1beta/apps/{appsId}/services/{servicesId}"
, |
364 "response": { | 353 "response": { |
365 "$ref": "Service" | 354 "$ref": "Service" |
366 }, | 355 }, |
367 "scopes": [ | 356 "scopes": [ |
368 "https://www.googleapis.com/auth/appengine.admin
", | 357 "https://www.googleapis.com/auth/appengine.admin
", |
369 "https://www.googleapis.com/auth/cloud-platform"
, | 358 "https://www.googleapis.com/auth/cloud-platform"
, |
370 "https://www.googleapis.com/auth/cloud-platform.
read-only" | 359 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
371 ] | 360 ] |
372 }, | 361 }, |
373 "patch": { | 362 "patch": { |
374 "description": "Updates the configuration of the spe
cified service.", | 363 "description": "Updates the configuration of the spe
cified service.", |
375 "httpMethod": "PATCH", | 364 "httpMethod": "PATCH", |
376 "id": "appengine.apps.services.patch", | 365 "id": "appengine.apps.services.patch", |
377 "parameterOrder": [ | 366 "parameterOrder": [ |
378 "appsId", | 367 "appsId", |
379 "servicesId" | 368 "servicesId" |
380 ], | 369 ], |
381 "parameters": { | 370 "parameters": { |
382 "updateMask": { | 371 "appsId": { |
383 "description": "Standard field mask for the
set of fields to be updated.", | 372 "description": "Part of `name`. Name of the
resource to update. Example: apps/myapp/services/default.", |
384 "format": "google-fieldmask", | 373 "location": "path", |
385 "location": "query", | 374 "required": true, |
386 "type": "string" | 375 "type": "string" |
387 }, | 376 }, |
388 "servicesId": { | 377 "servicesId": { |
389 "description": "Part of `name`. See document
ation of `appsId`.", | 378 "description": "Part of `name`. See document
ation of `appsId`.", |
390 "location": "path", | 379 "location": "path", |
391 "required": true, | 380 "required": true, |
392 "type": "string" | 381 "type": "string" |
393 }, | 382 }, |
394 "appsId": { | 383 "updateMask": { |
395 "description": "Part of `name`. Name of the
resource to update. Example: apps/myapp/services/default.", | 384 "description": "Standard field mask for the
set of fields to be updated.", |
396 "location": "path", | 385 "location": "query", |
397 "required": true, | |
398 "type": "string" | 386 "type": "string" |
399 }, | 387 }, |
400 "migrateTraffic": { | 388 "migrateTraffic": { |
401 "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/v1beta/apps.services.version
s#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/
docs/admin-api/reference/rest/v1beta/apps.services.versions#automaticscaling). Y
ou must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/r
eference/rest/v1beta/apps.services#shardby) field in the Service resource. Gradu
al traffic migration is not supported in the App Engine flexible environment. Fo
r examples, see Migrating and Splitting Traffic (https://cloud.google.com/appeng
ine/docs/admin-api/migrating-splitting-traffic).", | 389 "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/v1beta/apps.services.version
s#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/
docs/admin-api/reference/rest/v1beta/apps.services.versions#automaticscaling). Y
ou must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/r
eference/rest/v1beta/apps.services#shardby) field in the Service resource. Gradu
al traffic migration is not supported in the App Engine flexible environment. Fo
r examples, see Migrating and Splitting Traffic (https://cloud.google.com/appeng
ine/docs/admin-api/migrating-splitting-traffic).", |
402 "location": "query", | 390 "location": "query", |
403 "type": "boolean" | 391 "type": "boolean" |
404 } | 392 } |
405 }, | 393 }, |
406 "path": "v1beta/apps/{appsId}/services/{servicesId}"
, | 394 "path": "v1beta/apps/{appsId}/services/{servicesId}"
, |
407 "request": { | 395 "request": { |
408 "$ref": "Service" | 396 "$ref": "Service" |
409 }, | 397 }, |
410 "response": { | 398 "response": { |
411 "$ref": "Operation" | 399 "$ref": "Operation" |
412 }, | 400 }, |
413 "scopes": [ | 401 "scopes": [ |
414 "https://www.googleapis.com/auth/cloud-platform" | 402 "https://www.googleapis.com/auth/cloud-platform" |
415 ] | 403 ] |
416 }, | 404 }, |
417 "delete": { | 405 "delete": { |
418 "description": "Deletes the specified service and al
l enclosed versions.", | 406 "description": "Deletes the specified service and al
l enclosed versions.", |
419 "httpMethod": "DELETE", | 407 "httpMethod": "DELETE", |
420 "id": "appengine.apps.services.delete", | 408 "id": "appengine.apps.services.delete", |
421 "parameterOrder": [ | 409 "parameterOrder": [ |
422 "appsId", | 410 "appsId", |
423 "servicesId" | 411 "servicesId" |
424 ], | 412 ], |
425 "parameters": { | 413 "parameters": { |
| 414 "appsId": { |
| 415 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/services/default.", |
| 416 "location": "path", |
| 417 "required": true, |
| 418 "type": "string" |
| 419 }, |
426 "servicesId": { | 420 "servicesId": { |
427 "description": "Part of `name`. See document
ation of `appsId`.", | 421 "description": "Part of `name`. See document
ation of `appsId`.", |
428 "location": "path", | 422 "location": "path", |
429 "required": true, | 423 "required": true, |
430 "type": "string" | 424 "type": "string" |
431 }, | |
432 "appsId": { | |
433 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/services/default.", | |
434 "location": "path", | |
435 "required": true, | |
436 "type": "string" | |
437 } | 425 } |
438 }, | 426 }, |
439 "path": "v1beta/apps/{appsId}/services/{servicesId}"
, | 427 "path": "v1beta/apps/{appsId}/services/{servicesId}"
, |
440 "response": { | 428 "response": { |
441 "$ref": "Operation" | 429 "$ref": "Operation" |
442 }, | 430 }, |
443 "scopes": [ | 431 "scopes": [ |
444 "https://www.googleapis.com/auth/cloud-platform" | 432 "https://www.googleapis.com/auth/cloud-platform" |
445 ] | 433 ] |
446 } | 434 } |
447 }, | 435 }, |
448 "resources": { | 436 "resources": { |
449 "versions": { | 437 "versions": { |
450 "methods": { | 438 "methods": { |
451 "create": { | 439 "list": { |
452 "description": "Deploys code and resource fi
les to a new version.", | 440 "description": "Lists the versions of a serv
ice.", |
453 "httpMethod": "POST", | 441 "httpMethod": "GET", |
454 "id": "appengine.apps.services.versions.crea
te", | 442 "id": "appengine.apps.services.versions.list
", |
455 "parameterOrder": [ | 443 "parameterOrder": [ |
456 "appsId", | 444 "appsId", |
457 "servicesId" | 445 "servicesId" |
458 ], | 446 ], |
459 "parameters": { | 447 "parameters": { |
| 448 "appsId": { |
| 449 "description": "Part of `parent`. Na
me of the parent Service resource. Example: apps/myapp/services/default.", |
| 450 "location": "path", |
| 451 "required": true, |
| 452 "type": "string" |
| 453 }, |
460 "servicesId": { | 454 "servicesId": { |
461 "description": "Part of `parent`. Se
e documentation of `appsId`.", | 455 "description": "Part of `parent`. Se
e documentation of `appsId`.", |
462 "location": "path", | 456 "location": "path", |
463 "required": true, | 457 "required": true, |
464 "type": "string" | 458 "type": "string" |
465 }, | 459 }, |
466 "appsId": { | 460 "view": { |
467 "description": "Part of `parent`. Na
me of the parent resource to create this version under. Example: apps/myapp/serv
ices/default.", | 461 "description": "Controls the set of
fields returned in the List response.", |
468 "location": "path", | 462 "enum": [ |
469 "required": true, | 463 "BASIC", |
| 464 "FULL" |
| 465 ], |
| 466 "location": "query", |
| 467 "type": "string" |
| 468 }, |
| 469 "pageSize": { |
| 470 "description": "Maximum results to r
eturn per page.", |
| 471 "format": "int32", |
| 472 "location": "query", |
| 473 "type": "integer" |
| 474 }, |
| 475 "pageToken": { |
| 476 "description": "Continuation token f
or fetching the next page of results.", |
| 477 "location": "query", |
470 "type": "string" | 478 "type": "string" |
471 } | 479 } |
472 }, | 480 }, |
473 "path": "v1beta/apps/{appsId}/services/{serv
icesId}/versions", | 481 "path": "v1beta/apps/{appsId}/services/{serv
icesId}/versions", |
474 "request": { | |
475 "$ref": "Version" | |
476 }, | |
477 "response": { | 482 "response": { |
478 "$ref": "Operation" | 483 "$ref": "ListVersionsResponse" |
479 }, | 484 }, |
480 "scopes": [ | 485 "scopes": [ |
481 "https://www.googleapis.com/auth/cloud-p
latform" | 486 "https://www.googleapis.com/auth/appengi
ne.admin", |
| 487 "https://www.googleapis.com/auth/cloud-p
latform", |
| 488 "https://www.googleapis.com/auth/cloud-p
latform.read-only" |
482 ] | 489 ] |
483 }, | 490 }, |
484 "delete": { | 491 "get": { |
485 "description": "Deletes an existing Version
resource.", | 492 "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.", |
486 "httpMethod": "DELETE", | 493 "httpMethod": "GET", |
487 "id": "appengine.apps.services.versions.dele
te", | 494 "id": "appengine.apps.services.versions.get"
, |
488 "parameterOrder": [ | 495 "parameterOrder": [ |
489 "appsId", | 496 "appsId", |
490 "servicesId", | 497 "servicesId", |
491 "versionsId" | 498 "versionsId" |
492 ], | 499 ], |
493 "parameters": { | 500 "parameters": { |
| 501 "appsId": { |
| 502 "description": "Part of `name`. Name
of the resource requested. Example: apps/myapp/services/default/versions/v1.", |
| 503 "location": "path", |
| 504 "required": true, |
| 505 "type": "string" |
| 506 }, |
494 "servicesId": { | 507 "servicesId": { |
495 "description": "Part of `name`. See
documentation of `appsId`.", | 508 "description": "Part of `name`. See
documentation of `appsId`.", |
496 "location": "path", | 509 "location": "path", |
497 "required": true, | 510 "required": true, |
498 "type": "string" | 511 "type": "string" |
499 }, | |
500 "appsId": { | |
501 "description": "Part of `name`. Name
of the resource requested. Example: apps/myapp/services/default/versions/v1.", | |
502 "location": "path", | |
503 "required": true, | |
504 "type": "string" | |
505 }, | 512 }, |
506 "versionsId": { | 513 "versionsId": { |
507 "description": "Part of `name`. See
documentation of `appsId`.", | 514 "description": "Part of `name`. See
documentation of `appsId`.", |
508 "location": "path", | 515 "location": "path", |
509 "required": true, | 516 "required": true, |
510 "type": "string" | 517 "type": "string" |
511 } | |
512 }, | |
513 "path": "v1beta/apps/{appsId}/services/{serv
icesId}/versions/{versionsId}", | |
514 "response": { | |
515 "$ref": "Operation" | |
516 }, | |
517 "scopes": [ | |
518 "https://www.googleapis.com/auth/cloud-p
latform" | |
519 ] | |
520 }, | |
521 "list": { | |
522 "description": "Lists the versions of a serv
ice.", | |
523 "httpMethod": "GET", | |
524 "id": "appengine.apps.services.versions.list
", | |
525 "parameterOrder": [ | |
526 "appsId", | |
527 "servicesId" | |
528 ], | |
529 "parameters": { | |
530 "servicesId": { | |
531 "description": "Part of `parent`. Se
e documentation of `appsId`.", | |
532 "location": "path", | |
533 "required": true, | |
534 "type": "string" | |
535 }, | |
536 "appsId": { | |
537 "description": "Part of `parent`. Na
me of the parent Service resource. Example: apps/myapp/services/default.", | |
538 "location": "path", | |
539 "required": true, | |
540 "type": "string" | |
541 }, | |
542 "pageToken": { | |
543 "description": "Continuation token f
or fetching the next page of results.", | |
544 "location": "query", | |
545 "type": "string" | |
546 }, | |
547 "pageSize": { | |
548 "description": "Maximum results to r
eturn per page.", | |
549 "format": "int32", | |
550 "location": "query", | |
551 "type": "integer" | |
552 }, | |
553 "view": { | |
554 "description": "Controls the set of
fields returned in the List response.", | |
555 "enum": [ | |
556 "BASIC", | |
557 "FULL" | |
558 ], | |
559 "location": "query", | |
560 "type": "string" | |
561 } | |
562 }, | |
563 "path": "v1beta/apps/{appsId}/services/{serv
icesId}/versions", | |
564 "response": { | |
565 "$ref": "ListVersionsResponse" | |
566 }, | |
567 "scopes": [ | |
568 "https://www.googleapis.com/auth/appengi
ne.admin", | |
569 "https://www.googleapis.com/auth/cloud-p
latform", | |
570 "https://www.googleapis.com/auth/cloud-p
latform.read-only" | |
571 ] | |
572 }, | |
573 "get": { | |
574 "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.", | |
575 "httpMethod": "GET", | |
576 "id": "appengine.apps.services.versions.get"
, | |
577 "parameterOrder": [ | |
578 "appsId", | |
579 "servicesId", | |
580 "versionsId" | |
581 ], | |
582 "parameters": { | |
583 "versionsId": { | |
584 "description": "Part of `name`. See
documentation of `appsId`.", | |
585 "location": "path", | |
586 "required": true, | |
587 "type": "string" | |
588 }, | 518 }, |
589 "view": { | 519 "view": { |
590 "description": "Controls the set of
fields returned in the Get response.", | 520 "description": "Controls the set of
fields returned in the Get response.", |
591 "enum": [ | 521 "enum": [ |
592 "BASIC", | 522 "BASIC", |
593 "FULL" | 523 "FULL" |
594 ], | 524 ], |
595 "location": "query", | 525 "location": "query", |
596 "type": "string" | 526 "type": "string" |
597 }, | |
598 "servicesId": { | |
599 "description": "Part of `name`. See
documentation of `appsId`.", | |
600 "location": "path", | |
601 "required": true, | |
602 "type": "string" | |
603 }, | |
604 "appsId": { | |
605 "description": "Part of `name`. Name
of the resource requested. Example: apps/myapp/services/default/versions/v1.", | |
606 "location": "path", | |
607 "required": true, | |
608 "type": "string" | |
609 } | 527 } |
610 }, | 528 }, |
611 "path": "v1beta/apps/{appsId}/services/{serv
icesId}/versions/{versionsId}", | 529 "path": "v1beta/apps/{appsId}/services/{serv
icesId}/versions/{versionsId}", |
612 "response": { | 530 "response": { |
613 "$ref": "Version" | 531 "$ref": "Version" |
614 }, | 532 }, |
615 "scopes": [ | 533 "scopes": [ |
616 "https://www.googleapis.com/auth/appengi
ne.admin", | 534 "https://www.googleapis.com/auth/appengi
ne.admin", |
617 "https://www.googleapis.com/auth/cloud-p
latform", | 535 "https://www.googleapis.com/auth/cloud-p
latform", |
618 "https://www.googleapis.com/auth/cloud-p
latform.read-only" | 536 "https://www.googleapis.com/auth/cloud-p
latform.read-only" |
619 ] | 537 ] |
620 }, | 538 }, |
| 539 "create": { |
| 540 "description": "Deploys code and resource fi
les to a new version.", |
| 541 "httpMethod": "POST", |
| 542 "id": "appengine.apps.services.versions.crea
te", |
| 543 "parameterOrder": [ |
| 544 "appsId", |
| 545 "servicesId" |
| 546 ], |
| 547 "parameters": { |
| 548 "appsId": { |
| 549 "description": "Part of `parent`. Na
me of the parent resource to create this version under. Example: apps/myapp/serv
ices/default.", |
| 550 "location": "path", |
| 551 "required": true, |
| 552 "type": "string" |
| 553 }, |
| 554 "servicesId": { |
| 555 "description": "Part of `parent`. Se
e documentation of `appsId`.", |
| 556 "location": "path", |
| 557 "required": true, |
| 558 "type": "string" |
| 559 } |
| 560 }, |
| 561 "path": "v1beta/apps/{appsId}/services/{serv
icesId}/versions", |
| 562 "request": { |
| 563 "$ref": "Version" |
| 564 }, |
| 565 "response": { |
| 566 "$ref": "Operation" |
| 567 }, |
| 568 "scopes": [ |
| 569 "https://www.googleapis.com/auth/cloud-p
latform" |
| 570 ] |
| 571 }, |
621 "patch": { | 572 "patch": { |
622 "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/v1beta/apps.servi
ces.versions#Version.FIELDS.serving_status): For Version resources that use bas
ic scaling, manual scaling, or run in the App Engine flexible environment.\nins
tance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1
beta/apps.services.versions#Version.FIELDS.instance_class): For Version resourc
es that run in the App Engine standard environment.\nautomatic_scaling.min_idle_
instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
ta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resour
ces that use automatic scaling and run in the App Engine standard environment.\
nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/a
dmin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_s
caling): For Version resources that use automatic scaling and run in the App E
ngine standard environment.", | 573 "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/v1beta/apps.servic
es.versions#Version.FIELDS.serving_status): For Version resources that use basic
scaling, manual scaling, or run in the App Engine flexible environment. instanc
e_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta
/apps.services.versions#Version.FIELDS.instance_class): For Version resources th
at run in the App Engine standard environment. automatic_scaling.min_idle_instan
ces (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/app
s.services.versions#Version.FIELDS.automatic_scaling): For Version resources tha
t use automatic scaling and run in the App Engine standard environment. automati
c_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/
reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling):
For Version resources that use automatic scaling and run in the App Engine stand
ard environment.", |
623 "httpMethod": "PATCH", | 574 "httpMethod": "PATCH", |
624 "id": "appengine.apps.services.versions.patc
h", | 575 "id": "appengine.apps.services.versions.patc
h", |
625 "parameterOrder": [ | 576 "parameterOrder": [ |
626 "appsId", | 577 "appsId", |
627 "servicesId", | 578 "servicesId", |
628 "versionsId" | 579 "versionsId" |
629 ], | 580 ], |
630 "parameters": { | 581 "parameters": { |
| 582 "appsId": { |
| 583 "description": "Part of `name`. Name
of the resource to update. Example: apps/myapp/services/default/versions/1.", |
| 584 "location": "path", |
| 585 "required": true, |
| 586 "type": "string" |
| 587 }, |
631 "servicesId": { | 588 "servicesId": { |
632 "description": "Part of `name`. See
documentation of `appsId`.", | 589 "description": "Part of `name`. See
documentation of `appsId`.", |
633 "location": "path", | 590 "location": "path", |
634 "required": true, | 591 "required": true, |
635 "type": "string" | 592 "type": "string" |
636 }, | 593 }, |
637 "appsId": { | 594 "versionsId": { |
638 "description": "Part of `name`. Name
of the resource to update. Example: apps/myapp/services/default/versions/1.", | 595 "description": "Part of `name`. See
documentation of `appsId`.", |
639 "location": "path", | 596 "location": "path", |
640 "required": true, | 597 "required": true, |
641 "type": "string" | 598 "type": "string" |
| 599 }, |
| 600 "updateMask": { |
| 601 "description": "Standard field mask
for the set of fields to be updated.", |
| 602 "location": "query", |
| 603 "type": "string" |
| 604 } |
| 605 }, |
| 606 "path": "v1beta/apps/{appsId}/services/{serv
icesId}/versions/{versionsId}", |
| 607 "request": { |
| 608 "$ref": "Version" |
| 609 }, |
| 610 "response": { |
| 611 "$ref": "Operation" |
| 612 }, |
| 613 "scopes": [ |
| 614 "https://www.googleapis.com/auth/cloud-p
latform" |
| 615 ] |
| 616 }, |
| 617 "delete": { |
| 618 "description": "Deletes an existing Version
resource.", |
| 619 "httpMethod": "DELETE", |
| 620 "id": "appengine.apps.services.versions.dele
te", |
| 621 "parameterOrder": [ |
| 622 "appsId", |
| 623 "servicesId", |
| 624 "versionsId" |
| 625 ], |
| 626 "parameters": { |
| 627 "appsId": { |
| 628 "description": "Part of `name`. Name
of the resource requested. Example: apps/myapp/services/default/versions/v1.", |
| 629 "location": "path", |
| 630 "required": true, |
| 631 "type": "string" |
| 632 }, |
| 633 "servicesId": { |
| 634 "description": "Part of `name`. See
documentation of `appsId`.", |
| 635 "location": "path", |
| 636 "required": true, |
| 637 "type": "string" |
642 }, | 638 }, |
643 "versionsId": { | 639 "versionsId": { |
644 "description": "Part of `name`. See
documentation of `appsId`.", | 640 "description": "Part of `name`. See
documentation of `appsId`.", |
645 "location": "path", | 641 "location": "path", |
646 "required": true, | 642 "required": true, |
647 "type": "string" | 643 "type": "string" |
648 }, | |
649 "updateMask": { | |
650 "description": "Standard field mask
for the set of fields to be updated.", | |
651 "format": "google-fieldmask", | |
652 "location": "query", | |
653 "type": "string" | |
654 } | 644 } |
655 }, | 645 }, |
656 "path": "v1beta/apps/{appsId}/services/{serv
icesId}/versions/{versionsId}", | 646 "path": "v1beta/apps/{appsId}/services/{serv
icesId}/versions/{versionsId}", |
657 "request": { | |
658 "$ref": "Version" | |
659 }, | |
660 "response": { | 647 "response": { |
661 "$ref": "Operation" | 648 "$ref": "Operation" |
662 }, | 649 }, |
663 "scopes": [ | 650 "scopes": [ |
664 "https://www.googleapis.com/auth/cloud-p
latform" | 651 "https://www.googleapis.com/auth/cloud-p
latform" |
665 ] | 652 ] |
666 } | 653 } |
667 }, | 654 }, |
668 "resources": { | 655 "resources": { |
669 "instances": { | 656 "instances": { |
670 "methods": { | 657 "methods": { |
671 "delete": { | |
672 "description": "Stops a running inst
ance.", | |
673 "httpMethod": "DELETE", | |
674 "id": "appengine.apps.services.versi
ons.instances.delete", | |
675 "parameterOrder": [ | |
676 "appsId", | |
677 "servicesId", | |
678 "versionsId", | |
679 "instancesId" | |
680 ], | |
681 "parameters": { | |
682 "servicesId": { | |
683 "description": "Part of `nam
e`. See documentation of `appsId`.", | |
684 "location": "path", | |
685 "required": true, | |
686 "type": "string" | |
687 }, | |
688 "appsId": { | |
689 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/services/default/version
s/v1/instances/instance-1.", | |
690 "location": "path", | |
691 "required": true, | |
692 "type": "string" | |
693 }, | |
694 "instancesId": { | |
695 "description": "Part of `nam
e`. See documentation of `appsId`.", | |
696 "location": "path", | |
697 "required": true, | |
698 "type": "string" | |
699 }, | |
700 "versionsId": { | |
701 "description": "Part of `nam
e`. See documentation of `appsId`.", | |
702 "location": "path", | |
703 "required": true, | |
704 "type": "string" | |
705 } | |
706 }, | |
707 "path": "v1beta/apps/{appsId}/servic
es/{servicesId}/versions/{versionsId}/instances/{instancesId}", | |
708 "response": { | |
709 "$ref": "Operation" | |
710 }, | |
711 "scopes": [ | |
712 "https://www.googleapis.com/auth
/cloud-platform" | |
713 ] | |
714 }, | |
715 "list": { | 658 "list": { |
716 "description": "Lists the instances
of a version.", | 659 "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).", |
717 "httpMethod": "GET", | 660 "httpMethod": "GET", |
718 "id": "appengine.apps.services.versi
ons.instances.list", | 661 "id": "appengine.apps.services.versi
ons.instances.list", |
719 "parameterOrder": [ | 662 "parameterOrder": [ |
720 "appsId", | 663 "appsId", |
721 "servicesId", | 664 "servicesId", |
722 "versionsId" | 665 "versionsId" |
723 ], | 666 ], |
724 "parameters": { | 667 "parameters": { |
725 "appsId": { | 668 "appsId": { |
726 "description": "Part of `par
ent`. Name of the parent Version resource. Example: apps/myapp/services/default/
versions/v1.", | 669 "description": "Part of `par
ent`. Name of the parent Version resource. Example: apps/myapp/services/default/
versions/v1.", |
727 "location": "path", | 670 "location": "path", |
728 "required": true, | 671 "required": true, |
729 "type": "string" | 672 "type": "string" |
730 }, | 673 }, |
731 "pageToken": { | 674 "servicesId": { |
732 "description": "Continuation
token for fetching the next page of results.", | 675 "description": "Part of `par
ent`. See documentation of `appsId`.", |
733 "location": "query", | 676 "location": "path", |
| 677 "required": true, |
| 678 "type": "string" |
| 679 }, |
| 680 "versionsId": { |
| 681 "description": "Part of `par
ent`. See documentation of `appsId`.", |
| 682 "location": "path", |
| 683 "required": true, |
734 "type": "string" | 684 "type": "string" |
735 }, | 685 }, |
736 "pageSize": { | 686 "pageSize": { |
737 "description": "Maximum resu
lts to return per page.", | 687 "description": "Maximum resu
lts to return per page.", |
738 "format": "int32", | 688 "format": "int32", |
739 "location": "query", | 689 "location": "query", |
740 "type": "integer" | 690 "type": "integer" |
741 }, | 691 }, |
742 "versionsId": { | 692 "pageToken": { |
743 "description": "Part of `par
ent`. See documentation of `appsId`.", | 693 "description": "Continuation
token for fetching the next page of results.", |
744 "location": "path", | 694 "location": "query", |
745 "required": true, | |
746 "type": "string" | |
747 }, | |
748 "servicesId": { | |
749 "description": "Part of `par
ent`. See documentation of `appsId`.", | |
750 "location": "path", | |
751 "required": true, | |
752 "type": "string" | 695 "type": "string" |
753 } | 696 } |
754 }, | 697 }, |
755 "path": "v1beta/apps/{appsId}/servic
es/{servicesId}/versions/{versionsId}/instances", | 698 "path": "v1beta/apps/{appsId}/servic
es/{servicesId}/versions/{versionsId}/instances", |
756 "response": { | 699 "response": { |
757 "$ref": "ListInstancesResponse" | 700 "$ref": "ListInstancesResponse" |
758 }, | 701 }, |
759 "scopes": [ | 702 "scopes": [ |
760 "https://www.googleapis.com/auth
/appengine.admin", | 703 "https://www.googleapis.com/auth
/appengine.admin", |
761 "https://www.googleapis.com/auth
/cloud-platform", | 704 "https://www.googleapis.com/auth
/cloud-platform", |
762 "https://www.googleapis.com/auth
/cloud-platform.read-only" | 705 "https://www.googleapis.com/auth
/cloud-platform.read-only" |
763 ] | 706 ] |
764 }, | 707 }, |
765 "get": { | 708 "get": { |
766 "description": "Gets instance inform
ation.", | 709 "description": "Gets instance inform
ation.", |
767 "httpMethod": "GET", | 710 "httpMethod": "GET", |
768 "id": "appengine.apps.services.versi
ons.instances.get", | 711 "id": "appengine.apps.services.versi
ons.instances.get", |
769 "parameterOrder": [ | 712 "parameterOrder": [ |
770 "appsId", | 713 "appsId", |
771 "servicesId", | 714 "servicesId", |
772 "versionsId", | 715 "versionsId", |
773 "instancesId" | 716 "instancesId" |
774 ], | 717 ], |
775 "parameters": { | 718 "parameters": { |
776 "servicesId": { | |
777 "description": "Part of `nam
e`. See documentation of `appsId`.", | |
778 "location": "path", | |
779 "required": true, | |
780 "type": "string" | |
781 }, | |
782 "appsId": { | 719 "appsId": { |
783 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/services/default/version
s/v1/instances/instance-1.", | 720 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/services/default/version
s/v1/instances/instance-1.", |
784 "location": "path", | 721 "location": "path", |
785 "required": true, | 722 "required": true, |
786 "type": "string" | 723 "type": "string" |
787 }, | 724 }, |
788 "instancesId": { | 725 "servicesId": { |
789 "description": "Part of `nam
e`. See documentation of `appsId`.", | 726 "description": "Part of `nam
e`. See documentation of `appsId`.", |
790 "location": "path", | 727 "location": "path", |
791 "required": true, | 728 "required": true, |
792 "type": "string" | 729 "type": "string" |
793 }, | 730 }, |
794 "versionsId": { | 731 "versionsId": { |
795 "description": "Part of `nam
e`. See documentation of `appsId`.", | 732 "description": "Part of `nam
e`. See documentation of `appsId`.", |
796 "location": "path", | 733 "location": "path", |
797 "required": true, | 734 "required": true, |
| 735 "type": "string" |
| 736 }, |
| 737 "instancesId": { |
| 738 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 739 "location": "path", |
| 740 "required": true, |
798 "type": "string" | 741 "type": "string" |
799 } | 742 } |
800 }, | 743 }, |
801 "path": "v1beta/apps/{appsId}/servic
es/{servicesId}/versions/{versionsId}/instances/{instancesId}", | 744 "path": "v1beta/apps/{appsId}/servic
es/{servicesId}/versions/{versionsId}/instances/{instancesId}", |
802 "response": { | 745 "response": { |
803 "$ref": "Instance" | 746 "$ref": "Instance" |
804 }, | 747 }, |
805 "scopes": [ | 748 "scopes": [ |
806 "https://www.googleapis.com/auth
/appengine.admin", | 749 "https://www.googleapis.com/auth
/appengine.admin", |
807 "https://www.googleapis.com/auth
/cloud-platform", | 750 "https://www.googleapis.com/auth
/cloud-platform", |
808 "https://www.googleapis.com/auth
/cloud-platform.read-only" | 751 "https://www.googleapis.com/auth
/cloud-platform.read-only" |
809 ] | 752 ] |
810 }, | 753 }, |
811 "debug": { | 754 "delete": { |
812 "description": "Enables debugging on
a VM instance. This allows you to use the SSH command to connect to the virtual
machine where the instance lives. While in \"debug mode\", the instance continu
es to serve live traffic. You should delete the instance when you are done debug
ging and then allow the system to take over and determine if another instance sh
ould be started.Only applicable for instances in App Engine flexible environment
.", | 755 "description": "Stops a running inst
ance.", |
813 "httpMethod": "POST", | 756 "httpMethod": "DELETE", |
814 "id": "appengine.apps.services.versi
ons.instances.debug", | 757 "id": "appengine.apps.services.versi
ons.instances.delete", |
815 "parameterOrder": [ | 758 "parameterOrder": [ |
816 "appsId", | 759 "appsId", |
817 "servicesId", | 760 "servicesId", |
818 "versionsId", | 761 "versionsId", |
819 "instancesId" | 762 "instancesId" |
820 ], | 763 ], |
821 "parameters": { | 764 "parameters": { |
822 "versionsId": { | 765 "appsId": { |
823 "description": "Part of `nam
e`. See documentation of `appsId`.", | 766 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/services/default/version
s/v1/instances/instance-1.", |
824 "location": "path", | 767 "location": "path", |
825 "required": true, | 768 "required": true, |
826 "type": "string" | 769 "type": "string" |
827 }, | 770 }, |
828 "servicesId": { | 771 "servicesId": { |
829 "description": "Part of `nam
e`. See documentation of `appsId`.", | 772 "description": "Part of `nam
e`. See documentation of `appsId`.", |
830 "location": "path", | 773 "location": "path", |
831 "required": true, | 774 "required": true, |
832 "type": "string" | 775 "type": "string" |
833 }, | 776 }, |
834 "appsId": { | 777 "versionsId": { |
835 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/services/default/version
s/v1/instances/instance-1.", | 778 "description": "Part of `nam
e`. See documentation of `appsId`.", |
836 "location": "path", | 779 "location": "path", |
837 "required": true, | 780 "required": true, |
838 "type": "string" | 781 "type": "string" |
839 }, | 782 }, |
840 "instancesId": { | 783 "instancesId": { |
841 "description": "Part of `nam
e`. See documentation of `appsId`.", | 784 "description": "Part of `nam
e`. See documentation of `appsId`.", |
842 "location": "path", | 785 "location": "path", |
| 786 "required": true, |
| 787 "type": "string" |
| 788 } |
| 789 }, |
| 790 "path": "v1beta/apps/{appsId}/servic
es/{servicesId}/versions/{versionsId}/instances/{instancesId}", |
| 791 "response": { |
| 792 "$ref": "Operation" |
| 793 }, |
| 794 "scopes": [ |
| 795 "https://www.googleapis.com/auth
/cloud-platform" |
| 796 ] |
| 797 }, |
| 798 "debug": { |
| 799 "description": "Enables debugging on
a VM instance. This allows you to use the SSH command to connect to the virtual
machine where the instance lives. While in \"debug mode\", the instance continu
es to serve live traffic. You should delete the instance when you are done debug
ging and then allow the system to take over and determine if another instance sh
ould be started.Only applicable for instances in App Engine flexible environment
.", |
| 800 "httpMethod": "POST", |
| 801 "id": "appengine.apps.services.versi
ons.instances.debug", |
| 802 "parameterOrder": [ |
| 803 "appsId", |
| 804 "servicesId", |
| 805 "versionsId", |
| 806 "instancesId" |
| 807 ], |
| 808 "parameters": { |
| 809 "appsId": { |
| 810 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/services/default/version
s/v1/instances/instance-1.", |
| 811 "location": "path", |
| 812 "required": true, |
| 813 "type": "string" |
| 814 }, |
| 815 "servicesId": { |
| 816 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 817 "location": "path", |
| 818 "required": true, |
| 819 "type": "string" |
| 820 }, |
| 821 "versionsId": { |
| 822 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 823 "location": "path", |
| 824 "required": true, |
| 825 "type": "string" |
| 826 }, |
| 827 "instancesId": { |
| 828 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 829 "location": "path", |
843 "required": true, | 830 "required": true, |
844 "type": "string" | 831 "type": "string" |
845 } | 832 } |
846 }, | 833 }, |
847 "path": "v1beta/apps/{appsId}/servic
es/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug", | 834 "path": "v1beta/apps/{appsId}/servic
es/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug", |
848 "request": { | 835 "request": { |
849 "$ref": "DebugInstanceRequest" | 836 "$ref": "DebugInstanceRequest" |
850 }, | 837 }, |
851 "response": { | 838 "response": { |
852 "$ref": "Operation" | 839 "$ref": "Operation" |
853 }, | 840 }, |
854 "scopes": [ | 841 "scopes": [ |
855 "https://www.googleapis.com/auth
/cloud-platform" | 842 "https://www.googleapis.com/auth
/cloud-platform" |
856 ] | 843 ] |
857 } | 844 } |
858 } | 845 } |
859 } | 846 } |
860 } | 847 } |
861 } | 848 } |
862 } | 849 } |
863 }, | 850 }, |
864 "operations": { | 851 "authorizedDomains": { |
865 "methods": { | 852 "methods": { |
866 "list": { | 853 "list": { |
867 "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.", | 854 "description": "Lists all domains the user is author
ized to administer.", |
868 "httpMethod": "GET", | 855 "httpMethod": "GET", |
869 "id": "appengine.apps.operations.list", | 856 "id": "appengine.apps.authorizedDomains.list", |
870 "parameterOrder": [ | 857 "parameterOrder": [ |
871 "appsId" | 858 "appsId" |
872 ], | 859 ], |
873 "parameters": { | 860 "parameters": { |
874 "filter": { | |
875 "description": "The standard list filter.", | |
876 "location": "query", | |
877 "type": "string" | |
878 }, | |
879 "appsId": { | 861 "appsId": { |
880 "description": "Part of `name`. The name of
the operation collection.", | 862 "description": "Part of `parent`. Name of th
e parent Application resource. Example: apps/myapp.", |
881 "location": "path", | 863 "location": "path", |
882 "required": true, | 864 "required": true, |
883 "type": "string" | 865 "type": "string" |
884 }, | 866 }, |
| 867 "pageSize": { |
| 868 "description": "Maximum results to return pe
r page.", |
| 869 "format": "int32", |
| 870 "location": "query", |
| 871 "type": "integer" |
| 872 }, |
885 "pageToken": { | 873 "pageToken": { |
886 "description": "The standard list page token
.", | 874 "description": "Continuation token for fetch
ing the next page of results.", |
887 "location": "query", | 875 "location": "query", |
888 "type": "string" | 876 "type": "string" |
| 877 } |
| 878 }, |
| 879 "path": "v1beta/apps/{appsId}/authorizedDomains", |
| 880 "response": { |
| 881 "$ref": "ListAuthorizedDomainsResponse" |
| 882 }, |
| 883 "scopes": [ |
| 884 "https://www.googleapis.com/auth/appengine.admin
", |
| 885 "https://www.googleapis.com/auth/cloud-platform"
, |
| 886 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 887 ] |
| 888 } |
| 889 } |
| 890 }, |
| 891 "authorizedCertificates": { |
| 892 "methods": { |
| 893 "list": { |
| 894 "description": "Lists all SSL certificates the user
is authorized to administer.", |
| 895 "httpMethod": "GET", |
| 896 "id": "appengine.apps.authorizedCertificates.list", |
| 897 "parameterOrder": [ |
| 898 "appsId" |
| 899 ], |
| 900 "parameters": { |
| 901 "appsId": { |
| 902 "description": "Part of `parent`. Name of th
e parent Application resource. Example: apps/myapp.", |
| 903 "location": "path", |
| 904 "required": true, |
| 905 "type": "string" |
889 }, | 906 }, |
890 "pageSize": { | 907 "pageSize": { |
891 "description": "The standard list page size.
", | 908 "description": "Maximum results to return pe
r page.", |
892 "format": "int32", | 909 "format": "int32", |
893 "location": "query", | 910 "location": "query", |
894 "type": "integer" | 911 "type": "integer" |
| 912 }, |
| 913 "pageToken": { |
| 914 "description": "Continuation token for fetch
ing the next page of results.", |
| 915 "location": "query", |
| 916 "type": "string" |
895 } | 917 } |
896 }, | 918 }, |
897 "path": "v1beta/apps/{appsId}/operations", | 919 "path": "v1beta/apps/{appsId}/authorizedCertificates
", |
898 "response": { | 920 "response": { |
899 "$ref": "ListOperationsResponse" | 921 "$ref": "ListAuthorizedCertificatesResponse" |
900 }, | 922 }, |
901 "scopes": [ | 923 "scopes": [ |
902 "https://www.googleapis.com/auth/appengine.admin
", | 924 "https://www.googleapis.com/auth/appengine.admin
", |
903 "https://www.googleapis.com/auth/cloud-platform"
, | 925 "https://www.googleapis.com/auth/cloud-platform"
, |
904 "https://www.googleapis.com/auth/cloud-platform.
read-only" | 926 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
905 ] | 927 ] |
906 }, | 928 }, |
907 "get": { | 929 "get": { |
908 "description": "Gets the latest state of a long-runn
ing operation. Clients can use this method to poll the operation result at inter
vals as recommended by the API service.", | 930 "description": "Gets the specified SSL certificate."
, |
909 "httpMethod": "GET", | 931 "httpMethod": "GET", |
910 "id": "appengine.apps.operations.get", | 932 "id": "appengine.apps.authorizedCertificates.get", |
911 "parameterOrder": [ | 933 "parameterOrder": [ |
912 "appsId", | 934 "appsId", |
913 "operationsId" | 935 "authorizedCertificatesId" |
914 ], | 936 ], |
915 "parameters": { | 937 "parameters": { |
916 "appsId": { | 938 "appsId": { |
917 "description": "Part of `name`. The name of
the operation resource.", | 939 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/authorizedCertificates/12345.", |
918 "location": "path", | 940 "location": "path", |
919 "required": true, | 941 "required": true, |
920 "type": "string" | 942 "type": "string" |
921 }, | 943 }, |
922 "operationsId": { | 944 "authorizedCertificatesId": { |
923 "description": "Part of `name`. See document
ation of `appsId`.", | 945 "description": "Part of `name`. See document
ation of `appsId`.", |
924 "location": "path", | 946 "location": "path", |
925 "required": true, | 947 "required": true, |
926 "type": "string" | 948 "type": "string" |
927 } | 949 }, |
928 }, | 950 "view": { |
929 "path": "v1beta/apps/{appsId}/operations/{operations
Id}", | 951 "description": "Controls the set of fields r
eturned in the GET response.", |
930 "response": { | 952 "enum": [ |
931 "$ref": "Operation" | 953 "BASIC_CERTIFICATE", |
| 954 "FULL_CERTIFICATE" |
| 955 ], |
| 956 "location": "query", |
| 957 "type": "string" |
| 958 } |
| 959 }, |
| 960 "path": "v1beta/apps/{appsId}/authorizedCertificates
/{authorizedCertificatesId}", |
| 961 "response": { |
| 962 "$ref": "AuthorizedCertificate" |
932 }, | 963 }, |
933 "scopes": [ | 964 "scopes": [ |
934 "https://www.googleapis.com/auth/appengine.admin
", | 965 "https://www.googleapis.com/auth/appengine.admin
", |
935 "https://www.googleapis.com/auth/cloud-platform"
, | 966 "https://www.googleapis.com/auth/cloud-platform"
, |
936 "https://www.googleapis.com/auth/cloud-platform.
read-only" | 967 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
937 ] | 968 ] |
| 969 }, |
| 970 "create": { |
| 971 "description": "Uploads the specified SSL certificat
e.", |
| 972 "httpMethod": "POST", |
| 973 "id": "appengine.apps.authorizedCertificates.create"
, |
| 974 "parameterOrder": [ |
| 975 "appsId" |
| 976 ], |
| 977 "parameters": { |
| 978 "appsId": { |
| 979 "description": "Part of `parent`. Name of th
e parent Application resource. Example: apps/myapp.", |
| 980 "location": "path", |
| 981 "required": true, |
| 982 "type": "string" |
| 983 } |
| 984 }, |
| 985 "path": "v1beta/apps/{appsId}/authorizedCertificates
", |
| 986 "request": { |
| 987 "$ref": "AuthorizedCertificate" |
| 988 }, |
| 989 "response": { |
| 990 "$ref": "AuthorizedCertificate" |
| 991 }, |
| 992 "scopes": [ |
| 993 "https://www.googleapis.com/auth/cloud-platform" |
| 994 ] |
| 995 }, |
| 996 "patch": { |
| 997 "description": "Updates the specified SSL certificat
e. To renew a certificate and maintain its existing domain mappings, update cert
ificate_data with a new certificate. The new certificate must be applicable to t
he same domains as the original certificate. The certificate display_name may al
so be updated.", |
| 998 "httpMethod": "PATCH", |
| 999 "id": "appengine.apps.authorizedCertificates.patch", |
| 1000 "parameterOrder": [ |
| 1001 "appsId", |
| 1002 "authorizedCertificatesId" |
| 1003 ], |
| 1004 "parameters": { |
| 1005 "appsId": { |
| 1006 "description": "Part of `name`. Name of the
resource to update. Example: apps/myapp/authorizedCertificates/12345.", |
| 1007 "location": "path", |
| 1008 "required": true, |
| 1009 "type": "string" |
| 1010 }, |
| 1011 "authorizedCertificatesId": { |
| 1012 "description": "Part of `name`. See document
ation of `appsId`.", |
| 1013 "location": "path", |
| 1014 "required": true, |
| 1015 "type": "string" |
| 1016 }, |
| 1017 "updateMask": { |
| 1018 "description": "Standard field mask for the
set of fields to be updated. Updates are only supported on the certificate_raw_d
ata and display_name fields.", |
| 1019 "location": "query", |
| 1020 "type": "string" |
| 1021 } |
| 1022 }, |
| 1023 "path": "v1beta/apps/{appsId}/authorizedCertificates
/{authorizedCertificatesId}", |
| 1024 "request": { |
| 1025 "$ref": "AuthorizedCertificate" |
| 1026 }, |
| 1027 "response": { |
| 1028 "$ref": "AuthorizedCertificate" |
| 1029 }, |
| 1030 "scopes": [ |
| 1031 "https://www.googleapis.com/auth/cloud-platform" |
| 1032 ] |
| 1033 }, |
| 1034 "delete": { |
| 1035 "description": "Deletes the specified SSL certificat
e.", |
| 1036 "httpMethod": "DELETE", |
| 1037 "id": "appengine.apps.authorizedCertificates.delete"
, |
| 1038 "parameterOrder": [ |
| 1039 "appsId", |
| 1040 "authorizedCertificatesId" |
| 1041 ], |
| 1042 "parameters": { |
| 1043 "appsId": { |
| 1044 "description": "Part of `name`. Name of the
resource to delete. Example: apps/myapp/authorizedCertificates/12345.", |
| 1045 "location": "path", |
| 1046 "required": true, |
| 1047 "type": "string" |
| 1048 }, |
| 1049 "authorizedCertificatesId": { |
| 1050 "description": "Part of `name`. See document
ation of `appsId`.", |
| 1051 "location": "path", |
| 1052 "required": true, |
| 1053 "type": "string" |
| 1054 } |
| 1055 }, |
| 1056 "path": "v1beta/apps/{appsId}/authorizedCertificates
/{authorizedCertificatesId}", |
| 1057 "response": { |
| 1058 "$ref": "Empty" |
| 1059 }, |
| 1060 "scopes": [ |
| 1061 "https://www.googleapis.com/auth/cloud-platform" |
| 1062 ] |
| 1063 } |
| 1064 } |
| 1065 }, |
| 1066 "domainMappings": { |
| 1067 "methods": { |
| 1068 "list": { |
| 1069 "description": "Lists the domain mappings on an appl
ication.", |
| 1070 "httpMethod": "GET", |
| 1071 "id": "appengine.apps.domainMappings.list", |
| 1072 "parameterOrder": [ |
| 1073 "appsId" |
| 1074 ], |
| 1075 "parameters": { |
| 1076 "appsId": { |
| 1077 "description": "Part of `parent`. Name of th
e parent Application resource. Example: apps/myapp.", |
| 1078 "location": "path", |
| 1079 "required": true, |
| 1080 "type": "string" |
| 1081 }, |
| 1082 "pageSize": { |
| 1083 "description": "Maximum results to return pe
r page.", |
| 1084 "format": "int32", |
| 1085 "location": "query", |
| 1086 "type": "integer" |
| 1087 }, |
| 1088 "pageToken": { |
| 1089 "description": "Continuation token for fetch
ing the next page of results.", |
| 1090 "location": "query", |
| 1091 "type": "string" |
| 1092 } |
| 1093 }, |
| 1094 "path": "v1beta/apps/{appsId}/domainMappings", |
| 1095 "response": { |
| 1096 "$ref": "ListDomainMappingsResponse" |
| 1097 }, |
| 1098 "scopes": [ |
| 1099 "https://www.googleapis.com/auth/appengine.admin
", |
| 1100 "https://www.googleapis.com/auth/cloud-platform"
, |
| 1101 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 1102 ] |
| 1103 }, |
| 1104 "get": { |
| 1105 "description": "Gets the specified domain mapping.", |
| 1106 "httpMethod": "GET", |
| 1107 "id": "appengine.apps.domainMappings.get", |
| 1108 "parameterOrder": [ |
| 1109 "appsId", |
| 1110 "domainMappingsId" |
| 1111 ], |
| 1112 "parameters": { |
| 1113 "appsId": { |
| 1114 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/domainMappings/example.com.", |
| 1115 "location": "path", |
| 1116 "required": true, |
| 1117 "type": "string" |
| 1118 }, |
| 1119 "domainMappingsId": { |
| 1120 "description": "Part of `name`. See document
ation of `appsId`.", |
| 1121 "location": "path", |
| 1122 "required": true, |
| 1123 "type": "string" |
| 1124 } |
| 1125 }, |
| 1126 "path": "v1beta/apps/{appsId}/domainMappings/{domain
MappingsId}", |
| 1127 "response": { |
| 1128 "$ref": "DomainMapping" |
| 1129 }, |
| 1130 "scopes": [ |
| 1131 "https://www.googleapis.com/auth/appengine.admin
", |
| 1132 "https://www.googleapis.com/auth/cloud-platform"
, |
| 1133 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 1134 ] |
| 1135 }, |
| 1136 "create": { |
| 1137 "description": "Maps a domain to an application. A u
ser must be authorized to administer a domain in order to map it to an applicati
on. For a list of available authorized domains, see AuthorizedDomains.ListAuthor
izedDomains.", |
| 1138 "httpMethod": "POST", |
| 1139 "id": "appengine.apps.domainMappings.create", |
| 1140 "parameterOrder": [ |
| 1141 "appsId" |
| 1142 ], |
| 1143 "parameters": { |
| 1144 "appsId": { |
| 1145 "description": "Part of `parent`. Name of th
e parent Application resource. Example: apps/myapp.", |
| 1146 "location": "path", |
| 1147 "required": true, |
| 1148 "type": "string" |
| 1149 } |
| 1150 }, |
| 1151 "path": "v1beta/apps/{appsId}/domainMappings", |
| 1152 "request": { |
| 1153 "$ref": "DomainMapping" |
| 1154 }, |
| 1155 "response": { |
| 1156 "$ref": "Operation" |
| 1157 }, |
| 1158 "scopes": [ |
| 1159 "https://www.googleapis.com/auth/cloud-platform" |
| 1160 ] |
| 1161 }, |
| 1162 "patch": { |
| 1163 "description": "Updates the specified domain mapping
. To map an SSL certificate to a domain mapping, update certificate_id to point
to an AuthorizedCertificate resource. A user must be authorized to administer th
e associated domain in order to update a DomainMapping resource.", |
| 1164 "httpMethod": "PATCH", |
| 1165 "id": "appengine.apps.domainMappings.patch", |
| 1166 "parameterOrder": [ |
| 1167 "appsId", |
| 1168 "domainMappingsId" |
| 1169 ], |
| 1170 "parameters": { |
| 1171 "appsId": { |
| 1172 "description": "Part of `name`. Name of the
resource to update. Example: apps/myapp/domainMappings/example.com.", |
| 1173 "location": "path", |
| 1174 "required": true, |
| 1175 "type": "string" |
| 1176 }, |
| 1177 "domainMappingsId": { |
| 1178 "description": "Part of `name`. See document
ation of `appsId`.", |
| 1179 "location": "path", |
| 1180 "required": true, |
| 1181 "type": "string" |
| 1182 }, |
| 1183 "updateMask": { |
| 1184 "description": "Standard field mask for the
set of fields to be updated.", |
| 1185 "location": "query", |
| 1186 "type": "string" |
| 1187 } |
| 1188 }, |
| 1189 "path": "v1beta/apps/{appsId}/domainMappings/{domain
MappingsId}", |
| 1190 "request": { |
| 1191 "$ref": "DomainMapping" |
| 1192 }, |
| 1193 "response": { |
| 1194 "$ref": "Operation" |
| 1195 }, |
| 1196 "scopes": [ |
| 1197 "https://www.googleapis.com/auth/cloud-platform" |
| 1198 ] |
| 1199 }, |
| 1200 "delete": { |
| 1201 "description": "Deletes the specified domain mapping
. A user must be authorized to administer the associated domain in order to dele
te a DomainMapping resource.", |
| 1202 "httpMethod": "DELETE", |
| 1203 "id": "appengine.apps.domainMappings.delete", |
| 1204 "parameterOrder": [ |
| 1205 "appsId", |
| 1206 "domainMappingsId" |
| 1207 ], |
| 1208 "parameters": { |
| 1209 "appsId": { |
| 1210 "description": "Part of `name`. Name of the
resource to delete. Example: apps/myapp/domainMappings/example.com.", |
| 1211 "location": "path", |
| 1212 "required": true, |
| 1213 "type": "string" |
| 1214 }, |
| 1215 "domainMappingsId": { |
| 1216 "description": "Part of `name`. See document
ation of `appsId`.", |
| 1217 "location": "path", |
| 1218 "required": true, |
| 1219 "type": "string" |
| 1220 } |
| 1221 }, |
| 1222 "path": "v1beta/apps/{appsId}/domainMappings/{domain
MappingsId}", |
| 1223 "response": { |
| 1224 "$ref": "Operation" |
| 1225 }, |
| 1226 "scopes": [ |
| 1227 "https://www.googleapis.com/auth/cloud-platform" |
| 1228 ] |
| 1229 } |
| 1230 } |
| 1231 }, |
| 1232 "locations": { |
| 1233 "methods": { |
| 1234 "list": { |
| 1235 "description": "Lists information about the supporte
d locations for this service.", |
| 1236 "httpMethod": "GET", |
| 1237 "id": "appengine.apps.locations.list", |
| 1238 "parameterOrder": [ |
| 1239 "appsId" |
| 1240 ], |
| 1241 "parameters": { |
| 1242 "appsId": { |
| 1243 "description": "Part of `name`. The resource
that owns the locations collection, if applicable.", |
| 1244 "location": "path", |
| 1245 "required": true, |
| 1246 "type": "string" |
| 1247 }, |
| 1248 "filter": { |
| 1249 "description": "The standard list filter.", |
| 1250 "location": "query", |
| 1251 "type": "string" |
| 1252 }, |
| 1253 "pageSize": { |
| 1254 "description": "The standard list page size.
", |
| 1255 "format": "int32", |
| 1256 "location": "query", |
| 1257 "type": "integer" |
| 1258 }, |
| 1259 "pageToken": { |
| 1260 "description": "The standard list page token
.", |
| 1261 "location": "query", |
| 1262 "type": "string" |
| 1263 } |
| 1264 }, |
| 1265 "path": "v1beta/apps/{appsId}/locations", |
| 1266 "response": { |
| 1267 "$ref": "ListLocationsResponse" |
| 1268 }, |
| 1269 "scopes": [ |
| 1270 "https://www.googleapis.com/auth/appengine.admin
", |
| 1271 "https://www.googleapis.com/auth/cloud-platform"
, |
| 1272 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 1273 ] |
| 1274 }, |
| 1275 "get": { |
| 1276 "description": "Get information about a location.", |
| 1277 "httpMethod": "GET", |
| 1278 "id": "appengine.apps.locations.get", |
| 1279 "parameterOrder": [ |
| 1280 "appsId", |
| 1281 "locationsId" |
| 1282 ], |
| 1283 "parameters": { |
| 1284 "appsId": { |
| 1285 "description": "Part of `name`. Resource nam
e for the location.", |
| 1286 "location": "path", |
| 1287 "required": true, |
| 1288 "type": "string" |
| 1289 }, |
| 1290 "locationsId": { |
| 1291 "description": "Part of `name`. See document
ation of `appsId`.", |
| 1292 "location": "path", |
| 1293 "required": true, |
| 1294 "type": "string" |
| 1295 } |
| 1296 }, |
| 1297 "path": "v1beta/apps/{appsId}/locations/{locationsId
}", |
| 1298 "response": { |
| 1299 "$ref": "Location" |
| 1300 }, |
| 1301 "scopes": [ |
| 1302 "https://www.googleapis.com/auth/appengine.admin
", |
| 1303 "https://www.googleapis.com/auth/cloud-platform"
, |
| 1304 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 1305 ] |
938 } | 1306 } |
939 } | 1307 } |
940 } | 1308 } |
941 } | 1309 } |
942 } | 1310 } |
943 }, | 1311 }, |
944 "revision": "20170221", | 1312 "revision": "20170324", |
945 "rootUrl": "https://appengine.googleapis.com/", | 1313 "rootUrl": "https://appengine.googleapis.com/", |
946 "schemas": { | 1314 "schemas": { |
947 "ListLocationsResponse": { | 1315 "ListOperationsResponse": { |
948 "description": "The response message for Locations.ListLocations.", | 1316 "description": "The response message for Operations.ListOperations."
, |
949 "id": "ListLocationsResponse", | 1317 "id": "ListOperationsResponse", |
950 "properties": { | 1318 "properties": { |
| 1319 "operations": { |
| 1320 "description": "A list of operations that matches the specif
ied filter in the request.", |
| 1321 "items": { |
| 1322 "$ref": "Operation" |
| 1323 }, |
| 1324 "type": "array" |
| 1325 }, |
951 "nextPageToken": { | 1326 "nextPageToken": { |
952 "description": "The standard List next-page token.", | 1327 "description": "The standard List next-page token.", |
953 "type": "string" | 1328 "type": "string" |
954 }, | |
955 "locations": { | |
956 "description": "A list of locations that matches the specifi
ed filter in the request.", | |
957 "items": { | |
958 "$ref": "Location" | |
959 }, | |
960 "type": "array" | |
961 } | |
962 }, | |
963 "type": "object" | |
964 }, | |
965 "ContainerInfo": { | |
966 "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.", | |
967 "id": "ContainerInfo", | |
968 "properties": { | |
969 "image": { | |
970 "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\"
", | |
971 "type": "string" | |
972 } | |
973 }, | |
974 "type": "object" | |
975 }, | |
976 "RequestUtilization": { | |
977 "description": "Target scaling by request utilization. Only applicab
le for VM runtimes.", | |
978 "id": "RequestUtilization", | |
979 "properties": { | |
980 "targetRequestCountPerSecond": { | |
981 "description": "Target requests per second.", | |
982 "format": "int32", | |
983 "type": "integer" | |
984 }, | |
985 "targetConcurrentRequests": { | |
986 "description": "Target number of concurrent requests.", | |
987 "format": "int32", | |
988 "type": "integer" | |
989 } | |
990 }, | |
991 "type": "object" | |
992 }, | |
993 "EndpointsApiService": { | |
994 "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).", | |
995 "id": "EndpointsApiService", | |
996 "properties": { | |
997 "name": { | |
998 "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\"", | |
999 "type": "string" | |
1000 }, | |
1001 "configId": { | |
1002 "description": "Endpoints service configuration id as specif
ied by the Service Management API. For example \"2016-09-19r1\"", | |
1003 "type": "string" | |
1004 } | |
1005 }, | |
1006 "type": "object" | |
1007 }, | |
1008 "UrlMap": { | |
1009 "description": "URL pattern and description of how the URL should be
handled. App Engine can handle URLs by executing application code or by serving
static files uploaded with the version, such as images, CSS, or JavaScript.", | |
1010 "id": "UrlMap", | |
1011 "properties": { | |
1012 "apiEndpoint": { | |
1013 "$ref": "ApiEndpointHandler", | |
1014 "description": "Uses API Endpoints to handle requests." | |
1015 }, | |
1016 "staticFiles": { | |
1017 "$ref": "StaticFilesHandler", | |
1018 "description": "Returns the contents of a file, such as an i
mage, as the response." | |
1019 }, | |
1020 "redirectHttpResponseCode": { | |
1021 "description": "30x code to use when performing redirects fo
r the secure field. Defaults to 302.", | |
1022 "enum": [ | |
1023 "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", | |
1024 "REDIRECT_HTTP_RESPONSE_CODE_301", | |
1025 "REDIRECT_HTTP_RESPONSE_CODE_302", | |
1026 "REDIRECT_HTTP_RESPONSE_CODE_303", | |
1027 "REDIRECT_HTTP_RESPONSE_CODE_307" | |
1028 ], | |
1029 "enumDescriptions": [ | |
1030 "Not specified. 302 is assumed.", | |
1031 "301 Moved Permanently code.", | |
1032 "302 Moved Temporarily code.", | |
1033 "303 See Other code.", | |
1034 "307 Temporary Redirect code." | |
1035 ], | |
1036 "type": "string" | |
1037 }, | |
1038 "securityLevel": { | |
1039 "description": "Security (HTTPS) enforcement for this URL.", | |
1040 "enum": [ | |
1041 "SECURE_UNSPECIFIED", | |
1042 "SECURE_DEFAULT", | |
1043 "SECURE_NEVER", | |
1044 "SECURE_OPTIONAL", | |
1045 "SECURE_ALWAYS" | |
1046 ], | |
1047 "enumDescriptions": [ | |
1048 "Not specified.", | |
1049 "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.", | |
1050 "Requests for a URL that match this handler that use HTT
PS are automatically redirected to the HTTP equivalent URL.", | |
1051 "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.", | |
1052 "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." | |
1053 ], | |
1054 "type": "string" | |
1055 }, | |
1056 "authFailAction": { | |
1057 "description": "Action to take when users access resources t
hat require authentication. Defaults to redirect.", | |
1058 "enum": [ | |
1059 "AUTH_FAIL_ACTION_UNSPECIFIED", | |
1060 "AUTH_FAIL_ACTION_REDIRECT", | |
1061 "AUTH_FAIL_ACTION_UNAUTHORIZED" | |
1062 ], | |
1063 "enumDescriptions": [ | |
1064 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", | |
1065 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, | |
1066 "Rejects request with a 401 HTTP status code and an erro
r message." | |
1067 ], | |
1068 "type": "string" | |
1069 }, | |
1070 "script": { | |
1071 "$ref": "ScriptHandler", | |
1072 "description": "Executes a script to handle the request that
matches this URL pattern." | |
1073 }, | |
1074 "urlRegex": { | |
1075 "description": "URL prefix. Uses regular expression syntax,
which means regexp special characters must be escaped, but should not contain gr
oupings. All URLs that begin with this prefix are handled by this handler, using
the portion of the URL after the prefix as part of the file path.", | |
1076 "type": "string" | |
1077 }, | |
1078 "login": { | |
1079 "description": "Level of login required to access this resou
rce.", | |
1080 "enum": [ | |
1081 "LOGIN_UNSPECIFIED", | |
1082 "LOGIN_OPTIONAL", | |
1083 "LOGIN_ADMIN", | |
1084 "LOGIN_REQUIRED" | |
1085 ], | |
1086 "enumDescriptions": [ | |
1087 "Not specified. LOGIN_OPTIONAL is assumed.", | |
1088 "Does not require that the user is signed in.", | |
1089 "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.", | |
1090 "If the user has signed in, the handler proceeds normall
y. Otherwise, the auth_fail_action is taken." | |
1091 ], | |
1092 "type": "string" | |
1093 } | |
1094 }, | |
1095 "type": "object" | |
1096 }, | |
1097 "ApiConfigHandler": { | |
1098 "description": "Google Cloud Endpoints (https://cloud.google.com/app
engine/docs/python/endpoints/) configuration for API handlers.", | |
1099 "id": "ApiConfigHandler", | |
1100 "properties": { | |
1101 "login": { | |
1102 "description": "Level of login required to access this resou
rce. Defaults to optional.", | |
1103 "enum": [ | |
1104 "LOGIN_UNSPECIFIED", | |
1105 "LOGIN_OPTIONAL", | |
1106 "LOGIN_ADMIN", | |
1107 "LOGIN_REQUIRED" | |
1108 ], | |
1109 "enumDescriptions": [ | |
1110 "Not specified. LOGIN_OPTIONAL is assumed.", | |
1111 "Does not require that the user is signed in.", | |
1112 "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.", | |
1113 "If the user has signed in, the handler proceeds normall
y. Otherwise, the auth_fail_action is taken." | |
1114 ], | |
1115 "type": "string" | |
1116 }, | |
1117 "url": { | |
1118 "description": "URL to serve the endpoint at.", | |
1119 "type": "string" | |
1120 }, | |
1121 "securityLevel": { | |
1122 "description": "Security (HTTPS) enforcement for this URL.", | |
1123 "enum": [ | |
1124 "SECURE_UNSPECIFIED", | |
1125 "SECURE_DEFAULT", | |
1126 "SECURE_NEVER", | |
1127 "SECURE_OPTIONAL", | |
1128 "SECURE_ALWAYS" | |
1129 ], | |
1130 "enumDescriptions": [ | |
1131 "Not specified.", | |
1132 "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.", | |
1133 "Requests for a URL that match this handler that use HTT
PS are automatically redirected to the HTTP equivalent URL.", | |
1134 "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.", | |
1135 "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." | |
1136 ], | |
1137 "type": "string" | |
1138 }, | |
1139 "authFailAction": { | |
1140 "description": "Action to take when users access resources t
hat require authentication. Defaults to redirect.", | |
1141 "enum": [ | |
1142 "AUTH_FAIL_ACTION_UNSPECIFIED", | |
1143 "AUTH_FAIL_ACTION_REDIRECT", | |
1144 "AUTH_FAIL_ACTION_UNAUTHORIZED" | |
1145 ], | |
1146 "enumDescriptions": [ | |
1147 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", | |
1148 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, | |
1149 "Rejects request with a 401 HTTP status code and an erro
r message." | |
1150 ], | |
1151 "type": "string" | |
1152 }, | |
1153 "script": { | |
1154 "description": "Path to the script from the application root
directory.", | |
1155 "type": "string" | |
1156 } | 1329 } |
1157 }, | 1330 }, |
1158 "type": "object" | 1331 "type": "object" |
1159 }, | 1332 }, |
1160 "Operation": { | 1333 "Operation": { |
1161 "description": "This resource represents a long-running operation th
at is the result of a network API call.", | 1334 "description": "This resource represents a long-running operation th
at is the result of a network API call.", |
1162 "id": "Operation", | 1335 "id": "Operation", |
1163 "properties": { | 1336 "properties": { |
1164 "name": { | 1337 "name": { |
1165 "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.", | 1338 "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.", |
1166 "type": "string" | 1339 "type": "string" |
1167 }, | 1340 }, |
1168 "error": { | |
1169 "$ref": "Status", | |
1170 "description": "The error result of the operation in case of
failure or cancellation." | |
1171 }, | |
1172 "metadata": { | 1341 "metadata": { |
1173 "additionalProperties": { | 1342 "additionalProperties": { |
1174 "description": "Properties of the object. Contains field
@type with type URL.", | 1343 "description": "Properties of the object. Contains field
@type with type URL.", |
1175 "type": "any" | 1344 "type": "any" |
1176 }, | 1345 }, |
1177 "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.", | 1346 "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.", |
1178 "type": "object" | 1347 "type": "object" |
1179 }, | 1348 }, |
1180 "done": { | 1349 "done": { |
1181 "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.", | 1350 "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.", |
1182 "type": "boolean" | 1351 "type": "boolean" |
1183 }, | 1352 }, |
| 1353 "error": { |
| 1354 "$ref": "Status", |
| 1355 "description": "The error result of the operation in case of
failure or cancellation." |
| 1356 }, |
1184 "response": { | 1357 "response": { |
1185 "additionalProperties": { | 1358 "additionalProperties": { |
1186 "description": "Properties of the object. Contains field
@type with type URL.", | 1359 "description": "Properties of the object. Contains field
@type with type URL.", |
1187 "type": "any" | 1360 "type": "any" |
1188 }, | 1361 }, |
1189 "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.", | 1362 "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.", |
1190 "type": "object" | 1363 "type": "object" |
1191 } | 1364 } |
1192 }, | 1365 }, |
1193 "type": "object" | 1366 "type": "object" |
1194 }, | 1367 }, |
1195 "StaticFilesHandler": { | 1368 "Status": { |
1196 "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.", | 1369 "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.", |
1197 "id": "StaticFilesHandler", | 1370 "id": "Status", |
1198 "properties": { | 1371 "properties": { |
| 1372 "code": { |
| 1373 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
| 1374 "format": "int32", |
| 1375 "type": "integer" |
| 1376 }, |
| 1377 "message": { |
| 1378 "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.", |
| 1379 "type": "string" |
| 1380 }, |
| 1381 "details": { |
| 1382 "description": "A list of messages that carry the error deta
ils. There will be a common set of message types for APIs to use.", |
| 1383 "items": { |
| 1384 "additionalProperties": { |
| 1385 "description": "Properties of the object. Contains f
ield @type with type URL.", |
| 1386 "type": "any" |
| 1387 }, |
| 1388 "type": "object" |
| 1389 }, |
| 1390 "type": "array" |
| 1391 } |
| 1392 }, |
| 1393 "type": "object" |
| 1394 }, |
| 1395 "Application": { |
| 1396 "description": "An Application resource contains the top-level confi
guration of an App Engine application.", |
| 1397 "id": "Application", |
| 1398 "properties": { |
| 1399 "name": { |
| 1400 "description": "Full path to the Application resource in the
API. Example: apps/myapp.@OutputOnly", |
| 1401 "type": "string" |
| 1402 }, |
| 1403 "id": { |
| 1404 "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.", |
| 1405 "type": "string" |
| 1406 }, |
| 1407 "dispatchRules": { |
| 1408 "description": "HTTP path dispatch rules for requests to the
application that do not explicitly target a service or version. Rules are order
-dependent. Up to 20 dispatch rules can be supported.@OutputOnly", |
| 1409 "items": { |
| 1410 "$ref": "UrlDispatchRule" |
| 1411 }, |
| 1412 "type": "array" |
| 1413 }, |
| 1414 "authDomain": { |
| 1415 "description": "Google Apps authentication domain that contr
ols which users can access this application.Defaults to open access for any Goog
le Account.", |
| 1416 "type": "string" |
| 1417 }, |
| 1418 "locationId": { |
| 1419 "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", |
| 1420 "type": "string" |
| 1421 }, |
| 1422 "codeBucket": { |
| 1423 "description": "Google Cloud Storage bucket that can be used
for storing files associated with this application. This bucket is associated w
ith the application and can be used by the gcloud deployment commands.@OutputOnl
y", |
| 1424 "type": "string" |
| 1425 }, |
| 1426 "defaultCookieExpiration": { |
| 1427 "description": "Cookie expiration policy for this applicatio
n.", |
| 1428 "type": "string" |
| 1429 }, |
| 1430 "servingStatus": { |
| 1431 "description": "Serving status of this application.", |
| 1432 "enum": [ |
| 1433 "UNSPECIFIED", |
| 1434 "SERVING", |
| 1435 "USER_DISABLED", |
| 1436 "SYSTEM_DISABLED" |
| 1437 ], |
| 1438 "type": "string" |
| 1439 }, |
| 1440 "defaultHostname": { |
| 1441 "description": "Hostname used to reach this application, as
resolved by App Engine.@OutputOnly", |
| 1442 "type": "string" |
| 1443 }, |
| 1444 "defaultBucket": { |
| 1445 "description": "Google Cloud Storage bucket that can be used
by this application to store content.@OutputOnly", |
| 1446 "type": "string" |
| 1447 }, |
| 1448 "iap": { |
| 1449 "$ref": "IdentityAwareProxy" |
| 1450 }, |
| 1451 "gcrDomain": { |
| 1452 "description": "The Google Container Registry domain used fo
r storing managed build docker images for this application.", |
| 1453 "type": "string" |
| 1454 } |
| 1455 }, |
| 1456 "type": "object" |
| 1457 }, |
| 1458 "UrlDispatchRule": { |
| 1459 "description": "Rules to match an HTTP request and dispatch that req
uest to a service.", |
| 1460 "id": "UrlDispatchRule", |
| 1461 "properties": { |
| 1462 "domain": { |
| 1463 "description": "Domain name to match against. The wildcard \
"*\" is supported if specified before a period: \"*.\".Defaults to matching all
domains: \"*\".", |
| 1464 "type": "string" |
| 1465 }, |
1199 "path": { | 1466 "path": { |
1200 "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.", | 1467 "description": "Pathname within the host. Must start with a
\"/\". A single \"*\" can be included at the end of the path.The sum of the leng
ths of the domain and path may not exceed 100 characters.", |
1201 "type": "string" | 1468 "type": "string" |
1202 }, | 1469 }, |
1203 "mimeType": { | 1470 "service": { |
1204 "description": "MIME type used to serve all files served by
this handler.Defaults to file-specific MIME types, which are derived from each f
ile's filename extension.", | 1471 "description": "Resource ID of a service in this application
that should serve the matched request. The service must already exist. Example:
default.", |
1205 "type": "string" | 1472 "type": "string" |
1206 }, | 1473 } |
1207 "requireMatchingFile": { | 1474 }, |
1208 "description": "Whether this handler should match the reques
t if the file referenced by the handler does not exist.", | 1475 "type": "object" |
| 1476 }, |
| 1477 "IdentityAwareProxy": { |
| 1478 "description": "Identity-Aware Proxy", |
| 1479 "id": "IdentityAwareProxy", |
| 1480 "properties": { |
| 1481 "enabled": { |
| 1482 "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.", |
1209 "type": "boolean" | 1483 "type": "boolean" |
1210 }, | 1484 }, |
1211 "expiration": { | 1485 "oauth2ClientId": { |
1212 "description": "Time a static file served by this handler sh
ould be cached by web proxies and browsers.", | 1486 "description": "OAuth2 client ID to use for the authenticati
on flow.", |
1213 "format": "google-duration", | 1487 "type": "string" |
1214 "type": "string" | 1488 }, |
1215 }, | 1489 "oauth2ClientSecret": { |
1216 "applicationReadable": { | 1490 "description": "OAuth2 client secret to use for the authenti
cation flow.For security reasons, this value cannot be retrieved via the API. In
stead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha
256 field.@InputOnly", |
1217 "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.", | 1491 "type": "string" |
| 1492 }, |
| 1493 "oauth2ClientSecretSha256": { |
| 1494 "description": "Hex-encoded SHA-256 hash of the client secre
t.@OutputOnly", |
| 1495 "type": "string" |
| 1496 } |
| 1497 }, |
| 1498 "type": "object" |
| 1499 }, |
| 1500 "RepairApplicationRequest": { |
| 1501 "description": "Request message for 'Applications.RepairApplication'
.", |
| 1502 "id": "RepairApplicationRequest", |
| 1503 "type": "object" |
| 1504 }, |
| 1505 "ListServicesResponse": { |
| 1506 "description": "Response message for Services.ListServices.", |
| 1507 "id": "ListServicesResponse", |
| 1508 "properties": { |
| 1509 "services": { |
| 1510 "description": "The services belonging to the requested appl
ication.", |
| 1511 "items": { |
| 1512 "$ref": "Service" |
| 1513 }, |
| 1514 "type": "array" |
| 1515 }, |
| 1516 "nextPageToken": { |
| 1517 "description": "Continuation token for fetching the next pag
e of results.", |
| 1518 "type": "string" |
| 1519 } |
| 1520 }, |
| 1521 "type": "object" |
| 1522 }, |
| 1523 "Service": { |
| 1524 "description": "A Service resource is a logical component of an appl
ication that can share state and communicate in a secure fashion with other serv
ices. For example, an application that handles customer requests might include s
eparate services to handle tasks such as backend data analysis or API requests f
rom mobile devices. Each service has a collection of versions that define a spec
ific set of code used to implement the functionality of that service.", |
| 1525 "id": "Service", |
| 1526 "properties": { |
| 1527 "name": { |
| 1528 "description": "Full path to the Service resource in the API
. Example: apps/myapp/services/default.@OutputOnly", |
| 1529 "type": "string" |
| 1530 }, |
| 1531 "id": { |
| 1532 "description": "Relative name of the service within the appl
ication. Example: default.@OutputOnly", |
| 1533 "type": "string" |
| 1534 }, |
| 1535 "split": { |
| 1536 "$ref": "TrafficSplit", |
| 1537 "description": "Mapping that defines fractional HTTP traffic
diversion to different versions within the service." |
| 1538 } |
| 1539 }, |
| 1540 "type": "object" |
| 1541 }, |
| 1542 "TrafficSplit": { |
| 1543 "description": "Traffic routing configuration for versions within a
single service. Traffic splits define how traffic directed to the service is ass
igned to versions.", |
| 1544 "id": "TrafficSplit", |
| 1545 "properties": { |
| 1546 "shardBy": { |
| 1547 "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.", |
| 1548 "enum": [ |
| 1549 "UNSPECIFIED", |
| 1550 "COOKIE", |
| 1551 "IP", |
| 1552 "RANDOM" |
| 1553 ], |
| 1554 "type": "string" |
| 1555 }, |
| 1556 "allocations": { |
| 1557 "additionalProperties": { |
| 1558 "format": "double", |
| 1559 "type": "number" |
| 1560 }, |
| 1561 "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.", |
| 1562 "type": "object" |
| 1563 } |
| 1564 }, |
| 1565 "type": "object" |
| 1566 }, |
| 1567 "ListVersionsResponse": { |
| 1568 "description": "Response message for Versions.ListVersions.", |
| 1569 "id": "ListVersionsResponse", |
| 1570 "properties": { |
| 1571 "versions": { |
| 1572 "description": "The versions belonging to the requested serv
ice.", |
| 1573 "items": { |
| 1574 "$ref": "Version" |
| 1575 }, |
| 1576 "type": "array" |
| 1577 }, |
| 1578 "nextPageToken": { |
| 1579 "description": "Continuation token for fetching the next pag
e of results.", |
| 1580 "type": "string" |
| 1581 } |
| 1582 }, |
| 1583 "type": "object" |
| 1584 }, |
| 1585 "Version": { |
| 1586 "description": "A Version resource is a specific set of source code
and configuration files that are deployed into a service.", |
| 1587 "id": "Version", |
| 1588 "properties": { |
| 1589 "name": { |
| 1590 "description": "Full path to the Version resource in the API
. Example: apps/myapp/services/default/versions/v1.@OutputOnly", |
| 1591 "type": "string" |
| 1592 }, |
| 1593 "id": { |
| 1594 "description": "Relative name of the version within the serv
ice. Example: v1. Version names can contain only lowercase letters, numbers, or
hyphens. Reserved names: \"default\", \"latest\", and any name with the prefix \
"ah-\".", |
| 1595 "type": "string" |
| 1596 }, |
| 1597 "automaticScaling": { |
| 1598 "$ref": "AutomaticScaling", |
| 1599 "description": "Automatic scaling is based on request rate,
response latencies, and other application metrics." |
| 1600 }, |
| 1601 "basicScaling": { |
| 1602 "$ref": "BasicScaling", |
| 1603 "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." |
| 1604 }, |
| 1605 "manualScaling": { |
| 1606 "$ref": "ManualScaling", |
| 1607 "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." |
| 1608 }, |
| 1609 "inboundServices": { |
| 1610 "description": "Before an application can receive email or X
MPP messages, the application must be configured to enable the service.", |
| 1611 "enumDescriptions": [ |
| 1612 "Not specified.", |
| 1613 "Allows an application to receive mail.", |
| 1614 "Allows an application to receive email-bound notificati
ons.", |
| 1615 "Allows an application to receive error stanzas.", |
| 1616 "Allows an application to receive instant messages.", |
| 1617 "Allows an application to receive user subscription POST
s.", |
| 1618 "Allows an application to receive a user's chat presence
.", |
| 1619 "Registers an application for notifications when a clien
t connects or disconnects from a channel.", |
| 1620 "Enables warmup requests." |
| 1621 ], |
| 1622 "items": { |
| 1623 "enum": [ |
| 1624 "INBOUND_SERVICE_UNSPECIFIED", |
| 1625 "INBOUND_SERVICE_MAIL", |
| 1626 "INBOUND_SERVICE_MAIL_BOUNCE", |
| 1627 "INBOUND_SERVICE_XMPP_ERROR", |
| 1628 "INBOUND_SERVICE_XMPP_MESSAGE", |
| 1629 "INBOUND_SERVICE_XMPP_SUBSCRIBE", |
| 1630 "INBOUND_SERVICE_XMPP_PRESENCE", |
| 1631 "INBOUND_SERVICE_CHANNEL_PRESENCE", |
| 1632 "INBOUND_SERVICE_WARMUP" |
| 1633 ], |
| 1634 "type": "string" |
| 1635 }, |
| 1636 "type": "array" |
| 1637 }, |
| 1638 "instanceClass": { |
| 1639 "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.", |
| 1640 "type": "string" |
| 1641 }, |
| 1642 "network": { |
| 1643 "$ref": "Network", |
| 1644 "description": "Extra network settings. Only applicable for
VM runtimes." |
| 1645 }, |
| 1646 "resources": { |
| 1647 "$ref": "Resources", |
| 1648 "description": "Machine resources for this version. Only app
licable for VM runtimes." |
| 1649 }, |
| 1650 "runtime": { |
| 1651 "description": "Desired runtime. Example: python27.", |
| 1652 "type": "string" |
| 1653 }, |
| 1654 "threadsafe": { |
| 1655 "description": "Whether multiple requests can be dispatched
to this version at once.", |
1218 "type": "boolean" | 1656 "type": "boolean" |
1219 }, | 1657 }, |
1220 "httpHeaders": { | 1658 "vm": { |
| 1659 "description": "Whether to deploy this version in a containe
r on a virtual machine.", |
| 1660 "type": "boolean" |
| 1661 }, |
| 1662 "betaSettings": { |
1221 "additionalProperties": { | 1663 "additionalProperties": { |
1222 "type": "string" | 1664 "type": "string" |
1223 }, | 1665 }, |
1224 "description": "HTTP headers to use for all responses from t
hese URLs.", | 1666 "description": "Metadata settings that are supplied to this
version to enable beta runtime features.", |
1225 "type": "object" | 1667 "type": "object" |
1226 }, | 1668 }, |
1227 "uploadPathRegex": { | 1669 "env": { |
1228 "description": "Regular expression that matches the file pat
hs for all files that should be referenced by this handler.", | 1670 "description": "App Engine execution environment for this ve
rsion.Defaults to standard.", |
1229 "type": "string" | 1671 "type": "string" |
1230 } | 1672 }, |
1231 }, | 1673 "servingStatus": { |
1232 "type": "object" | 1674 "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.", |
1233 }, | 1675 "enum": [ |
1234 "BasicScaling": { | 1676 "SERVING_STATUS_UNSPECIFIED", |
1235 "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.", | 1677 "SERVING", |
1236 "id": "BasicScaling", | 1678 "STOPPED" |
1237 "properties": { | 1679 ], |
1238 "maxInstances": { | 1680 "type": "string" |
1239 "description": "Maximum number of instances to create for th
is version.", | 1681 }, |
| 1682 "createdBy": { |
| 1683 "description": "Email address of the user who created this v
ersion.@OutputOnly", |
| 1684 "type": "string" |
| 1685 }, |
| 1686 "createTime": { |
| 1687 "description": "Time that this version was created.@OutputOn
ly", |
| 1688 "type": "string" |
| 1689 }, |
| 1690 "diskUsageBytes": { |
| 1691 "description": "Total size in bytes of all the files that ar
e included in this version and curerntly hosted on the App Engine disk.@OutputOn
ly", |
| 1692 "format": "int64", |
| 1693 "type": "string" |
| 1694 }, |
| 1695 "handlers": { |
| 1696 "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.", |
| 1697 "items": { |
| 1698 "$ref": "UrlMap" |
| 1699 }, |
| 1700 "type": "array" |
| 1701 }, |
| 1702 "errorHandlers": { |
| 1703 "description": "Custom static error pages. Limited to 10KB p
er page.Only returned in GET requests if view=FULL is set.", |
| 1704 "items": { |
| 1705 "$ref": "ErrorHandler" |
| 1706 }, |
| 1707 "type": "array" |
| 1708 }, |
| 1709 "libraries": { |
| 1710 "description": "Configuration for third-party Python runtime
libraries that are required by the application.Only returned in GET requests if
view=FULL is set.", |
| 1711 "items": { |
| 1712 "$ref": "Library" |
| 1713 }, |
| 1714 "type": "array" |
| 1715 }, |
| 1716 "apiConfig": { |
| 1717 "$ref": "ApiConfigHandler", |
| 1718 "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." |
| 1719 }, |
| 1720 "envVariables": { |
| 1721 "additionalProperties": { |
| 1722 "type": "string" |
| 1723 }, |
| 1724 "description": "Environment variables available to the appli
cation.Only returned in GET requests if view=FULL is set.", |
| 1725 "type": "object" |
| 1726 }, |
| 1727 "defaultExpiration": { |
| 1728 "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/v1beta/ap
ps.services.versions#staticfileshandler) does not specify its own expiration tim
e.Only returned in GET requests if view=FULL is set.", |
| 1729 "type": "string" |
| 1730 }, |
| 1731 "healthCheck": { |
| 1732 "$ref": "HealthCheck", |
| 1733 "description": "Configures health checking for VM instances.
Unhealthy instances are stopped and replaced with new instances. Only applicabl
e for VM runtimes.Only returned in GET requests if view=FULL is set." |
| 1734 }, |
| 1735 "readinessCheck": { |
| 1736 "$ref": "ReadinessCheck", |
| 1737 "description": "Configures readiness health checking for VM
instances. Unhealthy instances are not put into the backend traffic rotation.Onl
y returned in GET requests if view=FULL is set." |
| 1738 }, |
| 1739 "livenessCheck": { |
| 1740 "$ref": "LivenessCheck", |
| 1741 "description": "Configures liveness health checking for VM i
nstances. Unhealthy instances are stopped and replaced with new instancesOnly re
turned in GET requests if view=FULL is set." |
| 1742 }, |
| 1743 "nobuildFilesRegex": { |
| 1744 "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.", |
| 1745 "type": "string" |
| 1746 }, |
| 1747 "deployment": { |
| 1748 "$ref": "Deployment", |
| 1749 "description": "Code and application artifacts that make up
this version.Only returned in GET requests if view=FULL is set." |
| 1750 }, |
| 1751 "versionUrl": { |
| 1752 "description": "Serving URL for this version. Example: \"htt
ps://myversion-dot-myservice-dot-myapp.appspot.com\"@OutputOnly", |
| 1753 "type": "string" |
| 1754 }, |
| 1755 "endpointsApiService": { |
| 1756 "$ref": "EndpointsApiService", |
| 1757 "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." |
| 1758 } |
| 1759 }, |
| 1760 "type": "object" |
| 1761 }, |
| 1762 "AutomaticScaling": { |
| 1763 "description": "Automatic scaling is based on request rate, response
latencies, and other application metrics.", |
| 1764 "id": "AutomaticScaling", |
| 1765 "properties": { |
| 1766 "coolDownPeriod": { |
| 1767 "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.", |
| 1768 "type": "string" |
| 1769 }, |
| 1770 "cpuUtilization": { |
| 1771 "$ref": "CpuUtilization", |
| 1772 "description": "Target scaling by CPU usage." |
| 1773 }, |
| 1774 "maxConcurrentRequests": { |
| 1775 "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.", |
1240 "format": "int32", | 1776 "format": "int32", |
1241 "type": "integer" | 1777 "type": "integer" |
1242 }, | 1778 }, |
1243 "idleTimeout": { | 1779 "maxIdleInstances": { |
1244 "description": "Duration of time after the last request that
an instance must wait before the instance is shut down.", | 1780 "description": "Maximum number of idle instances that should
be maintained for this version.", |
1245 "format": "google-duration", | |
1246 "type": "string" | |
1247 } | |
1248 }, | |
1249 "type": "object" | |
1250 }, | |
1251 "DiskUtilization": { | |
1252 "description": "Target scaling by disk usage. Only applicable for VM
runtimes.", | |
1253 "id": "DiskUtilization", | |
1254 "properties": { | |
1255 "targetReadBytesPerSecond": { | |
1256 "description": "Target bytes read per second.", | |
1257 "format": "int32", | 1781 "format": "int32", |
1258 "type": "integer" | 1782 "type": "integer" |
1259 }, | 1783 }, |
1260 "targetReadOpsPerSecond": { | 1784 "maxTotalInstances": { |
1261 "description": "Target ops read per seconds.", | 1785 "description": "Maximum number of instances that should be s
tarted to handle requests.", |
1262 "format": "int32", | 1786 "format": "int32", |
1263 "type": "integer" | 1787 "type": "integer" |
1264 }, | 1788 }, |
1265 "targetWriteOpsPerSecond": { | 1789 "maxPendingLatency": { |
1266 "description": "Target ops written per second.", | 1790 "description": "Maximum amount of time that a request should
wait in the pending queue before starting a new instance to handle it.", |
| 1791 "type": "string" |
| 1792 }, |
| 1793 "minIdleInstances": { |
| 1794 "description": "Minimum number of idle instances that should
be maintained for this version. Only applicable for the default version of a se
rvice.", |
1267 "format": "int32", | 1795 "format": "int32", |
1268 "type": "integer" | 1796 "type": "integer" |
1269 }, | 1797 }, |
1270 "targetWriteBytesPerSecond": { | 1798 "minTotalInstances": { |
1271 "description": "Target bytes written per second.", | 1799 "description": "Minimum number of instances that should be m
aintained for this version.", |
1272 "format": "int32", | 1800 "format": "int32", |
1273 "type": "integer" | 1801 "type": "integer" |
1274 } | 1802 }, |
1275 }, | 1803 "minPendingLatency": { |
1276 "type": "object" | 1804 "description": "Minimum amount of time a request should wait
in the pending queue before starting a new instance to handle it.", |
| 1805 "type": "string" |
| 1806 }, |
| 1807 "requestUtilization": { |
| 1808 "$ref": "RequestUtilization", |
| 1809 "description": "Target scaling by request utilization." |
| 1810 }, |
| 1811 "diskUtilization": { |
| 1812 "$ref": "DiskUtilization", |
| 1813 "description": "Target scaling by disk usage." |
| 1814 }, |
| 1815 "networkUtilization": { |
| 1816 "$ref": "NetworkUtilization", |
| 1817 "description": "Target scaling by network usage." |
| 1818 } |
| 1819 }, |
| 1820 "type": "object" |
1277 }, | 1821 }, |
1278 "CpuUtilization": { | 1822 "CpuUtilization": { |
1279 "description": "Target scaling by CPU usage.", | 1823 "description": "Target scaling by CPU usage.", |
1280 "id": "CpuUtilization", | 1824 "id": "CpuUtilization", |
1281 "properties": { | 1825 "properties": { |
| 1826 "aggregationWindowLength": { |
| 1827 "description": "Period of time over which CPU utilization is
calculated.", |
| 1828 "type": "string" |
| 1829 }, |
1282 "targetUtilization": { | 1830 "targetUtilization": { |
1283 "description": "Target CPU utilization ratio to maintain whe
n scaling. Must be between 0 and 1.", | 1831 "description": "Target CPU utilization ratio to maintain whe
n scaling. Must be between 0 and 1.", |
1284 "format": "double", | 1832 "format": "double", |
1285 "type": "number" | 1833 "type": "number" |
1286 }, | |
1287 "aggregationWindowLength": { | |
1288 "description": "Period of time over which CPU utilization is
calculated.", | |
1289 "format": "google-duration", | |
1290 "type": "string" | |
1291 } | 1834 } |
1292 }, | 1835 }, |
1293 "type": "object" | 1836 "type": "object" |
1294 }, | 1837 }, |
1295 "Status": { | 1838 "RequestUtilization": { |
1296 "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.", | 1839 "description": "Target scaling by request utilization. Only applicab
le for VM runtimes.", |
1297 "id": "Status", | 1840 "id": "RequestUtilization", |
1298 "properties": { | 1841 "properties": { |
1299 "code": { | 1842 "targetRequestCountPerSecond": { |
1300 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | 1843 "description": "Target requests per second.", |
1301 "format": "int32", | 1844 "format": "int32", |
1302 "type": "integer" | 1845 "type": "integer" |
1303 }, | 1846 }, |
1304 "message": { | 1847 "targetConcurrentRequests": { |
1305 "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.", | 1848 "description": "Target number of concurrent requests.", |
1306 "type": "string" | 1849 "format": "int32", |
1307 }, | 1850 "type": "integer" |
1308 "details": { | |
1309 "description": "A list of messages that carry the error deta
ils. There will be a common set of message types for APIs to use.", | |
1310 "items": { | |
1311 "additionalProperties": { | |
1312 "description": "Properties of the object. Contains f
ield @type with type URL.", | |
1313 "type": "any" | |
1314 }, | |
1315 "type": "object" | |
1316 }, | |
1317 "type": "array" | |
1318 } | 1851 } |
1319 }, | 1852 }, |
1320 "type": "object" | 1853 "type": "object" |
1321 }, | 1854 }, |
1322 "IdentityAwareProxy": { | 1855 "DiskUtilization": { |
1323 "description": "Identity-Aware Proxy", | 1856 "description": "Target scaling by disk usage. Only applicable for VM
runtimes.", |
1324 "id": "IdentityAwareProxy", | 1857 "id": "DiskUtilization", |
1325 "properties": { | 1858 "properties": { |
1326 "oauth2ClientSecretSha256": { | 1859 "targetWriteBytesPerSecond": { |
1327 "description": "Hex-encoded SHA-256 hash of the client secre
t.@OutputOnly", | 1860 "description": "Target bytes written per second.", |
| 1861 "format": "int32", |
| 1862 "type": "integer" |
| 1863 }, |
| 1864 "targetWriteOpsPerSecond": { |
| 1865 "description": "Target ops written per second.", |
| 1866 "format": "int32", |
| 1867 "type": "integer" |
| 1868 }, |
| 1869 "targetReadBytesPerSecond": { |
| 1870 "description": "Target bytes read per second.", |
| 1871 "format": "int32", |
| 1872 "type": "integer" |
| 1873 }, |
| 1874 "targetReadOpsPerSecond": { |
| 1875 "description": "Target ops read per seconds.", |
| 1876 "format": "int32", |
| 1877 "type": "integer" |
| 1878 } |
| 1879 }, |
| 1880 "type": "object" |
| 1881 }, |
| 1882 "NetworkUtilization": { |
| 1883 "description": "Target scaling by network usage. Only applicable for
VM runtimes.", |
| 1884 "id": "NetworkUtilization", |
| 1885 "properties": { |
| 1886 "targetSentBytesPerSecond": { |
| 1887 "description": "Target bytes sent per second.", |
| 1888 "format": "int32", |
| 1889 "type": "integer" |
| 1890 }, |
| 1891 "targetSentPacketsPerSecond": { |
| 1892 "description": "Target packets sent per second.", |
| 1893 "format": "int32", |
| 1894 "type": "integer" |
| 1895 }, |
| 1896 "targetReceivedBytesPerSecond": { |
| 1897 "description": "Target bytes received per second.", |
| 1898 "format": "int32", |
| 1899 "type": "integer" |
| 1900 }, |
| 1901 "targetReceivedPacketsPerSecond": { |
| 1902 "description": "Target packets received per second.", |
| 1903 "format": "int32", |
| 1904 "type": "integer" |
| 1905 } |
| 1906 }, |
| 1907 "type": "object" |
| 1908 }, |
| 1909 "BasicScaling": { |
| 1910 "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.", |
| 1911 "id": "BasicScaling", |
| 1912 "properties": { |
| 1913 "idleTimeout": { |
| 1914 "description": "Duration of time after the last request that
an instance must wait before the instance is shut down.", |
1328 "type": "string" | 1915 "type": "string" |
1329 }, | 1916 }, |
1330 "enabled": { | 1917 "maxInstances": { |
1331 "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.", | 1918 "description": "Maximum number of instances to create for th
is version.", |
1332 "type": "boolean" | 1919 "format": "int32", |
1333 }, | 1920 "type": "integer" |
1334 "oauth2ClientSecret": { | |
1335 "description": "OAuth2 client secret to use for the authenti
cation flow.For security reasons, this value cannot be retrieved via the API. In
stead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha
256 field.@InputOnly", | |
1336 "type": "string" | |
1337 }, | |
1338 "oauth2ClientId": { | |
1339 "description": "OAuth2 client ID to use for the authenticati
on flow.", | |
1340 "type": "string" | |
1341 } | 1921 } |
1342 }, | 1922 }, |
1343 "type": "object" | 1923 "type": "object" |
1344 }, | 1924 }, |
1345 "ManualScaling": { | 1925 "ManualScaling": { |
1346 "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.", | 1926 "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.", |
1347 "id": "ManualScaling", | 1927 "id": "ManualScaling", |
1348 "properties": { | 1928 "properties": { |
1349 "instances": { | 1929 "instances": { |
1350 "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.", | 1930 "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.", |
1351 "format": "int32", | 1931 "format": "int32", |
1352 "type": "integer" | 1932 "type": "integer" |
1353 } | 1933 } |
1354 }, | 1934 }, |
1355 "type": "object" | 1935 "type": "object" |
1356 }, | |
1357 "LocationMetadata": { | |
1358 "description": "Metadata for the given google.cloud.location.Locatio
n.", | |
1359 "id": "LocationMetadata", | |
1360 "properties": { | |
1361 "flexibleEnvironmentAvailable": { | |
1362 "description": "App Engine Flexible Environment is available
in the given location.@OutputOnly", | |
1363 "type": "boolean" | |
1364 }, | |
1365 "standardEnvironmentAvailable": { | |
1366 "description": "App Engine Standard Environment is available
in the given location.@OutputOnly", | |
1367 "type": "boolean" | |
1368 } | |
1369 }, | |
1370 "type": "object" | |
1371 }, | |
1372 "Service": { | |
1373 "description": "A Service resource is a logical component of an appl
ication that can share state and communicate in a secure fashion with other serv
ices. For example, an application that handles customer requests might include s
eparate services to handle tasks such as backend data analysis or API requests f
rom mobile devices. Each service has a collection of versions that define a spec
ific set of code used to implement the functionality of that service.", | |
1374 "id": "Service", | |
1375 "properties": { | |
1376 "name": { | |
1377 "description": "Full path to the Service resource in the API
. Example: apps/myapp/services/default.@OutputOnly", | |
1378 "type": "string" | |
1379 }, | |
1380 "split": { | |
1381 "$ref": "TrafficSplit", | |
1382 "description": "Mapping that defines fractional HTTP traffic
diversion to different versions within the service." | |
1383 }, | |
1384 "id": { | |
1385 "description": "Relative name of the service within the appl
ication. Example: default.@OutputOnly", | |
1386 "type": "string" | |
1387 } | |
1388 }, | |
1389 "type": "object" | |
1390 }, | |
1391 "ListOperationsResponse": { | |
1392 "description": "The response message for Operations.ListOperations."
, | |
1393 "id": "ListOperationsResponse", | |
1394 "properties": { | |
1395 "nextPageToken": { | |
1396 "description": "The standard List next-page token.", | |
1397 "type": "string" | |
1398 }, | |
1399 "operations": { | |
1400 "description": "A list of operations that matches the specif
ied filter in the request.", | |
1401 "items": { | |
1402 "$ref": "Operation" | |
1403 }, | |
1404 "type": "array" | |
1405 } | |
1406 }, | |
1407 "type": "object" | |
1408 }, | |
1409 "OperationMetadata": { | |
1410 "description": "Metadata for the given google.longrunning.Operation.
", | |
1411 "id": "OperationMetadata", | |
1412 "properties": { | |
1413 "operationType": { | |
1414 "description": "Type of this operation. Deprecated, use meth
od field instead. Example: \"create_version\".@OutputOnly", | |
1415 "type": "string" | |
1416 }, | |
1417 "insertTime": { | |
1418 "description": "Timestamp that this operation was created.@O
utputOnly", | |
1419 "format": "google-datetime", | |
1420 "type": "string" | |
1421 }, | |
1422 "user": { | |
1423 "description": "User who requested this operation.@OutputOnl
y", | |
1424 "type": "string" | |
1425 }, | |
1426 "target": { | |
1427 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/modules/default.@OutputOnly", | |
1428 "type": "string" | |
1429 }, | |
1430 "method": { | |
1431 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta4.Version.CreateVersion.@OutputOnly", | |
1432 "type": "string" | |
1433 }, | |
1434 "endTime": { | |
1435 "description": "Timestamp that this operation completed.@Out
putOnly", | |
1436 "format": "google-datetime", | |
1437 "type": "string" | |
1438 } | |
1439 }, | |
1440 "type": "object" | |
1441 }, | |
1442 "OperationMetadataV1": { | |
1443 "description": "Metadata for the given google.longrunning.Operation.
", | |
1444 "id": "OperationMetadataV1", | |
1445 "properties": { | |
1446 "method": { | |
1447 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1.Versions.CreateVersion.@OutputOnly", | |
1448 "type": "string" | |
1449 }, | |
1450 "endTime": { | |
1451 "description": "Time that this operation completed.@OutputOn
ly", | |
1452 "format": "google-datetime", | |
1453 "type": "string" | |
1454 }, | |
1455 "insertTime": { | |
1456 "description": "Time that this operation was created.@Output
Only", | |
1457 "format": "google-datetime", | |
1458 "type": "string" | |
1459 }, | |
1460 "warning": { | |
1461 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", | |
1462 "items": { | |
1463 "type": "string" | |
1464 }, | |
1465 "type": "array" | |
1466 }, | |
1467 "user": { | |
1468 "description": "User who requested this operation.@OutputOnl
y", | |
1469 "type": "string" | |
1470 }, | |
1471 "target": { | |
1472 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | |
1473 "type": "string" | |
1474 }, | |
1475 "ephemeralMessage": { | |
1476 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", | |
1477 "type": "string" | |
1478 } | |
1479 }, | |
1480 "type": "object" | |
1481 }, | |
1482 "ErrorHandler": { | |
1483 "description": "Custom static error page to be served when an error
occurs.", | |
1484 "id": "ErrorHandler", | |
1485 "properties": { | |
1486 "errorCode": { | |
1487 "description": "Error condition this handler applies to.", | |
1488 "enum": [ | |
1489 "ERROR_CODE_UNSPECIFIED", | |
1490 "ERROR_CODE_DEFAULT", | |
1491 "ERROR_CODE_OVER_QUOTA", | |
1492 "ERROR_CODE_DOS_API_DENIAL", | |
1493 "ERROR_CODE_TIMEOUT" | |
1494 ], | |
1495 "enumDescriptions": [ | |
1496 "Not specified. ERROR_CODE_DEFAULT is assumed.", | |
1497 "All other error types.", | |
1498 "Application has exceeded a resource quota.", | |
1499 "Client blocked by the application's Denial of Service p
rotection configuration.", | |
1500 "Deadline reached before the application responds." | |
1501 ], | |
1502 "type": "string" | |
1503 }, | |
1504 "mimeType": { | |
1505 "description": "MIME type of file. Defaults to text/html.", | |
1506 "type": "string" | |
1507 }, | |
1508 "staticFile": { | |
1509 "description": "Static file content to be served for this er
ror.", | |
1510 "type": "string" | |
1511 } | |
1512 }, | |
1513 "type": "object" | |
1514 }, | 1936 }, |
1515 "Network": { | 1937 "Network": { |
1516 "description": "Extra network settings. Only applicable for VM runti
mes.", | 1938 "description": "Extra network settings. Only applicable for VM runti
mes.", |
1517 "id": "Network", | 1939 "id": "Network", |
1518 "properties": { | 1940 "properties": { |
1519 "forwardedPorts": { | 1941 "forwardedPorts": { |
1520 "description": "List of ports, or port pairs, to forward fro
m the virtual machine to the application container.", | 1942 "description": "List of ports, or port pairs, to forward fro
m the virtual machine to the application container.", |
1521 "items": { | 1943 "items": { |
1522 "type": "string" | 1944 "type": "string" |
1523 }, | 1945 }, |
1524 "type": "array" | 1946 "type": "array" |
1525 }, | 1947 }, |
1526 "instanceTag": { | 1948 "instanceTag": { |
1527 "description": "Tag to apply to the VM instance during creat
ion.", | 1949 "description": "Tag to apply to the VM instance during creat
ion.", |
1528 "type": "string" | 1950 "type": "string" |
1529 }, | 1951 }, |
1530 "subnetworkName": { | |
1531 "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.", | |
1532 "type": "string" | |
1533 }, | |
1534 "name": { | 1952 "name": { |
1535 "description": "Google Cloud Platform network where the virt
ual machines are created. Specify the short name, not the resource path.Defaults
to default.", | 1953 "description": "Google Cloud Platform network where the virt
ual machines are created. Specify the short name, not the resource path.Defaults
to default.", |
1536 "type": "string" | 1954 "type": "string" |
1537 } | 1955 }, |
1538 }, | 1956 "subnetworkName": { |
1539 "type": "object" | 1957 "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.", |
1540 }, | 1958 "type": "string" |
1541 "Application": { | 1959 } |
1542 "description": "An Application resource contains the top-level confi
guration of an App Engine application.", | 1960 }, |
1543 "id": "Application", | 1961 "type": "object" |
1544 "properties": { | 1962 }, |
1545 "defaultHostname": { | 1963 "Resources": { |
1546 "description": "Hostname used to reach this application, as
resolved by App Engine.@OutputOnly", | 1964 "description": "Machine resources for a version.", |
1547 "type": "string" | 1965 "id": "Resources", |
1548 }, | 1966 "properties": { |
1549 "name": { | 1967 "cpu": { |
1550 "description": "Full path to the Application resource in the
API. Example: apps/myapp.@OutputOnly", | 1968 "description": "Number of CPU cores needed.", |
1551 "type": "string" | 1969 "format": "double", |
1552 }, | 1970 "type": "number" |
1553 "iap": { | 1971 }, |
1554 "$ref": "IdentityAwareProxy" | 1972 "diskGb": { |
1555 }, | 1973 "description": "Disk size (GB) needed.", |
1556 "authDomain": { | 1974 "format": "double", |
1557 "description": "Google Apps authentication domain that contr
ols which users can access this application.Defaults to open access for any Goog
le Account.", | 1975 "type": "number" |
1558 "type": "string" | 1976 }, |
1559 }, | 1977 "memoryGb": { |
1560 "defaultCookieExpiration": { | 1978 "description": "Memory (GB) needed.", |
1561 "description": "Cookie expiration policy for this applicatio
n.", | 1979 "format": "double", |
1562 "format": "google-duration", | 1980 "type": "number" |
1563 "type": "string" | 1981 }, |
1564 }, | 1982 "volumes": { |
1565 "id": { | 1983 "description": "User specified volumes.", |
1566 "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.", | |
1567 "type": "string" | |
1568 }, | |
1569 "codeBucket": { | |
1570 "description": "Google Cloud Storage bucket that can be used
for storing files associated with this application. This bucket is associated w
ith the application and can be used by the gcloud deployment commands.@OutputOnl
y", | |
1571 "type": "string" | |
1572 }, | |
1573 "defaultBucket": { | |
1574 "description": "Google Cloud Storage bucket that can be used
by this application to store content.@OutputOnly", | |
1575 "type": "string" | |
1576 }, | |
1577 "locationId": { | |
1578 "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", | |
1579 "type": "string" | |
1580 }, | |
1581 "dispatchRules": { | |
1582 "description": "HTTP path dispatch rules for requests to the
application that do not explicitly target a service or version. Rules are order
-dependent.@OutputOnly", | |
1583 "items": { | 1984 "items": { |
1584 "$ref": "UrlDispatchRule" | 1985 "$ref": "Volume" |
1585 }, | 1986 }, |
1586 "type": "array" | 1987 "type": "array" |
1587 } | 1988 } |
1588 }, | 1989 }, |
1589 "type": "object" | 1990 "type": "object" |
1590 }, | 1991 }, |
1591 "Instance": { | 1992 "Volume": { |
1592 "description": "An Instance resource is the computing unit that App
Engine uses to automatically scale an application.", | 1993 "description": "Volumes mounted within the app container. Only appli
cable for VM runtimes.", |
1593 "id": "Instance", | 1994 "id": "Volume", |
1594 "properties": { | 1995 "properties": { |
1595 "vmName": { | |
1596 "description": "Name of the virtual machine where this insta
nce lives. Only applicable for instances in App Engine flexible environment.@Out
putOnly", | |
1597 "type": "string" | |
1598 }, | |
1599 "vmId": { | |
1600 "description": "Virtual machine ID of this instance. Only ap
plicable for instances in App Engine flexible environment.@OutputOnly", | |
1601 "type": "string" | |
1602 }, | |
1603 "qps": { | |
1604 "description": "Average queries per second (QPS) over the la
st minute.@OutputOnly", | |
1605 "format": "float", | |
1606 "type": "number" | |
1607 }, | |
1608 "name": { | 1996 "name": { |
1609 "description": "Full path to the Instance resource in the AP
I. Example: apps/myapp/services/default/versions/v1/instances/instance-1.@Output
Only", | 1997 "description": "Unique name for the volume.", |
1610 "type": "string" | 1998 "type": "string" |
1611 }, | 1999 }, |
1612 "vmZoneName": { | 2000 "volumeType": { |
1613 "description": "Zone where the virtual machine is located. O
nly applicable for instances in App Engine flexible environment.@OutputOnly", | 2001 "description": "Underlying volume type, e.g. 'tmpfs'.", |
1614 "type": "string" | 2002 "type": "string" |
1615 }, | 2003 }, |
1616 "averageLatency": { | 2004 "sizeGb": { |
1617 "description": "Average latency (ms) over the last minute.@O
utputOnly", | 2005 "description": "Volume size in gigabytes.", |
1618 "format": "int32", | 2006 "format": "double", |
1619 "type": "integer" | 2007 "type": "number" |
1620 }, | 2008 } |
1621 "vmIp": { | 2009 }, |
1622 "description": "The IP address of this instance. Only applic
able for instances in App Engine flexible environment.@OutputOnly", | 2010 "type": "object" |
1623 "type": "string" | 2011 }, |
1624 }, | 2012 "UrlMap": { |
1625 "id": { | 2013 "description": "URL pattern and description of how the URL should be
handled. App Engine can handle URLs by executing application code or by serving
static files uploaded with the version, such as images, CSS, or JavaScript.", |
1626 "description": "Relative name of the instance within the ver
sion. Example: instance-1.@OutputOnly", | 2014 "id": "UrlMap", |
1627 "type": "string" | 2015 "properties": { |
1628 }, | 2016 "urlRegex": { |
1629 "memoryUsage": { | 2017 "description": "URL prefix. Uses regular expression syntax,
which means regexp special characters must be escaped, but should not contain gr
oupings. All URLs that begin with this prefix are handled by this handler, using
the portion of the URL after the prefix as part of the file path.", |
1630 "description": "Total memory in use (bytes).@OutputOnly", | 2018 "type": "string" |
1631 "format": "int64", | 2019 }, |
1632 "type": "string" | 2020 "staticFiles": { |
1633 }, | 2021 "$ref": "StaticFilesHandler", |
1634 "errors": { | 2022 "description": "Returns the contents of a file, such as an i
mage, as the response." |
1635 "description": "Number of errors since this instance was sta
rted.@OutputOnly", | 2023 }, |
1636 "format": "int32", | 2024 "script": { |
1637 "type": "integer" | 2025 "$ref": "ScriptHandler", |
1638 }, | 2026 "description": "Executes a script to handle the request that
matches this URL pattern." |
1639 "availability": { | 2027 }, |
1640 "description": "Availability of the instance.@OutputOnly", | 2028 "apiEndpoint": { |
1641 "enum": [ | 2029 "$ref": "ApiEndpointHandler", |
1642 "UNSPECIFIED", | 2030 "description": "Uses API Endpoints to handle requests." |
1643 "RESIDENT", | 2031 }, |
1644 "DYNAMIC" | 2032 "securityLevel": { |
1645 ], | 2033 "description": "Security (HTTPS) enforcement for this URL.", |
1646 "enumDescriptions": [ | 2034 "enum": [ |
1647 "", | 2035 "SECURE_UNSPECIFIED", |
1648 "", | 2036 "SECURE_DEFAULT", |
1649 "" | 2037 "SECURE_NEVER", |
1650 ], | 2038 "SECURE_OPTIONAL", |
1651 "type": "string" | 2039 "SECURE_ALWAYS" |
1652 }, | 2040 ], |
1653 "vmStatus": { | 2041 "type": "string" |
1654 "description": "Status of the virtual machine where this ins
tance lives. Only applicable for instances in App Engine flexible environment.@O
utputOnly", | 2042 }, |
1655 "type": "string" | 2043 "login": { |
1656 }, | 2044 "description": "Level of login required to access this resou
rce.", |
1657 "startTime": { | 2045 "enum": [ |
1658 "description": "Time that this instance was started.@OutputO
nly", | 2046 "LOGIN_UNSPECIFIED", |
1659 "format": "google-datetime", | 2047 "LOGIN_OPTIONAL", |
1660 "type": "string" | 2048 "LOGIN_ADMIN", |
1661 }, | 2049 "LOGIN_REQUIRED" |
1662 "vmDebugEnabled": { | 2050 ], |
1663 "description": "Whether this instance is in debug mode. Only
applicable for instances in App Engine flexible environment.@OutputOnly", | 2051 "type": "string" |
1664 "type": "boolean" | 2052 }, |
1665 }, | 2053 "authFailAction": { |
1666 "requests": { | 2054 "description": "Action to take when users access resources t
hat require authentication. Defaults to redirect.", |
1667 "description": "Number of requests since this instance was s
tarted.@OutputOnly", | 2055 "enum": [ |
1668 "format": "int32", | 2056 "AUTH_FAIL_ACTION_UNSPECIFIED", |
1669 "type": "integer" | 2057 "AUTH_FAIL_ACTION_REDIRECT", |
1670 }, | 2058 "AUTH_FAIL_ACTION_UNAUTHORIZED" |
1671 "appEngineRelease": { | 2059 ], |
1672 "description": "App Engine release this instance is running
on.@OutputOnly", | 2060 "type": "string" |
1673 "type": "string" | 2061 }, |
1674 } | 2062 "redirectHttpResponseCode": { |
1675 }, | 2063 "description": "30x code to use when performing redirects fo
r the secure field. Defaults to 302.", |
1676 "type": "object" | 2064 "enum": [ |
1677 }, | 2065 "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", |
1678 "LivenessCheck": { | 2066 "REDIRECT_HTTP_RESPONSE_CODE_301", |
1679 "description": "Health checking configuration for VM instances. Unhe
althy instances are killed and replaced with new instances.", | 2067 "REDIRECT_HTTP_RESPONSE_CODE_302", |
1680 "id": "LivenessCheck", | 2068 "REDIRECT_HTTP_RESPONSE_CODE_303", |
1681 "properties": { | 2069 "REDIRECT_HTTP_RESPONSE_CODE_307" |
1682 "timeout": { | 2070 ], |
1683 "description": "Time before the check is considered failed."
, | 2071 "type": "string" |
1684 "format": "google-duration", | 2072 } |
1685 "type": "string" | 2073 }, |
1686 }, | 2074 "type": "object" |
1687 "initialDelay": { | 2075 }, |
1688 "description": "The initial delay before starting to execute
the checks.", | 2076 "StaticFilesHandler": { |
1689 "format": "google-duration", | 2077 "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.", |
1690 "type": "string" | 2078 "id": "StaticFilesHandler", |
1691 }, | 2079 "properties": { |
1692 "unhealthyThreshold": { | |
1693 "description": "Number of consecutive failed checks required
before considering the VM unhealthy.", | |
1694 "format": "uint32", | |
1695 "type": "integer" | |
1696 }, | |
1697 "path": { | 2080 "path": { |
1698 "description": "The request path.", | 2081 "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.", |
1699 "type": "string" | 2082 "type": "string" |
1700 }, | 2083 }, |
1701 "host": { | 2084 "uploadPathRegex": { |
1702 "description": "Host header to send when performing a HTTP L
iveness check. Example: \"myapp.appspot.com\"", | 2085 "description": "Regular expression that matches the file pat
hs for all files that should be referenced by this handler.", |
1703 "type": "string" | 2086 "type": "string" |
1704 }, | 2087 }, |
1705 "healthyThreshold": { | 2088 "httpHeaders": { |
1706 "description": "Number of consecutive successful checks requ
ired before considering the VM healthy.", | |
1707 "format": "uint32", | |
1708 "type": "integer" | |
1709 }, | |
1710 "checkInterval": { | |
1711 "description": "Interval between health checks.", | |
1712 "format": "google-duration", | |
1713 "type": "string" | |
1714 } | |
1715 }, | |
1716 "type": "object" | |
1717 }, | |
1718 "NetworkUtilization": { | |
1719 "description": "Target scaling by network usage. Only applicable for
VM runtimes.", | |
1720 "id": "NetworkUtilization", | |
1721 "properties": { | |
1722 "targetSentPacketsPerSecond": { | |
1723 "description": "Target packets sent per second.", | |
1724 "format": "int32", | |
1725 "type": "integer" | |
1726 }, | |
1727 "targetReceivedBytesPerSecond": { | |
1728 "description": "Target bytes received per second.", | |
1729 "format": "int32", | |
1730 "type": "integer" | |
1731 }, | |
1732 "targetReceivedPacketsPerSecond": { | |
1733 "description": "Target packets received per second.", | |
1734 "format": "int32", | |
1735 "type": "integer" | |
1736 }, | |
1737 "targetSentBytesPerSecond": { | |
1738 "description": "Target bytes sent per second.", | |
1739 "format": "int32", | |
1740 "type": "integer" | |
1741 } | |
1742 }, | |
1743 "type": "object" | |
1744 }, | |
1745 "Location": { | |
1746 "description": "A resource that represents Google Cloud Platform loc
ation.", | |
1747 "id": "Location", | |
1748 "properties": { | |
1749 "labels": { | |
1750 "additionalProperties": { | 2089 "additionalProperties": { |
1751 "type": "string" | 2090 "type": "string" |
1752 }, | 2091 }, |
1753 "description": "Cross-service attributes for the location. F
or example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n", | 2092 "description": "HTTP headers to use for all responses from t
hese URLs.", |
1754 "type": "object" | 2093 "type": "object" |
1755 }, | 2094 }, |
| 2095 "mimeType": { |
| 2096 "description": "MIME type used to serve all files served by
this handler.Defaults to file-specific MIME types, which are derived from each f
ile's filename extension.", |
| 2097 "type": "string" |
| 2098 }, |
| 2099 "expiration": { |
| 2100 "description": "Time a static file served by this handler sh
ould be cached by web proxies and browsers.", |
| 2101 "type": "string" |
| 2102 }, |
| 2103 "requireMatchingFile": { |
| 2104 "description": "Whether this handler should match the reques
t if the file referenced by the handler does not exist.", |
| 2105 "type": "boolean" |
| 2106 }, |
| 2107 "applicationReadable": { |
| 2108 "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.", |
| 2109 "type": "boolean" |
| 2110 } |
| 2111 }, |
| 2112 "type": "object" |
| 2113 }, |
| 2114 "ScriptHandler": { |
| 2115 "description": "Executes a script to handle the request that matches
the URL pattern.", |
| 2116 "id": "ScriptHandler", |
| 2117 "properties": { |
| 2118 "scriptPath": { |
| 2119 "description": "Path to the script from the application root
directory.", |
| 2120 "type": "string" |
| 2121 } |
| 2122 }, |
| 2123 "type": "object" |
| 2124 }, |
| 2125 "ApiEndpointHandler": { |
| 2126 "description": "Uses Google Cloud Endpoints to handle requests.", |
| 2127 "id": "ApiEndpointHandler", |
| 2128 "properties": { |
| 2129 "scriptPath": { |
| 2130 "description": "Path to the script from the application root
directory.", |
| 2131 "type": "string" |
| 2132 } |
| 2133 }, |
| 2134 "type": "object" |
| 2135 }, |
| 2136 "ErrorHandler": { |
| 2137 "description": "Custom static error page to be served when an error
occurs.", |
| 2138 "id": "ErrorHandler", |
| 2139 "properties": { |
| 2140 "errorCode": { |
| 2141 "description": "Error condition this handler applies to.", |
| 2142 "enum": [ |
| 2143 "ERROR_CODE_UNSPECIFIED", |
| 2144 "ERROR_CODE_DEFAULT", |
| 2145 "ERROR_CODE_OVER_QUOTA", |
| 2146 "ERROR_CODE_DOS_API_DENIAL", |
| 2147 "ERROR_CODE_TIMEOUT" |
| 2148 ], |
| 2149 "type": "string" |
| 2150 }, |
| 2151 "staticFile": { |
| 2152 "description": "Static file content to be served for this er
ror.", |
| 2153 "type": "string" |
| 2154 }, |
| 2155 "mimeType": { |
| 2156 "description": "MIME type of file. Defaults to text/html.", |
| 2157 "type": "string" |
| 2158 } |
| 2159 }, |
| 2160 "type": "object" |
| 2161 }, |
| 2162 "Library": { |
| 2163 "description": "Third-party Python runtime library that is required
by the application.", |
| 2164 "id": "Library", |
| 2165 "properties": { |
1756 "name": { | 2166 "name": { |
1757 "description": "Resource name for the location, which may va
ry between implementations. For example: \"projects/example-project/locations/us
-east1\"", | 2167 "description": "Name of the library. Example: \"django\".", |
1758 "type": "string" | 2168 "type": "string" |
1759 }, | 2169 }, |
1760 "locationId": { | 2170 "version": { |
1761 "description": "The canonical id for this location. For exam
ple: \"us-east1\".", | 2171 "description": "Version of the library to select, or \"lates
t\".", |
1762 "type": "string" | 2172 "type": "string" |
1763 }, | 2173 } |
1764 "metadata": { | 2174 }, |
1765 "additionalProperties": { | 2175 "type": "object" |
1766 "description": "Properties of the object. Contains field
@type with type URL.", | 2176 }, |
1767 "type": "any" | 2177 "ApiConfigHandler": { |
1768 }, | 2178 "description": "Google Cloud Endpoints (https://cloud.google.com/app
engine/docs/python/endpoints/) configuration for API handlers.", |
1769 "description": "Service-specific metadata. For example the a
vailable capacity at the given location.", | 2179 "id": "ApiConfigHandler", |
1770 "type": "object" | 2180 "properties": { |
1771 } | 2181 "authFailAction": { |
1772 }, | 2182 "description": "Action to take when users access resources t
hat require authentication. Defaults to redirect.", |
1773 "type": "object" | 2183 "enum": [ |
| 2184 "AUTH_FAIL_ACTION_UNSPECIFIED", |
| 2185 "AUTH_FAIL_ACTION_REDIRECT", |
| 2186 "AUTH_FAIL_ACTION_UNAUTHORIZED" |
| 2187 ], |
| 2188 "type": "string" |
| 2189 }, |
| 2190 "login": { |
| 2191 "description": "Level of login required to access this resou
rce. Defaults to optional.", |
| 2192 "enum": [ |
| 2193 "LOGIN_UNSPECIFIED", |
| 2194 "LOGIN_OPTIONAL", |
| 2195 "LOGIN_ADMIN", |
| 2196 "LOGIN_REQUIRED" |
| 2197 ], |
| 2198 "type": "string" |
| 2199 }, |
| 2200 "script": { |
| 2201 "description": "Path to the script from the application root
directory.", |
| 2202 "type": "string" |
| 2203 }, |
| 2204 "securityLevel": { |
| 2205 "description": "Security (HTTPS) enforcement for this URL.", |
| 2206 "enum": [ |
| 2207 "SECURE_UNSPECIFIED", |
| 2208 "SECURE_DEFAULT", |
| 2209 "SECURE_NEVER", |
| 2210 "SECURE_OPTIONAL", |
| 2211 "SECURE_ALWAYS" |
| 2212 ], |
| 2213 "type": "string" |
| 2214 }, |
| 2215 "url": { |
| 2216 "description": "URL to serve the endpoint at.", |
| 2217 "type": "string" |
| 2218 } |
| 2219 }, |
| 2220 "type": "object" |
1774 }, | 2221 }, |
1775 "HealthCheck": { | 2222 "HealthCheck": { |
1776 "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.", | 2223 "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.", |
1777 "id": "HealthCheck", | 2224 "id": "HealthCheck", |
1778 "properties": { | 2225 "properties": { |
1779 "checkInterval": { | 2226 "disableHealthCheck": { |
1780 "description": "Interval between health checks.", | 2227 "description": "Whether to explicitly disable health checks
for this instance.", |
1781 "format": "google-duration", | 2228 "type": "boolean" |
1782 "type": "string" | 2229 }, |
1783 }, | 2230 "host": { |
1784 "timeout": { | 2231 "description": "Host header to send when performing an HTTP
health check. Example: \"myapp.appspot.com\"", |
1785 "description": "Time before the health check is considered f
ailed.", | 2232 "type": "string" |
1786 "format": "google-duration", | 2233 }, |
1787 "type": "string" | 2234 "healthyThreshold": { |
| 2235 "description": "Number of consecutive successful health chec
ks required before receiving traffic.", |
| 2236 "format": "uint32", |
| 2237 "type": "integer" |
1788 }, | 2238 }, |
1789 "unhealthyThreshold": { | 2239 "unhealthyThreshold": { |
1790 "description": "Number of consecutive failed health checks r
equired before removing traffic.", | 2240 "description": "Number of consecutive failed health checks r
equired before removing traffic.", |
1791 "format": "uint32", | 2241 "format": "uint32", |
1792 "type": "integer" | 2242 "type": "integer" |
1793 }, | 2243 }, |
1794 "disableHealthCheck": { | |
1795 "description": "Whether to explicitly disable health checks
for this instance.", | |
1796 "type": "boolean" | |
1797 }, | |
1798 "host": { | |
1799 "description": "Host header to send when performing an HTTP
health check. Example: \"myapp.appspot.com\"", | |
1800 "type": "string" | |
1801 }, | |
1802 "restartThreshold": { | 2244 "restartThreshold": { |
1803 "description": "Number of consecutive failed health checks r
equired before an instance is restarted.", | 2245 "description": "Number of consecutive failed health checks r
equired before an instance is restarted.", |
1804 "format": "uint32", | 2246 "format": "uint32", |
1805 "type": "integer" | 2247 "type": "integer" |
1806 }, | 2248 }, |
1807 "healthyThreshold": { | 2249 "checkInterval": { |
1808 "description": "Number of consecutive successful health chec
ks required before receiving traffic.", | 2250 "description": "Interval between health checks.", |
1809 "format": "uint32", | 2251 "type": "string" |
1810 "type": "integer" | 2252 }, |
| 2253 "timeout": { |
| 2254 "description": "Time before the health check is considered f
ailed.", |
| 2255 "type": "string" |
1811 } | 2256 } |
1812 }, | 2257 }, |
1813 "type": "object" | 2258 "type": "object" |
1814 }, | 2259 }, |
1815 "ReadinessCheck": { | 2260 "ReadinessCheck": { |
1816 "description": "Readiness checking configuration for VM instances. U
nhealthy instances are removed from traffic rotation.", | 2261 "description": "Readiness checking configuration for VM instances. U
nhealthy instances are removed from traffic rotation.", |
1817 "id": "ReadinessCheck", | 2262 "id": "ReadinessCheck", |
1818 "properties": { | 2263 "properties": { |
1819 "path": { | 2264 "path": { |
1820 "description": "The request path.", | 2265 "description": "The request path.", |
1821 "type": "string" | 2266 "type": "string" |
1822 }, | 2267 }, |
1823 "host": { | 2268 "host": { |
1824 "description": "Host header to send when performing a HTTP R
eadiness check. Example: \"myapp.appspot.com\"", | 2269 "description": "Host header to send when performing a HTTP R
eadiness check. Example: \"myapp.appspot.com\"", |
1825 "type": "string" | 2270 "type": "string" |
1826 }, | 2271 }, |
1827 "healthyThreshold": { | 2272 "failureThreshold": { |
| 2273 "description": "Number of consecutive failed checks required
before removing traffic.", |
| 2274 "format": "uint32", |
| 2275 "type": "integer" |
| 2276 }, |
| 2277 "successThreshold": { |
1828 "description": "Number of consecutive successful checks requ
ired before receiving traffic.", | 2278 "description": "Number of consecutive successful checks requ
ired before receiving traffic.", |
1829 "format": "uint32", | 2279 "format": "uint32", |
1830 "type": "integer" | 2280 "type": "integer" |
1831 }, | 2281 }, |
1832 "checkInterval": { | 2282 "checkInterval": { |
1833 "description": "Interval between health checks.", | 2283 "description": "Interval between health checks.", |
1834 "format": "google-duration", | |
1835 "type": "string" | 2284 "type": "string" |
1836 }, | 2285 }, |
1837 "timeout": { | 2286 "timeout": { |
1838 "description": "Time before the check is considered failed."
, | 2287 "description": "Time before the check is considered failed."
, |
1839 "format": "google-duration", | 2288 "type": "string" |
1840 "type": "string" | 2289 } |
1841 }, | 2290 }, |
1842 "unhealthyThreshold": { | 2291 "type": "object" |
1843 "description": "Number of consecutive failed checks required
before removing traffic.", | 2292 }, |
| 2293 "LivenessCheck": { |
| 2294 "description": "Health checking configuration for VM instances. Unhe
althy instances are killed and replaced with new instances.", |
| 2295 "id": "LivenessCheck", |
| 2296 "properties": { |
| 2297 "path": { |
| 2298 "description": "The request path.", |
| 2299 "type": "string" |
| 2300 }, |
| 2301 "host": { |
| 2302 "description": "Host header to send when performing a HTTP L
iveness check. Example: \"myapp.appspot.com\"", |
| 2303 "type": "string" |
| 2304 }, |
| 2305 "failureThreshold": { |
| 2306 "description": "Number of consecutive failed checks required
before considering the VM unhealthy.", |
1844 "format": "uint32", | 2307 "format": "uint32", |
1845 "type": "integer" | 2308 "type": "integer" |
| 2309 }, |
| 2310 "successThreshold": { |
| 2311 "description": "Number of consecutive successful checks requ
ired before considering the VM healthy.", |
| 2312 "format": "uint32", |
| 2313 "type": "integer" |
| 2314 }, |
| 2315 "checkInterval": { |
| 2316 "description": "Interval between health checks.", |
| 2317 "type": "string" |
| 2318 }, |
| 2319 "timeout": { |
| 2320 "description": "Time before the check is considered failed."
, |
| 2321 "type": "string" |
| 2322 }, |
| 2323 "initialDelay": { |
| 2324 "description": "The initial delay before starting to execute
the checks.", |
| 2325 "type": "string" |
| 2326 } |
| 2327 }, |
| 2328 "type": "object" |
| 2329 }, |
| 2330 "Deployment": { |
| 2331 "description": "Code and application artifacts used to deploy a vers
ion to App Engine.", |
| 2332 "id": "Deployment", |
| 2333 "properties": { |
| 2334 "files": { |
| 2335 "additionalProperties": { |
| 2336 "$ref": "FileInfo" |
| 2337 }, |
| 2338 "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.", |
| 2339 "type": "object" |
| 2340 }, |
| 2341 "container": { |
| 2342 "$ref": "ContainerInfo", |
| 2343 "description": "The Docker image for the container that runs
the version. Only applicable for instances running in the App Engine flexible e
nvironment." |
| 2344 }, |
| 2345 "zip": { |
| 2346 "$ref": "ZipInfo", |
| 2347 "description": "The zip file for this deployment, if this is
a zip deployment." |
| 2348 } |
| 2349 }, |
| 2350 "type": "object" |
| 2351 }, |
| 2352 "FileInfo": { |
| 2353 "description": "Single source file that is part of the version to be
deployed. Each source file that is deployed must be specified separately.", |
| 2354 "id": "FileInfo", |
| 2355 "properties": { |
| 2356 "sourceUrl": { |
| 2357 "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//'.", |
| 2358 "type": "string" |
| 2359 }, |
| 2360 "sha1Sum": { |
| 2361 "description": "The SHA1 hash of the file, in hex.", |
| 2362 "type": "string" |
| 2363 }, |
| 2364 "mimeType": { |
| 2365 "description": "The MIME type of the file.Defaults to the va
lue from Google Cloud Storage.", |
| 2366 "type": "string" |
| 2367 } |
| 2368 }, |
| 2369 "type": "object" |
| 2370 }, |
| 2371 "ContainerInfo": { |
| 2372 "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.", |
| 2373 "id": "ContainerInfo", |
| 2374 "properties": { |
| 2375 "image": { |
| 2376 "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\"
", |
| 2377 "type": "string" |
| 2378 } |
| 2379 }, |
| 2380 "type": "object" |
| 2381 }, |
| 2382 "ZipInfo": { |
| 2383 "description": "The zip file information for a zip deployment.", |
| 2384 "id": "ZipInfo", |
| 2385 "properties": { |
| 2386 "sourceUrl": { |
| 2387 "description": "URL of the zip file to deploy from. Must be
a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googl
eapis.com//'.", |
| 2388 "type": "string" |
| 2389 }, |
| 2390 "filesCount": { |
| 2391 "description": "An estimate of the number of files in a zip
for a zip deployment. If set, must be greater than or equal to the actual number
of files. Used for optimizing performance; if not provided, deployment may be s
low.", |
| 2392 "format": "int32", |
| 2393 "type": "integer" |
| 2394 } |
| 2395 }, |
| 2396 "type": "object" |
| 2397 }, |
| 2398 "EndpointsApiService": { |
| 2399 "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).", |
| 2400 "id": "EndpointsApiService", |
| 2401 "properties": { |
| 2402 "name": { |
| 2403 "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\"", |
| 2404 "type": "string" |
| 2405 }, |
| 2406 "configId": { |
| 2407 "description": "Endpoints service configuration id as specif
ied by the Service Management API. For example \"2016-09-19r1\"", |
| 2408 "type": "string" |
| 2409 } |
| 2410 }, |
| 2411 "type": "object" |
| 2412 }, |
| 2413 "ListInstancesResponse": { |
| 2414 "description": "Response message for Instances.ListInstances.", |
| 2415 "id": "ListInstancesResponse", |
| 2416 "properties": { |
| 2417 "instances": { |
| 2418 "description": "The instances belonging to the requested ver
sion.", |
| 2419 "items": { |
| 2420 "$ref": "Instance" |
| 2421 }, |
| 2422 "type": "array" |
| 2423 }, |
| 2424 "nextPageToken": { |
| 2425 "description": "Continuation token for fetching the next pag
e of results.", |
| 2426 "type": "string" |
| 2427 } |
| 2428 }, |
| 2429 "type": "object" |
| 2430 }, |
| 2431 "Instance": { |
| 2432 "description": "An Instance resource is the computing unit that App
Engine uses to automatically scale an application.", |
| 2433 "id": "Instance", |
| 2434 "properties": { |
| 2435 "name": { |
| 2436 "description": "Full path to the Instance resource in the AP
I. Example: apps/myapp/services/default/versions/v1/instances/instance-1.@Output
Only", |
| 2437 "type": "string" |
| 2438 }, |
| 2439 "id": { |
| 2440 "description": "Relative name of the instance within the ver
sion. Example: instance-1.@OutputOnly", |
| 2441 "type": "string" |
| 2442 }, |
| 2443 "appEngineRelease": { |
| 2444 "description": "App Engine release this instance is running
on.@OutputOnly", |
| 2445 "type": "string" |
| 2446 }, |
| 2447 "availability": { |
| 2448 "description": "Availability of the instance.@OutputOnly", |
| 2449 "enum": [ |
| 2450 "UNSPECIFIED", |
| 2451 "RESIDENT", |
| 2452 "DYNAMIC" |
| 2453 ], |
| 2454 "type": "string" |
| 2455 }, |
| 2456 "vmName": { |
| 2457 "description": "Name of the virtual machine where this insta
nce lives. Only applicable for instances in App Engine flexible environment.@Out
putOnly", |
| 2458 "type": "string" |
| 2459 }, |
| 2460 "vmZoneName": { |
| 2461 "description": "Zone where the virtual machine is located. O
nly applicable for instances in App Engine flexible environment.@OutputOnly", |
| 2462 "type": "string" |
| 2463 }, |
| 2464 "vmId": { |
| 2465 "description": "Virtual machine ID of this instance. Only ap
plicable for instances in App Engine flexible environment.@OutputOnly", |
| 2466 "type": "string" |
| 2467 }, |
| 2468 "startTime": { |
| 2469 "description": "Time that this instance was started.@OutputO
nly", |
| 2470 "type": "string" |
| 2471 }, |
| 2472 "requests": { |
| 2473 "description": "Number of requests since this instance was s
tarted.@OutputOnly", |
| 2474 "format": "int32", |
| 2475 "type": "integer" |
| 2476 }, |
| 2477 "errors": { |
| 2478 "description": "Number of errors since this instance was sta
rted.@OutputOnly", |
| 2479 "format": "int32", |
| 2480 "type": "integer" |
| 2481 }, |
| 2482 "qps": { |
| 2483 "description": "Average queries per second (QPS) over the la
st minute.@OutputOnly", |
| 2484 "format": "float", |
| 2485 "type": "number" |
| 2486 }, |
| 2487 "averageLatency": { |
| 2488 "description": "Average latency (ms) over the last minute.@O
utputOnly", |
| 2489 "format": "int32", |
| 2490 "type": "integer" |
| 2491 }, |
| 2492 "memoryUsage": { |
| 2493 "description": "Total memory in use (bytes).@OutputOnly", |
| 2494 "format": "int64", |
| 2495 "type": "string" |
| 2496 }, |
| 2497 "vmStatus": { |
| 2498 "description": "Status of the virtual machine where this ins
tance lives. Only applicable for instances in App Engine flexible environment.@O
utputOnly", |
| 2499 "type": "string" |
| 2500 }, |
| 2501 "vmDebugEnabled": { |
| 2502 "description": "Whether this instance is in debug mode. Only
applicable for instances in App Engine flexible environment.@OutputOnly", |
| 2503 "type": "boolean" |
| 2504 }, |
| 2505 "vmIp": { |
| 2506 "description": "The IP address of this instance. Only applic
able for instances in App Engine flexible environment.@OutputOnly", |
| 2507 "type": "string" |
1846 } | 2508 } |
1847 }, | 2509 }, |
1848 "type": "object" | 2510 "type": "object" |
1849 }, | 2511 }, |
1850 "DebugInstanceRequest": { | 2512 "DebugInstanceRequest": { |
1851 "description": "Request message for Instances.DebugInstance.", | 2513 "description": "Request message for Instances.DebugInstance.", |
1852 "id": "DebugInstanceRequest", | 2514 "id": "DebugInstanceRequest", |
1853 "properties": { | 2515 "properties": { |
1854 "sshKey": { | 2516 "sshKey": { |
1855 "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).", | 2517 "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).", |
| 2518 "type": "string" |
| 2519 } |
| 2520 }, |
| 2521 "type": "object" |
| 2522 }, |
| 2523 "ListAuthorizedDomainsResponse": { |
| 2524 "description": "Response message for AuthorizedDomains.ListAuthorize
dDomains.", |
| 2525 "id": "ListAuthorizedDomainsResponse", |
| 2526 "properties": { |
| 2527 "domains": { |
| 2528 "description": "The authorized domains belonging to the user
.", |
| 2529 "items": { |
| 2530 "$ref": "AuthorizedDomain" |
| 2531 }, |
| 2532 "type": "array" |
| 2533 }, |
| 2534 "nextPageToken": { |
| 2535 "description": "Continuation token for fetching the next pag
e of results.", |
| 2536 "type": "string" |
| 2537 } |
| 2538 }, |
| 2539 "type": "object" |
| 2540 }, |
| 2541 "AuthorizedDomain": { |
| 2542 "description": "A domain that a user has been authorized to administ
er. To authorize use of a domain, verify ownership via Webmaster Central (https:
//www.google.com/webmasters/verification/home).", |
| 2543 "id": "AuthorizedDomain", |
| 2544 "properties": { |
| 2545 "name": { |
| 2546 "description": "Full path to the AuthorizedDomain resource i
n the API. Example: apps/myapp/authorizedDomains/example.com.@OutputOnly", |
| 2547 "type": "string" |
| 2548 }, |
| 2549 "id": { |
| 2550 "description": "Fully qualified domain name of the domain au
thorized for use. Example: example.com.", |
| 2551 "type": "string" |
| 2552 } |
| 2553 }, |
| 2554 "type": "object" |
| 2555 }, |
| 2556 "ListAuthorizedCertificatesResponse": { |
| 2557 "description": "Response message for AuthorizedCertificates.ListAuth
orizedCertificates.", |
| 2558 "id": "ListAuthorizedCertificatesResponse", |
| 2559 "properties": { |
| 2560 "certificates": { |
| 2561 "description": "The SSL certificates the user is authorized
to administer.", |
| 2562 "items": { |
| 2563 "$ref": "AuthorizedCertificate" |
| 2564 }, |
| 2565 "type": "array" |
| 2566 }, |
| 2567 "nextPageToken": { |
| 2568 "description": "Continuation token for fetching the next pag
e of results.", |
| 2569 "type": "string" |
| 2570 } |
| 2571 }, |
| 2572 "type": "object" |
| 2573 }, |
| 2574 "AuthorizedCertificate": { |
| 2575 "description": "An SSL certificate that a user has been authorized t
o administer. A user is authorized to administer any certificate that applies to
one of their authorized domains.", |
| 2576 "id": "AuthorizedCertificate", |
| 2577 "properties": { |
| 2578 "name": { |
| 2579 "description": "Full path to the AuthorizedCertificate resou
rce in the API. Example: apps/myapp/authorizedCertificates/12345.@OutputOnly", |
| 2580 "type": "string" |
| 2581 }, |
| 2582 "id": { |
| 2583 "description": "Relative name of the certificate. This is a
unique value autogenerated on AuthorizedCertificate resource creation. Example:
12345.@OutputOnly", |
| 2584 "type": "string" |
| 2585 }, |
| 2586 "displayName": { |
| 2587 "description": "The user-specified display name of the certi
ficate. This is not guaranteed to be unique. Example: My Certificate.", |
| 2588 "type": "string" |
| 2589 }, |
| 2590 "domainNames": { |
| 2591 "description": "Topmost applicable domains of this certifica
te. This certificate applies to these domains and their subdomains. Example: exa
mple.com.@OutputOnly", |
| 2592 "items": { |
| 2593 "type": "string" |
| 2594 }, |
| 2595 "type": "array" |
| 2596 }, |
| 2597 "expireTime": { |
| 2598 "description": "The time when this certificate expires. To u
pdate the renewal time on this certificate, upload an SSL certificate with a dif
ferent expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.
@OutputOnly", |
| 2599 "type": "string" |
| 2600 }, |
| 2601 "certificateRawData": { |
| 2602 "$ref": "CertificateRawData", |
| 2603 "description": "The SSL certificate serving the AuthorizedCe
rtificate resource. This must be obtained independently from a certificate autho
rity." |
| 2604 }, |
| 2605 "visibleDomainMappings": { |
| 2606 "description": "The full paths to user visible Domain Mappin
g resources that have this certificate mapped. Example: apps/myapp/domainMapping
s/example.com.This may not represent the full list of mapped domain mappings if
the user does not have VIEWER permissions on all of the applications that have t
his certificate mapped. See domain_mappings_count for a complete count.Only retu
rned by GET requests when specifically requested by the view=FULL option.@Output
Only", |
| 2607 "items": { |
| 2608 "type": "string" |
| 2609 }, |
| 2610 "type": "array" |
| 2611 }, |
| 2612 "domainMappingsCount": { |
| 2613 "description": "Aggregate count of the domain mappings with
this certificate mapped. This count includes domain mappings on applications for
which the user does not have VIEWER permissions.Only returned by GET requests w
hen specifically requested by the view=FULL option.@OutputOnly", |
| 2614 "format": "int32", |
| 2615 "type": "integer" |
| 2616 } |
| 2617 }, |
| 2618 "type": "object" |
| 2619 }, |
| 2620 "CertificateRawData": { |
| 2621 "description": "An SSL certificate obtained from a certificate autho
rity.", |
| 2622 "id": "CertificateRawData", |
| 2623 "properties": { |
| 2624 "publicCertificate": { |
| 2625 "description": "PEM encoded x.509 public key certificate. Th
is field is set once on certificate creation. Must include the header and footer
. Example:\n-----BEGIN CERTIFICATE----- -----END CERTIFICATE-----", |
| 2626 "type": "string" |
| 2627 }, |
| 2628 "privateKey": { |
| 2629 "description": "Unencrypted PEM encoded RSA private key. Thi
s field is set once on certificate creation and then encrypted. The key size mus
t be 2048 bits or fewer. Must include the header and footer. Example:\n-----BEGI
N RSA PRIVATE KEY----- -----END RSA PRIVATE KEY-----\n@InputOnly", |
| 2630 "type": "string" |
| 2631 } |
| 2632 }, |
| 2633 "type": "object" |
| 2634 }, |
| 2635 "Empty": { |
| 2636 "description": "A generic empty message that you can re-use to avoid
defining duplicated empty messages in your APIs. A typical example is to use it
as the request or the response type of an API method. For instance: service Foo
{ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON re
presentation for Empty is empty JSON object {}.", |
| 2637 "id": "Empty", |
| 2638 "type": "object" |
| 2639 }, |
| 2640 "ListDomainMappingsResponse": { |
| 2641 "description": "Response message for DomainMappings.ListDomainMappin
gs.", |
| 2642 "id": "ListDomainMappingsResponse", |
| 2643 "properties": { |
| 2644 "domainMappings": { |
| 2645 "description": "The domain mappings for the application.", |
| 2646 "items": { |
| 2647 "$ref": "DomainMapping" |
| 2648 }, |
| 2649 "type": "array" |
| 2650 }, |
| 2651 "nextPageToken": { |
| 2652 "description": "Continuation token for fetching the next pag
e of results.", |
| 2653 "type": "string" |
| 2654 } |
| 2655 }, |
| 2656 "type": "object" |
| 2657 }, |
| 2658 "DomainMapping": { |
| 2659 "description": "A domain serving an App Engine application.", |
| 2660 "id": "DomainMapping", |
| 2661 "properties": { |
| 2662 "name": { |
| 2663 "description": "Full path to the DomainMapping resource in t
he API. Example: apps/myapp/domainMapping/example.com.@OutputOnly", |
| 2664 "type": "string" |
| 2665 }, |
| 2666 "id": { |
| 2667 "description": "Relative name of the domain serving the appl
ication. Example: example.com.", |
| 2668 "type": "string" |
| 2669 }, |
| 2670 "sslSettings": { |
| 2671 "$ref": "SslSettings", |
| 2672 "description": "SSL configuration for this domain. If unconf
igured, this domain will not serve with SSL." |
| 2673 }, |
| 2674 "resourceRecords": { |
| 2675 "description": "The resource records required to configure t
his domain mapping. These records must be added to the domain's DNS configuratio
n in order to serve the application via this domain mapping.@OutputOnly", |
| 2676 "items": { |
| 2677 "$ref": "ResourceRecord" |
| 2678 }, |
| 2679 "type": "array" |
| 2680 } |
| 2681 }, |
| 2682 "type": "object" |
| 2683 }, |
| 2684 "SslSettings": { |
| 2685 "description": "SSL configuration for a DomainMapping resource.", |
| 2686 "id": "SslSettings", |
| 2687 "properties": { |
| 2688 "certificateId": { |
| 2689 "description": "ID of the AuthorizedCertificate resource con
figuring SSL for the application. Clearing this field will remove SSL support. E
xample: 12345.", |
| 2690 "type": "string" |
| 2691 } |
| 2692 }, |
| 2693 "type": "object" |
| 2694 }, |
| 2695 "ResourceRecord": { |
| 2696 "description": "A DNS resource record.", |
| 2697 "id": "ResourceRecord", |
| 2698 "properties": { |
| 2699 "name": { |
| 2700 "description": "Relative name of the object affected by this
record. Only applicable for CNAME records. Example: 'www'.", |
| 2701 "type": "string" |
| 2702 }, |
| 2703 "rrdata": { |
| 2704 "description": "Data for this record. Values vary by record
type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).", |
| 2705 "type": "string" |
| 2706 }, |
| 2707 "type": { |
| 2708 "description": "Resource record type. Example: AAAA.", |
| 2709 "enum": [ |
| 2710 "A", |
| 2711 "AAAA", |
| 2712 "CNAME" |
| 2713 ], |
| 2714 "type": "string" |
| 2715 } |
| 2716 }, |
| 2717 "type": "object" |
| 2718 }, |
| 2719 "ListLocationsResponse": { |
| 2720 "description": "The response message for Locations.ListLocations.", |
| 2721 "id": "ListLocationsResponse", |
| 2722 "properties": { |
| 2723 "locations": { |
| 2724 "description": "A list of locations that matches the specifi
ed filter in the request.", |
| 2725 "items": { |
| 2726 "$ref": "Location" |
| 2727 }, |
| 2728 "type": "array" |
| 2729 }, |
| 2730 "nextPageToken": { |
| 2731 "description": "The standard List next-page token.", |
| 2732 "type": "string" |
| 2733 } |
| 2734 }, |
| 2735 "type": "object" |
| 2736 }, |
| 2737 "Location": { |
| 2738 "description": "A resource that represents Google Cloud Platform loc
ation.", |
| 2739 "id": "Location", |
| 2740 "properties": { |
| 2741 "name": { |
| 2742 "description": "Resource name for the location, which may va
ry between implementations. For example: \"projects/example-project/locations/us
-east1\"", |
| 2743 "type": "string" |
| 2744 }, |
| 2745 "locationId": { |
| 2746 "description": "The canonical id for this location. For exam
ple: \"us-east1\".", |
| 2747 "type": "string" |
| 2748 }, |
| 2749 "labels": { |
| 2750 "additionalProperties": { |
| 2751 "type": "string" |
| 2752 }, |
| 2753 "description": "Cross-service attributes for the location. F
or example {\"cloud.googleapis.com/region\": \"us-east1\"}", |
| 2754 "type": "object" |
| 2755 }, |
| 2756 "metadata": { |
| 2757 "additionalProperties": { |
| 2758 "description": "Properties of the object. Contains field
@type with type URL.", |
| 2759 "type": "any" |
| 2760 }, |
| 2761 "description": "Service-specific metadata. For example the a
vailable capacity at the given location.", |
| 2762 "type": "object" |
| 2763 } |
| 2764 }, |
| 2765 "type": "object" |
| 2766 }, |
| 2767 "OperationMetadataExperimental": { |
| 2768 "description": "Metadata for the given google.longrunning.Operation.
", |
| 2769 "id": "OperationMetadataExperimental", |
| 2770 "properties": { |
| 2771 "method": { |
| 2772 "description": "API method that initiated this operation. Ex
ample: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnl
y", |
| 2773 "type": "string" |
| 2774 }, |
| 2775 "insertTime": { |
| 2776 "description": "Time that this operation was created.@Output
Only", |
| 2777 "type": "string" |
| 2778 }, |
| 2779 "endTime": { |
| 2780 "description": "Time that this operation completed.@OutputOn
ly", |
| 2781 "type": "string" |
| 2782 }, |
| 2783 "user": { |
| 2784 "description": "User who requested this operation.@OutputOnl
y", |
| 2785 "type": "string" |
| 2786 }, |
| 2787 "target": { |
| 2788 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly", |
| 2789 "type": "string" |
| 2790 } |
| 2791 }, |
| 2792 "type": "object" |
| 2793 }, |
| 2794 "OperationMetadata": { |
| 2795 "description": "Metadata for the given google.longrunning.Operation.
", |
| 2796 "id": "OperationMetadata", |
| 2797 "properties": { |
| 2798 "operationType": { |
| 2799 "description": "Type of this operation. Deprecated, use meth
od field instead. Example: \"create_version\".@OutputOnly", |
| 2800 "type": "string" |
| 2801 }, |
| 2802 "insertTime": { |
| 2803 "description": "Timestamp that this operation was created.@O
utputOnly", |
| 2804 "type": "string" |
| 2805 }, |
| 2806 "endTime": { |
| 2807 "description": "Timestamp that this operation completed.@Out
putOnly", |
| 2808 "type": "string" |
| 2809 }, |
| 2810 "user": { |
| 2811 "description": "User who requested this operation.@OutputOnl
y", |
| 2812 "type": "string" |
| 2813 }, |
| 2814 "target": { |
| 2815 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/modules/default.@OutputOnly", |
| 2816 "type": "string" |
| 2817 }, |
| 2818 "method": { |
| 2819 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta4.Version.CreateVersion.@OutputOnly", |
1856 "type": "string" | 2820 "type": "string" |
1857 } | 2821 } |
1858 }, | 2822 }, |
1859 "type": "object" | 2823 "type": "object" |
1860 }, | 2824 }, |
1861 "OperationMetadataV1Beta5": { | 2825 "OperationMetadataV1Beta5": { |
1862 "description": "Metadata for the given google.longrunning.Operation.
", | 2826 "description": "Metadata for the given google.longrunning.Operation.
", |
1863 "id": "OperationMetadataV1Beta5", | 2827 "id": "OperationMetadataV1Beta5", |
1864 "properties": { | 2828 "properties": { |
| 2829 "method": { |
| 2830 "description": "API method name that initiated this operatio
n. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly", |
| 2831 "type": "string" |
| 2832 }, |
| 2833 "insertTime": { |
| 2834 "description": "Timestamp that this operation was created.@O
utputOnly", |
| 2835 "type": "string" |
| 2836 }, |
1865 "endTime": { | 2837 "endTime": { |
1866 "description": "Timestamp that this operation completed.@Out
putOnly", | 2838 "description": "Timestamp that this operation completed.@Out
putOnly", |
1867 "format": "google-datetime", | |
1868 "type": "string" | 2839 "type": "string" |
1869 }, | 2840 }, |
1870 "user": { | 2841 "user": { |
1871 "description": "User who requested this operation.@OutputOnl
y", | 2842 "description": "User who requested this operation.@OutputOnl
y", |
1872 "type": "string" | 2843 "type": "string" |
1873 }, | 2844 }, |
1874 "target": { | 2845 "target": { |
1875 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | 2846 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
1876 "type": "string" | 2847 "type": "string" |
1877 }, | |
1878 "method": { | |
1879 "description": "API method name that initiated this operatio
n. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly", | |
1880 "type": "string" | |
1881 }, | |
1882 "insertTime": { | |
1883 "description": "Timestamp that this operation was created.@O
utputOnly", | |
1884 "format": "google-datetime", | |
1885 "type": "string" | |
1886 } | |
1887 }, | |
1888 "type": "object" | |
1889 }, | |
1890 "Version": { | |
1891 "description": "A Version resource is a specific set of source code
and configuration files that are deployed into a service.", | |
1892 "id": "Version", | |
1893 "properties": { | |
1894 "createdBy": { | |
1895 "description": "Email address of the user who created this v
ersion.@OutputOnly", | |
1896 "type": "string" | |
1897 }, | |
1898 "id": { | |
1899 "description": "Relative name of the version within the serv
ice. Example: v1. Version names can contain only lowercase letters, numbers, or
hyphens. Reserved names: \"default\", \"latest\", and any name with the prefix \
"ah-\".", | |
1900 "type": "string" | |
1901 }, | |
1902 "envVariables": { | |
1903 "additionalProperties": { | |
1904 "type": "string" | |
1905 }, | |
1906 "description": "Environment variables available to the appli
cation.Only returned in GET requests if view=FULL is set.", | |
1907 "type": "object" | |
1908 }, | |
1909 "livenessCheck": { | |
1910 "$ref": "LivenessCheck", | |
1911 "description": "Configures liveness health checking for VM i
nstances. Unhealthy instances are stopped and replaced with new instancesOnly re
turned in GET requests if view=FULL is set." | |
1912 }, | |
1913 "network": { | |
1914 "$ref": "Network", | |
1915 "description": "Extra network settings. Only applicable for
VM runtimes." | |
1916 }, | |
1917 "betaSettings": { | |
1918 "additionalProperties": { | |
1919 "type": "string" | |
1920 }, | |
1921 "description": "Metadata settings that are supplied to this
version to enable beta runtime features.", | |
1922 "type": "object" | |
1923 }, | |
1924 "env": { | |
1925 "description": "App Engine execution environment for this ve
rsion.Defaults to standard.", | |
1926 "type": "string" | |
1927 }, | |
1928 "handlers": { | |
1929 "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.", | |
1930 "items": { | |
1931 "$ref": "UrlMap" | |
1932 }, | |
1933 "type": "array" | |
1934 }, | |
1935 "automaticScaling": { | |
1936 "$ref": "AutomaticScaling", | |
1937 "description": "Automatic scaling is based on request rate,
response latencies, and other application metrics." | |
1938 }, | |
1939 "diskUsageBytes": { | |
1940 "description": "Total size in bytes of all the files that ar
e included in this version and curerntly hosted on the App Engine disk.@OutputOn
ly", | |
1941 "format": "int64", | |
1942 "type": "string" | |
1943 }, | |
1944 "healthCheck": { | |
1945 "$ref": "HealthCheck", | |
1946 "description": "Configures health checking for VM instances.
Unhealthy instances are stopped and replaced with new instances. Only applicabl
e for VM runtimes.Only returned in GET requests if view=FULL is set." | |
1947 }, | |
1948 "threadsafe": { | |
1949 "description": "Whether multiple requests can be dispatched
to this version at once.", | |
1950 "type": "boolean" | |
1951 }, | |
1952 "readinessCheck": { | |
1953 "$ref": "ReadinessCheck", | |
1954 "description": "Configures readiness health checking for VM
instances. Unhealthy instances are not put into the backend traffic rotation.Onl
y returned in GET requests if view=FULL is set." | |
1955 }, | |
1956 "manualScaling": { | |
1957 "$ref": "ManualScaling", | |
1958 "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." | |
1959 }, | |
1960 "name": { | |
1961 "description": "Full path to the Version resource in the API
. Example: apps/myapp/services/default/versions/v1.@OutputOnly", | |
1962 "type": "string" | |
1963 }, | |
1964 "apiConfig": { | |
1965 "$ref": "ApiConfigHandler", | |
1966 "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." | |
1967 }, | |
1968 "endpointsApiService": { | |
1969 "$ref": "EndpointsApiService", | |
1970 "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." | |
1971 }, | |
1972 "versionUrl": { | |
1973 "description": "Serving URL for this version. Example: \"htt
ps://myversion-dot-myservice-dot-myapp.appspot.com\"@OutputOnly", | |
1974 "type": "string" | |
1975 }, | |
1976 "vm": { | |
1977 "description": "Whether to deploy this version in a containe
r on a virtual machine.", | |
1978 "type": "boolean" | |
1979 }, | |
1980 "instanceClass": { | |
1981 "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.", | |
1982 "type": "string" | |
1983 }, | |
1984 "servingStatus": { | |
1985 "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.", | |
1986 "enum": [ | |
1987 "SERVING_STATUS_UNSPECIFIED", | |
1988 "SERVING", | |
1989 "STOPPED" | |
1990 ], | |
1991 "enumDescriptions": [ | |
1992 "Not specified.", | |
1993 "Currently serving. Instances are created according to t
he scaling settings of the version.", | |
1994 "Disabled. No instances will be created and the scaling
settings are ignored until the state of the version changes to SERVING." | |
1995 ], | |
1996 "type": "string" | |
1997 }, | |
1998 "deployment": { | |
1999 "$ref": "Deployment", | |
2000 "description": "Code and application artifacts that make up
this version.Only returned in GET requests if view=FULL is set." | |
2001 }, | |
2002 "createTime": { | |
2003 "description": "Time that this version was created.@OutputOn
ly", | |
2004 "format": "google-datetime", | |
2005 "type": "string" | |
2006 }, | |
2007 "resources": { | |
2008 "$ref": "Resources", | |
2009 "description": "Machine resources for this version. Only app
licable for VM runtimes." | |
2010 }, | |
2011 "inboundServices": { | |
2012 "description": "Before an application can receive email or X
MPP messages, the application must be configured to enable the service.", | |
2013 "enumDescriptions": [ | |
2014 "Not specified.", | |
2015 "Allows an application to receive mail.", | |
2016 "Allows an application to receive email-bound notificati
ons.", | |
2017 "Allows an application to receive error stanzas.", | |
2018 "Allows an application to receive instant messages.", | |
2019 "Allows an application to receive user subscription POST
s.", | |
2020 "Allows an application to receive a user's chat presence
.", | |
2021 "Registers an application for notifications when a clien
t connects or disconnects from a channel.", | |
2022 "Enables warmup requests." | |
2023 ], | |
2024 "items": { | |
2025 "enum": [ | |
2026 "INBOUND_SERVICE_UNSPECIFIED", | |
2027 "INBOUND_SERVICE_MAIL", | |
2028 "INBOUND_SERVICE_MAIL_BOUNCE", | |
2029 "INBOUND_SERVICE_XMPP_ERROR", | |
2030 "INBOUND_SERVICE_XMPP_MESSAGE", | |
2031 "INBOUND_SERVICE_XMPP_SUBSCRIBE", | |
2032 "INBOUND_SERVICE_XMPP_PRESENCE", | |
2033 "INBOUND_SERVICE_CHANNEL_PRESENCE", | |
2034 "INBOUND_SERVICE_WARMUP" | |
2035 ], | |
2036 "type": "string" | |
2037 }, | |
2038 "type": "array" | |
2039 }, | |
2040 "errorHandlers": { | |
2041 "description": "Custom static error pages. Limited to 10KB p
er page.Only returned in GET requests if view=FULL is set.", | |
2042 "items": { | |
2043 "$ref": "ErrorHandler" | |
2044 }, | |
2045 "type": "array" | |
2046 }, | |
2047 "defaultExpiration": { | |
2048 "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/v1beta/ap
ps.services.versions#staticfileshandler) does not specify its own expiration tim
e.Only returned in GET requests if view=FULL is set.", | |
2049 "format": "google-duration", | |
2050 "type": "string" | |
2051 }, | |
2052 "libraries": { | |
2053 "description": "Configuration for third-party Python runtime
libraries that are required by the application.Only returned in GET requests if
view=FULL is set.", | |
2054 "items": { | |
2055 "$ref": "Library" | |
2056 }, | |
2057 "type": "array" | |
2058 }, | |
2059 "nobuildFilesRegex": { | |
2060 "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.", | |
2061 "type": "string" | |
2062 }, | |
2063 "basicScaling": { | |
2064 "$ref": "BasicScaling", | |
2065 "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." | |
2066 }, | |
2067 "runtime": { | |
2068 "description": "Desired runtime. Example: python27.", | |
2069 "type": "string" | |
2070 } | |
2071 }, | |
2072 "type": "object" | |
2073 }, | |
2074 "RepairApplicationRequest": { | |
2075 "description": "Request message for 'Applications.RepairApplication'
.", | |
2076 "id": "RepairApplicationRequest", | |
2077 "properties": {}, | |
2078 "type": "object" | |
2079 }, | |
2080 "FileInfo": { | |
2081 "description": "Single source file that is part of the version to be
deployed. Each source file that is deployed must be specified separately.", | |
2082 "id": "FileInfo", | |
2083 "properties": { | |
2084 "mimeType": { | |
2085 "description": "The MIME type of the file.Defaults to the va
lue from Google Cloud Storage.", | |
2086 "type": "string" | |
2087 }, | |
2088 "sourceUrl": { | |
2089 "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>'.", | |
2090 "type": "string" | |
2091 }, | |
2092 "sha1Sum": { | |
2093 "description": "The SHA1 hash of the file, in hex.", | |
2094 "type": "string" | |
2095 } | |
2096 }, | |
2097 "type": "object" | |
2098 }, | |
2099 "ScriptHandler": { | |
2100 "description": "Executes a script to handle the request that matches
the URL pattern.", | |
2101 "id": "ScriptHandler", | |
2102 "properties": { | |
2103 "scriptPath": { | |
2104 "description": "Path to the script from the application root
directory.", | |
2105 "type": "string" | |
2106 } | |
2107 }, | |
2108 "type": "object" | |
2109 }, | |
2110 "OperationMetadataExperimental": { | |
2111 "description": "Metadata for the given google.longrunning.Operation.
", | |
2112 "id": "OperationMetadataExperimental", | |
2113 "properties": { | |
2114 "user": { | |
2115 "description": "User who requested this operation.@OutputOnl
y", | |
2116 "type": "string" | |
2117 }, | |
2118 "target": { | |
2119 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly", | |
2120 "type": "string" | |
2121 }, | |
2122 "method": { | |
2123 "description": "API method that initiated this operation. Ex
ample: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnl
y", | |
2124 "type": "string" | |
2125 }, | |
2126 "insertTime": { | |
2127 "description": "Time that this operation was created.@Output
Only", | |
2128 "format": "google-datetime", | |
2129 "type": "string" | |
2130 }, | |
2131 "endTime": { | |
2132 "description": "Time that this operation completed.@OutputOn
ly", | |
2133 "format": "google-datetime", | |
2134 "type": "string" | |
2135 } | |
2136 }, | |
2137 "type": "object" | |
2138 }, | |
2139 "TrafficSplit": { | |
2140 "description": "Traffic routing configuration for versions within a
single service. Traffic splits define how traffic directed to the service is ass
igned to versions.", | |
2141 "id": "TrafficSplit", | |
2142 "properties": { | |
2143 "shardBy": { | |
2144 "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.", | |
2145 "enum": [ | |
2146 "UNSPECIFIED", | |
2147 "COOKIE", | |
2148 "IP" | |
2149 ], | |
2150 "enumDescriptions": [ | |
2151 "Diversion method unspecified.", | |
2152 "Diversion based on a specially named cookie, \"GOOGAPPU
ID.\" The cookie must be set by the application itself or no diversion will occu
r.", | |
2153 "Diversion based on applying the modulus operation to a
fingerprint of the IP address." | |
2154 ], | |
2155 "type": "string" | |
2156 }, | |
2157 "allocations": { | |
2158 "additionalProperties": { | |
2159 "format": "double", | |
2160 "type": "number" | |
2161 }, | |
2162 "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.", | |
2163 "type": "object" | |
2164 } | 2848 } |
2165 }, | 2849 }, |
2166 "type": "object" | 2850 "type": "object" |
2167 }, | 2851 }, |
2168 "OperationMetadataV1Beta": { | 2852 "OperationMetadataV1Beta": { |
2169 "description": "Metadata for the given google.longrunning.Operation.
", | 2853 "description": "Metadata for the given google.longrunning.Operation.
", |
2170 "id": "OperationMetadataV1Beta", | 2854 "id": "OperationMetadataV1Beta", |
2171 "properties": { | 2855 "properties": { |
| 2856 "method": { |
| 2857 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly", |
| 2858 "type": "string" |
| 2859 }, |
| 2860 "insertTime": { |
| 2861 "description": "Time that this operation was created.@Output
Only", |
| 2862 "type": "string" |
| 2863 }, |
| 2864 "endTime": { |
| 2865 "description": "Time that this operation completed.@OutputOn
ly", |
| 2866 "type": "string" |
| 2867 }, |
| 2868 "user": { |
| 2869 "description": "User who requested this operation.@OutputOnl
y", |
| 2870 "type": "string" |
| 2871 }, |
| 2872 "target": { |
| 2873 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
| 2874 "type": "string" |
| 2875 }, |
| 2876 "ephemeralMessage": { |
| 2877 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
| 2878 "type": "string" |
| 2879 }, |
2172 "warning": { | 2880 "warning": { |
2173 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", | 2881 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
2174 "items": { | 2882 "items": { |
2175 "type": "string" | 2883 "type": "string" |
2176 }, | 2884 }, |
2177 "type": "array" | 2885 "type": "array" |
| 2886 } |
| 2887 }, |
| 2888 "type": "object" |
| 2889 }, |
| 2890 "OperationMetadataV1": { |
| 2891 "description": "Metadata for the given google.longrunning.Operation.
", |
| 2892 "id": "OperationMetadataV1", |
| 2893 "properties": { |
| 2894 "method": { |
| 2895 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1.Versions.CreateVersion.@OutputOnly", |
| 2896 "type": "string" |
2178 }, | 2897 }, |
2179 "insertTime": { | 2898 "insertTime": { |
2180 "description": "Time that this operation was created.@Output
Only", | 2899 "description": "Time that this operation was created.@Output
Only", |
2181 "format": "google-datetime", | 2900 "type": "string" |
| 2901 }, |
| 2902 "endTime": { |
| 2903 "description": "Time that this operation completed.@OutputOn
ly", |
| 2904 "type": "string" |
| 2905 }, |
| 2906 "user": { |
| 2907 "description": "User who requested this operation.@OutputOnl
y", |
2182 "type": "string" | 2908 "type": "string" |
2183 }, | 2909 }, |
2184 "target": { | 2910 "target": { |
2185 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | 2911 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
2186 "type": "string" | 2912 "type": "string" |
2187 }, | 2913 }, |
2188 "user": { | |
2189 "description": "User who requested this operation.@OutputOnl
y", | |
2190 "type": "string" | |
2191 }, | |
2192 "ephemeralMessage": { | 2914 "ephemeralMessage": { |
2193 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", | 2915 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
2194 "type": "string" | 2916 "type": "string" |
2195 }, | 2917 }, |
2196 "method": { | |
2197 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly", | |
2198 "type": "string" | |
2199 }, | |
2200 "endTime": { | |
2201 "description": "Time that this operation completed.@OutputOn
ly", | |
2202 "format": "google-datetime", | |
2203 "type": "string" | |
2204 } | |
2205 }, | |
2206 "type": "object" | |
2207 }, | |
2208 "ListServicesResponse": { | |
2209 "description": "Response message for Services.ListServices.", | |
2210 "id": "ListServicesResponse", | |
2211 "properties": { | |
2212 "services": { | |
2213 "description": "The services belonging to the requested appl
ication.", | |
2214 "items": { | |
2215 "$ref": "Service" | |
2216 }, | |
2217 "type": "array" | |
2218 }, | |
2219 "nextPageToken": { | |
2220 "description": "Continuation token for fetching the next pag
e of results.", | |
2221 "type": "string" | |
2222 } | |
2223 }, | |
2224 "type": "object" | |
2225 }, | |
2226 "Resources": { | |
2227 "description": "Machine resources for a version.", | |
2228 "id": "Resources", | |
2229 "properties": { | |
2230 "volumes": { | |
2231 "description": "User specified volumes.", | |
2232 "items": { | |
2233 "$ref": "Volume" | |
2234 }, | |
2235 "type": "array" | |
2236 }, | |
2237 "diskGb": { | |
2238 "description": "Disk size (GB) needed.", | |
2239 "format": "double", | |
2240 "type": "number" | |
2241 }, | |
2242 "cpu": { | |
2243 "description": "Number of CPU cores needed.", | |
2244 "format": "double", | |
2245 "type": "number" | |
2246 }, | |
2247 "memoryGb": { | |
2248 "description": "Memory (GB) needed.", | |
2249 "format": "double", | |
2250 "type": "number" | |
2251 } | |
2252 }, | |
2253 "type": "object" | |
2254 }, | |
2255 "Deployment": { | |
2256 "description": "Code and application artifacts used to deploy a vers
ion to App Engine.", | |
2257 "id": "Deployment", | |
2258 "properties": { | |
2259 "zip": { | |
2260 "$ref": "ZipInfo", | |
2261 "description": "The zip file for this deployment, if this is
a zip deployment." | |
2262 }, | |
2263 "container": { | |
2264 "$ref": "ContainerInfo", | |
2265 "description": "The Docker image for the container that runs
the version. Only applicable for instances running in the App Engine flexible e
nvironment." | |
2266 }, | |
2267 "files": { | |
2268 "additionalProperties": { | |
2269 "$ref": "FileInfo" | |
2270 }, | |
2271 "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.", | |
2272 "type": "object" | |
2273 } | |
2274 }, | |
2275 "type": "object" | |
2276 }, | |
2277 "Volume": { | |
2278 "description": "Volumes mounted within the app container. Only appli
cable for VM runtimes.", | |
2279 "id": "Volume", | |
2280 "properties": { | |
2281 "sizeGb": { | |
2282 "description": "Volume size in gigabytes.", | |
2283 "format": "double", | |
2284 "type": "number" | |
2285 }, | |
2286 "name": { | |
2287 "description": "Unique name for the volume.", | |
2288 "type": "string" | |
2289 }, | |
2290 "volumeType": { | |
2291 "description": "Underlying volume type, e.g. 'tmpfs'.", | |
2292 "type": "string" | |
2293 } | |
2294 }, | |
2295 "type": "object" | |
2296 }, | |
2297 "ListInstancesResponse": { | |
2298 "description": "Response message for Instances.ListInstances.", | |
2299 "id": "ListInstancesResponse", | |
2300 "properties": { | |
2301 "instances": { | |
2302 "description": "The instances belonging to the requested ver
sion.", | |
2303 "items": { | |
2304 "$ref": "Instance" | |
2305 }, | |
2306 "type": "array" | |
2307 }, | |
2308 "nextPageToken": { | |
2309 "description": "Continuation token for fetching the next pag
e of results.", | |
2310 "type": "string" | |
2311 } | |
2312 }, | |
2313 "type": "object" | |
2314 }, | |
2315 "OperationMetadataV1Alpha": { | |
2316 "description": "Metadata for the given google.longrunning.Operation.
", | |
2317 "id": "OperationMetadataV1Alpha", | |
2318 "properties": { | |
2319 "insertTime": { | |
2320 "description": "Time that this operation was created.@Output
Only", | |
2321 "format": "google-datetime", | |
2322 "type": "string" | |
2323 }, | |
2324 "warning": { | 2918 "warning": { |
2325 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", | 2919 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
2326 "items": { | 2920 "items": { |
2327 "type": "string" | 2921 "type": "string" |
2328 }, | 2922 }, |
2329 "type": "array" | 2923 "type": "array" |
2330 }, | 2924 } |
2331 "user": { | 2925 }, |
2332 "description": "User who requested this operation.@OutputOnl
y", | 2926 "type": "object" |
2333 "type": "string" | 2927 }, |
2334 }, | 2928 "LocationMetadata": { |
2335 "target": { | 2929 "description": "Metadata for the given google.cloud.location.Locatio
n.", |
2336 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | 2930 "id": "LocationMetadata", |
2337 "type": "string" | 2931 "properties": { |
2338 }, | 2932 "standardEnvironmentAvailable": { |
2339 "ephemeralMessage": { | 2933 "description": "App Engine Standard Environment is available
in the given location.@OutputOnly", |
2340 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", | 2934 "type": "boolean" |
2341 "type": "string" | 2935 }, |
2342 }, | 2936 "flexibleEnvironmentAvailable": { |
2343 "method": { | 2937 "description": "App Engine Flexible Environment is available
in the given location.@OutputOnly", |
2344 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly", | 2938 "type": "boolean" |
2345 "type": "string" | 2939 } |
2346 }, | 2940 }, |
2347 "endTime": { | 2941 "type": "object" |
2348 "description": "Time that this operation completed.@OutputOn
ly", | |
2349 "format": "google-datetime", | |
2350 "type": "string" | |
2351 } | |
2352 }, | |
2353 "type": "object" | |
2354 }, | |
2355 "UrlDispatchRule": { | |
2356 "description": "Rules to match an HTTP request and dispatch that req
uest to a service.", | |
2357 "id": "UrlDispatchRule", | |
2358 "properties": { | |
2359 "path": { | |
2360 "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.", | |
2361 "type": "string" | |
2362 }, | |
2363 "domain": { | |
2364 "description": "Domain name to match against. The wildcard \
"*\" is supported if specified before a period: \"*.\".Defaults to matching all
domains: \"*\".", | |
2365 "type": "string" | |
2366 }, | |
2367 "service": { | |
2368 "description": "Resource ID of a service in this application
that should serve the matched request. The service must already exist. Example:
default.", | |
2369 "type": "string" | |
2370 } | |
2371 }, | |
2372 "type": "object" | |
2373 }, | |
2374 "ListVersionsResponse": { | |
2375 "description": "Response message for Versions.ListVersions.", | |
2376 "id": "ListVersionsResponse", | |
2377 "properties": { | |
2378 "versions": { | |
2379 "description": "The versions belonging to the requested serv
ice.", | |
2380 "items": { | |
2381 "$ref": "Version" | |
2382 }, | |
2383 "type": "array" | |
2384 }, | |
2385 "nextPageToken": { | |
2386 "description": "Continuation token for fetching the next pag
e of results.", | |
2387 "type": "string" | |
2388 } | |
2389 }, | |
2390 "type": "object" | |
2391 }, | |
2392 "ApiEndpointHandler": { | |
2393 "description": "Uses Google Cloud Endpoints to handle requests.", | |
2394 "id": "ApiEndpointHandler", | |
2395 "properties": { | |
2396 "scriptPath": { | |
2397 "description": "Path to the script from the application root
directory.", | |
2398 "type": "string" | |
2399 } | |
2400 }, | |
2401 "type": "object" | |
2402 }, | |
2403 "ZipInfo": { | |
2404 "description": "The zip file information for a zip deployment.", | |
2405 "id": "ZipInfo", | |
2406 "properties": { | |
2407 "sourceUrl": { | |
2408 "description": "URL of the zip file to deploy from. Must be
a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googl
eapis.com/<bucket>/<object>'.", | |
2409 "type": "string" | |
2410 }, | |
2411 "filesCount": { | |
2412 "description": "An estimate of the number of files in a zip
for a zip deployment. If set, must be greater than or equal to the actual number
of files. Used for optimizing performance; if not provided, deployment may be s
low.", | |
2413 "format": "int32", | |
2414 "type": "integer" | |
2415 } | |
2416 }, | |
2417 "type": "object" | |
2418 }, | |
2419 "AutomaticScaling": { | |
2420 "description": "Automatic scaling is based on request rate, response
latencies, and other application metrics.", | |
2421 "id": "AutomaticScaling", | |
2422 "properties": { | |
2423 "minPendingLatency": { | |
2424 "description": "Minimum amount of time a request should wait
in the pending queue before starting a new instance to handle it.", | |
2425 "format": "google-duration", | |
2426 "type": "string" | |
2427 }, | |
2428 "requestUtilization": { | |
2429 "$ref": "RequestUtilization", | |
2430 "description": "Target scaling by request utilization." | |
2431 }, | |
2432 "maxIdleInstances": { | |
2433 "description": "Maximum number of idle instances that should
be maintained for this version.", | |
2434 "format": "int32", | |
2435 "type": "integer" | |
2436 }, | |
2437 "minIdleInstances": { | |
2438 "description": "Minimum number of idle instances that should
be maintained for this version. Only applicable for the default version of a se
rvice.", | |
2439 "format": "int32", | |
2440 "type": "integer" | |
2441 }, | |
2442 "maxTotalInstances": { | |
2443 "description": "Maximum number of instances that should be s
tarted to handle requests.", | |
2444 "format": "int32", | |
2445 "type": "integer" | |
2446 }, | |
2447 "minTotalInstances": { | |
2448 "description": "Minimum number of instances that should be m
aintained for this version.", | |
2449 "format": "int32", | |
2450 "type": "integer" | |
2451 }, | |
2452 "networkUtilization": { | |
2453 "$ref": "NetworkUtilization", | |
2454 "description": "Target scaling by network usage." | |
2455 }, | |
2456 "maxConcurrentRequests": { | |
2457 "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.", | |
2458 "format": "int32", | |
2459 "type": "integer" | |
2460 }, | |
2461 "coolDownPeriod": { | |
2462 "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.", | |
2463 "format": "google-duration", | |
2464 "type": "string" | |
2465 }, | |
2466 "maxPendingLatency": { | |
2467 "description": "Maximum amount of time that a request should
wait in the pending queue before starting a new instance to handle it.", | |
2468 "format": "google-duration", | |
2469 "type": "string" | |
2470 }, | |
2471 "cpuUtilization": { | |
2472 "$ref": "CpuUtilization", | |
2473 "description": "Target scaling by CPU usage." | |
2474 }, | |
2475 "diskUtilization": { | |
2476 "$ref": "DiskUtilization", | |
2477 "description": "Target scaling by disk usage." | |
2478 } | |
2479 }, | |
2480 "type": "object" | |
2481 }, | |
2482 "Library": { | |
2483 "description": "Third-party Python runtime library that is required
by the application.", | |
2484 "id": "Library", | |
2485 "properties": { | |
2486 "version": { | |
2487 "description": "Version of the library to select, or \"lates
t\".", | |
2488 "type": "string" | |
2489 }, | |
2490 "name": { | |
2491 "description": "Name of the library. Example: \"django\".", | |
2492 "type": "string" | |
2493 } | |
2494 }, | |
2495 "type": "object" | |
2496 } | 2942 } |
2497 }, | 2943 }, |
2498 "servicePath": "", | 2944 "servicePath": "", |
2499 "title": "Google App Engine Admin API", | 2945 "title": "Google App Engine Admin API", |
2500 "version": "v1beta" | 2946 "version": "v1beta" |
2501 } | 2947 } |
OLD | NEW |