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

Side by Side Diff: discovery/googleapis_beta/resourceviews__v1beta2.json

Issue 612053002: Api roll 2: 2014-09-29 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Updated comment in config.yaml Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 }, 7 },
8 "https://www.googleapis.com/auth/compute": { 8 "https://www.googleapis.com/auth/compute": {
9 "description": "View and manage your Google Compute Engine r esources" 9 "description": "View and manage your Google Compute Engine r esources"
10 }, 10 },
11 "https://www.googleapis.com/auth/compute.readonly": { 11 "https://www.googleapis.com/auth/compute.readonly": {
12 "description": "View your Google Compute Engine resources" 12 "description": "View your Google Compute Engine resources"
13 }, 13 },
14 "https://www.googleapis.com/auth/ndev.cloudman": { 14 "https://www.googleapis.com/auth/ndev.cloudman": {
15 "description": "View and manage your Google Cloud Platform m anagement resources and deployment status information" 15 "description": "View and manage your Google Cloud Platform m anagement resources and deployment status information"
16 }, 16 },
17 "https://www.googleapis.com/auth/ndev.cloudman.readonly": { 17 "https://www.googleapis.com/auth/ndev.cloudman.readonly": {
18 "description": "View your Google Cloud Platform management r esources and deployment status information" 18 "description": "View your Google Cloud Platform management r esources and deployment status information"
19 } 19 }
20 } 20 }
21 } 21 }
22 }, 22 },
23 "basePath": "/resourceviews/v1beta1/projects/", 23 "basePath": "/resourceviews/v1beta2/projects/",
24 "baseUrl": "https://www.googleapis.com/resourceviews/v1beta1/projects/", 24 "baseUrl": "https://www.googleapis.com/resourceviews/v1beta2/projects/",
25 "batchPath": "batch", 25 "batchPath": "batch",
26 "description": "The Resource View API allows users to create and manage logi cal sets of Google Compute Engine instances.", 26 "description": "The Resource View API allows users to create and manage logi cal sets of Google Compute Engine instances.",
27 "discoveryVersion": "v1", 27 "discoveryVersion": "v1",
28 "documentationLink": "https://developers.google.com/compute/", 28 "documentationLink": "https://developers.google.com/compute/",
29 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/2oa8SMSfpFS6UKNS3wRm4F3v1wQ\"", 29 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/h07P0KWaqrcoR1sKo_9XnasKmIs\"",
30 "icons": { 30 "icons": {
31 "x16": "http://www.google.com/images/icons/product/search-16.gif", 31 "x16": "http://www.google.com/images/icons/product/search-16.gif",
32 "x32": "http://www.google.com/images/icons/product/search-32.gif" 32 "x32": "http://www.google.com/images/icons/product/search-32.gif"
33 }, 33 },
34 "id": "resourceviews:v1beta1", 34 "id": "resourceviews:v1beta2",
35 "kind": "discovery#restDescription", 35 "kind": "discovery#restDescription",
36 "labels": [ 36 "labels": [
37 "limited_availability" 37 "limited_availability"
38 ], 38 ],
39 "name": "resourceviews", 39 "name": "resourceviews",
40 "ownerDomain": "google.com", 40 "ownerDomain": "google.com",
41 "ownerName": "Google", 41 "ownerName": "Google",
42 "parameters": { 42 "parameters": {
43 "alt": { 43 "alt": {
44 "default": "json", 44 "default": "json",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 "type": "string" 79 "type": "string"
80 }, 80 },
81 "userIp": { 81 "userIp": {
82 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.", 82 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
83 "location": "query", 83 "location": "query",
84 "type": "string" 84 "type": "string"
85 } 85 }
86 }, 86 },
87 "protocol": "rest", 87 "protocol": "rest",
88 "resources": { 88 "resources": {
89 "regionViews": { 89 "zoneOperations": {
90 "methods": { 90 "methods": {
91 "addresources": { 91 "get": {
92 "description": "Add resources to the view.", 92 "description": "Retrieves the specified zone-specific operat ion resource.",
93 "httpMethod": "POST", 93 "httpMethod": "GET",
94 "id": "resourceviews.regionViews.addresources", 94 "id": "resourceviews.zoneOperations.get",
95 "parameterOrder": [ 95 "parameterOrder": [
96 "projectName", 96 "project",
97 "region", 97 "zone",
98 "resourceViewName" 98 "operation"
99 ], 99 ],
100 "parameters": { 100 "parameters": {
101 "projectName": { 101 "operation": {
102 "description": "The project name of the resource vie w.", 102 "description": "Name of the operation resource to re turn.",
103 "location": "path", 103 "location": "path",
104 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
104 "required": true, 105 "required": true,
105 "type": "string" 106 "type": "string"
106 }, 107 },
107 "region": { 108 "project": {
108 "description": "The region name of the resource view .", 109 "description": "Name of the project scoping this req uest.",
109 "location": "path", 110 "location": "path",
111 "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a -z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))" ,
110 "required": true, 112 "required": true,
111 "type": "string" 113 "type": "string"
112 }, 114 },
113 "resourceViewName": { 115 "zone": {
114 "description": "The name of the resource view.", 116 "description": "Name of the zone scoping this reques t.",
115 "location": "path", 117 "location": "path",
118 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
116 "required": true, 119 "required": true,
117 "type": "string" 120 "type": "string"
118 } 121 }
119 }, 122 },
120 "path": "{projectName}/regions/{region}/resourceViews/{resou rceViewName}/addResources", 123 "path": "{project}/zones/{zone}/operations/{operation}",
121 "request": { 124 "response": {
122 "$ref": "RegionViewsAddResourcesRequest" 125 "$ref": "Operation"
123 }, 126 },
124 "scopes": [ 127 "scopes": [
125 "https://www.googleapis.com/auth/cloud-platform", 128 "https://www.googleapis.com/auth/cloud-platform",
126 "https://www.googleapis.com/auth/compute",
127 "https://www.googleapis.com/auth/ndev.cloudman"
128 ]
129 },
130 "delete": {
131 "description": "Delete a resource view.",
132 "httpMethod": "DELETE",
133 "id": "resourceviews.regionViews.delete",
134 "parameterOrder": [
135 "projectName",
136 "region",
137 "resourceViewName"
138 ],
139 "parameters": {
140 "projectName": {
141 "description": "The project name of the resource vie w.",
142 "location": "path",
143 "required": true,
144 "type": "string"
145 },
146 "region": {
147 "description": "The region name of the resource view .",
148 "location": "path",
149 "required": true,
150 "type": "string"
151 },
152 "resourceViewName": {
153 "description": "The name of the resource view.",
154 "location": "path",
155 "required": true,
156 "type": "string"
157 }
158 },
159 "path": "{projectName}/regions/{region}/resourceViews/{resou rceViewName}",
160 "scopes": [
161 "https://www.googleapis.com/auth/cloud-platform",
162 "https://www.googleapis.com/auth/compute",
163 "https://www.googleapis.com/auth/ndev.cloudman"
164 ]
165 },
166 "get": {
167 "description": "Get the information of a resource view.",
168 "httpMethod": "GET",
169 "id": "resourceviews.regionViews.get",
170 "parameterOrder": [
171 "projectName",
172 "region",
173 "resourceViewName"
174 ],
175 "parameters": {
176 "projectName": {
177 "description": "The project name of the resource vie w.",
178 "location": "path",
179 "required": true,
180 "type": "string"
181 },
182 "region": {
183 "description": "The region name of the resource view .",
184 "location": "path",
185 "required": true,
186 "type": "string"
187 },
188 "resourceViewName": {
189 "description": "The name of the resource view.",
190 "location": "path",
191 "required": true,
192 "type": "string"
193 }
194 },
195 "path": "{projectName}/regions/{region}/resourceViews/{resou rceViewName}",
196 "response": {
197 "$ref": "ResourceView"
198 },
199 "scopes": [
200 "https://www.googleapis.com/auth/cloud-platform",
201 "https://www.googleapis.com/auth/compute", 129 "https://www.googleapis.com/auth/compute",
202 "https://www.googleapis.com/auth/compute.readonly", 130 "https://www.googleapis.com/auth/compute.readonly",
203 "https://www.googleapis.com/auth/ndev.cloudman", 131 "https://www.googleapis.com/auth/ndev.cloudman",
204 "https://www.googleapis.com/auth/ndev.cloudman.readonly" 132 "https://www.googleapis.com/auth/ndev.cloudman.readonly"
205 ] 133 ]
206 }, 134 },
207 "insert": { 135 "list": {
208 "description": "Create a resource view.", 136 "description": "Retrieves the list of operation resources co ntained within the specified zone.",
209 "httpMethod": "POST", 137 "httpMethod": "GET",
210 "id": "resourceviews.regionViews.insert", 138 "id": "resourceviews.zoneOperations.list",
211 "parameterOrder": [ 139 "parameterOrder": [
212 "projectName", 140 "project",
213 "region" 141 "zone"
214 ], 142 ],
215 "parameters": { 143 "parameters": {
216 "projectName": { 144 "filter": {
217 "description": "The project name of the resource vie w.", 145 "description": "Optional. Filter expression for filt ering listed resources.",
146 "location": "query",
147 "type": "string"
148 },
149 "maxResults": {
150 "default": "500",
151 "description": "Optional. Maximum count of results t o be returned. Maximum value is 500 and default value is 500.",
152 "format": "uint32",
153 "location": "query",
154 "maximum": "500",
155 "minimum": "0",
156 "type": "integer"
157 },
158 "pageToken": {
159 "description": "Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. ",
160 "location": "query",
161 "type": "string"
162 },
163 "project": {
164 "description": "Name of the project scoping this req uest.",
218 "location": "path", 165 "location": "path",
166 "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a -z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))" ,
219 "required": true, 167 "required": true,
220 "type": "string" 168 "type": "string"
221 }, 169 },
222 "region": { 170 "zone": {
223 "description": "The region name of the resource view .", 171 "description": "Name of the zone scoping this reques t.",
224 "location": "path", 172 "location": "path",
173 "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
225 "required": true, 174 "required": true,
226 "type": "string" 175 "type": "string"
227 } 176 }
228 }, 177 },
229 "path": "{projectName}/regions/{region}/resourceViews", 178 "path": "{project}/zones/{zone}/operations",
230 "request": {
231 "$ref": "ResourceView"
232 },
233 "response": { 179 "response": {
234 "$ref": "RegionViewsInsertResponse" 180 "$ref": "OperationList"
235 }, 181 },
236 "scopes": [ 182 "scopes": [
237 "https://www.googleapis.com/auth/cloud-platform", 183 "https://www.googleapis.com/auth/cloud-platform",
238 "https://www.googleapis.com/auth/compute",
239 "https://www.googleapis.com/auth/ndev.cloudman"
240 ]
241 },
242 "list": {
243 "description": "List resource views.",
244 "httpMethod": "GET",
245 "id": "resourceviews.regionViews.list",
246 "parameterOrder": [
247 "projectName",
248 "region"
249 ],
250 "parameters": {
251 "maxResults": {
252 "default": "5000",
253 "description": "Maximum count of results to be retur ned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)",
254 "format": "int32",
255 "location": "query",
256 "maximum": "5000",
257 "minimum": "0",
258 "type": "integer"
259 },
260 "pageToken": {
261 "description": "Specifies a nextPageToken returned b y a previous list request. This token can be used to request the next page of re sults from a previous list request.",
262 "location": "query",
263 "type": "string"
264 },
265 "projectName": {
266 "description": "The project name of the resource vie w.",
267 "location": "path",
268 "required": true,
269 "type": "string"
270 },
271 "region": {
272 "description": "The region name of the resource view .",
273 "location": "path",
274 "required": true,
275 "type": "string"
276 }
277 },
278 "path": "{projectName}/regions/{region}/resourceViews",
279 "response": {
280 "$ref": "RegionViewsListResponse"
281 },
282 "scopes": [
283 "https://www.googleapis.com/auth/cloud-platform",
284 "https://www.googleapis.com/auth/compute",
285 "https://www.googleapis.com/auth/compute.readonly",
286 "https://www.googleapis.com/auth/ndev.cloudman",
287 "https://www.googleapis.com/auth/ndev.cloudman.readonly"
288 ]
289 },
290 "listresources": {
291 "description": "List the resources in the view.",
292 "httpMethod": "POST",
293 "id": "resourceviews.regionViews.listresources",
294 "parameterOrder": [
295 "projectName",
296 "region",
297 "resourceViewName"
298 ],
299 "parameters": {
300 "maxResults": {
301 "default": "5000",
302 "description": "Maximum count of results to be retur ned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)",
303 "format": "int32",
304 "location": "query",
305 "maximum": "5000",
306 "minimum": "0",
307 "type": "integer"
308 },
309 "pageToken": {
310 "description": "Specifies a nextPageToken returned b y a previous list request. This token can be used to request the next page of re sults from a previous list request.",
311 "location": "query",
312 "type": "string"
313 },
314 "projectName": {
315 "description": "The project name of the resource vie w.",
316 "location": "path",
317 "required": true,
318 "type": "string"
319 },
320 "region": {
321 "description": "The region name of the resource view .",
322 "location": "path",
323 "required": true,
324 "type": "string"
325 },
326 "resourceViewName": {
327 "description": "The name of the resource view.",
328 "location": "path",
329 "required": true,
330 "type": "string"
331 }
332 },
333 "path": "{projectName}/regions/{region}/resourceViews/{resou rceViewName}/resources",
334 "response": {
335 "$ref": "RegionViewsListResourcesResponse"
336 },
337 "scopes": [
338 "https://www.googleapis.com/auth/cloud-platform",
339 "https://www.googleapis.com/auth/compute", 184 "https://www.googleapis.com/auth/compute",
340 "https://www.googleapis.com/auth/compute.readonly", 185 "https://www.googleapis.com/auth/compute.readonly",
341 "https://www.googleapis.com/auth/ndev.cloudman", 186 "https://www.googleapis.com/auth/ndev.cloudman",
342 "https://www.googleapis.com/auth/ndev.cloudman.readonly" 187 "https://www.googleapis.com/auth/ndev.cloudman.readonly"
343 ] 188 ]
344 }, 189 }
345 "removeresources": { 190 }
346 "description": "Remove resources from the view.", 191 },
192 "zoneViews": {
193 "methods": {
194 "addResources": {
195 "description": "Add resources to the view.",
347 "httpMethod": "POST", 196 "httpMethod": "POST",
348 "id": "resourceviews.regionViews.removeresources", 197 "id": "resourceviews.zoneViews.addResources",
349 "parameterOrder": [ 198 "parameterOrder": [
350 "projectName", 199 "project",
351 "region", 200 "zone",
352 "resourceViewName" 201 "resourceView"
353 ], 202 ],
354 "parameters": { 203 "parameters": {
355 "projectName": { 204 "project": {
356 "description": "The project name of the resource vie w.", 205 "description": "The project name of the resource vie w.",
357 "location": "path", 206 "location": "path",
358 "required": true, 207 "required": true,
359 "type": "string" 208 "type": "string"
360 }, 209 },
361 "region": { 210 "resourceView": {
362 "description": "The region name of the resource view .", 211 "description": "The name of the resource view.",
363 "location": "path", 212 "location": "path",
364 "required": true, 213 "required": true,
365 "type": "string" 214 "type": "string"
366 }, 215 },
367 "resourceViewName": { 216 "zone": {
368 "description": "The name of the resource view.", 217 "description": "The zone name of the resource view." ,
369 "location": "path", 218 "location": "path",
370 "required": true, 219 "required": true,
371 "type": "string" 220 "type": "string"
372 } 221 }
373 }, 222 },
374 "path": "{projectName}/regions/{region}/resourceViews/{resou rceViewName}/removeResources", 223 "path": "{project}/zones/{zone}/resourceViews/{resourceView} /addResources",
375 "request": { 224 "request": {
376 "$ref": "RegionViewsRemoveResourcesRequest" 225 "$ref": "ZoneViewsAddResourcesRequest"
226 },
227 "response": {
228 "$ref": "Operation"
377 }, 229 },
378 "scopes": [ 230 "scopes": [
379 "https://www.googleapis.com/auth/cloud-platform", 231 "https://www.googleapis.com/auth/cloud-platform",
380 "https://www.googleapis.com/auth/compute", 232 "https://www.googleapis.com/auth/compute",
381 "https://www.googleapis.com/auth/ndev.cloudman" 233 "https://www.googleapis.com/auth/ndev.cloudman"
382 ] 234 ]
383 } 235 },
384 } 236 "delete": {
385 }, 237 "description": "Delete a resource view.",
386 "zoneViews": { 238 "httpMethod": "DELETE",
387 "methods": { 239 "id": "resourceviews.zoneViews.delete",
388 "addresources": {
389 "description": "Add resources to the view.",
390 "httpMethod": "POST",
391 "id": "resourceviews.zoneViews.addresources",
392 "parameterOrder": [ 240 "parameterOrder": [
393 "projectName", 241 "project",
394 "zone", 242 "zone",
395 "resourceViewName" 243 "resourceView"
396 ], 244 ],
397 "parameters": { 245 "parameters": {
398 "projectName": { 246 "project": {
399 "description": "The project name of the resource vie w.", 247 "description": "The project name of the resource vie w.",
400 "location": "path", 248 "location": "path",
401 "required": true, 249 "required": true,
402 "type": "string" 250 "type": "string"
403 }, 251 },
404 "resourceViewName": { 252 "resourceView": {
405 "description": "The name of the resource view.", 253 "description": "The name of the resource view.",
406 "location": "path", 254 "location": "path",
407 "required": true, 255 "required": true,
408 "type": "string" 256 "type": "string"
409 }, 257 },
410 "zone": { 258 "zone": {
411 "description": "The zone name of the resource view." , 259 "description": "The zone name of the resource view." ,
412 "location": "path", 260 "location": "path",
413 "required": true, 261 "required": true,
414 "type": "string" 262 "type": "string"
415 } 263 }
416 }, 264 },
417 "path": "{projectName}/zones/{zone}/resourceViews/{resourceV iewName}/addResources", 265 "path": "{project}/zones/{zone}/resourceViews/{resourceView} ",
418 "request": { 266 "response": {
419 "$ref": "ZoneViewsAddResourcesRequest" 267 "$ref": "Operation"
420 }, 268 },
421 "scopes": [ 269 "scopes": [
422 "https://www.googleapis.com/auth/cloud-platform", 270 "https://www.googleapis.com/auth/cloud-platform",
423 "https://www.googleapis.com/auth/compute", 271 "https://www.googleapis.com/auth/compute",
424 "https://www.googleapis.com/auth/ndev.cloudman" 272 "https://www.googleapis.com/auth/ndev.cloudman"
425 ] 273 ]
426 }, 274 },
427 "delete": { 275 "get": {
428 "description": "Delete a resource view.", 276 "description": "Get the information of a zonal resource view .",
429 "httpMethod": "DELETE", 277 "httpMethod": "GET",
430 "id": "resourceviews.zoneViews.delete", 278 "id": "resourceviews.zoneViews.get",
431 "parameterOrder": [ 279 "parameterOrder": [
432 "projectName", 280 "project",
433 "zone", 281 "zone",
434 "resourceViewName" 282 "resourceView"
435 ], 283 ],
436 "parameters": { 284 "parameters": {
437 "projectName": { 285 "project": {
438 "description": "The project name of the resource vie w.", 286 "description": "The project name of the resource vie w.",
439 "location": "path", 287 "location": "path",
440 "required": true, 288 "required": true,
441 "type": "string" 289 "type": "string"
442 }, 290 },
443 "resourceViewName": { 291 "resourceView": {
444 "description": "The name of the resource view.", 292 "description": "The name of the resource view.",
445 "location": "path", 293 "location": "path",
446 "required": true, 294 "required": true,
447 "type": "string" 295 "type": "string"
448 }, 296 },
449 "zone": { 297 "zone": {
450 "description": "The zone name of the resource view." , 298 "description": "The zone name of the resource view." ,
451 "location": "path", 299 "location": "path",
452 "required": true, 300 "required": true,
453 "type": "string" 301 "type": "string"
454 } 302 }
455 }, 303 },
456 "path": "{projectName}/zones/{zone}/resourceViews/{resourceV iewName}", 304 "path": "{project}/zones/{zone}/resourceViews/{resourceView} ",
305 "response": {
306 "$ref": "ResourceView"
307 },
457 "scopes": [ 308 "scopes": [
458 "https://www.googleapis.com/auth/cloud-platform", 309 "https://www.googleapis.com/auth/cloud-platform",
459 "https://www.googleapis.com/auth/compute", 310 "https://www.googleapis.com/auth/compute",
460 "https://www.googleapis.com/auth/ndev.cloudman" 311 "https://www.googleapis.com/auth/compute.readonly",
312 "https://www.googleapis.com/auth/ndev.cloudman",
313 "https://www.googleapis.com/auth/ndev.cloudman.readonly"
461 ] 314 ]
462 }, 315 },
463 "get": { 316 "getService": {
464 "description": "Get the information of a zonal resource view .", 317 "description": "Get the service information of a resource vi ew or a resource.",
465 "httpMethod": "GET", 318 "httpMethod": "POST",
466 "id": "resourceviews.zoneViews.get", 319 "id": "resourceviews.zoneViews.getService",
467 "parameterOrder": [ 320 "parameterOrder": [
468 "projectName", 321 "project",
469 "zone", 322 "zone",
470 "resourceViewName" 323 "resourceView"
471 ], 324 ],
472 "parameters": { 325 "parameters": {
473 "projectName": { 326 "project": {
474 "description": "The project name of the resource vie w.", 327 "description": "The project name of the resource vie w.",
475 "location": "path", 328 "location": "path",
476 "required": true, 329 "required": true,
477 "type": "string" 330 "type": "string"
478 }, 331 },
479 "resourceViewName": { 332 "resourceName": {
333 "description": "The name of the resource if user wan ts to get the service information of the resource.",
334 "location": "query",
335 "type": "string"
336 },
337 "resourceView": {
480 "description": "The name of the resource view.", 338 "description": "The name of the resource view.",
481 "location": "path", 339 "location": "path",
482 "required": true, 340 "required": true,
483 "type": "string" 341 "type": "string"
484 }, 342 },
485 "zone": { 343 "zone": {
486 "description": "The zone name of the resource view." , 344 "description": "The zone name of the resource view." ,
487 "location": "path", 345 "location": "path",
488 "required": true, 346 "required": true,
489 "type": "string" 347 "type": "string"
490 } 348 }
491 }, 349 },
492 "path": "{projectName}/zones/{zone}/resourceViews/{resourceV iewName}", 350 "path": "{project}/zones/{zone}/resourceViews/{resourceView} /getService",
493 "response": { 351 "response": {
494 "$ref": "ResourceView" 352 "$ref": "ZoneViewsGetServiceResponse"
495 }, 353 },
496 "scopes": [ 354 "scopes": [
497 "https://www.googleapis.com/auth/cloud-platform", 355 "https://www.googleapis.com/auth/cloud-platform",
498 "https://www.googleapis.com/auth/compute", 356 "https://www.googleapis.com/auth/compute",
499 "https://www.googleapis.com/auth/compute.readonly", 357 "https://www.googleapis.com/auth/ndev.cloudman"
500 "https://www.googleapis.com/auth/ndev.cloudman",
501 "https://www.googleapis.com/auth/ndev.cloudman.readonly"
502 ] 358 ]
503 }, 359 },
504 "insert": { 360 "insert": {
505 "description": "Create a resource view.", 361 "description": "Create a resource view.",
506 "httpMethod": "POST", 362 "httpMethod": "POST",
507 "id": "resourceviews.zoneViews.insert", 363 "id": "resourceviews.zoneViews.insert",
508 "parameterOrder": [ 364 "parameterOrder": [
509 "projectName", 365 "project",
510 "zone" 366 "zone"
511 ], 367 ],
512 "parameters": { 368 "parameters": {
513 "projectName": { 369 "project": {
514 "description": "The project name of the resource vie w.", 370 "description": "The project name of the resource vie w.",
515 "location": "path", 371 "location": "path",
516 "required": true, 372 "required": true,
517 "type": "string" 373 "type": "string"
518 }, 374 },
519 "zone": { 375 "zone": {
520 "description": "The zone name of the resource view." , 376 "description": "The zone name of the resource view." ,
521 "location": "path", 377 "location": "path",
522 "required": true, 378 "required": true,
523 "type": "string" 379 "type": "string"
524 } 380 }
525 }, 381 },
526 "path": "{projectName}/zones/{zone}/resourceViews", 382 "path": "{project}/zones/{zone}/resourceViews",
527 "request": { 383 "request": {
528 "$ref": "ResourceView" 384 "$ref": "ResourceView"
529 }, 385 },
530 "response": { 386 "response": {
531 "$ref": "ZoneViewsInsertResponse" 387 "$ref": "Operation"
532 }, 388 },
533 "scopes": [ 389 "scopes": [
534 "https://www.googleapis.com/auth/cloud-platform", 390 "https://www.googleapis.com/auth/cloud-platform",
535 "https://www.googleapis.com/auth/compute", 391 "https://www.googleapis.com/auth/compute",
536 "https://www.googleapis.com/auth/ndev.cloudman" 392 "https://www.googleapis.com/auth/ndev.cloudman"
537 ] 393 ]
538 }, 394 },
539 "list": { 395 "list": {
540 "description": "List resource views.", 396 "description": "List resource views.",
541 "httpMethod": "GET", 397 "httpMethod": "GET",
542 "id": "resourceviews.zoneViews.list", 398 "id": "resourceviews.zoneViews.list",
543 "parameterOrder": [ 399 "parameterOrder": [
544 "projectName", 400 "project",
545 "zone" 401 "zone"
546 ], 402 ],
547 "parameters": { 403 "parameters": {
548 "maxResults": { 404 "maxResults": {
549 "default": "5000", 405 "default": "5000",
550 "description": "Maximum count of results to be retur ned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)", 406 "description": "Maximum count of results to be retur ned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)",
551 "format": "int32", 407 "format": "int32",
552 "location": "query", 408 "location": "query",
553 "maximum": "5000", 409 "maximum": "5000",
554 "minimum": "0", 410 "minimum": "0",
555 "type": "integer" 411 "type": "integer"
556 }, 412 },
557 "pageToken": { 413 "pageToken": {
558 "description": "Specifies a nextPageToken returned b y a previous list request. This token can be used to request the next page of re sults from a previous list request.", 414 "description": "Specifies a nextPageToken returned b y a previous list request. This token can be used to request the next page of re sults from a previous list request.",
559 "location": "query", 415 "location": "query",
560 "type": "string" 416 "type": "string"
561 }, 417 },
562 "projectName": { 418 "project": {
563 "description": "The project name of the resource vie w.", 419 "description": "The project name of the resource vie w.",
564 "location": "path", 420 "location": "path",
565 "required": true, 421 "required": true,
566 "type": "string" 422 "type": "string"
567 }, 423 },
568 "zone": { 424 "zone": {
569 "description": "The zone name of the resource view." , 425 "description": "The zone name of the resource view." ,
570 "location": "path", 426 "location": "path",
571 "required": true, 427 "required": true,
572 "type": "string" 428 "type": "string"
573 } 429 }
574 }, 430 },
575 "path": "{projectName}/zones/{zone}/resourceViews", 431 "path": "{project}/zones/{zone}/resourceViews",
576 "response": { 432 "response": {
577 "$ref": "ZoneViewsListResponse" 433 "$ref": "ZoneViewsList"
578 }, 434 },
579 "scopes": [ 435 "scopes": [
580 "https://www.googleapis.com/auth/cloud-platform", 436 "https://www.googleapis.com/auth/cloud-platform",
581 "https://www.googleapis.com/auth/compute", 437 "https://www.googleapis.com/auth/compute",
582 "https://www.googleapis.com/auth/compute.readonly", 438 "https://www.googleapis.com/auth/compute.readonly",
583 "https://www.googleapis.com/auth/ndev.cloudman", 439 "https://www.googleapis.com/auth/ndev.cloudman",
584 "https://www.googleapis.com/auth/ndev.cloudman.readonly" 440 "https://www.googleapis.com/auth/ndev.cloudman.readonly"
585 ] 441 ]
586 }, 442 },
587 "listresources": { 443 "listResources": {
588 "description": "List the resources of the resource view.", 444 "description": "List the resources of the resource view.",
589 "httpMethod": "POST", 445 "httpMethod": "GET",
590 "id": "resourceviews.zoneViews.listresources", 446 "id": "resourceviews.zoneViews.listResources",
591 "parameterOrder": [ 447 "parameterOrder": [
592 "projectName", 448 "project",
593 "zone", 449 "zone",
594 "resourceViewName" 450 "resourceView"
595 ], 451 ],
596 "parameters": { 452 "parameters": {
453 "format": {
454 "description": "The requested format of the return v alue. It can be URL or URL_PORT. A JSON object will be included in the response based on the format. The default format is NONE, which results in no JSON in the response.",
455 "enum": [
456 "NONE",
457 "URL",
458 "URL_PORT"
459 ],
460 "enumDescriptions": [
461 "",
462 "",
463 ""
464 ],
465 "location": "query",
466 "type": "string"
467 },
468 "listState": {
469 "default": "ALL",
470 "description": "The state of the instance to list. B y default, it lists all instances.",
471 "enum": [
472 "ALL",
473 "RUNNING"
474 ],
475 "enumDescriptions": [
476 "",
477 ""
478 ],
479 "location": "query",
480 "type": "string"
481 },
597 "maxResults": { 482 "maxResults": {
598 "default": "5000", 483 "default": "5000",
599 "description": "Maximum count of results to be retur ned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)", 484 "description": "Maximum count of results to be retur ned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)",
600 "format": "int32", 485 "format": "int32",
601 "location": "query", 486 "location": "query",
602 "maximum": "5000", 487 "maximum": "5000",
603 "minimum": "0", 488 "minimum": "0",
604 "type": "integer" 489 "type": "integer"
605 }, 490 },
606 "pageToken": { 491 "pageToken": {
607 "description": "Specifies a nextPageToken returned b y a previous list request. This token can be used to request the next page of re sults from a previous list request.", 492 "description": "Specifies a nextPageToken returned b y a previous list request. This token can be used to request the next page of re sults from a previous list request.",
608 "location": "query", 493 "location": "query",
609 "type": "string" 494 "type": "string"
610 }, 495 },
611 "projectName": { 496 "project": {
612 "description": "The project name of the resource vie w.", 497 "description": "The project name of the resource vie w.",
613 "location": "path", 498 "location": "path",
614 "required": true, 499 "required": true,
615 "type": "string" 500 "type": "string"
616 }, 501 },
617 "resourceViewName": { 502 "resourceView": {
618 "description": "The name of the resource view.", 503 "description": "The name of the resource view.",
619 "location": "path", 504 "location": "path",
620 "required": true, 505 "required": true,
621 "type": "string" 506 "type": "string"
622 }, 507 },
508 "serviceName": {
509 "description": "The service name to return in the re sponse. It is optional and if it is not set, all the service end points will be returned.",
510 "location": "query",
511 "type": "string"
512 },
623 "zone": { 513 "zone": {
624 "description": "The zone name of the resource view." , 514 "description": "The zone name of the resource view." ,
625 "location": "path", 515 "location": "path",
626 "required": true, 516 "required": true,
627 "type": "string" 517 "type": "string"
628 } 518 }
629 }, 519 },
630 "path": "{projectName}/zones/{zone}/resourceViews/{resourceV iewName}/resources", 520 "path": "{project}/zones/{zone}/resourceViews/{resourceView} /resources",
631 "response": { 521 "response": {
632 "$ref": "ZoneViewsListResourcesResponse" 522 "$ref": "ZoneViewsListResourcesResponse"
633 }, 523 },
634 "scopes": [ 524 "scopes": [
635 "https://www.googleapis.com/auth/cloud-platform", 525 "https://www.googleapis.com/auth/cloud-platform",
636 "https://www.googleapis.com/auth/compute", 526 "https://www.googleapis.com/auth/compute",
637 "https://www.googleapis.com/auth/compute.readonly", 527 "https://www.googleapis.com/auth/compute.readonly",
638 "https://www.googleapis.com/auth/ndev.cloudman", 528 "https://www.googleapis.com/auth/ndev.cloudman",
639 "https://www.googleapis.com/auth/ndev.cloudman.readonly" 529 "https://www.googleapis.com/auth/ndev.cloudman.readonly"
640 ] 530 ]
641 }, 531 },
642 "removeresources": { 532 "removeResources": {
643 "description": "Remove resources from the view.", 533 "description": "Remove resources from the view.",
644 "httpMethod": "POST", 534 "httpMethod": "POST",
645 "id": "resourceviews.zoneViews.removeresources", 535 "id": "resourceviews.zoneViews.removeResources",
646 "parameterOrder": [ 536 "parameterOrder": [
647 "projectName", 537 "project",
648 "zone", 538 "zone",
649 "resourceViewName" 539 "resourceView"
650 ], 540 ],
651 "parameters": { 541 "parameters": {
652 "projectName": { 542 "project": {
653 "description": "The project name of the resource vie w.", 543 "description": "The project name of the resource vie w.",
654 "location": "path", 544 "location": "path",
655 "required": true, 545 "required": true,
656 "type": "string" 546 "type": "string"
657 }, 547 },
658 "resourceViewName": { 548 "resourceView": {
659 "description": "The name of the resource view.", 549 "description": "The name of the resource view.",
660 "location": "path", 550 "location": "path",
661 "required": true, 551 "required": true,
662 "type": "string" 552 "type": "string"
663 }, 553 },
664 "zone": { 554 "zone": {
665 "description": "The zone name of the resource view." , 555 "description": "The zone name of the resource view." ,
666 "location": "path", 556 "location": "path",
667 "required": true, 557 "required": true,
668 "type": "string" 558 "type": "string"
669 } 559 }
670 }, 560 },
671 "path": "{projectName}/zones/{zone}/resourceViews/{resourceV iewName}/removeResources", 561 "path": "{project}/zones/{zone}/resourceViews/{resourceView} /removeResources",
672 "request": { 562 "request": {
673 "$ref": "ZoneViewsRemoveResourcesRequest" 563 "$ref": "ZoneViewsRemoveResourcesRequest"
674 }, 564 },
565 "response": {
566 "$ref": "Operation"
567 },
675 "scopes": [ 568 "scopes": [
676 "https://www.googleapis.com/auth/cloud-platform", 569 "https://www.googleapis.com/auth/cloud-platform",
677 "https://www.googleapis.com/auth/compute", 570 "https://www.googleapis.com/auth/compute",
571 "https://www.googleapis.com/auth/ndev.cloudman"
572 ]
573 },
574 "setService": {
575 "description": "Update the service information of a resource view or a resource.",
576 "httpMethod": "POST",
577 "id": "resourceviews.zoneViews.setService",
578 "parameterOrder": [
579 "project",
580 "zone",
581 "resourceView"
582 ],
583 "parameters": {
584 "project": {
585 "description": "The project name of the resource vie w.",
586 "location": "path",
587 "required": true,
588 "type": "string"
589 },
590 "resourceView": {
591 "description": "The name of the resource view.",
592 "location": "path",
593 "required": true,
594 "type": "string"
595 },
596 "zone": {
597 "description": "The zone name of the resource view." ,
598 "location": "path",
599 "required": true,
600 "type": "string"
601 }
602 },
603 "path": "{project}/zones/{zone}/resourceViews/{resourceView} /setService",
604 "request": {
605 "$ref": "ZoneViewsSetServiceRequest"
606 },
607 "response": {
608 "$ref": "Operation"
609 },
610 "scopes": [
611 "https://www.googleapis.com/auth/cloud-platform",
612 "https://www.googleapis.com/auth/compute",
678 "https://www.googleapis.com/auth/ndev.cloudman" 613 "https://www.googleapis.com/auth/ndev.cloudman"
679 ] 614 ]
680 } 615 }
681 } 616 }
682 } 617 }
683 }, 618 },
684 "revision": "20140904", 619 "revision": "20140904",
685 "rootUrl": "https://www.googleapis.com/", 620 "rootUrl": "https://www.googleapis.com/",
686 "schemas": { 621 "schemas": {
687 "Label": { 622 "Label": {
688 "description": "The Label to be applied to the resource views.", 623 "description": "The Label to be applied to the resource views.",
689 "id": "Label", 624 "id": "Label",
690 "properties": { 625 "properties": {
691 "key": { 626 "key": {
692 "description": "Key of the label.", 627 "description": "Key of the label.",
693 "type": "string" 628 "type": "string"
694 }, 629 },
695 "value": { 630 "value": {
696 "description": "Value of the label.", 631 "description": "Value of the label.",
697 "type": "string" 632 "type": "string"
698 } 633 }
699 }, 634 },
700 "type": "object" 635 "type": "object"
701 }, 636 },
702 "RegionViewsAddResourcesRequest": { 637 "ListResourceResponseItem": {
703 "description": "The request to add resources to the resource view.", 638 "description": "The list response item that contains the resource an d end points information.",
704 "id": "RegionViewsAddResourcesRequest", 639 "id": "ListResourceResponseItem",
705 "properties": { 640 "properties": {
706 "resources": { 641 "endpoints": {
707 "description": "The list of resources to be added.", 642 "additionalProperties": {
643 "description": "The name of the service end point.",
644 "items": {
645 "format": "int32",
646 "type": "integer"
647 },
648 "type": "array"
649 },
650 "description": "The list of service end points on the resour ce.",
651 "type": "object"
652 },
653 "resource": {
654 "description": "The full URL of the resource.",
655 "type": "string"
656 }
657 },
658 "type": "object"
659 },
660 "Operation": {
661 "description": "An operation resource, used to manage asynchronous A PI requests.",
662 "id": "Operation",
663 "properties": {
664 "clientOperationId": {
665 "description": "[Output only] An optional identifier specifi ed by the client when the mutation was initiated. Must be unique for all operati on resources in the project.",
666 "type": "string"
667 },
668 "creationTimestamp": {
669 "description": "[Output Only] The time that this operation w as requested, in RFC3339 text format.",
670 "type": "string"
671 },
672 "endTime": {
673 "description": "[Output Only] The time that this operation w as completed, in RFC3339 text format.",
674 "type": "string"
675 },
676 "error": {
677 "description": "[Output Only] If errors occurred during proc essing of this operation, this field will be populated.",
678 "properties": {
679 "errors": {
680 "description": "[Output Only] The array of errors en countered while processing this operation.",
681 "items": {
682 "properties": {
683 "code": {
684 "description": "[Output Only] The error type identifier for this error.",
685 "type": "string"
686 },
687 "location": {
688 "description": "[Output Only] Indicates the field in the request which caused the error. This property is optional.",
689 "type": "string"
690 },
691 "message": {
692 "description": "[Output Only] An optiona l, human-readable error message.",
693 "type": "string"
694 }
695 },
696 "type": "object"
697 },
698 "type": "array"
699 }
700 },
701 "type": "object"
702 },
703 "httpErrorMessage": {
704 "description": "[Output only] If operation fails, the HTTP e rror message returned.",
705 "type": "string"
706 },
707 "httpErrorStatusCode": {
708 "description": "[Output only] If operation fails, the HTTP e rror status code returned.",
709 "format": "int32",
710 "type": "integer"
711 },
712 "id": {
713 "description": "[Output Only] Unique identifier for the reso urce, generated by the server.",
714 "format": "uint64",
715 "type": "string"
716 },
717 "insertTime": {
718 "description": "[Output Only] The time that this operation w as requested, in RFC3339 text format.",
719 "type": "string"
720 },
721 "kind": {
722 "default": "resourceviews#operation",
723 "description": "[Output only] Type of the resource.",
724 "type": "string"
725 },
726 "name": {
727 "description": "[Output Only] Name of the resource.",
728 "type": "string"
729 },
730 "operationType": {
731 "description": "[Output only] Type of the operation. Operati ons include insert, update, and delete.",
732 "type": "string"
733 },
734 "progress": {
735 "description": "[Output only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or suppo rt any granularity of operations. This should not be used to guess at when the o peration will be complete. This number should be monotonically increasing as the operation progresses.",
736 "format": "int32",
737 "type": "integer"
738 },
739 "region": {
740 "description": "[Output Only] URL of the region where the op eration resides. Only available when performing regional operations.",
741 "type": "string"
742 },
743 "selfLink": {
744 "description": "[Output Only] Server-defined fully-qualified URL for this resource.",
745 "type": "string"
746 },
747 "startTime": {
748 "description": "[Output Only] The time that this operation w as started by the server, in RFC3339 text format.",
749 "type": "string"
750 },
751 "status": {
752 "description": "[Output Only] Status of the operation.",
753 "type": "string"
754 },
755 "statusMessage": {
756 "description": "[Output Only] An optional textual descriptio n of the current status of the operation.",
757 "type": "string"
758 },
759 "targetId": {
760 "description": "[Output Only] Unique target ID which identif ies a particular incarnation of the target.",
761 "format": "uint64",
762 "type": "string"
763 },
764 "targetLink": {
765 "description": "[Output only] URL of the resource the operat ion is mutating.",
766 "type": "string"
767 },
768 "user": {
769 "description": "[Output Only] User who requested the operati on, for example: user@example.com.",
770 "type": "string"
771 },
772 "warnings": {
773 "description": "[Output Only] If there are issues with this operation, a warning is returned.",
708 "items": { 774 "items": {
709 "type": "string" 775 "properties": {
776 "code": {
777 "description": "[Output only] The warning type i dentifier for this warning.",
778 "type": "string"
779 },
780 "data": {
781 "description": "[Output only] Metadata for this warning in key:value format.",
782 "items": {
783 "properties": {
784 "key": {
785 "description": "[Output Only] Metada ta key for this warning.",
786 "type": "string"
787 },
788 "value": {
789 "description": "[Output Only] Metada ta value for this warning.",
790 "type": "string"
791 }
792 },
793 "type": "object"
794 },
795 "type": "array"
796 },
797 "message": {
798 "description": "[Output only] Optional human-rea dable details for this warning.",
799 "type": "string"
800 }
801 },
802 "type": "object"
710 }, 803 },
711 "type": "array" 804 "type": "array"
805 },
806 "zone": {
807 "description": "[Output Only] URL of the zone where the oper ation resides. Only available when performing per-zone operations.",
808 "type": "string"
712 } 809 }
713 }, 810 },
714 "type": "object" 811 "type": "object"
715 }, 812 },
716 "RegionViewsInsertResponse": { 813 "OperationList": {
717 "description": "The response to a resource view insert request.", 814 "id": "OperationList",
718 "id": "RegionViewsInsertResponse",
719 "properties": { 815 "properties": {
720 "resource": { 816 "id": {
721 "$ref": "ResourceView", 817 "description": "Unique identifier for the resource; defined by the server (output only).",
722 "description": "The resource view object inserted." 818 "type": "string"
819 },
820 "items": {
821 "description": "The operation resources.",
822 "items": {
823 "$ref": "Operation"
824 },
825 "type": "array"
826 },
827 "kind": {
828 "default": "resourceviews#operationList",
829 "description": "Type of resource.",
830 "type": "string"
831 },
832 "nextPageToken": {
833 "description": "A token used to continue a truncated list re quest (output only).",
834 "type": "string"
835 },
836 "selfLink": {
837 "description": "Server defined URL for this resource (output only).",
838 "type": "string"
723 } 839 }
724 }, 840 },
725 "type": "object" 841 "type": "object"
726 },
727 "RegionViewsListResourcesResponse": {
728 "description": "The response to the list resource request.",
729 "id": "RegionViewsListResourcesResponse",
730 "properties": {
731 "members": {
732 "description": "The resources in the view.",
733 "items": {
734 "type": "string"
735 },
736 "type": "array"
737 },
738 "nextPageToken": {
739 "description": "A token used for pagination.",
740 "type": "string"
741 }
742 },
743 "type": "object"
744 },
745 "RegionViewsListResponse": {
746 "description": "The response to the list resource view request.",
747 "id": "RegionViewsListResponse",
748 "properties": {
749 "nextPageToken": {
750 "description": "A token used for pagination.",
751 "type": "string"
752 },
753 "resourceViews": {
754 "description": "The list of resource views that meet the cri teria.",
755 "items": {
756 "$ref": "ResourceView"
757 },
758 "type": "array"
759 }
760 },
761 "type": "object"
762 },
763 "RegionViewsRemoveResourcesRequest": {
764 "description": "The request to remove resources from the resource vi ew.",
765 "id": "RegionViewsRemoveResourcesRequest",
766 "properties": {
767 "resources": {
768 "description": "The list of resources to be removed.",
769 "items": {
770 "type": "string"
771 },
772 "type": "array"
773 }
774 },
775 "type": "object"
776 }, 842 },
777 "ResourceView": { 843 "ResourceView": {
778 "description": "The resource view object.", 844 "description": "The resource view object.",
779 "id": "ResourceView", 845 "id": "ResourceView",
780 "properties": { 846 "properties": {
781 "creationTime": { 847 "creationTimestamp": {
782 "description": "The creation time of the resource view.", 848 "description": "The creation time of the resource view.",
783 "type": "string" 849 "type": "string"
784 }, 850 },
785 "description": { 851 "description": {
786 "description": "The detailed description of the resource vie w.", 852 "description": "The detailed description of the resource vie w.",
787 "type": "string" 853 "type": "string"
788 }, 854 },
855 "endpoints": {
856 "description": "Services endpoint information.",
857 "items": {
858 "$ref": "ServiceEndpoint"
859 },
860 "type": "array"
861 },
862 "fingerprint": {
863 "description": "The fingerprint of the service endpoint info rmation.",
864 "type": "string"
865 },
789 "id": { 866 "id": {
790 "description": "[Output Only] The ID of the resource view.", 867 "description": "[Output Only] The ID of the resource view.",
791 "type": "string" 868 "type": "string"
792 }, 869 },
793 "kind": { 870 "kind": {
794 "default": "resourceviews#resourceView", 871 "default": "resourceviews#resourceView",
795 "description": "Type of the resource.", 872 "description": "Type of the resource.",
796 "type": "string" 873 "type": "string"
797 }, 874 },
798 "labels": { 875 "labels": {
799 "description": "The labels for events.", 876 "description": "The labels for events.",
800 "items": { 877 "items": {
801 "$ref": "Label" 878 "$ref": "Label"
802 }, 879 },
803 "type": "array" 880 "type": "array"
804 }, 881 },
805 "lastModified": {
806 "description": "The last modified time of the view. Not supp orted yet.",
807 "type": "string"
808 },
809 "members": {
810 "description": "A list of all resources in the resource view .",
811 "items": {
812 "type": "string"
813 },
814 "type": "array"
815 },
816 "name": { 882 "name": {
817 "description": "The name of the resource view.", 883 "description": "The name of the resource view.",
818 "type": "string" 884 "type": "string"
819 }, 885 },
820 "numMembers": { 886 "network": {
821 "description": "The total number of resources in the resourc e view.", 887 "description": "The URL of a Compute Engine network to which the resources in the view belong.",
822 "format": "uint32", 888 "type": "string"
823 "type": "integer" 889 },
890 "resources": {
891 "description": "A list of all resources in the resource view .",
892 "items": {
893 "type": "string"
894 },
895 "type": "array"
824 }, 896 },
825 "selfLink": { 897 "selfLink": {
826 "description": "[Output Only] A self-link to the resource vi ew.", 898 "description": "[Output Only] A self-link to the resource vi ew.",
827 "type": "string" 899 "type": "string"
900 },
901 "size": {
902 "description": "The total number of resources in the resourc e view.",
903 "format": "uint32",
904 "type": "integer"
828 } 905 }
829 }, 906 },
830 "type": "object" 907 "type": "object"
908 },
909 "ServiceEndpoint": {
910 "description": "The service endpoint that may be started in a VM.",
911 "id": "ServiceEndpoint",
912 "properties": {
913 "name": {
914 "description": "The name of the service endpoint.",
915 "type": "string"
916 },
917 "port": {
918 "description": "The port of the service endpoint.",
919 "format": "int32",
920 "type": "integer"
921 }
922 },
923 "type": "object"
831 }, 924 },
832 "ZoneViewsAddResourcesRequest": { 925 "ZoneViewsAddResourcesRequest": {
833 "description": "The request to add resources to the resource view.", 926 "description": "The request to add resources to the resource view.",
834 "id": "ZoneViewsAddResourcesRequest", 927 "id": "ZoneViewsAddResourcesRequest",
835 "properties": { 928 "properties": {
836 "resources": { 929 "resources": {
837 "description": "The list of resources to be added.", 930 "description": "The list of resources to be added.",
838 "items": { 931 "items": {
839 "type": "string" 932 "type": "string"
840 }, 933 },
841 "type": "array" 934 "type": "array"
842 } 935 }
843 }, 936 },
844 "type": "object" 937 "type": "object"
845 }, 938 },
846 "ZoneViewsInsertResponse": { 939 "ZoneViewsGetServiceResponse": {
847 "description": "The response to an insert request.", 940 "id": "ZoneViewsGetServiceResponse",
848 "id": "ZoneViewsInsertResponse",
849 "properties": { 941 "properties": {
850 "resource": { 942 "endpoints": {
851 "$ref": "ResourceView", 943 "description": "The service information.",
852 "description": "The resource view object that has been inser ted." 944 "items": {
945 "$ref": "ServiceEndpoint"
946 },
947 "type": "array"
948 },
949 "fingerprint": {
950 "description": "The fingerprint of the service information." ,
951 "type": "string"
952 }
953 },
954 "type": "object"
955 },
956 "ZoneViewsList": {
957 "description": "The response to a list request.",
958 "id": "ZoneViewsList",
959 "properties": {
960 "items": {
961 "description": "The result that contains all resource views that meet the criteria.",
962 "items": {
963 "$ref": "ResourceView"
964 },
965 "type": "array"
966 },
967 "kind": {
968 "default": "resourceviews#zoneViewsList",
969 "description": "Type of resource.",
970 "type": "string"
971 },
972 "nextPageToken": {
973 "description": "A token used for pagination.",
974 "type": "string"
975 },
976 "selfLink": {
977 "description": "Server defined URL for this resource (output only).",
978 "type": "string"
853 } 979 }
854 }, 980 },
855 "type": "object" 981 "type": "object"
856 }, 982 },
857 "ZoneViewsListResourcesResponse": { 983 "ZoneViewsListResourcesResponse": {
858 "description": "The response to a list resource request.", 984 "description": "The response to a list resource request.",
859 "id": "ZoneViewsListResourcesResponse", 985 "id": "ZoneViewsListResourcesResponse",
860 "properties": { 986 "properties": {
861 "members": { 987 "items": {
862 "description": "The full URL of resources in the view.", 988 "description": "The formatted JSON that is requested by the user.",
863 "items": { 989 "items": {
864 "type": "string" 990 "$ref": "ListResourceResponseItem"
865 }, 991 },
866 "type": "array" 992 "type": "array"
867 }, 993 },
994 "network": {
995 "description": "The URL of a Compute Engine network to which the resources in the view belong.",
996 "type": "string"
997 },
868 "nextPageToken": { 998 "nextPageToken": {
869 "description": "A token used for pagination.", 999 "description": "A token used for pagination.",
870 "type": "string" 1000 "type": "string"
871 } 1001 }
872 }, 1002 },
873 "type": "object" 1003 "type": "object"
874 },
875 "ZoneViewsListResponse": {
876 "description": "The response to a list request.",
877 "id": "ZoneViewsListResponse",
878 "properties": {
879 "nextPageToken": {
880 "description": "A token used for pagination.",
881 "type": "string"
882 },
883 "resourceViews": {
884 "description": "The result that contains all resource views that meet the criteria.",
885 "items": {
886 "$ref": "ResourceView"
887 },
888 "type": "array"
889 }
890 },
891 "type": "object"
892 }, 1004 },
893 "ZoneViewsRemoveResourcesRequest": { 1005 "ZoneViewsRemoveResourcesRequest": {
894 "description": "The request to remove resources from the resource vi ew.", 1006 "description": "The request to remove resources from the resource vi ew.",
895 "id": "ZoneViewsRemoveResourcesRequest", 1007 "id": "ZoneViewsRemoveResourcesRequest",
896 "properties": { 1008 "properties": {
897 "resources": { 1009 "resources": {
898 "description": "The list of resources to be removed.", 1010 "description": "The list of resources to be removed.",
899 "items": { 1011 "items": {
900 "type": "string" 1012 "type": "string"
901 }, 1013 },
902 "type": "array" 1014 "type": "array"
903 } 1015 }
904 }, 1016 },
905 "type": "object" 1017 "type": "object"
1018 },
1019 "ZoneViewsSetServiceRequest": {
1020 "id": "ZoneViewsSetServiceRequest",
1021 "properties": {
1022 "endpoints": {
1023 "description": "The service information to be updated.",
1024 "items": {
1025 "$ref": "ServiceEndpoint"
1026 },
1027 "type": "array"
1028 },
1029 "fingerprint": {
1030 "description": "Fingerprint of the service information; a ha sh of the contents. This field is used for optimistic locking when updating the service entries.",
1031 "type": "string"
1032 },
1033 "resourceName": {
1034 "description": "The name of the resource if user wants to up date the service information of the resource.",
1035 "type": "string"
1036 }
1037 },
1038 "type": "object"
906 } 1039 }
907 }, 1040 },
908 "servicePath": "resourceviews/v1beta1/projects/", 1041 "servicePath": "resourceviews/v1beta2/projects/",
909 "title": "Resource Views API", 1042 "title": "Resource Views API",
910 "version": "v1beta1" 1043 "version": "v1beta2"
911 } 1044 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698