~nskaggs/+junk/xenial-test

« back to all changes in this revision

Viewing changes to src/google.golang.org/api/resourceviews/v1beta1/resourceviews-api.json

  • Committer: Nicholas Skaggs
  • Date: 2016-10-24 20:56:05 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20161024205605-z8lta0uvuhtxwzwl
Initi with beta15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{
 
2
 "kind": "discovery#restDescription",
 
3
 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/2oa8SMSfpFS6UKNS3wRm4F3v1wQ\"",
 
4
 "discoveryVersion": "v1",
 
5
 "id": "resourceviews:v1beta1",
 
6
 "name": "resourceviews",
 
7
 "version": "v1beta1",
 
8
 "revision": "20140904",
 
9
 "title": "Resource Views API",
 
10
 "description": "The Resource View API allows users to create and manage logical sets of Google Compute Engine instances.",
 
11
 "ownerDomain": "google.com",
 
12
 "ownerName": "Google",
 
13
 "icons": {
 
14
  "x16": "http://www.google.com/images/icons/product/search-16.gif",
 
15
  "x32": "http://www.google.com/images/icons/product/search-32.gif"
 
16
 },
 
17
 "documentationLink": "https://developers.google.com/compute/",
 
18
 "labels": [
 
19
  "limited_availability"
 
20
 ],
 
21
 "protocol": "rest",
 
22
 "baseUrl": "https://www.googleapis.com/resourceviews/v1beta1/projects/",
 
23
 "basePath": "/resourceviews/v1beta1/projects/",
 
24
 "rootUrl": "https://www.googleapis.com/",
 
25
 "servicePath": "resourceviews/v1beta1/projects/",
 
26
 "batchPath": "batch",
 
27
 "parameters": {
 
28
  "alt": {
 
29
   "type": "string",
 
30
   "description": "Data format for the response.",
 
31
   "default": "json",
 
32
   "enum": [
 
33
    "json"
 
34
   ],
 
35
   "enumDescriptions": [
 
36
    "Responses with Content-Type of application/json"
 
37
   ],
 
38
   "location": "query"
 
39
  },
 
40
  "fields": {
 
41
   "type": "string",
 
42
   "description": "Selector specifying which fields to include in a partial response.",
 
43
   "location": "query"
 
44
  },
 
45
  "key": {
 
46
   "type": "string",
 
47
   "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
 
48
   "location": "query"
 
49
  },
 
50
  "oauth_token": {
 
51
   "type": "string",
 
52
   "description": "OAuth 2.0 token for the current user.",
 
53
   "location": "query"
 
54
  },
 
55
  "prettyPrint": {
 
56
   "type": "boolean",
 
57
   "description": "Returns response with indentations and line breaks.",
 
58
   "default": "true",
 
59
   "location": "query"
 
60
  },
 
61
  "quotaUser": {
 
62
   "type": "string",
 
63
   "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
 
64
   "location": "query"
 
65
  },
 
66
  "userIp": {
 
67
   "type": "string",
 
68
   "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
 
69
   "location": "query"
 
70
  }
 
71
 },
 
72
 "auth": {
 
73
  "oauth2": {
 
74
   "scopes": {
 
75
    "https://www.googleapis.com/auth/cloud-platform": {
 
76
     "description": "View and manage your data across Google Cloud Platform services"
 
77
    },
 
78
    "https://www.googleapis.com/auth/compute": {
 
79
     "description": "View and manage your Google Compute Engine resources"
 
80
    },
 
81
    "https://www.googleapis.com/auth/compute.readonly": {
 
82
     "description": "View your Google Compute Engine resources"
 
83
    },
 
84
    "https://www.googleapis.com/auth/ndev.cloudman": {
 
85
     "description": "View and manage your Google Cloud Platform management resources and deployment status information"
 
86
    },
 
87
    "https://www.googleapis.com/auth/ndev.cloudman.readonly": {
 
88
     "description": "View your Google Cloud Platform management resources and deployment status information"
 
89
    }
 
90
   }
 
91
  }
 
92
 },
 
93
 "schemas": {
 
94
  "Label": {
 
95
   "id": "Label",
 
96
   "type": "object",
 
97
   "description": "The Label to be applied to the resource views.",
 
98
   "properties": {
 
99
    "key": {
 
100
     "type": "string",
 
101
     "description": "Key of the label."
 
102
    },
 
103
    "value": {
 
104
     "type": "string",
 
105
     "description": "Value of the label."
 
106
    }
 
107
   }
 
108
  },
 
109
  "RegionViewsAddResourcesRequest": {
 
110
   "id": "RegionViewsAddResourcesRequest",
 
111
   "type": "object",
 
112
   "description": "The request to add resources to the resource view.",
 
113
   "properties": {
 
114
    "resources": {
 
115
     "type": "array",
 
116
     "description": "The list of resources to be added.",
 
117
     "items": {
 
118
      "type": "string"
 
119
     }
 
120
    }
 
121
   }
 
122
  },
 
123
  "RegionViewsInsertResponse": {
 
124
   "id": "RegionViewsInsertResponse",
 
125
   "type": "object",
 
126
   "description": "The response to a resource view insert request.",
 
127
   "properties": {
 
128
    "resource": {
 
129
     "$ref": "ResourceView",
 
130
     "description": "The resource view object inserted."
 
131
    }
 
132
   }
 
133
  },
 
134
  "RegionViewsListResourcesResponse": {
 
135
   "id": "RegionViewsListResourcesResponse",
 
136
   "type": "object",
 
137
   "description": "The response to the list resource request.",
 
138
   "properties": {
 
139
    "members": {
 
140
     "type": "array",
 
141
     "description": "The resources in the view.",
 
142
     "items": {
 
143
      "type": "string"
 
144
     }
 
145
    },
 
146
    "nextPageToken": {
 
147
     "type": "string",
 
148
     "description": "A token used for pagination."
 
149
    }
 
150
   }
 
151
  },
 
152
  "RegionViewsListResponse": {
 
153
   "id": "RegionViewsListResponse",
 
154
   "type": "object",
 
155
   "description": "The response to the list resource view request.",
 
156
   "properties": {
 
157
    "nextPageToken": {
 
158
     "type": "string",
 
159
     "description": "A token used for pagination."
 
160
    },
 
161
    "resourceViews": {
 
162
     "type": "array",
 
163
     "description": "The list of resource views that meet the criteria.",
 
164
     "items": {
 
165
      "$ref": "ResourceView"
 
166
     }
 
167
    }
 
168
   }
 
169
  },
 
170
  "RegionViewsRemoveResourcesRequest": {
 
171
   "id": "RegionViewsRemoveResourcesRequest",
 
172
   "type": "object",
 
173
   "description": "The request to remove resources from the resource view.",
 
174
   "properties": {
 
175
    "resources": {
 
176
     "type": "array",
 
177
     "description": "The list of resources to be removed.",
 
178
     "items": {
 
179
      "type": "string"
 
180
     }
 
181
    }
 
182
   }
 
183
  },
 
184
  "ResourceView": {
 
185
   "id": "ResourceView",
 
186
   "type": "object",
 
187
   "description": "The resource view object.",
 
188
   "properties": {
 
189
    "creationTime": {
 
190
     "type": "string",
 
191
     "description": "The creation time of the resource view."
 
192
    },
 
193
    "description": {
 
194
     "type": "string",
 
195
     "description": "The detailed description of the resource view."
 
196
    },
 
197
    "id": {
 
198
     "type": "string",
 
199
     "description": "[Output Only] The ID of the resource view."
 
200
    },
 
201
    "kind": {
 
202
     "type": "string",
 
203
     "description": "Type of the resource.",
 
204
     "default": "resourceviews#resourceView"
 
205
    },
 
206
    "labels": {
 
207
     "type": "array",
 
208
     "description": "The labels for events.",
 
209
     "items": {
 
210
      "$ref": "Label"
 
211
     }
 
212
    },
 
213
    "lastModified": {
 
214
     "type": "string",
 
215
     "description": "The last modified time of the view. Not supported yet."
 
216
    },
 
217
    "members": {
 
218
     "type": "array",
 
219
     "description": "A list of all resources in the resource view.",
 
220
     "items": {
 
221
      "type": "string"
 
222
     }
 
223
    },
 
224
    "name": {
 
225
     "type": "string",
 
226
     "description": "The name of the resource view."
 
227
    },
 
228
    "numMembers": {
 
229
     "type": "integer",
 
230
     "description": "The total number of resources in the resource view.",
 
231
     "format": "uint32"
 
232
    },
 
233
    "selfLink": {
 
234
     "type": "string",
 
235
     "description": "[Output Only] A self-link to the resource view."
 
236
    }
 
237
   }
 
238
  },
 
239
  "ZoneViewsAddResourcesRequest": {
 
240
   "id": "ZoneViewsAddResourcesRequest",
 
241
   "type": "object",
 
242
   "description": "The request to add resources to the resource view.",
 
243
   "properties": {
 
244
    "resources": {
 
245
     "type": "array",
 
246
     "description": "The list of resources to be added.",
 
247
     "items": {
 
248
      "type": "string"
 
249
     }
 
250
    }
 
251
   }
 
252
  },
 
253
  "ZoneViewsInsertResponse": {
 
254
   "id": "ZoneViewsInsertResponse",
 
255
   "type": "object",
 
256
   "description": "The response to an insert request.",
 
257
   "properties": {
 
258
    "resource": {
 
259
     "$ref": "ResourceView",
 
260
     "description": "The resource view object that has been inserted."
 
261
    }
 
262
   }
 
263
  },
 
264
  "ZoneViewsListResourcesResponse": {
 
265
   "id": "ZoneViewsListResourcesResponse",
 
266
   "type": "object",
 
267
   "description": "The response to a list resource request.",
 
268
   "properties": {
 
269
    "members": {
 
270
     "type": "array",
 
271
     "description": "The full URL of resources in the view.",
 
272
     "items": {
 
273
      "type": "string"
 
274
     }
 
275
    },
 
276
    "nextPageToken": {
 
277
     "type": "string",
 
278
     "description": "A token used for pagination."
 
279
    }
 
280
   }
 
281
  },
 
282
  "ZoneViewsListResponse": {
 
283
   "id": "ZoneViewsListResponse",
 
284
   "type": "object",
 
285
   "description": "The response to a list request.",
 
286
   "properties": {
 
287
    "nextPageToken": {
 
288
     "type": "string",
 
289
     "description": "A token used for pagination."
 
290
    },
 
291
    "resourceViews": {
 
292
     "type": "array",
 
293
     "description": "The result that contains all resource views that meet the criteria.",
 
294
     "items": {
 
295
      "$ref": "ResourceView"
 
296
     }
 
297
    }
 
298
   }
 
299
  },
 
300
  "ZoneViewsRemoveResourcesRequest": {
 
301
   "id": "ZoneViewsRemoveResourcesRequest",
 
302
   "type": "object",
 
303
   "description": "The request to remove resources from the resource view.",
 
304
   "properties": {
 
305
    "resources": {
 
306
     "type": "array",
 
307
     "description": "The list of resources to be removed.",
 
308
     "items": {
 
309
      "type": "string"
 
310
     }
 
311
    }
 
312
   }
 
313
  }
 
314
 },
 
315
 "resources": {
 
316
  "regionViews": {
 
317
   "methods": {
 
318
    "addresources": {
 
319
     "id": "resourceviews.regionViews.addresources",
 
320
     "path": "{projectName}/regions/{region}/resourceViews/{resourceViewName}/addResources",
 
321
     "httpMethod": "POST",
 
322
     "description": "Add resources to the view.",
 
323
     "parameters": {
 
324
      "projectName": {
 
325
       "type": "string",
 
326
       "description": "The project name of the resource view.",
 
327
       "required": true,
 
328
       "location": "path"
 
329
      },
 
330
      "region": {
 
331
       "type": "string",
 
332
       "description": "The region name of the resource view.",
 
333
       "required": true,
 
334
       "location": "path"
 
335
      },
 
336
      "resourceViewName": {
 
337
       "type": "string",
 
338
       "description": "The name of the resource view.",
 
339
       "required": true,
 
340
       "location": "path"
 
341
      }
 
342
     },
 
343
     "parameterOrder": [
 
344
      "projectName",
 
345
      "region",
 
346
      "resourceViewName"
 
347
     ],
 
348
     "request": {
 
349
      "$ref": "RegionViewsAddResourcesRequest"
 
350
     },
 
351
     "scopes": [
 
352
      "https://www.googleapis.com/auth/cloud-platform",
 
353
      "https://www.googleapis.com/auth/compute",
 
354
      "https://www.googleapis.com/auth/ndev.cloudman"
 
355
     ]
 
356
    },
 
357
    "delete": {
 
358
     "id": "resourceviews.regionViews.delete",
 
359
     "path": "{projectName}/regions/{region}/resourceViews/{resourceViewName}",
 
360
     "httpMethod": "DELETE",
 
361
     "description": "Delete a resource view.",
 
362
     "parameters": {
 
363
      "projectName": {
 
364
       "type": "string",
 
365
       "description": "The project name of the resource view.",
 
366
       "required": true,
 
367
       "location": "path"
 
368
      },
 
369
      "region": {
 
370
       "type": "string",
 
371
       "description": "The region name of the resource view.",
 
372
       "required": true,
 
373
       "location": "path"
 
374
      },
 
375
      "resourceViewName": {
 
376
       "type": "string",
 
377
       "description": "The name of the resource view.",
 
378
       "required": true,
 
379
       "location": "path"
 
380
      }
 
381
     },
 
382
     "parameterOrder": [
 
383
      "projectName",
 
384
      "region",
 
385
      "resourceViewName"
 
386
     ],
 
387
     "scopes": [
 
388
      "https://www.googleapis.com/auth/cloud-platform",
 
389
      "https://www.googleapis.com/auth/compute",
 
390
      "https://www.googleapis.com/auth/ndev.cloudman"
 
391
     ]
 
392
    },
 
393
    "get": {
 
394
     "id": "resourceviews.regionViews.get",
 
395
     "path": "{projectName}/regions/{region}/resourceViews/{resourceViewName}",
 
396
     "httpMethod": "GET",
 
397
     "description": "Get the information of a resource view.",
 
398
     "parameters": {
 
399
      "projectName": {
 
400
       "type": "string",
 
401
       "description": "The project name of the resource view.",
 
402
       "required": true,
 
403
       "location": "path"
 
404
      },
 
405
      "region": {
 
406
       "type": "string",
 
407
       "description": "The region name of the resource view.",
 
408
       "required": true,
 
409
       "location": "path"
 
410
      },
 
411
      "resourceViewName": {
 
412
       "type": "string",
 
413
       "description": "The name of the resource view.",
 
414
       "required": true,
 
415
       "location": "path"
 
416
      }
 
417
     },
 
418
     "parameterOrder": [
 
419
      "projectName",
 
420
      "region",
 
421
      "resourceViewName"
 
422
     ],
 
423
     "response": {
 
424
      "$ref": "ResourceView"
 
425
     },
 
426
     "scopes": [
 
427
      "https://www.googleapis.com/auth/cloud-platform",
 
428
      "https://www.googleapis.com/auth/compute",
 
429
      "https://www.googleapis.com/auth/compute.readonly",
 
430
      "https://www.googleapis.com/auth/ndev.cloudman",
 
431
      "https://www.googleapis.com/auth/ndev.cloudman.readonly"
 
432
     ]
 
433
    },
 
434
    "insert": {
 
435
     "id": "resourceviews.regionViews.insert",
 
436
     "path": "{projectName}/regions/{region}/resourceViews",
 
437
     "httpMethod": "POST",
 
438
     "description": "Create a resource view.",
 
439
     "parameters": {
 
440
      "projectName": {
 
441
       "type": "string",
 
442
       "description": "The project name of the resource view.",
 
443
       "required": true,
 
444
       "location": "path"
 
445
      },
 
446
      "region": {
 
447
       "type": "string",
 
448
       "description": "The region name of the resource view.",
 
449
       "required": true,
 
450
       "location": "path"
 
451
      }
 
452
     },
 
453
     "parameterOrder": [
 
454
      "projectName",
 
455
      "region"
 
456
     ],
 
457
     "request": {
 
458
      "$ref": "ResourceView"
 
459
     },
 
460
     "response": {
 
461
      "$ref": "RegionViewsInsertResponse"
 
462
     },
 
463
     "scopes": [
 
464
      "https://www.googleapis.com/auth/cloud-platform",
 
465
      "https://www.googleapis.com/auth/compute",
 
466
      "https://www.googleapis.com/auth/ndev.cloudman"
 
467
     ]
 
468
    },
 
469
    "list": {
 
470
     "id": "resourceviews.regionViews.list",
 
471
     "path": "{projectName}/regions/{region}/resourceViews",
 
472
     "httpMethod": "GET",
 
473
     "description": "List resource views.",
 
474
     "parameters": {
 
475
      "maxResults": {
 
476
       "type": "integer",
 
477
       "description": "Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)",
 
478
       "default": "5000",
 
479
       "format": "int32",
 
480
       "minimum": "0",
 
481
       "maximum": "5000",
 
482
       "location": "query"
 
483
      },
 
484
      "pageToken": {
 
485
       "type": "string",
 
486
       "description": "Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.",
 
487
       "location": "query"
 
488
      },
 
489
      "projectName": {
 
490
       "type": "string",
 
491
       "description": "The project name of the resource view.",
 
492
       "required": true,
 
493
       "location": "path"
 
494
      },
 
495
      "region": {
 
496
       "type": "string",
 
497
       "description": "The region name of the resource view.",
 
498
       "required": true,
 
499
       "location": "path"
 
500
      }
 
501
     },
 
502
     "parameterOrder": [
 
503
      "projectName",
 
504
      "region"
 
505
     ],
 
506
     "response": {
 
507
      "$ref": "RegionViewsListResponse"
 
508
     },
 
509
     "scopes": [
 
510
      "https://www.googleapis.com/auth/cloud-platform",
 
511
      "https://www.googleapis.com/auth/compute",
 
512
      "https://www.googleapis.com/auth/compute.readonly",
 
513
      "https://www.googleapis.com/auth/ndev.cloudman",
 
514
      "https://www.googleapis.com/auth/ndev.cloudman.readonly"
 
515
     ]
 
516
    },
 
517
    "listresources": {
 
518
     "id": "resourceviews.regionViews.listresources",
 
519
     "path": "{projectName}/regions/{region}/resourceViews/{resourceViewName}/resources",
 
520
     "httpMethod": "POST",
 
521
     "description": "List the resources in the view.",
 
522
     "parameters": {
 
523
      "maxResults": {
 
524
       "type": "integer",
 
525
       "description": "Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)",
 
526
       "default": "5000",
 
527
       "format": "int32",
 
528
       "minimum": "0",
 
529
       "maximum": "5000",
 
530
       "location": "query"
 
531
      },
 
532
      "pageToken": {
 
533
       "type": "string",
 
534
       "description": "Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.",
 
535
       "location": "query"
 
536
      },
 
537
      "projectName": {
 
538
       "type": "string",
 
539
       "description": "The project name of the resource view.",
 
540
       "required": true,
 
541
       "location": "path"
 
542
      },
 
543
      "region": {
 
544
       "type": "string",
 
545
       "description": "The region name of the resource view.",
 
546
       "required": true,
 
547
       "location": "path"
 
548
      },
 
549
      "resourceViewName": {
 
550
       "type": "string",
 
551
       "description": "The name of the resource view.",
 
552
       "required": true,
 
553
       "location": "path"
 
554
      }
 
555
     },
 
556
     "parameterOrder": [
 
557
      "projectName",
 
558
      "region",
 
559
      "resourceViewName"
 
560
     ],
 
561
     "response": {
 
562
      "$ref": "RegionViewsListResourcesResponse"
 
563
     },
 
564
     "scopes": [
 
565
      "https://www.googleapis.com/auth/cloud-platform",
 
566
      "https://www.googleapis.com/auth/compute",
 
567
      "https://www.googleapis.com/auth/compute.readonly",
 
568
      "https://www.googleapis.com/auth/ndev.cloudman",
 
569
      "https://www.googleapis.com/auth/ndev.cloudman.readonly"
 
570
     ]
 
571
    },
 
572
    "removeresources": {
 
573
     "id": "resourceviews.regionViews.removeresources",
 
574
     "path": "{projectName}/regions/{region}/resourceViews/{resourceViewName}/removeResources",
 
575
     "httpMethod": "POST",
 
576
     "description": "Remove resources from the view.",
 
577
     "parameters": {
 
578
      "projectName": {
 
579
       "type": "string",
 
580
       "description": "The project name of the resource view.",
 
581
       "required": true,
 
582
       "location": "path"
 
583
      },
 
584
      "region": {
 
585
       "type": "string",
 
586
       "description": "The region name of the resource view.",
 
587
       "required": true,
 
588
       "location": "path"
 
589
      },
 
590
      "resourceViewName": {
 
591
       "type": "string",
 
592
       "description": "The name of the resource view.",
 
593
       "required": true,
 
594
       "location": "path"
 
595
      }
 
596
     },
 
597
     "parameterOrder": [
 
598
      "projectName",
 
599
      "region",
 
600
      "resourceViewName"
 
601
     ],
 
602
     "request": {
 
603
      "$ref": "RegionViewsRemoveResourcesRequest"
 
604
     },
 
605
     "scopes": [
 
606
      "https://www.googleapis.com/auth/cloud-platform",
 
607
      "https://www.googleapis.com/auth/compute",
 
608
      "https://www.googleapis.com/auth/ndev.cloudman"
 
609
     ]
 
610
    }
 
611
   }
 
612
  },
 
613
  "zoneViews": {
 
614
   "methods": {
 
615
    "addresources": {
 
616
     "id": "resourceviews.zoneViews.addresources",
 
617
     "path": "{projectName}/zones/{zone}/resourceViews/{resourceViewName}/addResources",
 
618
     "httpMethod": "POST",
 
619
     "description": "Add resources to the view.",
 
620
     "parameters": {
 
621
      "projectName": {
 
622
       "type": "string",
 
623
       "description": "The project name of the resource view.",
 
624
       "required": true,
 
625
       "location": "path"
 
626
      },
 
627
      "resourceViewName": {
 
628
       "type": "string",
 
629
       "description": "The name of the resource view.",
 
630
       "required": true,
 
631
       "location": "path"
 
632
      },
 
633
      "zone": {
 
634
       "type": "string",
 
635
       "description": "The zone name of the resource view.",
 
636
       "required": true,
 
637
       "location": "path"
 
638
      }
 
639
     },
 
640
     "parameterOrder": [
 
641
      "projectName",
 
642
      "zone",
 
643
      "resourceViewName"
 
644
     ],
 
645
     "request": {
 
646
      "$ref": "ZoneViewsAddResourcesRequest"
 
647
     },
 
648
     "scopes": [
 
649
      "https://www.googleapis.com/auth/cloud-platform",
 
650
      "https://www.googleapis.com/auth/compute",
 
651
      "https://www.googleapis.com/auth/ndev.cloudman"
 
652
     ]
 
653
    },
 
654
    "delete": {
 
655
     "id": "resourceviews.zoneViews.delete",
 
656
     "path": "{projectName}/zones/{zone}/resourceViews/{resourceViewName}",
 
657
     "httpMethod": "DELETE",
 
658
     "description": "Delete a resource view.",
 
659
     "parameters": {
 
660
      "projectName": {
 
661
       "type": "string",
 
662
       "description": "The project name of the resource view.",
 
663
       "required": true,
 
664
       "location": "path"
 
665
      },
 
666
      "resourceViewName": {
 
667
       "type": "string",
 
668
       "description": "The name of the resource view.",
 
669
       "required": true,
 
670
       "location": "path"
 
671
      },
 
672
      "zone": {
 
673
       "type": "string",
 
674
       "description": "The zone name of the resource view.",
 
675
       "required": true,
 
676
       "location": "path"
 
677
      }
 
678
     },
 
679
     "parameterOrder": [
 
680
      "projectName",
 
681
      "zone",
 
682
      "resourceViewName"
 
683
     ],
 
684
     "scopes": [
 
685
      "https://www.googleapis.com/auth/cloud-platform",
 
686
      "https://www.googleapis.com/auth/compute",
 
687
      "https://www.googleapis.com/auth/ndev.cloudman"
 
688
     ]
 
689
    },
 
690
    "get": {
 
691
     "id": "resourceviews.zoneViews.get",
 
692
     "path": "{projectName}/zones/{zone}/resourceViews/{resourceViewName}",
 
693
     "httpMethod": "GET",
 
694
     "description": "Get the information of a zonal resource view.",
 
695
     "parameters": {
 
696
      "projectName": {
 
697
       "type": "string",
 
698
       "description": "The project name of the resource view.",
 
699
       "required": true,
 
700
       "location": "path"
 
701
      },
 
702
      "resourceViewName": {
 
703
       "type": "string",
 
704
       "description": "The name of the resource view.",
 
705
       "required": true,
 
706
       "location": "path"
 
707
      },
 
708
      "zone": {
 
709
       "type": "string",
 
710
       "description": "The zone name of the resource view.",
 
711
       "required": true,
 
712
       "location": "path"
 
713
      }
 
714
     },
 
715
     "parameterOrder": [
 
716
      "projectName",
 
717
      "zone",
 
718
      "resourceViewName"
 
719
     ],
 
720
     "response": {
 
721
      "$ref": "ResourceView"
 
722
     },
 
723
     "scopes": [
 
724
      "https://www.googleapis.com/auth/cloud-platform",
 
725
      "https://www.googleapis.com/auth/compute",
 
726
      "https://www.googleapis.com/auth/compute.readonly",
 
727
      "https://www.googleapis.com/auth/ndev.cloudman",
 
728
      "https://www.googleapis.com/auth/ndev.cloudman.readonly"
 
729
     ]
 
730
    },
 
731
    "insert": {
 
732
     "id": "resourceviews.zoneViews.insert",
 
733
     "path": "{projectName}/zones/{zone}/resourceViews",
 
734
     "httpMethod": "POST",
 
735
     "description": "Create a resource view.",
 
736
     "parameters": {
 
737
      "projectName": {
 
738
       "type": "string",
 
739
       "description": "The project name of the resource view.",
 
740
       "required": true,
 
741
       "location": "path"
 
742
      },
 
743
      "zone": {
 
744
       "type": "string",
 
745
       "description": "The zone name of the resource view.",
 
746
       "required": true,
 
747
       "location": "path"
 
748
      }
 
749
     },
 
750
     "parameterOrder": [
 
751
      "projectName",
 
752
      "zone"
 
753
     ],
 
754
     "request": {
 
755
      "$ref": "ResourceView"
 
756
     },
 
757
     "response": {
 
758
      "$ref": "ZoneViewsInsertResponse"
 
759
     },
 
760
     "scopes": [
 
761
      "https://www.googleapis.com/auth/cloud-platform",
 
762
      "https://www.googleapis.com/auth/compute",
 
763
      "https://www.googleapis.com/auth/ndev.cloudman"
 
764
     ]
 
765
    },
 
766
    "list": {
 
767
     "id": "resourceviews.zoneViews.list",
 
768
     "path": "{projectName}/zones/{zone}/resourceViews",
 
769
     "httpMethod": "GET",
 
770
     "description": "List resource views.",
 
771
     "parameters": {
 
772
      "maxResults": {
 
773
       "type": "integer",
 
774
       "description": "Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)",
 
775
       "default": "5000",
 
776
       "format": "int32",
 
777
       "minimum": "0",
 
778
       "maximum": "5000",
 
779
       "location": "query"
 
780
      },
 
781
      "pageToken": {
 
782
       "type": "string",
 
783
       "description": "Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.",
 
784
       "location": "query"
 
785
      },
 
786
      "projectName": {
 
787
       "type": "string",
 
788
       "description": "The project name of the resource view.",
 
789
       "required": true,
 
790
       "location": "path"
 
791
      },
 
792
      "zone": {
 
793
       "type": "string",
 
794
       "description": "The zone name of the resource view.",
 
795
       "required": true,
 
796
       "location": "path"
 
797
      }
 
798
     },
 
799
     "parameterOrder": [
 
800
      "projectName",
 
801
      "zone"
 
802
     ],
 
803
     "response": {
 
804
      "$ref": "ZoneViewsListResponse"
 
805
     },
 
806
     "scopes": [
 
807
      "https://www.googleapis.com/auth/cloud-platform",
 
808
      "https://www.googleapis.com/auth/compute",
 
809
      "https://www.googleapis.com/auth/compute.readonly",
 
810
      "https://www.googleapis.com/auth/ndev.cloudman",
 
811
      "https://www.googleapis.com/auth/ndev.cloudman.readonly"
 
812
     ]
 
813
    },
 
814
    "listresources": {
 
815
     "id": "resourceviews.zoneViews.listresources",
 
816
     "path": "{projectName}/zones/{zone}/resourceViews/{resourceViewName}/resources",
 
817
     "httpMethod": "POST",
 
818
     "description": "List the resources of the resource view.",
 
819
     "parameters": {
 
820
      "maxResults": {
 
821
       "type": "integer",
 
822
       "description": "Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)",
 
823
       "default": "5000",
 
824
       "format": "int32",
 
825
       "minimum": "0",
 
826
       "maximum": "5000",
 
827
       "location": "query"
 
828
      },
 
829
      "pageToken": {
 
830
       "type": "string",
 
831
       "description": "Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.",
 
832
       "location": "query"
 
833
      },
 
834
      "projectName": {
 
835
       "type": "string",
 
836
       "description": "The project name of the resource view.",
 
837
       "required": true,
 
838
       "location": "path"
 
839
      },
 
840
      "resourceViewName": {
 
841
       "type": "string",
 
842
       "description": "The name of the resource view.",
 
843
       "required": true,
 
844
       "location": "path"
 
845
      },
 
846
      "zone": {
 
847
       "type": "string",
 
848
       "description": "The zone name of the resource view.",
 
849
       "required": true,
 
850
       "location": "path"
 
851
      }
 
852
     },
 
853
     "parameterOrder": [
 
854
      "projectName",
 
855
      "zone",
 
856
      "resourceViewName"
 
857
     ],
 
858
     "response": {
 
859
      "$ref": "ZoneViewsListResourcesResponse"
 
860
     },
 
861
     "scopes": [
 
862
      "https://www.googleapis.com/auth/cloud-platform",
 
863
      "https://www.googleapis.com/auth/compute",
 
864
      "https://www.googleapis.com/auth/compute.readonly",
 
865
      "https://www.googleapis.com/auth/ndev.cloudman",
 
866
      "https://www.googleapis.com/auth/ndev.cloudman.readonly"
 
867
     ]
 
868
    },
 
869
    "removeresources": {
 
870
     "id": "resourceviews.zoneViews.removeresources",
 
871
     "path": "{projectName}/zones/{zone}/resourceViews/{resourceViewName}/removeResources",
 
872
     "httpMethod": "POST",
 
873
     "description": "Remove resources from the view.",
 
874
     "parameters": {
 
875
      "projectName": {
 
876
       "type": "string",
 
877
       "description": "The project name of the resource view.",
 
878
       "required": true,
 
879
       "location": "path"
 
880
      },
 
881
      "resourceViewName": {
 
882
       "type": "string",
 
883
       "description": "The name of the resource view.",
 
884
       "required": true,
 
885
       "location": "path"
 
886
      },
 
887
      "zone": {
 
888
       "type": "string",
 
889
       "description": "The zone name of the resource view.",
 
890
       "required": true,
 
891
       "location": "path"
 
892
      }
 
893
     },
 
894
     "parameterOrder": [
 
895
      "projectName",
 
896
      "zone",
 
897
      "resourceViewName"
 
898
     ],
 
899
     "request": {
 
900
      "$ref": "ZoneViewsRemoveResourcesRequest"
 
901
     },
 
902
     "scopes": [
 
903
      "https://www.googleapis.com/auth/cloud-platform",
 
904
      "https://www.googleapis.com/auth/compute",
 
905
      "https://www.googleapis.com/auth/ndev.cloudman"
 
906
     ]
 
907
    }
 
908
   }
 
909
  }
 
910
 }
 
911
}