OLD | NEW |
| (Empty) |
1 { | |
2 "auth": { | |
3 "oauth2": { | |
4 "scopes": { | |
5 "https://www.googleapis.com/auth/cloud-platform": { | |
6 "description": "View and manage your data across Google Clou
d Platform services" | |
7 }, | |
8 "https://www.googleapis.com/auth/compute": { | |
9 "description": "View and manage your Google Compute Engine r
esources" | |
10 }, | |
11 "https://www.googleapis.com/auth/compute.readonly": { | |
12 "description": "View your Google Compute Engine resources" | |
13 }, | |
14 "https://www.googleapis.com/auth/ndev.cloudman": { | |
15 "description": "View and manage your Google Cloud Platform m
anagement resources and deployment status information" | |
16 }, | |
17 "https://www.googleapis.com/auth/ndev.cloudman.readonly": { | |
18 "description": "View your Google Cloud Platform management r
esources and deployment status information" | |
19 } | |
20 } | |
21 } | |
22 }, | |
23 "basePath": "/resourceviews/v1beta1/projects/", | |
24 "baseUrl": "https://www.googleapis.com/resourceviews/v1beta1/projects/", | |
25 "batchPath": "batch", | |
26 "description": "The Resource View API allows users to create and manage logi
cal sets of Google Compute Engine instances.", | |
27 "discoveryVersion": "v1", | |
28 "documentationLink": "https://developers.google.com/compute/", | |
29 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/2oa8SMSfpFS6UKNS3wRm4F3v1wQ\"", | |
30 "icons": { | |
31 "x16": "http://www.google.com/images/icons/product/search-16.gif", | |
32 "x32": "http://www.google.com/images/icons/product/search-32.gif" | |
33 }, | |
34 "id": "resourceviews:v1beta1", | |
35 "kind": "discovery#restDescription", | |
36 "labels": [ | |
37 "limited_availability" | |
38 ], | |
39 "name": "resourceviews", | |
40 "ownerDomain": "google.com", | |
41 "ownerName": "Google", | |
42 "parameters": { | |
43 "alt": { | |
44 "default": "json", | |
45 "description": "Data format for the response.", | |
46 "enum": [ | |
47 "json" | |
48 ], | |
49 "enumDescriptions": [ | |
50 "Responses with Content-Type of application/json" | |
51 ], | |
52 "location": "query", | |
53 "type": "string" | |
54 }, | |
55 "fields": { | |
56 "description": "Selector specifying which fields to include in a par
tial response.", | |
57 "location": "query", | |
58 "type": "string" | |
59 }, | |
60 "key": { | |
61 "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.", | |
62 "location": "query", | |
63 "type": "string" | |
64 }, | |
65 "oauth_token": { | |
66 "description": "OAuth 2.0 token for the current user.", | |
67 "location": "query", | |
68 "type": "string" | |
69 }, | |
70 "prettyPrint": { | |
71 "default": "true", | |
72 "description": "Returns response with indentations and line breaks."
, | |
73 "location": "query", | |
74 "type": "boolean" | |
75 }, | |
76 "quotaUser": { | |
77 "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. Overrides userIp if both are provided.", | |
78 "location": "query", | |
79 "type": "string" | |
80 }, | |
81 "userIp": { | |
82 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", | |
83 "location": "query", | |
84 "type": "string" | |
85 } | |
86 }, | |
87 "protocol": "rest", | |
88 "resources": { | |
89 "regionViews": { | |
90 "methods": { | |
91 "addresources": { | |
92 "description": "Add resources to the view.", | |
93 "httpMethod": "POST", | |
94 "id": "resourceviews.regionViews.addresources", | |
95 "parameterOrder": [ | |
96 "projectName", | |
97 "region", | |
98 "resourceViewName" | |
99 ], | |
100 "parameters": { | |
101 "projectName": { | |
102 "description": "The project name of the resource vie
w.", | |
103 "location": "path", | |
104 "required": true, | |
105 "type": "string" | |
106 }, | |
107 "region": { | |
108 "description": "The region name of the resource view
.", | |
109 "location": "path", | |
110 "required": true, | |
111 "type": "string" | |
112 }, | |
113 "resourceViewName": { | |
114 "description": "The name of the resource view.", | |
115 "location": "path", | |
116 "required": true, | |
117 "type": "string" | |
118 } | |
119 }, | |
120 "path": "{projectName}/regions/{region}/resourceViews/{resou
rceViewName}/addResources", | |
121 "request": { | |
122 "$ref": "RegionViewsAddResourcesRequest" | |
123 }, | |
124 "scopes": [ | |
125 "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", | |
202 "https://www.googleapis.com/auth/compute.readonly", | |
203 "https://www.googleapis.com/auth/ndev.cloudman", | |
204 "https://www.googleapis.com/auth/ndev.cloudman.readonly" | |
205 ] | |
206 }, | |
207 "insert": { | |
208 "description": "Create a resource view.", | |
209 "httpMethod": "POST", | |
210 "id": "resourceviews.regionViews.insert", | |
211 "parameterOrder": [ | |
212 "projectName", | |
213 "region" | |
214 ], | |
215 "parameters": { | |
216 "projectName": { | |
217 "description": "The project name of the resource vie
w.", | |
218 "location": "path", | |
219 "required": true, | |
220 "type": "string" | |
221 }, | |
222 "region": { | |
223 "description": "The region name of the resource view
.", | |
224 "location": "path", | |
225 "required": true, | |
226 "type": "string" | |
227 } | |
228 }, | |
229 "path": "{projectName}/regions/{region}/resourceViews", | |
230 "request": { | |
231 "$ref": "ResourceView" | |
232 }, | |
233 "response": { | |
234 "$ref": "RegionViewsInsertResponse" | |
235 }, | |
236 "scopes": [ | |
237 "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", | |
340 "https://www.googleapis.com/auth/compute.readonly", | |
341 "https://www.googleapis.com/auth/ndev.cloudman", | |
342 "https://www.googleapis.com/auth/ndev.cloudman.readonly" | |
343 ] | |
344 }, | |
345 "removeresources": { | |
346 "description": "Remove resources from the view.", | |
347 "httpMethod": "POST", | |
348 "id": "resourceviews.regionViews.removeresources", | |
349 "parameterOrder": [ | |
350 "projectName", | |
351 "region", | |
352 "resourceViewName" | |
353 ], | |
354 "parameters": { | |
355 "projectName": { | |
356 "description": "The project name of the resource vie
w.", | |
357 "location": "path", | |
358 "required": true, | |
359 "type": "string" | |
360 }, | |
361 "region": { | |
362 "description": "The region name of the resource view
.", | |
363 "location": "path", | |
364 "required": true, | |
365 "type": "string" | |
366 }, | |
367 "resourceViewName": { | |
368 "description": "The name of the resource view.", | |
369 "location": "path", | |
370 "required": true, | |
371 "type": "string" | |
372 } | |
373 }, | |
374 "path": "{projectName}/regions/{region}/resourceViews/{resou
rceViewName}/removeResources", | |
375 "request": { | |
376 "$ref": "RegionViewsRemoveResourcesRequest" | |
377 }, | |
378 "scopes": [ | |
379 "https://www.googleapis.com/auth/cloud-platform", | |
380 "https://www.googleapis.com/auth/compute", | |
381 "https://www.googleapis.com/auth/ndev.cloudman" | |
382 ] | |
383 } | |
384 } | |
385 }, | |
386 "zoneViews": { | |
387 "methods": { | |
388 "addresources": { | |
389 "description": "Add resources to the view.", | |
390 "httpMethod": "POST", | |
391 "id": "resourceviews.zoneViews.addresources", | |
392 "parameterOrder": [ | |
393 "projectName", | |
394 "zone", | |
395 "resourceViewName" | |
396 ], | |
397 "parameters": { | |
398 "projectName": { | |
399 "description": "The project name of the resource vie
w.", | |
400 "location": "path", | |
401 "required": true, | |
402 "type": "string" | |
403 }, | |
404 "resourceViewName": { | |
405 "description": "The name of the resource view.", | |
406 "location": "path", | |
407 "required": true, | |
408 "type": "string" | |
409 }, | |
410 "zone": { | |
411 "description": "The zone name of the resource view."
, | |
412 "location": "path", | |
413 "required": true, | |
414 "type": "string" | |
415 } | |
416 }, | |
417 "path": "{projectName}/zones/{zone}/resourceViews/{resourceV
iewName}/addResources", | |
418 "request": { | |
419 "$ref": "ZoneViewsAddResourcesRequest" | |
420 }, | |
421 "scopes": [ | |
422 "https://www.googleapis.com/auth/cloud-platform", | |
423 "https://www.googleapis.com/auth/compute", | |
424 "https://www.googleapis.com/auth/ndev.cloudman" | |
425 ] | |
426 }, | |
427 "delete": { | |
428 "description": "Delete a resource view.", | |
429 "httpMethod": "DELETE", | |
430 "id": "resourceviews.zoneViews.delete", | |
431 "parameterOrder": [ | |
432 "projectName", | |
433 "zone", | |
434 "resourceViewName" | |
435 ], | |
436 "parameters": { | |
437 "projectName": { | |
438 "description": "The project name of the resource vie
w.", | |
439 "location": "path", | |
440 "required": true, | |
441 "type": "string" | |
442 }, | |
443 "resourceViewName": { | |
444 "description": "The name of the resource view.", | |
445 "location": "path", | |
446 "required": true, | |
447 "type": "string" | |
448 }, | |
449 "zone": { | |
450 "description": "The zone name of the resource view."
, | |
451 "location": "path", | |
452 "required": true, | |
453 "type": "string" | |
454 } | |
455 }, | |
456 "path": "{projectName}/zones/{zone}/resourceViews/{resourceV
iewName}", | |
457 "scopes": [ | |
458 "https://www.googleapis.com/auth/cloud-platform", | |
459 "https://www.googleapis.com/auth/compute", | |
460 "https://www.googleapis.com/auth/ndev.cloudman" | |
461 ] | |
462 }, | |
463 "get": { | |
464 "description": "Get the information of a zonal resource view
.", | |
465 "httpMethod": "GET", | |
466 "id": "resourceviews.zoneViews.get", | |
467 "parameterOrder": [ | |
468 "projectName", | |
469 "zone", | |
470 "resourceViewName" | |
471 ], | |
472 "parameters": { | |
473 "projectName": { | |
474 "description": "The project name of the resource vie
w.", | |
475 "location": "path", | |
476 "required": true, | |
477 "type": "string" | |
478 }, | |
479 "resourceViewName": { | |
480 "description": "The name of the resource view.", | |
481 "location": "path", | |
482 "required": true, | |
483 "type": "string" | |
484 }, | |
485 "zone": { | |
486 "description": "The zone name of the resource view."
, | |
487 "location": "path", | |
488 "required": true, | |
489 "type": "string" | |
490 } | |
491 }, | |
492 "path": "{projectName}/zones/{zone}/resourceViews/{resourceV
iewName}", | |
493 "response": { | |
494 "$ref": "ResourceView" | |
495 }, | |
496 "scopes": [ | |
497 "https://www.googleapis.com/auth/cloud-platform", | |
498 "https://www.googleapis.com/auth/compute", | |
499 "https://www.googleapis.com/auth/compute.readonly", | |
500 "https://www.googleapis.com/auth/ndev.cloudman", | |
501 "https://www.googleapis.com/auth/ndev.cloudman.readonly" | |
502 ] | |
503 }, | |
504 "insert": { | |
505 "description": "Create a resource view.", | |
506 "httpMethod": "POST", | |
507 "id": "resourceviews.zoneViews.insert", | |
508 "parameterOrder": [ | |
509 "projectName", | |
510 "zone" | |
511 ], | |
512 "parameters": { | |
513 "projectName": { | |
514 "description": "The project name of the resource vie
w.", | |
515 "location": "path", | |
516 "required": true, | |
517 "type": "string" | |
518 }, | |
519 "zone": { | |
520 "description": "The zone name of the resource view."
, | |
521 "location": "path", | |
522 "required": true, | |
523 "type": "string" | |
524 } | |
525 }, | |
526 "path": "{projectName}/zones/{zone}/resourceViews", | |
527 "request": { | |
528 "$ref": "ResourceView" | |
529 }, | |
530 "response": { | |
531 "$ref": "ZoneViewsInsertResponse" | |
532 }, | |
533 "scopes": [ | |
534 "https://www.googleapis.com/auth/cloud-platform", | |
535 "https://www.googleapis.com/auth/compute", | |
536 "https://www.googleapis.com/auth/ndev.cloudman" | |
537 ] | |
538 }, | |
539 "list": { | |
540 "description": "List resource views.", | |
541 "httpMethod": "GET", | |
542 "id": "resourceviews.zoneViews.list", | |
543 "parameterOrder": [ | |
544 "projectName", | |
545 "zone" | |
546 ], | |
547 "parameters": { | |
548 "maxResults": { | |
549 "default": "5000", | |
550 "description": "Maximum count of results to be retur
ned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)", | |
551 "format": "int32", | |
552 "location": "query", | |
553 "maximum": "5000", | |
554 "minimum": "0", | |
555 "type": "integer" | |
556 }, | |
557 "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.", | |
559 "location": "query", | |
560 "type": "string" | |
561 }, | |
562 "projectName": { | |
563 "description": "The project name of the resource vie
w.", | |
564 "location": "path", | |
565 "required": true, | |
566 "type": "string" | |
567 }, | |
568 "zone": { | |
569 "description": "The zone name of the resource view."
, | |
570 "location": "path", | |
571 "required": true, | |
572 "type": "string" | |
573 } | |
574 }, | |
575 "path": "{projectName}/zones/{zone}/resourceViews", | |
576 "response": { | |
577 "$ref": "ZoneViewsListResponse" | |
578 }, | |
579 "scopes": [ | |
580 "https://www.googleapis.com/auth/cloud-platform", | |
581 "https://www.googleapis.com/auth/compute", | |
582 "https://www.googleapis.com/auth/compute.readonly", | |
583 "https://www.googleapis.com/auth/ndev.cloudman", | |
584 "https://www.googleapis.com/auth/ndev.cloudman.readonly" | |
585 ] | |
586 }, | |
587 "listresources": { | |
588 "description": "List the resources of the resource view.", | |
589 "httpMethod": "POST", | |
590 "id": "resourceviews.zoneViews.listresources", | |
591 "parameterOrder": [ | |
592 "projectName", | |
593 "zone", | |
594 "resourceViewName" | |
595 ], | |
596 "parameters": { | |
597 "maxResults": { | |
598 "default": "5000", | |
599 "description": "Maximum count of results to be retur
ned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)", | |
600 "format": "int32", | |
601 "location": "query", | |
602 "maximum": "5000", | |
603 "minimum": "0", | |
604 "type": "integer" | |
605 }, | |
606 "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.", | |
608 "location": "query", | |
609 "type": "string" | |
610 }, | |
611 "projectName": { | |
612 "description": "The project name of the resource vie
w.", | |
613 "location": "path", | |
614 "required": true, | |
615 "type": "string" | |
616 }, | |
617 "resourceViewName": { | |
618 "description": "The name of the resource view.", | |
619 "location": "path", | |
620 "required": true, | |
621 "type": "string" | |
622 }, | |
623 "zone": { | |
624 "description": "The zone name of the resource view."
, | |
625 "location": "path", | |
626 "required": true, | |
627 "type": "string" | |
628 } | |
629 }, | |
630 "path": "{projectName}/zones/{zone}/resourceViews/{resourceV
iewName}/resources", | |
631 "response": { | |
632 "$ref": "ZoneViewsListResourcesResponse" | |
633 }, | |
634 "scopes": [ | |
635 "https://www.googleapis.com/auth/cloud-platform", | |
636 "https://www.googleapis.com/auth/compute", | |
637 "https://www.googleapis.com/auth/compute.readonly", | |
638 "https://www.googleapis.com/auth/ndev.cloudman", | |
639 "https://www.googleapis.com/auth/ndev.cloudman.readonly" | |
640 ] | |
641 }, | |
642 "removeresources": { | |
643 "description": "Remove resources from the view.", | |
644 "httpMethod": "POST", | |
645 "id": "resourceviews.zoneViews.removeresources", | |
646 "parameterOrder": [ | |
647 "projectName", | |
648 "zone", | |
649 "resourceViewName" | |
650 ], | |
651 "parameters": { | |
652 "projectName": { | |
653 "description": "The project name of the resource vie
w.", | |
654 "location": "path", | |
655 "required": true, | |
656 "type": "string" | |
657 }, | |
658 "resourceViewName": { | |
659 "description": "The name of the resource view.", | |
660 "location": "path", | |
661 "required": true, | |
662 "type": "string" | |
663 }, | |
664 "zone": { | |
665 "description": "The zone name of the resource view."
, | |
666 "location": "path", | |
667 "required": true, | |
668 "type": "string" | |
669 } | |
670 }, | |
671 "path": "{projectName}/zones/{zone}/resourceViews/{resourceV
iewName}/removeResources", | |
672 "request": { | |
673 "$ref": "ZoneViewsRemoveResourcesRequest" | |
674 }, | |
675 "scopes": [ | |
676 "https://www.googleapis.com/auth/cloud-platform", | |
677 "https://www.googleapis.com/auth/compute", | |
678 "https://www.googleapis.com/auth/ndev.cloudman" | |
679 ] | |
680 } | |
681 } | |
682 } | |
683 }, | |
684 "revision": "20140904", | |
685 "rootUrl": "https://www.googleapis.com/", | |
686 "schemas": { | |
687 "Label": { | |
688 "description": "The Label to be applied to the resource views.", | |
689 "id": "Label", | |
690 "properties": { | |
691 "key": { | |
692 "description": "Key of the label.", | |
693 "type": "string" | |
694 }, | |
695 "value": { | |
696 "description": "Value of the label.", | |
697 "type": "string" | |
698 } | |
699 }, | |
700 "type": "object" | |
701 }, | |
702 "RegionViewsAddResourcesRequest": { | |
703 "description": "The request to add resources to the resource view.", | |
704 "id": "RegionViewsAddResourcesRequest", | |
705 "properties": { | |
706 "resources": { | |
707 "description": "The list of resources to be added.", | |
708 "items": { | |
709 "type": "string" | |
710 }, | |
711 "type": "array" | |
712 } | |
713 }, | |
714 "type": "object" | |
715 }, | |
716 "RegionViewsInsertResponse": { | |
717 "description": "The response to a resource view insert request.", | |
718 "id": "RegionViewsInsertResponse", | |
719 "properties": { | |
720 "resource": { | |
721 "$ref": "ResourceView", | |
722 "description": "The resource view object inserted." | |
723 } | |
724 }, | |
725 "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 }, | |
777 "ResourceView": { | |
778 "description": "The resource view object.", | |
779 "id": "ResourceView", | |
780 "properties": { | |
781 "creationTime": { | |
782 "description": "The creation time of the resource view.", | |
783 "type": "string" | |
784 }, | |
785 "description": { | |
786 "description": "The detailed description of the resource vie
w.", | |
787 "type": "string" | |
788 }, | |
789 "id": { | |
790 "description": "[Output Only] The ID of the resource view.", | |
791 "type": "string" | |
792 }, | |
793 "kind": { | |
794 "default": "resourceviews#resourceView", | |
795 "description": "Type of the resource.", | |
796 "type": "string" | |
797 }, | |
798 "labels": { | |
799 "description": "The labels for events.", | |
800 "items": { | |
801 "$ref": "Label" | |
802 }, | |
803 "type": "array" | |
804 }, | |
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": { | |
817 "description": "The name of the resource view.", | |
818 "type": "string" | |
819 }, | |
820 "numMembers": { | |
821 "description": "The total number of resources in the resourc
e view.", | |
822 "format": "uint32", | |
823 "type": "integer" | |
824 }, | |
825 "selfLink": { | |
826 "description": "[Output Only] A self-link to the resource vi
ew.", | |
827 "type": "string" | |
828 } | |
829 }, | |
830 "type": "object" | |
831 }, | |
832 "ZoneViewsAddResourcesRequest": { | |
833 "description": "The request to add resources to the resource view.", | |
834 "id": "ZoneViewsAddResourcesRequest", | |
835 "properties": { | |
836 "resources": { | |
837 "description": "The list of resources to be added.", | |
838 "items": { | |
839 "type": "string" | |
840 }, | |
841 "type": "array" | |
842 } | |
843 }, | |
844 "type": "object" | |
845 }, | |
846 "ZoneViewsInsertResponse": { | |
847 "description": "The response to an insert request.", | |
848 "id": "ZoneViewsInsertResponse", | |
849 "properties": { | |
850 "resource": { | |
851 "$ref": "ResourceView", | |
852 "description": "The resource view object that has been inser
ted." | |
853 } | |
854 }, | |
855 "type": "object" | |
856 }, | |
857 "ZoneViewsListResourcesResponse": { | |
858 "description": "The response to a list resource request.", | |
859 "id": "ZoneViewsListResourcesResponse", | |
860 "properties": { | |
861 "members": { | |
862 "description": "The full URL of resources in the view.", | |
863 "items": { | |
864 "type": "string" | |
865 }, | |
866 "type": "array" | |
867 }, | |
868 "nextPageToken": { | |
869 "description": "A token used for pagination.", | |
870 "type": "string" | |
871 } | |
872 }, | |
873 "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 }, | |
893 "ZoneViewsRemoveResourcesRequest": { | |
894 "description": "The request to remove resources from the resource vi
ew.", | |
895 "id": "ZoneViewsRemoveResourcesRequest", | |
896 "properties": { | |
897 "resources": { | |
898 "description": "The list of resources to be removed.", | |
899 "items": { | |
900 "type": "string" | |
901 }, | |
902 "type": "array" | |
903 } | |
904 }, | |
905 "type": "object" | |
906 } | |
907 }, | |
908 "servicePath": "resourceviews/v1beta1/projects/", | |
909 "title": "Resource Views API", | |
910 "version": "v1beta1" | |
911 } | |
OLD | NEW |