Google_Service_Dns_Changes_Resource

The "changes" collection of methods.

Defined (1)

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

/includes/api-libs/Google/Service/Dns.php  
  1. class Google_Service_Dns_Changes_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Atomically update the ResourceRecordSet collection. (changes.create) 
  5. * @param string $project Identifies the project addressed by this request. 
  6. * @param string $managedZone Identifies the managed zone addressed by this 
  7. * request. Can be the managed zone name or id. 
  8. * @param Google_Change $postBody 
  9. * @param array $optParams Optional parameters. 
  10. * @return Google_Service_Dns_Change 
  11. */ 
  12. public function create($project, $managedZone, Google_Service_Dns_Change $postBody, $optParams = array()) 
  13. $params = array('project' => $project, 'managedZone' => $managedZone, 'postBody' => $postBody); 
  14. $params = array_merge($params, $optParams); 
  15. return $this->call('create', array($params), "Google_Service_Dns_Change"); 
  16.  
  17. /** 
  18. * Fetch the representation of an existing Change. (changes.get) 
  19. * @param string $project Identifies the project addressed by this request. 
  20. * @param string $managedZone Identifies the managed zone addressed by this 
  21. * request. Can be the managed zone name or id. 
  22. * @param string $changeId The identifier of the requested change, from a 
  23. * previous ResourceRecordSetsChangeResponse. 
  24. * @param array $optParams Optional parameters. 
  25. * @return Google_Service_Dns_Change 
  26. */ 
  27. public function get($project, $managedZone, $changeId, $optParams = array()) 
  28. $params = array('project' => $project, 'managedZone' => $managedZone, 'changeId' => $changeId); 
  29. $params = array_merge($params, $optParams); 
  30. return $this->call('get', array($params), "Google_Service_Dns_Change"); 
  31.  
  32. /** 
  33. * Enumerate Changes to a ResourceRecordSet collection. (changes.listChanges) 
  34. * @param string $project Identifies the project addressed by this request. 
  35. * @param string $managedZone Identifies the managed zone addressed by this 
  36. * request. Can be the managed zone name or id. 
  37. * @param array $optParams Optional parameters. 
  38. * @opt_param int maxResults Optional. Maximum number of results to be returned. 
  39. * If unspecified, the server will decide how many results to return. 
  40. * @opt_param string pageToken Optional. A tag returned by a previous list 
  41. * request that was truncated. Use this parameter to continue a previous list 
  42. * request. 
  43. * @opt_param string sortBy Sorting criterion. The only supported value is 
  44. * change sequence. 
  45. * @opt_param string sortOrder Sorting order direction: 'ascending' or 
  46. * 'descending'. 
  47. * @return Google_Service_Dns_ChangesListResponse 
  48. */ 
  49. public function listChanges($project, $managedZone, $optParams = array()) 
  50. $params = array('project' => $project, 'managedZone' => $managedZone); 
  51. $params = array_merge($params, $optParams); 
  52. return $this->call('list', array($params), "Google_Service_Dns_ChangesListResponse");