You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

920 lines
31 KiB

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