Google_WebfontsService

Service definition for Google_Webfonts (v1).

Defined (1)

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

/inc/google-api-php-client/src/contrib/Google_WebfontsService.php  
  1. class Google_WebfontsService extends Google_Service { 
  2. public $webfonts; 
  3. /** 
  4. * Constructs the internal representation of the Webfonts service. 
  5. * @param Google_Client $client 
  6. */ 
  7. public function __construct(Google_Client $client) { 
  8. $this->servicePath = 'webfonts/v1/'; 
  9. $this->version = 'v1'; 
  10. $this->serviceName = 'webfonts'; 
  11.  
  12. $client->addService($this->serviceName, $this->version); 
  13. $this->webfonts = new Google_WebfontsServiceResource($this, $this->serviceName, 'webfonts', json_decode('{"methods": {"list": {"httpMethod": "GET", "response": {"$ref": "WebfontList"}, "id": "webfonts.webfonts.list", "parameters": {"sort": {"enum": ["alpha", "date", "popularity", "style", "trending"], "type": "string", "location": "query"}}, "path": "webfonts"}}}', true)); 
  14.