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
- class Google_FreebaseService extends Google_Service {
- public $text;
- /**
- * Constructs the internal representation of the Freebase service.
- *
- * @param Google_Client $client
- */
- public function __construct(Google_Client $client) {
- $this->servicePath = 'freebase/v1/';
- $this->version = 'v1';
- $this->serviceName = 'freebase';
- $client->addService($this->serviceName, $this->version);
- $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));
- }
- }