Google_Service_SiteVerification_WebResource_Resource

The "webResource" collection of methods.

Defined (1)

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

/google_api/Service/SiteVerification.php  
  1. class Google_Service_SiteVerification_WebResource_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Relinquish ownership of a website or domain. (webResource.delete) 
  5. * @param string $id The id of a verified site or domain. 
  6. * @param array $optParams Optional parameters. 
  7. */ 
  8. public function delete($id, $optParams = array()) 
  9. $params = array('id' => $id); 
  10. $params = array_merge($params, $optParams); 
  11. return $this->call('delete', array($params)); 
  12.  
  13. /** 
  14. * Get the most current data for a website or domain. (webResource.get) 
  15. * @param string $id The id of a verified site or domain. 
  16. * @param array $optParams Optional parameters. 
  17. * @return Google_Service_SiteVerification_SiteVerificationWebResourceResource 
  18. */ 
  19. public function get($id, $optParams = array()) 
  20. $params = array('id' => $id); 
  21. $params = array_merge($params, $optParams); 
  22. return $this->call('get', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceResource"); 
  23.  
  24. /** 
  25. * Get a verification token for placing on a website or domain. 
  26. * (webResource.getToken) 
  27. * @param Google_SiteVerificationWebResourceGettokenRequest $postBody 
  28. * @param array $optParams Optional parameters. 
  29. * @return Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse 
  30. */ 
  31. public function getToken(Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest $postBody, $optParams = array()) 
  32. $params = array('postBody' => $postBody); 
  33. $params = array_merge($params, $optParams); 
  34. return $this->call('getToken', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse"); 
  35.  
  36. /** 
  37. * Attempt verification of a website or domain. (webResource.insert) 
  38. * @param string $verificationMethod The method to use for verifying a site or 
  39. * domain. 
  40. * @param Google_SiteVerificationWebResourceResource $postBody 
  41. * @param array $optParams Optional parameters. 
  42. * @return Google_Service_SiteVerification_SiteVerificationWebResourceResource 
  43. */ 
  44. public function insert($verificationMethod, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams = array()) 
  45. $params = array('verificationMethod' => $verificationMethod, 'postBody' => $postBody); 
  46. $params = array_merge($params, $optParams); 
  47. return $this->call('insert', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceResource"); 
  48.  
  49. /** 
  50. * Get the list of your verified websites and domains. 
  51. * (webResource.listWebResource) 
  52. * @param array $optParams Optional parameters. 
  53. * @return Google_Service_SiteVerification_SiteVerificationWebResourceListResponse 
  54. */ 
  55. public function listWebResource($optParams = array()) 
  56. $params = array(); 
  57. $params = array_merge($params, $optParams); 
  58. return $this->call('list', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceListResponse"); 
  59.  
  60. /** 
  61. * Modify the list of owners for your website or domain. This method supports 
  62. * patch semantics. (webResource.patch) 
  63. * @param string $id The id of a verified site or domain. 
  64. * @param Google_SiteVerificationWebResourceResource $postBody 
  65. * @param array $optParams Optional parameters. 
  66. * @return Google_Service_SiteVerification_SiteVerificationWebResourceResource 
  67. */ 
  68. public function patch($id, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams = array()) 
  69. $params = array('id' => $id, 'postBody' => $postBody); 
  70. $params = array_merge($params, $optParams); 
  71. return $this->call('patch', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceResource"); 
  72.  
  73. /** 
  74. * Modify the list of owners for your website or domain. (webResource.update) 
  75. * @param string $id The id of a verified site or domain. 
  76. * @param Google_SiteVerificationWebResourceResource $postBody 
  77. * @param array $optParams Optional parameters. 
  78. * @return Google_Service_SiteVerification_SiteVerificationWebResourceResource 
  79. */ 
  80. public function update($id, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams = array()) 
  81. $params = array('id' => $id, 'postBody' => $postBody); 
  82. $params = array_merge($params, $optParams); 
  83. return $this->call('update', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceResource");