Google_FreebaseService

Service definition for Google_Freebase (v1).

Defined (1)

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

/google-api/src/contrib/Google_FreebaseService.php  
  1. class Google_FreebaseService extends Google_Service { 
  2. public $text; 
  3. /** 
  4. * Constructs the internal representation of the Freebase service. 
  5. * @param Google_Client $client 
  6. */ 
  7. public function __construct(Google_Client $client) { 
  8. $this->servicePath = 'freebase/v1/'; 
  9. $this->version = 'v1'; 
  10. $this->serviceName = 'freebase'; 
  11.  
  12. $client->addService($this->serviceName, $this->version); 
  13. $this->text = new Google_TextServiceResource($this, $this->serviceName, 'text', json_decode('{"methods": {"get": {"httpMethod": "GET", "response": {"$ref": "ContentserviceGet"}, "id": "freebase.text.get", "parameters": {"maxlength": {"type": "integer", "location": "query", "format": "uint32"}, "id": {"repeated": true, "required": true, "type": "string", "location": "path"}, "format": {"default": "plain", "enum": ["html", "plain", "raw"], "type": "string", "location": "query"}}, "path": "text{/id*}"}}}', true));