Google_Service_Pagespeedonline

Service definition for Pagespeedonline (v2).

Defined (1)

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

/includes/api-libs/Google/Service/Pagespeedonline.php  
  1. class Google_Service_Pagespeedonline extends Google_Service 
  2.  
  3.  
  4. public $pagespeedapi; 
  5.  
  6.  
  7. /** 
  8. * Constructs the internal representation of the Pagespeedonline service. 
  9. * @param Google_Client $client 
  10. */ 
  11. public function __construct(Google_Client $client) 
  12. parent::__construct($client); 
  13. $this->servicePath = 'pagespeedonline/v2/'; 
  14. $this->version = 'v2'; 
  15. $this->serviceName = 'pagespeedonline'; 
  16.  
  17. $this->pagespeedapi = new Google_Service_Pagespeedonline_Pagespeedapi_Resource( 
  18. $this,  
  19. $this->serviceName,  
  20. 'pagespeedapi',  
  21. array( 
  22. 'methods' => array( 
  23. 'runpagespeed' => array( 
  24. 'path' => 'runPagespeed',  
  25. 'httpMethod' => 'GET',  
  26. 'parameters' => array( 
  27. 'url' => array( 
  28. 'location' => 'query',  
  29. 'type' => 'string',  
  30. 'required' => true,  
  31. ),  
  32. 'screenshot' => array( 
  33. 'location' => 'query',  
  34. 'type' => 'boolean',  
  35. ),  
  36. 'locale' => array( 
  37. 'location' => 'query',  
  38. 'type' => 'string',  
  39. ),  
  40. 'rule' => array( 
  41. 'location' => 'query',  
  42. 'type' => 'string',  
  43. 'repeated' => true,  
  44. ),  
  45. 'strategy' => array( 
  46. 'location' => 'query',  
  47. 'type' => 'string',  
  48. ),  
  49. 'filter_third_party_resources' => array( 
  50. 'location' => 'query',  
  51. 'type' => 'boolean',  
  52. ),  
  53. ),  
  54. ),  
  55. );