Google_Service_SiteVerification

Service definition for SiteVerification (v1).

Defined (1)

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

/google_api/Service/SiteVerification.php  
  1. class Google_Service_SiteVerification extends Google_Service 
  2. /** Manage the list of sites and domains you control. */ 
  3. const SITEVERIFICATION = 
  4. "https://www.googleapis.com/auth/siteverification"; 
  5. /** Manage your new site verifications with Google. */ 
  6. const SITEVERIFICATION_VERIFY_ONLY = 
  7. "https://www.googleapis.com/auth/siteverification.verify_only"; 
  8.  
  9. public $webResource; 
  10.  
  11.  
  12. /** 
  13. * Constructs the internal representation of the SiteVerification service. 
  14. * @param Google_Client $client 
  15. */ 
  16. public function __construct(Google_Client $client) 
  17. parent::__construct($client); 
  18. $this->servicePath = 'siteVerification/v1/'; 
  19. $this->version = 'v1'; 
  20. $this->serviceName = 'siteVerification'; 
  21.  
  22. $this->webResource = new Google_Service_SiteVerification_WebResource_Resource( 
  23. $this,  
  24. $this->serviceName,  
  25. 'webResource',  
  26. array( 
  27. 'methods' => array( 
  28. 'delete' => array( 
  29. 'path' => 'webResource/{id}',  
  30. 'httpMethod' => 'DELETE',  
  31. 'parameters' => array( 
  32. 'id' => array( 
  33. 'location' => 'path',  
  34. 'type' => 'string',  
  35. 'required' => true,  
  36. ),  
  37. ),  
  38. ), 'get' => array( 
  39. 'path' => 'webResource/{id}',  
  40. 'httpMethod' => 'GET',  
  41. 'parameters' => array( 
  42. 'id' => array( 
  43. 'location' => 'path',  
  44. 'type' => 'string',  
  45. 'required' => true,  
  46. ),  
  47. ),  
  48. ), 'getToken' => array( 
  49. 'path' => 'token',  
  50. 'httpMethod' => 'POST',  
  51. 'parameters' => array(),  
  52. ), 'insert' => array( 
  53. 'path' => 'webResource',  
  54. 'httpMethod' => 'POST',  
  55. 'parameters' => array( 
  56. 'verificationMethod' => array( 
  57. 'location' => 'query',  
  58. 'type' => 'string',  
  59. 'required' => true,  
  60. ),  
  61. ),  
  62. ), 'list' => array( 
  63. 'path' => 'webResource',  
  64. 'httpMethod' => 'GET',  
  65. 'parameters' => array(),  
  66. ), 'patch' => array( 
  67. 'path' => 'webResource/{id}',  
  68. 'httpMethod' => 'PATCH',  
  69. 'parameters' => array( 
  70. 'id' => array( 
  71. 'location' => 'path',  
  72. 'type' => 'string',  
  73. 'required' => true,  
  74. ),  
  75. ),  
  76. ), 'update' => array( 
  77. 'path' => 'webResource/{id}',  
  78. 'httpMethod' => 'PUT',  
  79. 'parameters' => array( 
  80. 'id' => array( 
  81. 'location' => 'path',  
  82. 'type' => 'string',  
  83. 'required' => true,  
  84. ),  
  85. ),  
  86. ),  
  87. );