Google_Service_Dns

Service definition for Dns (v1).

Defined (1)

The class is defined in the following location(s).

/includes/api-libs/Google/Service/Dns.php  
  1. class Google_Service_Dns extends Google_Service 
  2. /** View and manage your data across Google Cloud Platform services. */ 
  3. const CLOUD_PLATFORM = 
  4. "https://www.googleapis.com/auth/cloud-platform"; 
  5. /** View your DNS records hosted by Google Cloud DNS. */ 
  6. const NDEV_CLOUDDNS_READONLY = 
  7. "https://www.googleapis.com/auth/ndev.clouddns.readonly"; 
  8. /** View and manage your DNS records hosted by Google Cloud DNS. */ 
  9. const NDEV_CLOUDDNS_READWRITE = 
  10. "https://www.googleapis.com/auth/ndev.clouddns.readwrite"; 
  11.  
  12. public $changes; 
  13. public $managedZones; 
  14. public $projects; 
  15. public $resourceRecordSets; 
  16.  
  17.  
  18. /** 
  19. * Constructs the internal representation of the Dns service. 
  20. * @param Google_Client $client 
  21. */ 
  22. public function __construct(Google_Client $client) 
  23. parent::__construct($client); 
  24. $this->servicePath = 'dns/v1beta1/projects/'; 
  25. $this->version = 'v1beta1'; 
  26. $this->serviceName = 'dns'; 
  27.  
  28. $this->changes = new Google_Service_Dns_Changes_Resource( 
  29. $this,  
  30. $this->serviceName,  
  31. 'changes',  
  32. array( 
  33. 'methods' => array( 
  34. 'create' => array( 
  35. 'path' => '{project}/managedZones/{managedZone}/changes',  
  36. 'httpMethod' => 'POST',  
  37. 'parameters' => array( 
  38. 'project' => array( 
  39. 'location' => 'path',  
  40. 'type' => 'string',  
  41. 'required' => true,  
  42. ),  
  43. 'managedZone' => array( 
  44. 'location' => 'path',  
  45. 'type' => 'string',  
  46. 'required' => true,  
  47. ),  
  48. ),  
  49. ), 'get' => array( 
  50. 'path' => '{project}/managedZones/{managedZone}/changes/{changeId}',  
  51. 'httpMethod' => 'GET',  
  52. 'parameters' => array( 
  53. 'project' => array( 
  54. 'location' => 'path',  
  55. 'type' => 'string',  
  56. 'required' => true,  
  57. ),  
  58. 'managedZone' => array( 
  59. 'location' => 'path',  
  60. 'type' => 'string',  
  61. 'required' => true,  
  62. ),  
  63. 'changeId' => array( 
  64. 'location' => 'path',  
  65. 'type' => 'string',  
  66. 'required' => true,  
  67. ),  
  68. ),  
  69. ), 'list' => array( 
  70. 'path' => '{project}/managedZones/{managedZone}/changes',  
  71. 'httpMethod' => 'GET',  
  72. 'parameters' => array( 
  73. 'project' => array( 
  74. 'location' => 'path',  
  75. 'type' => 'string',  
  76. 'required' => true,  
  77. ),  
  78. 'managedZone' => array( 
  79. 'location' => 'path',  
  80. 'type' => 'string',  
  81. 'required' => true,  
  82. ),  
  83. 'maxResults' => array( 
  84. 'location' => 'query',  
  85. 'type' => 'integer',  
  86. ),  
  87. 'pageToken' => array( 
  88. 'location' => 'query',  
  89. 'type' => 'string',  
  90. ),  
  91. 'sortBy' => array( 
  92. 'location' => 'query',  
  93. 'type' => 'string',  
  94. ),  
  95. 'sortOrder' => array( 
  96. 'location' => 'query',  
  97. 'type' => 'string',  
  98. ),  
  99. ),  
  100. ),  
  101. ); 
  102. $this->managedZones = new Google_Service_Dns_ManagedZones_Resource( 
  103. $this,  
  104. $this->serviceName,  
  105. 'managedZones',  
  106. array( 
  107. 'methods' => array( 
  108. 'create' => array( 
  109. 'path' => '{project}/managedZones',  
  110. 'httpMethod' => 'POST',  
  111. 'parameters' => array( 
  112. 'project' => array( 
  113. 'location' => 'path',  
  114. 'type' => 'string',  
  115. 'required' => true,  
  116. ),  
  117. ),  
  118. ), 'delete' => array( 
  119. 'path' => '{project}/managedZones/{managedZone}',  
  120. 'httpMethod' => 'DELETE',  
  121. 'parameters' => array( 
  122. 'project' => array( 
  123. 'location' => 'path',  
  124. 'type' => 'string',  
  125. 'required' => true,  
  126. ),  
  127. 'managedZone' => array( 
  128. 'location' => 'path',  
  129. 'type' => 'string',  
  130. 'required' => true,  
  131. ),  
  132. ),  
  133. ), 'get' => array( 
  134. 'path' => '{project}/managedZones/{managedZone}',  
  135. 'httpMethod' => 'GET',  
  136. 'parameters' => array( 
  137. 'project' => array( 
  138. 'location' => 'path',  
  139. 'type' => 'string',  
  140. 'required' => true,  
  141. ),  
  142. 'managedZone' => array( 
  143. 'location' => 'path',  
  144. 'type' => 'string',  
  145. 'required' => true,  
  146. ),  
  147. ),  
  148. ), 'list' => array( 
  149. 'path' => '{project}/managedZones',  
  150. 'httpMethod' => 'GET',  
  151. 'parameters' => array( 
  152. 'project' => array( 
  153. 'location' => 'path',  
  154. 'type' => 'string',  
  155. 'required' => true,  
  156. ),  
  157. 'pageToken' => array( 
  158. 'location' => 'query',  
  159. 'type' => 'string',  
  160. ),  
  161. 'maxResults' => array( 
  162. 'location' => 'query',  
  163. 'type' => 'integer',  
  164. ),  
  165. ),  
  166. ),  
  167. ); 
  168. $this->projects = new Google_Service_Dns_Projects_Resource( 
  169. $this,  
  170. $this->serviceName,  
  171. 'projects',  
  172. array( 
  173. 'methods' => array( 
  174. 'get' => array( 
  175. 'path' => '{project}',  
  176. 'httpMethod' => 'GET',  
  177. 'parameters' => array( 
  178. 'project' => array( 
  179. 'location' => 'path',  
  180. 'type' => 'string',  
  181. 'required' => true,  
  182. ),  
  183. ),  
  184. ),  
  185. ); 
  186. $this->resourceRecordSets = new Google_Service_Dns_ResourceRecordSets_Resource( 
  187. $this,  
  188. $this->serviceName,  
  189. 'resourceRecordSets',  
  190. array( 
  191. 'methods' => array( 
  192. 'list' => array( 
  193. 'path' => '{project}/managedZones/{managedZone}/rrsets',  
  194. 'httpMethod' => 'GET',  
  195. 'parameters' => array( 
  196. 'project' => array( 
  197. 'location' => 'path',  
  198. 'type' => 'string',  
  199. 'required' => true,  
  200. ),  
  201. 'managedZone' => array( 
  202. 'location' => 'path',  
  203. 'type' => 'string',  
  204. 'required' => true,  
  205. ),  
  206. 'name' => array( 
  207. 'location' => 'query',  
  208. 'type' => 'string',  
  209. ),  
  210. 'maxResults' => array( 
  211. 'location' => 'query',  
  212. 'type' => 'integer',  
  213. ),  
  214. 'pageToken' => array( 
  215. 'location' => 'query',  
  216. 'type' => 'string',  
  217. ),  
  218. 'type' => array( 
  219. 'location' => 'query',  
  220. 'type' => 'string',  
  221. ),  
  222. ),  
  223. ),  
  224. );