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.
 
 
 

1314 lines
35 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/ndev.clouddns.readonly": {
  12. "description": "View your DNS records hosted by Google Cloud DNS"
  13. },
  14. "https://www.googleapis.com/auth/ndev.clouddns.readwrite": {
  15. "description": "View and manage your DNS records hosted by Google Cloud DNS"
  16. }
  17. }
  18. }
  19. },
  20. "basePath": "/dns/v1/projects/",
  21. "baseUrl": "https://www.googleapis.com/dns/v1/projects/",
  22. "batchPath": "batch/dns/v1",
  23. "description": "Configures and serves authoritative DNS records.",
  24. "discoveryVersion": "v1",
  25. "documentationLink": "https://developers.google.com/cloud-dns",
  26. "etag": "\"J3WqvAcMk4eQjJXvfSI4Yr8VouA/MUEA1ZMhfI9iAzfPfacPlOXY3F4\"",
  27. "icons": {
  28. "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
  29. "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
  30. },
  31. "id": "dns:v1",
  32. "kind": "discovery#restDescription",
  33. "name": "dns",
  34. "ownerDomain": "google.com",
  35. "ownerName": "Google",
  36. "parameters": {
  37. "alt": {
  38. "default": "json",
  39. "description": "Data format for the response.",
  40. "enum": [
  41. "json"
  42. ],
  43. "enumDescriptions": [
  44. "Responses with Content-Type of application/json"
  45. ],
  46. "location": "query",
  47. "type": "string"
  48. },
  49. "fields": {
  50. "description": "Selector specifying which fields to include in a partial response.",
  51. "location": "query",
  52. "type": "string"
  53. },
  54. "key": {
  55. "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.",
  56. "location": "query",
  57. "type": "string"
  58. },
  59. "oauth_token": {
  60. "description": "OAuth 2.0 token for the current user.",
  61. "location": "query",
  62. "type": "string"
  63. },
  64. "prettyPrint": {
  65. "default": "true",
  66. "description": "Returns response with indentations and line breaks.",
  67. "location": "query",
  68. "type": "boolean"
  69. },
  70. "quotaUser": {
  71. "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
  72. "location": "query",
  73. "type": "string"
  74. },
  75. "userIp": {
  76. "description": "Deprecated. Please use quotaUser instead.",
  77. "location": "query",
  78. "type": "string"
  79. }
  80. },
  81. "protocol": "rest",
  82. "resources": {
  83. "changes": {
  84. "methods": {
  85. "create": {
  86. "description": "",
  87. "httpMethod": "POST",
  88. "id": "dns.changes.create",
  89. "parameterOrder": [
  90. "project",
  91. "managedZone"
  92. ],
  93. "parameters": {
  94. "clientOperationId": {
  95. "location": "query",
  96. "type": "string"
  97. },
  98. "managedZone": {
  99. "location": "path",
  100. "required": true,
  101. "type": "string"
  102. },
  103. "project": {
  104. "location": "path",
  105. "required": true,
  106. "type": "string"
  107. }
  108. },
  109. "path": "{project}/managedZones/{managedZone}/changes",
  110. "request": {
  111. "$ref": "Change"
  112. },
  113. "response": {
  114. "$ref": "Change"
  115. },
  116. "scopes": [
  117. "https://www.googleapis.com/auth/cloud-platform",
  118. "https://www.googleapis.com/auth/ndev.clouddns.readwrite"
  119. ]
  120. },
  121. "get": {
  122. "description": "",
  123. "httpMethod": "GET",
  124. "id": "dns.changes.get",
  125. "parameterOrder": [
  126. "project",
  127. "managedZone",
  128. "changeId"
  129. ],
  130. "parameters": {
  131. "changeId": {
  132. "location": "path",
  133. "required": true,
  134. "type": "string"
  135. },
  136. "clientOperationId": {
  137. "location": "query",
  138. "type": "string"
  139. },
  140. "managedZone": {
  141. "location": "path",
  142. "required": true,
  143. "type": "string"
  144. },
  145. "project": {
  146. "location": "path",
  147. "required": true,
  148. "type": "string"
  149. }
  150. },
  151. "path": "{project}/managedZones/{managedZone}/changes/{changeId}",
  152. "response": {
  153. "$ref": "Change"
  154. },
  155. "scopes": [
  156. "https://www.googleapis.com/auth/cloud-platform",
  157. "https://www.googleapis.com/auth/cloud-platform.read-only",
  158. "https://www.googleapis.com/auth/ndev.clouddns.readonly",
  159. "https://www.googleapis.com/auth/ndev.clouddns.readwrite"
  160. ]
  161. },
  162. "list": {
  163. "description": "",
  164. "httpMethod": "GET",
  165. "id": "dns.changes.list",
  166. "parameterOrder": [
  167. "project",
  168. "managedZone"
  169. ],
  170. "parameters": {
  171. "managedZone": {
  172. "location": "path",
  173. "required": true,
  174. "type": "string"
  175. },
  176. "maxResults": {
  177. "format": "int32",
  178. "location": "query",
  179. "type": "integer"
  180. },
  181. "pageToken": {
  182. "location": "query",
  183. "type": "string"
  184. },
  185. "project": {
  186. "location": "path",
  187. "required": true,
  188. "type": "string"
  189. },
  190. "sortBy": {
  191. "default": "changeSequence",
  192. "enum": [
  193. "changeSequence"
  194. ],
  195. "enumDescriptions": [
  196. ""
  197. ],
  198. "location": "query",
  199. "type": "string"
  200. },
  201. "sortOrder": {
  202. "location": "query",
  203. "type": "string"
  204. }
  205. },
  206. "path": "{project}/managedZones/{managedZone}/changes",
  207. "response": {
  208. "$ref": "ChangesListResponse"
  209. },
  210. "scopes": [
  211. "https://www.googleapis.com/auth/cloud-platform",
  212. "https://www.googleapis.com/auth/cloud-platform.read-only",
  213. "https://www.googleapis.com/auth/ndev.clouddns.readonly",
  214. "https://www.googleapis.com/auth/ndev.clouddns.readwrite"
  215. ]
  216. }
  217. }
  218. },
  219. "dnsKeys": {
  220. "methods": {
  221. "get": {
  222. "description": "",
  223. "httpMethod": "GET",
  224. "id": "dns.dnsKeys.get",
  225. "parameterOrder": [
  226. "project",
  227. "managedZone",
  228. "dnsKeyId"
  229. ],
  230. "parameters": {
  231. "clientOperationId": {
  232. "location": "query",
  233. "type": "string"
  234. },
  235. "digestType": {
  236. "location": "query",
  237. "type": "string"
  238. },
  239. "dnsKeyId": {
  240. "location": "path",
  241. "required": true,
  242. "type": "string"
  243. },
  244. "managedZone": {
  245. "location": "path",
  246. "required": true,
  247. "type": "string"
  248. },
  249. "project": {
  250. "location": "path",
  251. "required": true,
  252. "type": "string"
  253. }
  254. },
  255. "path": "{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}",
  256. "response": {
  257. "$ref": "DnsKey"
  258. },
  259. "scopes": [
  260. "https://www.googleapis.com/auth/cloud-platform",
  261. "https://www.googleapis.com/auth/cloud-platform.read-only",
  262. "https://www.googleapis.com/auth/ndev.clouddns.readonly",
  263. "https://www.googleapis.com/auth/ndev.clouddns.readwrite"
  264. ]
  265. },
  266. "list": {
  267. "description": "",
  268. "httpMethod": "GET",
  269. "id": "dns.dnsKeys.list",
  270. "parameterOrder": [
  271. "project",
  272. "managedZone"
  273. ],
  274. "parameters": {
  275. "digestType": {
  276. "location": "query",
  277. "type": "string"
  278. },
  279. "managedZone": {
  280. "location": "path",
  281. "required": true,
  282. "type": "string"
  283. },
  284. "maxResults": {
  285. "format": "int32",
  286. "location": "query",
  287. "type": "integer"
  288. },
  289. "pageToken": {
  290. "location": "query",
  291. "type": "string"
  292. },
  293. "project": {
  294. "location": "path",
  295. "required": true,
  296. "type": "string"
  297. }
  298. },
  299. "path": "{project}/managedZones/{managedZone}/dnsKeys",
  300. "response": {
  301. "$ref": "DnsKeysListResponse"
  302. },
  303. "scopes": [
  304. "https://www.googleapis.com/auth/cloud-platform",
  305. "https://www.googleapis.com/auth/cloud-platform.read-only",
  306. "https://www.googleapis.com/auth/ndev.clouddns.readonly",
  307. "https://www.googleapis.com/auth/ndev.clouddns.readwrite"
  308. ]
  309. }
  310. }
  311. },
  312. "managedZoneOperations": {
  313. "methods": {
  314. "get": {
  315. "description": "",
  316. "httpMethod": "GET",
  317. "id": "dns.managedZoneOperations.get",
  318. "parameterOrder": [
  319. "project",
  320. "managedZone",
  321. "operation"
  322. ],
  323. "parameters": {
  324. "clientOperationId": {
  325. "location": "query",
  326. "type": "string"
  327. },
  328. "managedZone": {
  329. "location": "path",
  330. "required": true,
  331. "type": "string"
  332. },
  333. "operation": {
  334. "location": "path",
  335. "required": true,
  336. "type": "string"
  337. },
  338. "project": {
  339. "location": "path",
  340. "required": true,
  341. "type": "string"
  342. }
  343. },
  344. "path": "{project}/managedZones/{managedZone}/operations/{operation}",
  345. "response": {
  346. "$ref": "Operation"
  347. },
  348. "scopes": [
  349. "https://www.googleapis.com/auth/cloud-platform",
  350. "https://www.googleapis.com/auth/cloud-platform.read-only",
  351. "https://www.googleapis.com/auth/ndev.clouddns.readonly",
  352. "https://www.googleapis.com/auth/ndev.clouddns.readwrite"
  353. ]
  354. },
  355. "list": {
  356. "description": "",
  357. "httpMethod": "GET",
  358. "id": "dns.managedZoneOperations.list",
  359. "parameterOrder": [
  360. "project",
  361. "managedZone"
  362. ],
  363. "parameters": {
  364. "managedZone": {
  365. "location": "path",
  366. "required": true,
  367. "type": "string"
  368. },
  369. "maxResults": {
  370. "format": "int32",
  371. "location": "query",
  372. "type": "integer"
  373. },
  374. "pageToken": {
  375. "location": "query",
  376. "type": "string"
  377. },
  378. "project": {
  379. "location": "path",
  380. "required": true,
  381. "type": "string"
  382. },
  383. "sortBy": {
  384. "default": "startTime",
  385. "enum": [
  386. "id",
  387. "startTime"
  388. ],
  389. "enumDescriptions": [
  390. "",
  391. ""
  392. ],
  393. "location": "query",
  394. "type": "string"
  395. }
  396. },
  397. "path": "{project}/managedZones/{managedZone}/operations",
  398. "response": {
  399. "$ref": "ManagedZoneOperationsListResponse"
  400. },
  401. "scopes": [
  402. "https://www.googleapis.com/auth/cloud-platform",
  403. "https://www.googleapis.com/auth/cloud-platform.read-only",
  404. "https://www.googleapis.com/auth/ndev.clouddns.readonly",
  405. "https://www.googleapis.com/auth/ndev.clouddns.readwrite"
  406. ]
  407. }
  408. }
  409. },
  410. "managedZones": {
  411. "methods": {
  412. "create": {
  413. "description": "",
  414. "httpMethod": "POST",
  415. "id": "dns.managedZones.create",
  416. "parameterOrder": [
  417. "project"
  418. ],
  419. "parameters": {
  420. "clientOperationId": {
  421. "location": "query",
  422. "type": "string"
  423. },
  424. "project": {
  425. "location": "path",
  426. "required": true,
  427. "type": "string"
  428. }
  429. },
  430. "path": "{project}/managedZones",
  431. "request": {
  432. "$ref": "ManagedZone"
  433. },
  434. "response": {
  435. "$ref": "ManagedZone"
  436. },
  437. "scopes": [
  438. "https://www.googleapis.com/auth/cloud-platform",
  439. "https://www.googleapis.com/auth/ndev.clouddns.readwrite"
  440. ]
  441. },
  442. "delete": {
  443. "description": "",
  444. "httpMethod": "DELETE",
  445. "id": "dns.managedZones.delete",
  446. "parameterOrder": [
  447. "project",
  448. "managedZone"
  449. ],
  450. "parameters": {
  451. "clientOperationId": {
  452. "location": "query",
  453. "type": "string"
  454. },
  455. "managedZone": {
  456. "location": "path",
  457. "required": true,
  458. "type": "string"
  459. },
  460. "project": {
  461. "location": "path",
  462. "required": true,
  463. "type": "string"
  464. }
  465. },
  466. "path": "{project}/managedZones/{managedZone}",
  467. "scopes": [
  468. "https://www.googleapis.com/auth/cloud-platform",
  469. "https://www.googleapis.com/auth/ndev.clouddns.readwrite"
  470. ]
  471. },
  472. "get": {
  473. "description": "",
  474. "httpMethod": "GET",
  475. "id": "dns.managedZones.get",
  476. "parameterOrder": [
  477. "project",
  478. "managedZone"
  479. ],
  480. "parameters": {
  481. "clientOperationId": {
  482. "location": "query",
  483. "type": "string"
  484. },
  485. "managedZone": {
  486. "location": "path",
  487. "required": true,
  488. "type": "string"
  489. },
  490. "project": {
  491. "location": "path",
  492. "required": true,
  493. "type": "string"
  494. }
  495. },
  496. "path": "{project}/managedZones/{managedZone}",
  497. "response": {
  498. "$ref": "ManagedZone"
  499. },
  500. "scopes": [
  501. "https://www.googleapis.com/auth/cloud-platform",
  502. "https://www.googleapis.com/auth/cloud-platform.read-only",
  503. "https://www.googleapis.com/auth/ndev.clouddns.readonly",
  504. "https://www.googleapis.com/auth/ndev.clouddns.readwrite"
  505. ]
  506. },
  507. "list": {
  508. "description": "",
  509. "httpMethod": "GET",
  510. "id": "dns.managedZones.list",
  511. "parameterOrder": [
  512. "project"
  513. ],
  514. "parameters": {
  515. "dnsName": {
  516. "location": "query",
  517. "type": "string"
  518. },
  519. "maxResults": {
  520. "format": "int32",
  521. "location": "query",
  522. "type": "integer"
  523. },
  524. "pageToken": {
  525. "location": "query",
  526. "type": "string"
  527. },
  528. "project": {
  529. "location": "path",
  530. "required": true,
  531. "type": "string"
  532. }
  533. },
  534. "path": "{project}/managedZones",
  535. "response": {
  536. "$ref": "ManagedZonesListResponse"
  537. },
  538. "scopes": [
  539. "https://www.googleapis.com/auth/cloud-platform",
  540. "https://www.googleapis.com/auth/cloud-platform.read-only",
  541. "https://www.googleapis.com/auth/ndev.clouddns.readonly",
  542. "https://www.googleapis.com/auth/ndev.clouddns.readwrite"
  543. ]
  544. },
  545. "patch": {
  546. "description": "",
  547. "httpMethod": "PATCH",
  548. "id": "dns.managedZones.patch",
  549. "parameterOrder": [
  550. "project",
  551. "managedZone"
  552. ],
  553. "parameters": {
  554. "clientOperationId": {
  555. "location": "query",
  556. "type": "string"
  557. },
  558. "managedZone": {
  559. "location": "path",
  560. "required": true,
  561. "type": "string"
  562. },
  563. "project": {
  564. "location": "path",
  565. "required": true,
  566. "type": "string"
  567. }
  568. },
  569. "path": "{project}/managedZones/{managedZone}",
  570. "request": {
  571. "$ref": "ManagedZone"
  572. },
  573. "response": {
  574. "$ref": "Operation"
  575. },
  576. "scopes": [
  577. "https://www.googleapis.com/auth/cloud-platform",
  578. "https://www.googleapis.com/auth/ndev.clouddns.readwrite"
  579. ]
  580. },
  581. "update": {
  582. "description": "",
  583. "httpMethod": "PUT",
  584. "id": "dns.managedZones.update",
  585. "parameterOrder": [
  586. "project",
  587. "managedZone"
  588. ],
  589. "parameters": {
  590. "clientOperationId": {
  591. "location": "query",
  592. "type": "string"
  593. },
  594. "managedZone": {
  595. "location": "path",
  596. "required": true,
  597. "type": "string"
  598. },
  599. "project": {
  600. "location": "path",
  601. "required": true,
  602. "type": "string"
  603. }
  604. },
  605. "path": "{project}/managedZones/{managedZone}",
  606. "request": {
  607. "$ref": "ManagedZone"
  608. },
  609. "response": {
  610. "$ref": "Operation"
  611. },
  612. "scopes": [
  613. "https://www.googleapis.com/auth/cloud-platform",
  614. "https://www.googleapis.com/auth/ndev.clouddns.readwrite"
  615. ]
  616. }
  617. }
  618. },
  619. "projects": {
  620. "methods": {
  621. "get": {
  622. "description": "",
  623. "httpMethod": "GET",
  624. "id": "dns.projects.get",
  625. "parameterOrder": [
  626. "project"
  627. ],
  628. "parameters": {
  629. "clientOperationId": {
  630. "location": "query",
  631. "type": "string"
  632. },
  633. "project": {
  634. "location": "path",
  635. "required": true,
  636. "type": "string"
  637. }
  638. },
  639. "path": "{project}",
  640. "response": {
  641. "$ref": "Project"
  642. },
  643. "scopes": [
  644. "https://www.googleapis.com/auth/cloud-platform",
  645. "https://www.googleapis.com/auth/cloud-platform.read-only",
  646. "https://www.googleapis.com/auth/ndev.clouddns.readonly",
  647. "https://www.googleapis.com/auth/ndev.clouddns.readwrite"
  648. ]
  649. }
  650. }
  651. },
  652. "resourceRecordSets": {
  653. "methods": {
  654. "list": {
  655. "description": "",
  656. "httpMethod": "GET",
  657. "id": "dns.resourceRecordSets.list",
  658. "parameterOrder": [
  659. "project",
  660. "managedZone"
  661. ],
  662. "parameters": {
  663. "managedZone": {
  664. "location": "path",
  665. "required": true,
  666. "type": "string"
  667. },
  668. "maxResults": {
  669. "format": "int32",
  670. "location": "query",
  671. "type": "integer"
  672. },
  673. "name": {
  674. "location": "query",
  675. "type": "string"
  676. },
  677. "pageToken": {
  678. "location": "query",
  679. "type": "string"
  680. },
  681. "project": {
  682. "location": "path",
  683. "required": true,
  684. "type": "string"
  685. },
  686. "type": {
  687. "location": "query",
  688. "type": "string"
  689. }
  690. },
  691. "path": "{project}/managedZones/{managedZone}/rrsets",
  692. "response": {
  693. "$ref": "ResourceRecordSetsListResponse"
  694. },
  695. "scopes": [
  696. "https://www.googleapis.com/auth/cloud-platform",
  697. "https://www.googleapis.com/auth/cloud-platform.read-only",
  698. "https://www.googleapis.com/auth/ndev.clouddns.readonly",
  699. "https://www.googleapis.com/auth/ndev.clouddns.readwrite"
  700. ]
  701. }
  702. }
  703. }
  704. },
  705. "revision": "20190312",
  706. "rootUrl": "https://www.googleapis.com/",
  707. "schemas": {
  708. "Change": {
  709. "id": "Change",
  710. "properties": {
  711. "additions": {
  712. "items": {
  713. "$ref": "ResourceRecordSet"
  714. },
  715. "type": "array"
  716. },
  717. "deletions": {
  718. "items": {
  719. "$ref": "ResourceRecordSet"
  720. },
  721. "type": "array"
  722. },
  723. "id": {
  724. "type": "string"
  725. },
  726. "isServing": {
  727. "type": "boolean"
  728. },
  729. "kind": {
  730. "default": "dns#change",
  731. "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#change\".",
  732. "type": "string"
  733. },
  734. "startTime": {
  735. "type": "string"
  736. },
  737. "status": {
  738. "enum": [
  739. "done",
  740. "pending"
  741. ],
  742. "enumDescriptions": [
  743. "",
  744. ""
  745. ],
  746. "type": "string"
  747. }
  748. },
  749. "type": "object"
  750. },
  751. "ChangesListResponse": {
  752. "id": "ChangesListResponse",
  753. "properties": {
  754. "changes": {
  755. "items": {
  756. "$ref": "Change"
  757. },
  758. "type": "array"
  759. },
  760. "header": {
  761. "$ref": "ResponseHeader"
  762. },
  763. "kind": {
  764. "default": "dns#changesListResponse",
  765. "description": "Type of resource.",
  766. "type": "string"
  767. },
  768. "nextPageToken": {
  769. "type": "string"
  770. }
  771. },
  772. "type": "object"
  773. },
  774. "DnsKey": {
  775. "id": "DnsKey",
  776. "properties": {
  777. "algorithm": {
  778. "enum": [
  779. "ecdsap256sha256",
  780. "ecdsap384sha384",
  781. "rsasha1",
  782. "rsasha256",
  783. "rsasha512"
  784. ],
  785. "enumDescriptions": [
  786. "",
  787. "",
  788. "",
  789. "",
  790. ""
  791. ],
  792. "type": "string"
  793. },
  794. "creationTime": {
  795. "type": "string"
  796. },
  797. "description": {
  798. "type": "string"
  799. },
  800. "digests": {
  801. "items": {
  802. "$ref": "DnsKeyDigest"
  803. },
  804. "type": "array"
  805. },
  806. "id": {
  807. "type": "string"
  808. },
  809. "isActive": {
  810. "type": "boolean"
  811. },
  812. "keyLength": {
  813. "format": "uint32",
  814. "type": "integer"
  815. },
  816. "keyTag": {
  817. "format": "int32",
  818. "type": "integer"
  819. },
  820. "kind": {
  821. "default": "dns#dnsKey",
  822. "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#dnsKey\".",
  823. "type": "string"
  824. },
  825. "publicKey": {
  826. "type": "string"
  827. },
  828. "type": {
  829. "enum": [
  830. "keySigning",
  831. "zoneSigning"
  832. ],
  833. "enumDescriptions": [
  834. "",
  835. ""
  836. ],
  837. "type": "string"
  838. }
  839. },
  840. "type": "object"
  841. },
  842. "DnsKeyDigest": {
  843. "id": "DnsKeyDigest",
  844. "properties": {
  845. "digest": {
  846. "type": "string"
  847. },
  848. "type": {
  849. "enum": [
  850. "sha1",
  851. "sha256",
  852. "sha384"
  853. ],
  854. "enumDescriptions": [
  855. "",
  856. "",
  857. ""
  858. ],
  859. "type": "string"
  860. }
  861. },
  862. "type": "object"
  863. },
  864. "DnsKeySpec": {
  865. "id": "DnsKeySpec",
  866. "properties": {
  867. "algorithm": {
  868. "enum": [
  869. "ecdsap256sha256",
  870. "ecdsap384sha384",
  871. "rsasha1",
  872. "rsasha256",
  873. "rsasha512"
  874. ],
  875. "enumDescriptions": [
  876. "",
  877. "",
  878. "",
  879. "",
  880. ""
  881. ],
  882. "type": "string"
  883. },
  884. "keyLength": {
  885. "format": "uint32",
  886. "type": "integer"
  887. },
  888. "keyType": {
  889. "enum": [
  890. "keySigning",
  891. "zoneSigning"
  892. ],
  893. "enumDescriptions": [
  894. "",
  895. ""
  896. ],
  897. "type": "string"
  898. },
  899. "kind": {
  900. "default": "dns#dnsKeySpec",
  901. "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#dnsKeySpec\".",
  902. "type": "string"
  903. }
  904. },
  905. "type": "object"
  906. },
  907. "DnsKeysListResponse": {
  908. "id": "DnsKeysListResponse",
  909. "properties": {
  910. "dnsKeys": {
  911. "items": {
  912. "$ref": "DnsKey"
  913. },
  914. "type": "array"
  915. },
  916. "header": {
  917. "$ref": "ResponseHeader"
  918. },
  919. "kind": {
  920. "default": "dns#dnsKeysListResponse",
  921. "description": "Type of resource.",
  922. "type": "string"
  923. },
  924. "nextPageToken": {
  925. "type": "string"
  926. }
  927. },
  928. "type": "object"
  929. },
  930. "ManagedZone": {
  931. "id": "ManagedZone",
  932. "properties": {
  933. "creationTime": {
  934. "type": "string"
  935. },
  936. "description": {
  937. "type": "string"
  938. },
  939. "dnsName": {
  940. "type": "string"
  941. },
  942. "dnssecConfig": {
  943. "$ref": "ManagedZoneDnsSecConfig"
  944. },
  945. "id": {
  946. "format": "uint64",
  947. "type": "string"
  948. },
  949. "kind": {
  950. "default": "dns#managedZone",
  951. "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#managedZone\".",
  952. "type": "string"
  953. },
  954. "labels": {
  955. "additionalProperties": {
  956. "type": "string"
  957. },
  958. "type": "object"
  959. },
  960. "name": {
  961. "type": "string"
  962. },
  963. "nameServerSet": {
  964. "type": "string"
  965. },
  966. "nameServers": {
  967. "items": {
  968. "type": "string"
  969. },
  970. "type": "array"
  971. },
  972. "privateVisibilityConfig": {
  973. "$ref": "ManagedZonePrivateVisibilityConfig"
  974. },
  975. "visibility": {
  976. "enum": [
  977. "private",
  978. "public"
  979. ],
  980. "enumDescriptions": [
  981. "",
  982. ""
  983. ],
  984. "type": "string"
  985. }
  986. },
  987. "type": "object"
  988. },
  989. "ManagedZoneDnsSecConfig": {
  990. "id": "ManagedZoneDnsSecConfig",
  991. "properties": {
  992. "defaultKeySpecs": {
  993. "items": {
  994. "$ref": "DnsKeySpec"
  995. },
  996. "type": "array"
  997. },
  998. "kind": {
  999. "default": "dns#managedZoneDnsSecConfig",
  1000. "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#managedZoneDnsSecConfig\".",
  1001. "type": "string"
  1002. },
  1003. "nonExistence": {
  1004. "enum": [
  1005. "nsec",
  1006. "nsec3"
  1007. ],
  1008. "enumDescriptions": [
  1009. "",
  1010. ""
  1011. ],
  1012. "type": "string"
  1013. },
  1014. "state": {
  1015. "enum": [
  1016. "off",
  1017. "on",
  1018. "transfer"
  1019. ],
  1020. "enumDescriptions": [
  1021. "",
  1022. "",
  1023. ""
  1024. ],
  1025. "type": "string"
  1026. }
  1027. },
  1028. "type": "object"
  1029. },
  1030. "ManagedZoneOperationsListResponse": {
  1031. "id": "ManagedZoneOperationsListResponse",
  1032. "properties": {
  1033. "header": {
  1034. "$ref": "ResponseHeader"
  1035. },
  1036. "kind": {
  1037. "default": "dns#managedZoneOperationsListResponse",
  1038. "description": "Type of resource.",
  1039. "type": "string"
  1040. },
  1041. "nextPageToken": {
  1042. "type": "string"
  1043. },
  1044. "operations": {
  1045. "items": {
  1046. "$ref": "Operation"
  1047. },
  1048. "type": "array"
  1049. }
  1050. },
  1051. "type": "object"
  1052. },
  1053. "ManagedZonePrivateVisibilityConfig": {
  1054. "id": "ManagedZonePrivateVisibilityConfig",
  1055. "properties": {
  1056. "kind": {
  1057. "default": "dns#managedZonePrivateVisibilityConfig",
  1058. "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#managedZonePrivateVisibilityConfig\".",
  1059. "type": "string"
  1060. },
  1061. "networks": {
  1062. "items": {
  1063. "$ref": "ManagedZonePrivateVisibilityConfigNetwork"
  1064. },
  1065. "type": "array"
  1066. }
  1067. },
  1068. "type": "object"
  1069. },
  1070. "ManagedZonePrivateVisibilityConfigNetwork": {
  1071. "id": "ManagedZonePrivateVisibilityConfigNetwork",
  1072. "properties": {
  1073. "kind": {
  1074. "default": "dns#managedZonePrivateVisibilityConfigNetwork",
  1075. "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#managedZonePrivateVisibilityConfigNetwork\".",
  1076. "type": "string"
  1077. },
  1078. "networkUrl": {
  1079. "type": "string"
  1080. }
  1081. },
  1082. "type": "object"
  1083. },
  1084. "ManagedZonesListResponse": {
  1085. "id": "ManagedZonesListResponse",
  1086. "properties": {
  1087. "header": {
  1088. "$ref": "ResponseHeader"
  1089. },
  1090. "kind": {
  1091. "default": "dns#managedZonesListResponse",
  1092. "description": "Type of resource.",
  1093. "type": "string"
  1094. },
  1095. "managedZones": {
  1096. "items": {
  1097. "$ref": "ManagedZone"
  1098. },
  1099. "type": "array"
  1100. },
  1101. "nextPageToken": {
  1102. "type": "string"
  1103. }
  1104. },
  1105. "type": "object"
  1106. },
  1107. "Operation": {
  1108. "id": "Operation",
  1109. "properties": {
  1110. "dnsKeyContext": {
  1111. "$ref": "OperationDnsKeyContext"
  1112. },
  1113. "id": {
  1114. "type": "string"
  1115. },
  1116. "kind": {
  1117. "default": "dns#operation",
  1118. "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#operation\".",
  1119. "type": "string"
  1120. },
  1121. "startTime": {
  1122. "type": "string"
  1123. },
  1124. "status": {
  1125. "enum": [
  1126. "done",
  1127. "pending"
  1128. ],
  1129. "enumDescriptions": [
  1130. "",
  1131. ""
  1132. ],
  1133. "type": "string"
  1134. },
  1135. "type": {
  1136. "type": "string"
  1137. },
  1138. "user": {
  1139. "type": "string"
  1140. },
  1141. "zoneContext": {
  1142. "$ref": "OperationManagedZoneContext"
  1143. }
  1144. },
  1145. "type": "object"
  1146. },
  1147. "OperationDnsKeyContext": {
  1148. "id": "OperationDnsKeyContext",
  1149. "properties": {
  1150. "newValue": {
  1151. "$ref": "DnsKey"
  1152. },
  1153. "oldValue": {
  1154. "$ref": "DnsKey"
  1155. }
  1156. },
  1157. "type": "object"
  1158. },
  1159. "OperationManagedZoneContext": {
  1160. "id": "OperationManagedZoneContext",
  1161. "properties": {
  1162. "newValue": {
  1163. "$ref": "ManagedZone"
  1164. },
  1165. "oldValue": {
  1166. "$ref": "ManagedZone"
  1167. }
  1168. },
  1169. "type": "object"
  1170. },
  1171. "Project": {
  1172. "id": "Project",
  1173. "properties": {
  1174. "id": {
  1175. "type": "string"
  1176. },
  1177. "kind": {
  1178. "default": "dns#project",
  1179. "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#project\".",
  1180. "type": "string"
  1181. },
  1182. "number": {
  1183. "format": "uint64",
  1184. "type": "string"
  1185. },
  1186. "quota": {
  1187. "$ref": "Quota"
  1188. }
  1189. },
  1190. "type": "object"
  1191. },
  1192. "Quota": {
  1193. "id": "Quota",
  1194. "properties": {
  1195. "dnsKeysPerManagedZone": {
  1196. "format": "int32",
  1197. "type": "integer"
  1198. },
  1199. "kind": {
  1200. "default": "dns#quota",
  1201. "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#quota\".",
  1202. "type": "string"
  1203. },
  1204. "managedZones": {
  1205. "format": "int32",
  1206. "type": "integer"
  1207. },
  1208. "managedZonesPerNetwork": {
  1209. "format": "int32",
  1210. "type": "integer"
  1211. },
  1212. "networksPerManagedZone": {
  1213. "format": "int32",
  1214. "type": "integer"
  1215. },
  1216. "resourceRecordsPerRrset": {
  1217. "format": "int32",
  1218. "type": "integer"
  1219. },
  1220. "rrsetAdditionsPerChange": {
  1221. "format": "int32",
  1222. "type": "integer"
  1223. },
  1224. "rrsetDeletionsPerChange": {
  1225. "format": "int32",
  1226. "type": "integer"
  1227. },
  1228. "rrsetsPerManagedZone": {
  1229. "format": "int32",
  1230. "type": "integer"
  1231. },
  1232. "totalRrdataSizePerChange": {
  1233. "format": "int32",
  1234. "type": "integer"
  1235. },
  1236. "whitelistedKeySpecs": {
  1237. "items": {
  1238. "$ref": "DnsKeySpec"
  1239. },
  1240. "type": "array"
  1241. }
  1242. },
  1243. "type": "object"
  1244. },
  1245. "ResourceRecordSet": {
  1246. "id": "ResourceRecordSet",
  1247. "properties": {
  1248. "kind": {
  1249. "default": "dns#resourceRecordSet",
  1250. "description": "Identifies what kind of resource this is. Value: the fixed string \"dns#resourceRecordSet\".",
  1251. "type": "string"
  1252. },
  1253. "name": {
  1254. "type": "string"
  1255. },
  1256. "rrdatas": {
  1257. "items": {
  1258. "type": "string"
  1259. },
  1260. "type": "array"
  1261. },
  1262. "signatureRrdatas": {
  1263. "items": {
  1264. "type": "string"
  1265. },
  1266. "type": "array"
  1267. },
  1268. "ttl": {
  1269. "format": "int32",
  1270. "type": "integer"
  1271. },
  1272. "type": {
  1273. "type": "string"
  1274. }
  1275. },
  1276. "type": "object"
  1277. },
  1278. "ResourceRecordSetsListResponse": {
  1279. "id": "ResourceRecordSetsListResponse",
  1280. "properties": {
  1281. "header": {
  1282. "$ref": "ResponseHeader"
  1283. },
  1284. "kind": {
  1285. "default": "dns#resourceRecordSetsListResponse",
  1286. "description": "Type of resource.",
  1287. "type": "string"
  1288. },
  1289. "nextPageToken": {
  1290. "type": "string"
  1291. },
  1292. "rrsets": {
  1293. "items": {
  1294. "$ref": "ResourceRecordSet"
  1295. },
  1296. "type": "array"
  1297. }
  1298. },
  1299. "type": "object"
  1300. },
  1301. "ResponseHeader": {
  1302. "id": "ResponseHeader",
  1303. "properties": {
  1304. "operationId": {
  1305. "type": "string"
  1306. }
  1307. },
  1308. "type": "object"
  1309. }
  1310. },
  1311. "servicePath": "dns/v1/projects/",
  1312. "title": "Google Cloud DNS API",
  1313. "version": "v1"
  1314. }