/**
  * Constructs the internal service representations and does the auto-magic configuration required to drive them
  */
 public function __construct(apiClient $apiClient)
 {
     $apiClient->addService('prediction', 'v1.1');
     $this->io = $apiClient->getIo();
     $this->training = new apiServiceResource($this, $this->serviceName, 'training', json_decode('{"methods":{"insert":{"pathUrl":"prediction\\/v1.1\\/training","rpcName":"prediction.training.insert","httpMethod":"POST","methodType":"rest","parameters":{"data":{"parameterType":"query","required":false}}},"delete":{"pathUrl":"prediction\\/v1.1\\/training\\/{data}","rpcName":"prediction.training.delete","httpMethod":"DELETE","methodType":"rest","parameters":{"data":{"parameterType":"path","pattern":"[^\\/]+","required":true}}},"get":{"pathUrl":"prediction\\/v1.1\\/training\\/{data}","rpcName":"prediction.training.get","httpMethod":"GET","methodType":"rest","parameters":{"data":{"parameterType":"path","pattern":"[^\\/]+","required":true}}}}}', true));
     $this->prediction = new apiServiceResource($this, $this->serviceName, 'prediction', json_decode('{"methods":{"predict":{"pathUrl":"prediction\\/v1.1\\/training\\/{data}\\/predict","rpcName":"prediction.predict","httpMethod":"POST","methodType":"rest","parameters":{"input":{"parameterType":"query","required":false},"data":{"parameterType":"path","pattern":"[^\\/]+","required":true}}}}}', true));
 }
 /**
  * Constructs the internal service representations and does the auto-magic configuration required to drive them
  */
 public function __construct(apiClient $apiClient)
 {
     $apiClient->addService('latitude', 'v1');
     $this->io = $apiClient->getIo();
     $this->location = new apiServiceResource($this, $this->serviceName, 'location', json_decode('{"methods":{"insert":{"pathUrl":"latitude\\/v1\\/location","rpcName":"latitude.location.insert","httpMethod":"POST","methodType":"rest"},"list":{"pathUrl":"latitude\\/v1\\/location","rpcName":"latitude.location.list","httpMethod":"GET","methodType":"rest","parameters":{"max-time":{"parameterType":"query","required":false},"min-time":{"parameterType":"query","required":false},"max-results":{"parameterType":"query","required":false},"granularity":{"parameterType":"query","required":false}}},"get":{"pathUrl":"latitude\\/v1\\/location\\/{locationId}","rpcName":"latitude.location.get","httpMethod":"GET","methodType":"rest","parameters":{"granularity":{"parameterType":"query","required":false},"locationId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}},"delete":{"pathUrl":"latitude\\/v1\\/location\\/{locationId}","rpcName":"latitude.location.delete","httpMethod":"DELETE","methodType":"rest","parameters":{"locationId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}}}}', true));
     $this->currentLocation = new apiServiceResource($this, $this->serviceName, 'currentLocation', json_decode('{"methods":{"insert":{"pathUrl":"latitude\\/v1\\/currentLocation","rpcName":"latitude.currentLocation.insert","httpMethod":"POST","methodType":"rest"},"delete":{"pathUrl":"latitude\\/v1\\/currentLocation","rpcName":"latitude.currentLocation.delete","httpMethod":"DELETE","methodType":"rest"},"get":{"pathUrl":"latitude\\/v1\\/currentLocation","rpcName":"latitude.currentLocation.get","httpMethod":"GET","methodType":"rest","parameters":{"granularity":{"parameterType":"query","required":false}}}}}', true));
 }
 /**
  * Constructs the internal service representations and does the auto-magic configuration required to drive them
  */
 public function __construct(apiClient $apiClient)
 {
     $apiClient->addService('easyhybrid', 'v1');
     $this->io = $apiClient->getIo();
     $this->useremail = new apiServiceResource($this, $this->serviceName, 'useremail', json_decode('{"methods":{"get":{"pathUrl":"userinfo\\/email","rpcName":"auth.useremail.get","httpMethod":"GET","methodType":"rest"}}}', true));
     $this->userinfo = new apiServiceResource($this, $this->serviceName, 'userinfo', json_decode('{"methods":{"get":{"pathUrl":"easyhybrid\\/userinfo","rpcName":"auth.userinfo.get","httpMethod":"GET","methodType":"rest"}}}', true));
 }
 /**
  * Constructs the internal representation of the Webfonts service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->restBasePath = '/webfonts/v1/';
     $this->version = 'v1';
     $this->serviceName = 'webfonts';
     $apiClient->addService($this->serviceName, $this->version);
     $this->webfonts = new WebfontsServiceResource($this, $this->serviceName, 'webfonts', json_decode('{"methods": {"list": {"parameters": {"sort": {"enum": ["alpha", "date", "popularity", "style", "trending"], "type": "string", "location": "query"}}, "id": "webfonts.webfonts.list", "httpMethod": "GET", "path": "webfonts", "response": {"$ref": "WebfontList"}}}}', true));
 }
 /**
  * Constructs the internal representation of the Pagespeedonline service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->restBasePath = '/pagespeedonline/v1/';
     $this->version = 'v1';
     $this->serviceName = 'pagespeedonline';
     $apiClient->addService($this->serviceName, $this->version);
     $this->pagespeedapi = new PagespeedapiServiceResource($this, $this->serviceName, 'pagespeedapi', json_decode('{"methods": {"runpagespeed": {"parameters": {"locale": {"type": "string", "location": "query"}, "url": {"required": true, "type": "string", "location": "query"}, "rule": {"repeated": true, "type": "string", "location": "query"}, "strategy": {"enum": ["desktop", "mobile"], "type": "string", "location": "query"}}, "id": "pagespeedonline.pagespeedapi.runpagespeed", "httpMethod": "GET", "path": "runPagespeed", "response": {"$ref": "Result"}}}}', true));
 }
 /**
  * Constructs the internal representation of the Autocompleteapi service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/search/v2/';
     $this->version = '1.0';
     $this->serviceName = 'autocompleteapi';
     $this->io = $apiClient->getIo();
     $apiClient->addService($this->serviceName, $this->version);
     $this->AutocompleteMethods = new AutocompleteMethodsServiceResource($this, $this->serviceName, 'AutocompleteMethods', json_decode('{"methods": {"Autocomplete": {"path": "{endpoint}/autocomplete", "httpMethod": "GET", "id": "AutocompleteAPI.Autocomplete", "parameters": {"endpoint": {"required": true, "default": "music", "enum": ["music", "amgvideo", "video"], "location": "path", "type": "string"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "entitytype": {"required": true, "default": "", "enum": ["album", "song", "artist", "movie", "tvseries", "credit", "movie", "tvseries", "onetimeonly", "credit"], "location": "query", "type": "string"}, "filter": {"default": "", "required": false, "type": "string", "location": "query"}, "query": {"default": "", "required": true, "type": "string", "location": "query"}, "size": {"default": 20, "required": false, "type": "integer", "location": "query"}}}}}', true));
 }
 /**
  * Constructs the internal service representations and does the auto-magic configuration required to drive them
  */
 public function __construct(apiClient $apiClient)
 {
     $apiClient->addService('buzz', 'v1');
     $this->io = $apiClient->getIo();
     $this->photos = new apiServiceResource($this, $this->serviceName, 'photos', json_decode('{"methods":{"insert":{"pathUrl":"buzz\\/v1\\/photos\\/{userId}\\/{albumId}","rpcName":"buzz.photos.insert","httpMethod":"POST","methodType":"rest","parameters":{"albumId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"hl":{"parameterType":"query","required":false}}}}}', true));
     $this->feeds = new apiServiceResource($this, $this->serviceName, 'feeds', json_decode('{"methods":{"insert":{"pathUrl":"buzz\\/v1\\/feeds\\/{userId}\\/@self","rpcName":"buzz.feeds.insert","httpMethod":"POST","methodType":"rest","parameters":{"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"hl":{"parameterType":"query","required":false}}},"update":{"pathUrl":"buzz\\/v1\\/feeds\\/{userId}\\/@self\\/{siteId}","rpcName":"buzz.feeds.update","httpMethod":"PUT","methodType":"rest","parameters":{"siteId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"max-results":{"parameterType":"query","required":false},"c":{"parameterType":"query","required":false},"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"hl":{"parameterType":"query","required":false}}},"list":{"pathUrl":"buzz\\/v1\\/feeds\\/{userId}\\/{scope}","rpcName":"buzz.feeds.list","httpMethod":"GET","methodType":"rest","parameters":{"scope":{"parameterType":"path","pattern":"@.*","required":true},"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"hl":{"parameterType":"query","required":false}}},"delete":{"pathUrl":"buzz\\/v1\\/feeds\\/{userId}\\/@self\\/{siteId}","rpcName":"buzz.feeds.delete","httpMethod":"DELETE","methodType":"rest","parameters":{"siteId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"hl":{"parameterType":"query","required":false}}}}}', true));
     $this->activities = new apiServiceResource($this, $this->serviceName, 'activities', json_decode('{"methods":{"update":{"pathUrl":"buzz\\/v1\\/activities\\/{userId}\\/{scope}\\/{postId}","rpcName":"buzz.activities.update","httpMethod":"PUT","methodType":"rest","parameters":{"scope":{"parameterType":"path","pattern":"@.*","required":true},"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"postId":{"parameterType":"path","pattern":".*","required":true},"hl":{"parameterType":"query","required":false},"abuseType":{"parameterType":"query","required":false}}},"extractPeopleFromSearch":{"pathUrl":"buzz\\/v1\\/activities\\/search\\/@people","rpcName":"buzz.activities.extractPeopleFromSearch","httpMethod":"POST","methodType":"rest","parameters":{"lon":{"parameterType":"query","required":false},"max-results":{"parameterType":"query","required":false},"c":{"parameterType":"query","required":false},"bbox":{"parameterType":"query","required":false},"q":{"parameterType":"query","required":false},"alt":{"parameterType":"query","required":false},"pid":{"parameterType":"query","required":false},"radius":{"parameterType":"query","required":false},"lat":{"parameterType":"query","required":false},"hl":{"parameterType":"query","required":false}}},"delete":{"pathUrl":"buzz\\/v1\\/activities\\/{userId}\\/{scope}\\/{postId}","rpcName":"buzz.activities.delete","httpMethod":"DELETE","methodType":"rest","parameters":{"scope":{"parameterType":"path","pattern":"@.*","required":true},"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"postId":{"parameterType":"path","pattern":".*","required":true},"hl":{"parameterType":"query","required":false}}},"insert":{"pathUrl":"buzz\\/v1\\/activities\\/{userId}\\/@self","rpcName":"buzz.activities.insert","httpMethod":"POST","methodType":"rest","parameters":{"preview":{"parameterType":"query","required":false},"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"photo":{"parameterType":"query","required":false},"hl":{"parameterType":"query","required":false}}},"list":{"pathUrl":"buzz\\/v1\\/activities\\/{userId}\\/{scope}","rpcName":"buzz.activities.list","httpMethod":"GET","methodType":"rest","parameters":{"max-comments":{"parameterType":"query","required":false},"scope":{"parameterType":"path","pattern":"@(self|public|consumption|liked|comments)*","required":true},"max-results":{"parameterType":"query","required":false},"c":{"parameterType":"query","required":false},"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"max-liked":{"parameterType":"query","required":false},"hl":{"parameterType":"query","required":false}}},"get":{"pathUrl":"buzz\\/v1\\/activities\\/{userId}\\/@self\\/{postId}","rpcName":"buzz.activities.get","httpMethod":"GET","methodType":"rest","parameters":{"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"postId":{"parameterType":"path","pattern":".*","required":true},"hl":{"parameterType":"query","required":false}}},"search":{"pathUrl":"buzz\\/v1\\/activities\\/search","rpcName":"buzz.activities.search","httpMethod":"POST","methodType":"rest","parameters":{"lon":{"parameterType":"query","required":false},"max-results":{"parameterType":"query","required":false},"c":{"parameterType":"query","required":false},"bbox":{"parameterType":"query","required":false},"q":{"parameterType":"query","required":false},"alt":{"parameterType":"query","required":false},"pid":{"parameterType":"query","required":false},"radius":{"parameterType":"query","required":false},"lat":{"parameterType":"query","required":false},"hl":{"parameterType":"query","required":false}}}}}', true));
     $this->people = new apiServiceResource($this, $this->serviceName, 'people', json_decode('{"methods":{"get":{"pathUrl":"buzz\\/v1\\/people\\/{userId}\\/@self","rpcName":"buzz.people.get","httpMethod":"GET","methodType":"rest","parameters":{"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"hl":{"parameterType":"query","required":false}}},"search":{"pathUrl":"buzz\\/v1\\/people\\/search","rpcName":"buzz.people.search","httpMethod":"POST","methodType":"rest","parameters":{"max-results":{"parameterType":"query","required":false},"c":{"parameterType":"query","required":false},"q":{"parameterType":"query","required":false},"alt":{"parameterType":"query","required":false},"hl":{"parameterType":"query","required":false}}},"list":{"pathUrl":"buzz\\/v1\\/people\\/{userId}\\/@groups\\/{groupId}","rpcName":"buzz.people.list","httpMethod":"GET","methodType":"rest","parameters":{"groupId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"max-results":{"parameterType":"query","required":false},"c":{"parameterType":"query","required":false},"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"hl":{"parameterType":"query","required":false}}},"relatedToUri":{"pathUrl":"buzz\\/v1\\/people\\/{userId}\\/@related","rpcName":"buzz.people.relatedToUri","httpMethod":"POST","methodType":"rest","parameters":{"alt":{"parameterType":"query","required":false},"uri":{"parameterType":"query","required":false},"hl":{"parameterType":"query","required":false}}},"reshared":{"pathUrl":"buzz\\/v1\\/activities\\/{userId}\\/{scope}\\/{postId}\\/{groupId}","rpcName":"buzz.people.reshared","httpMethod":"POST","methodType":"rest","parameters":{"groupId":{"parameterType":"path","pattern":"@reshared","required":true},"max-results":{"parameterType":"query","required":false},"c":{"parameterType":"query","required":false},"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"postId":{"parameterType":"path","pattern":".*","required":true},"hl":{"parameterType":"query","required":false}}},"delete":{"pathUrl":"buzz\\/v1\\/people\\/{userId}\\/@groups\\/{groupId}\\/{personId}","rpcName":"buzz.people.delete","httpMethod":"DELETE","methodType":"rest","parameters":{"groupId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"personId":{"parameterType":"path","pattern":"(?!@self).*","required":true},"hl":{"parameterType":"query","required":false}}},"update":{"pathUrl":"buzz\\/v1\\/people\\/{userId}\\/@groups\\/{groupId}\\/{personId}","rpcName":"buzz.people.update","httpMethod":"PUT","methodType":"rest","parameters":{"groupId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"personId":{"parameterType":"path","pattern":"(?!@self).*","required":true},"hl":{"parameterType":"query","required":false}}},"liked":{"pathUrl":"buzz\\/v1\\/activities\\/{userId}\\/{scope}\\/{postId}\\/{groupId}","rpcName":"buzz.people.liked","httpMethod":"POST","methodType":"rest","parameters":{"groupId":{"parameterType":"path","pattern":"@liked","required":true},"max-results":{"parameterType":"query","required":false},"c":{"parameterType":"query","required":false},"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"postId":{"parameterType":"path","pattern":".*","required":true},"hl":{"parameterType":"query","required":false}}}}}', true));
     $this->groups = new apiServiceResource($this, $this->serviceName, 'groups', json_decode('{"methods":{"get":{"pathUrl":"buzz\\/v1\\/people\\/{userId}\\/@groups\\/{groupId}\\/@self","rpcName":"buzz.groups.get","httpMethod":"GET","methodType":"rest","parameters":{"groupId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"hl":{"parameterType":"query","required":false}}},"list":{"pathUrl":"buzz\\/v1\\/people\\/{userId}\\/@groups","rpcName":"buzz.groups.list","httpMethod":"GET","methodType":"rest","parameters":{"max-results":{"parameterType":"query","required":false},"c":{"parameterType":"query","required":false},"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"hl":{"parameterType":"query","required":false}}},"delete":{"pathUrl":"buzz\\/v1\\/people\\/{userId}\\/@groups\\/{groupId}","rpcName":"buzz.groups.delete","httpMethod":"DELETE","methodType":"rest","parameters":{"groupId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"hl":{"parameterType":"query","required":false}}},"update":{"pathUrl":"buzz\\/v1\\/people\\/{userId}\\/@groups\\/{groupId}\\/@self","rpcName":"buzz.groups.update","httpMethod":"PUT","methodType":"rest","parameters":{"groupId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"hl":{"parameterType":"query","required":false}}},"insert":{"pathUrl":"buzz\\/v1\\/people\\/{userId}\\/@groups","rpcName":"buzz.groups.insert","httpMethod":"POST","methodType":"rest","parameters":{"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"hl":{"parameterType":"query","required":false}}}}}', true));
     $this->comments = new apiServiceResource($this, $this->serviceName, 'comments', json_decode('{"methods":{"update":{"pathUrl":"buzz\\/v1\\/activities\\/{userId}\\/{scope}\\/{postId}\\/@comments\\/{commentId}","rpcName":"buzz.comments.update","httpMethod":"PUT","methodType":"rest","parameters":{"scope":{"parameterType":"path","pattern":"@.*","required":true},"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"commentId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"postId":{"parameterType":"path","pattern":".*","required":true},"hl":{"parameterType":"query","required":false},"abuseType":{"parameterType":"query","required":false}}},"list":{"pathUrl":"buzz\\/v1\\/activities\\/{userId}\\/{scope}\\/{postId}\\/@comments","rpcName":"buzz.comments.list","httpMethod":"GET","methodType":"rest","parameters":{"scope":{"parameterType":"path","pattern":"@.*","required":true},"max-results":{"parameterType":"query","required":false},"c":{"parameterType":"query","required":false},"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"postId":{"parameterType":"path","pattern":".*","required":true},"hl":{"parameterType":"query","required":false}}},"delete":{"pathUrl":"buzz\\/v1\\/activities\\/{userId}\\/@self\\/{postId}\\/@comments\\/{commentId}","rpcName":"buzz.comments.delete","httpMethod":"DELETE","methodType":"rest","parameters":{"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"commentId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"postId":{"parameterType":"path","pattern":".*","required":true},"hl":{"parameterType":"query","required":false}}},"insert":{"pathUrl":"buzz\\/v1\\/activities\\/{userId}\\/@self\\/{postId}\\/@comments","rpcName":"buzz.comments.insert","httpMethod":"POST","methodType":"rest","parameters":{"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"postId":{"parameterType":"path","pattern":".*","required":true},"hl":{"parameterType":"query","required":false}}},"get":{"pathUrl":"buzz\\/v1\\/activities\\/{userId}\\/@self\\/{postId}\\/@comments\\/{commentId}","rpcName":"buzz.comments.get","httpMethod":"GET","methodType":"rest","parameters":{"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"commentId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"postId":{"parameterType":"path","pattern":".*","required":true},"hl":{"parameterType":"query","required":false}}}}}', true));
     $this->related = new apiServiceResource($this, $this->serviceName, 'related', json_decode('{"methods":{"list":{"pathUrl":"buzz\\/v1\\/activities\\/{userId}\\/{scope}\\/{postId}\\/@related","rpcName":"buzz.related.list","httpMethod":"GET","methodType":"rest","parameters":{"scope":{"parameterType":"path","pattern":"@.*","required":true},"max-results":{"parameterType":"query","required":false},"c":{"parameterType":"query","required":false},"alt":{"parameterType":"query","required":false},"userId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"hl":{"parameterType":"query","required":false},"postId":{"parameterType":"path","pattern":".*","required":true}}}}}', true));
 }
 /**
  * Constructs the internal service representations and does the auto-magic configuration required to drive them
  */
 public function __construct(apiClient $apiClient)
 {
     $apiClient->addService('moderator', 'v1');
     $this->io = $apiClient->getIo();
     $this->tags = new apiServiceResource($this, $this->serviceName, 'tags', json_decode('{"methods":{"delete":{"pathUrl":"moderator\\/v1\\/series\\/{seriesId}\\/submissions\\/{submissionId}\\/tags\\/{tagId}","rpcName":"moderator.tags.delete","httpMethod":"DELETE","methodType":"rest","parameters":{"tagId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"seriesId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"submissionId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}},"list":{"pathUrl":"moderator\\/v1\\/series\\/{seriesId}\\/submissions\\/{submissionId}\\/tags","rpcName":"moderator.tags.list","httpMethod":"GET","methodType":"rest","parameters":{"seriesId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"submissionId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}},"insert":{"pathUrl":"moderator\\/v1\\/series\\/{seriesId}\\/submissions\\/{submissionId}\\/tags","rpcName":"moderator.tags.insert","httpMethod":"POST","methodType":"rest","parameters":{"seriesId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"submissionId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}}}}', true));
     $this->series = new apiServiceResource($this, $this->serviceName, 'series', json_decode('{"methods":{"list":{"pathUrl":"moderator\\/v1\\/series\\/featured","rpcName":"moderator.featured.series.list","httpMethod":"GET","methodType":"rest"},"update":{"pathUrl":"moderator\\/v1\\/series\\/{seriesId}","rpcName":"moderator.series.update","httpMethod":"PUT","methodType":"rest","parameters":{"seriesId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}},"insert":{"pathUrl":"moderator\\/v1\\/series","rpcName":"moderator.series.insert","httpMethod":"POST","methodType":"rest"},"get":{"pathUrl":"moderator\\/v1\\/series\\/{seriesId}","rpcName":"moderator.series.get","httpMethod":"GET","methodType":"rest","parameters":{"seriesId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}}}}', true));
     $this->topics = new apiServiceResource($this, $this->serviceName, 'topics', json_decode('{"methods":{"list":{"pathUrl":"moderator\\/v1\\/series\\/{seriesId}\\/topics","rpcName":"moderator.topics.list","httpMethod":"GET","methodType":"rest","parameters":{"max-results":{"parameterType":"query","required":false},"start-index":{"parameterType":"query","required":false},"seriesId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}},"insert":{"pathUrl":"moderator\\/v1\\/series\\/{seriesId}\\/topics","rpcName":"moderator.topics.insert","httpMethod":"POST","methodType":"rest","parameters":{"seriesId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}},"get":{"pathUrl":"moderator\\/v1\\/series\\/{seriesId}\\/topics\\/{topicId}","rpcName":"moderator.topics.get","httpMethod":"GET","methodType":"rest","parameters":{"topicId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"seriesId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}}}}', true));
     $this->votes = new apiServiceResource($this, $this->serviceName, 'votes', json_decode('{"methods":{"update":{"pathUrl":"moderator\\/v1\\/series\\/{seriesId}\\/submissions\\/{submissionId}\\/votes\\/@me","rpcName":"moderator.votes.update","httpMethod":"PUT","methodType":"rest","parameters":{"userId":{"parameterType":"query","required":false},"seriesId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"submissionId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}},"list":{"pathUrl":"moderator\\/v1\\/series\\/{seriesId}\\/votes\\/@me","rpcName":"moderator.votes.list","httpMethod":"GET","methodType":"rest","parameters":{"max-results":{"parameterType":"query","required":false},"start-index":{"parameterType":"query","required":false},"seriesId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}},"get":{"pathUrl":"moderator\\/v1\\/series\\/{seriesId}\\/submissions\\/{submissionId}\\/votes\\/@me","rpcName":"moderator.votes.get","httpMethod":"GET","methodType":"rest","parameters":{"userId":{"parameterType":"query","required":false},"seriesId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"submissionId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}},"insert":{"pathUrl":"moderator\\/v1\\/series\\/{seriesId}\\/submissions\\/{submissionId}\\/votes\\/@me","rpcName":"moderator.votes.insert","httpMethod":"POST","methodType":"rest","parameters":{"seriesId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"submissionId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}}}}', true));
     $this->submissions = new apiServiceResource($this, $this->serviceName, 'submissions', json_decode('{"methods":{"get":{"pathUrl":"moderator\\/v1\\/series\\/{seriesId}\\/submissions\\/{submissionId}","rpcName":"moderator.submissions.get","httpMethod":"GET","methodType":"rest","parameters":{"seriesId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"submissionId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}},"list":{"pathUrl":"moderator\\/v1\\/series\\/{seriesId}\\/topics\\/{topicId}\\/submissions","rpcName":"moderator.topics.submissions.list","httpMethod":"GET","methodType":"rest","parameters":{"author":{"parameterType":"query","required":false},"hasAttachedVideo":{"parameterType":"query","required":false},"sort":{"parameterType":"query","required":false},"max-results":{"parameterType":"query","required":false},"q":{"parameterType":"query","required":false},"topicId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"start-index":{"parameterType":"query","required":false},"seriesId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}},"insert":{"pathUrl":"moderator\\/v1\\/series\\/{seriesId}\\/topics\\/{topicId}\\/submissions","rpcName":"moderator.submissions.insert","httpMethod":"POST","methodType":"rest","parameters":{"topicId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"seriesId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}}}}', true));
     $this->profiles = new apiServiceResource($this, $this->serviceName, 'profiles', json_decode('{"methods":{"get":{"pathUrl":"moderator\\/v1\\/profiles\\/@me","rpcName":"moderator.profiles.get","httpMethod":"GET","methodType":"rest"},"update":{"pathUrl":"moderator\\/v1\\/profiles\\/@me","rpcName":"moderator.profiles.update","httpMethod":"PUT","methodType":"rest"}}}', true));
     $this->responses = new apiServiceResource($this, $this->serviceName, 'responses', json_decode('{"methods":{"insert":{"pathUrl":"moderator\\/v1\\/series\\/{seriesId}\\/topics\\/{topicId}\\/submissions\\/{parentSubmissionId}\\/responses","rpcName":"moderator.responses.insert","httpMethod":"POST","methodType":"rest","parameters":{"parentSubmissionId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"topicId":{"parameterType":"path","pattern":"[^\\/]+","required":true},"seriesId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}},"list":{"pathUrl":"moderator\\/v1\\/series\\/{seriesId}\\/responses","rpcName":"moderator.series.responses.list","httpMethod":"GET","methodType":"rest","parameters":{"author":{"parameterType":"query","required":false},"hasAttachedVideo":{"parameterType":"query","required":false},"sort":{"parameterType":"query","required":false},"max-results":{"parameterType":"query","required":false},"q":{"parameterType":"query","required":false},"start-index":{"parameterType":"query","required":false},"seriesId":{"parameterType":"path","pattern":"[^\\/]+","required":true}}}}}', true));
 }
Ejemplo n.º 9
0
 /**
  * Constructs the internal representation of the Orkut service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/orkut/v2/';
     $this->version = 'v2';
     $this->serviceName = 'orkut';
     $this->io = $apiClient->getIo();
     $apiClient->addService($this->serviceName, $this->version);
     $this->activities = new ActivitiesServiceResource($this, $this->serviceName, 'activities', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"collection": {"required": true, "enum": ["all", "scraps", "stream"], "location": "path", "type": "string"}, "pageToken": {"type": "string", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}, "maxResults": {"format": "uint32", "maximum": "100", "minimum": "1", "location": "query", "type": "integer"}}, "id": "orkut.activities.list", "httpMethod": "GET", "path": "people/{userId}/activities/{collection}", "response": {"$ref": "ActivityList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/orkut"], "parameters": {"activityId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE", "path": "activities/{activityId}", "id": "orkut.activities.delete"}}}', true));
     $this->comments = new CommentsServiceResource($this, $this->serviceName, 'comments', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/orkut"], "parameters": {"activityId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Comment"}, "id": "orkut.comments.insert", "httpMethod": "POST", "path": "activities/{activityId}/comments", "response": {"$ref": "Comment"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/orkut"], "parameters": {"commentId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE", "path": "comments/{commentId}", "id": "orkut.comments.delete"}, "list": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"orderBy": {"default": "DESCENDING_SORT", "enum": ["ascending", "descending"], "location": "query", "type": "string"}, "pageToken": {"type": "string", "location": "query"}, "activityId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}, "maxResults": {"format": "uint32", "minimum": "1", "type": "integer", "location": "query"}}, "id": "orkut.comments.list", "httpMethod": "GET", "path": "activities/{activityId}/comments", "response": {"$ref": "CommentList"}}, "get": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"commentId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "id": "orkut.comments.get", "httpMethod": "GET", "path": "comments/{commentId}", "response": {"$ref": "Comment"}}}}', true));
     $this->acl = new AclServiceResource($this, $this->serviceName, 'acl', json_decode('{"methods": {"delete": {"scopes": ["https://www.googleapis.com/auth/orkut"], "parameters": {"activityId": {"required": true, "type": "string", "location": "path"}, "userId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE", "path": "activities/{activityId}/acl/{userId}", "id": "orkut.acl.delete"}}}', true));
     $this->scraps = new ScrapsServiceResource($this, $this->serviceName, 'scraps', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/orkut"], "request": {"$ref": "Activity"}, "response": {"$ref": "Activity"}, "httpMethod": "POST", "path": "activities/scraps", "id": "orkut.scraps.insert"}}}', true));
     $this->activityVisibility = new ActivityVisibilityServiceResource($this, $this->serviceName, 'activityVisibility', json_decode('{"methods": {"get": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"activityId": {"required": true, "type": "string", "location": "path"}}, "id": "orkut.activityVisibility.get", "httpMethod": "GET", "path": "activities/{activityId}/visibility", "response": {"$ref": "Visibility"}}, "update": {"scopes": ["https://www.googleapis.com/auth/orkut"], "parameters": {"activityId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Visibility"}, "id": "orkut.activityVisibility.update", "httpMethod": "PUT", "path": "activities/{activityId}/visibility", "response": {"$ref": "Visibility"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/orkut"], "parameters": {"activityId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Visibility"}, "id": "orkut.activityVisibility.patch", "httpMethod": "PATCH", "path": "activities/{activityId}/visibility", "response": {"$ref": "Visibility"}}}}', true));
     $this->badges = new BadgesServiceResource($this, $this->serviceName, 'badges', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"userId": {"required": true, "type": "string", "location": "path"}}, "id": "orkut.badges.list", "httpMethod": "GET", "path": "people/{userId}/badges", "response": {"$ref": "BadgeList"}}, "get": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"userId": {"required": true, "type": "string", "location": "path"}, "badgeId": {"format": "int64", "required": true, "type": "string", "location": "path"}}, "id": "orkut.badges.get", "httpMethod": "GET", "path": "people/{userId}/badges/{badgeId}", "response": {"$ref": "Badge"}}}}', true));
     $this->counters = new CountersServiceResource($this, $this->serviceName, 'counters', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"], "parameters": {"userId": {"required": true, "type": "string", "location": "path"}}, "id": "orkut.counters.list", "httpMethod": "GET", "path": "people/{userId}/counters", "response": {"$ref": "Counters"}}}}', true));
 }
Ejemplo n.º 10
0
 /**
  * Constructs the internal representation of the Translate service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/language/translate/';
     $this->version = 'v2';
     $this->serviceName = 'translate';
     $this->io = $apiClient->getIo();
     $apiClient->addService($this->serviceName, $this->version);
     $this->languages = new LanguagesServiceResource($this, $this->serviceName, 'languages', json_decode('{"methods": {"list": {"parameters": {"target": {"type": "string", "location": "query"}}, "id": "language.languages.list", "httpMethod": "GET", "path": "v2/languages", "response": {"$ref": "LanguagesListResponse"}}}}', true));
     $this->detections = new DetectionsServiceResource($this, $this->serviceName, 'detections', json_decode('{"methods": {"list": {"parameters": {"q": {"repeated": true, "required": true, "type": "string", "location": "query"}}, "id": "language.detections.list", "httpMethod": "GET", "path": "v2/detect", "response": {"$ref": "DetectionsListResponse"}}}}', true));
     $this->translations = new TranslationsServiceResource($this, $this->serviceName, 'translations', json_decode('{"methods": {"list": {"parameters": {"q": {"repeated": true, "required": true, "type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "cid": {"repeated": true, "type": "string", "location": "query"}, "target": {"required": true, "type": "string", "location": "query"}, "format": {"enum": ["html", "text"], "type": "string", "location": "query"}}, "id": "language.translations.list", "httpMethod": "GET", "path": "v2", "response": {"$ref": "TranslationsListResponse"}}}}', true));
 }
Ejemplo n.º 11
0
 /**
  * Constructs the internal representation of the Calendar service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/calendar/v3/';
     $this->version = 'v3';
     $this->serviceName = 'calendar';
     $this->io = $apiClient->getIo();
     $apiClient->addService($this->serviceName, $this->version);
     $this->freebusy = new FreebusyServiceResource($this, $this->serviceName, 'freebusy', json_decode('{"methods": {"query": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "request": {"$ref": "FreeBusyRequest"}, "response": {"$ref": "FreeBusyResponse"}, "httpMethod": "POST", "path": "freeBusy", "id": "calendar.freebusy.query"}}}', true));
     $this->settings = new SettingsServiceResource($this, $this->serviceName, 'settings', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "id": "calendar.settings.list", "httpMethod": "GET", "path": "users/me/settings", "response": {"$ref": "Settings"}}, "get": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "parameters": {"setting": {"required": true, "type": "string", "location": "path"}}, "id": "calendar.settings.get", "httpMethod": "GET", "path": "users/me/settings/{setting}", "response": {"$ref": "Setting"}}}}', true));
     $this->calendarList = new CalendarListServiceResource($this, $this->serviceName, 'calendarList', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/calendar"], "request": {"$ref": "CalendarListEntry"}, "response": {"$ref": "CalendarListEntry"}, "httpMethod": "POST", "path": "users/me/calendarList", "id": "calendar.calendarList.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "id": "calendar.calendarList.get", "httpMethod": "GET", "path": "users/me/calendarList/{calendarId}", "response": {"$ref": "CalendarListEntry"}}, "list": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "showHidden": {"type": "boolean", "location": "query"}, "maxResults": {"format": "int32", "minimum": "1", "type": "integer", "location": "query"}, "minAccessRole": {"enum": ["freeBusyReader", "owner", "reader", "writer"], "type": "string", "location": "query"}}, "response": {"$ref": "CalendarList"}, "httpMethod": "GET", "path": "users/me/calendarList", "id": "calendar.calendarList.list"}, "update": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "CalendarListEntry"}, "id": "calendar.calendarList.update", "httpMethod": "PUT", "path": "users/me/calendarList/{calendarId}", "response": {"$ref": "CalendarListEntry"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "CalendarListEntry"}, "id": "calendar.calendarList.patch", "httpMethod": "PATCH", "path": "users/me/calendarList/{calendarId}", "response": {"$ref": "CalendarListEntry"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE", "path": "users/me/calendarList/{calendarId}", "id": "calendar.calendarList.delete"}}}', true));
     $this->calendars = new CalendarsServiceResource($this, $this->serviceName, 'calendars', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/calendar"], "request": {"$ref": "Calendar"}, "response": {"$ref": "Calendar"}, "httpMethod": "POST", "path": "calendars", "id": "calendar.calendars.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "id": "calendar.calendars.get", "httpMethod": "GET", "path": "calendars/{calendarId}", "response": {"$ref": "Calendar"}}, "clear": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "POST", "path": "calendars/{calendarId}/clear", "id": "calendar.calendars.clear"}, "update": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Calendar"}, "id": "calendar.calendars.update", "httpMethod": "PUT", "path": "calendars/{calendarId}", "response": {"$ref": "Calendar"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Calendar"}, "id": "calendar.calendars.patch", "httpMethod": "PATCH", "path": "calendars/{calendarId}", "response": {"$ref": "Calendar"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE", "path": "calendars/{calendarId}", "id": "calendar.calendars.delete"}}}', true));
     $this->acl = new AclServiceResource($this, $this->serviceName, 'acl', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "AclRule"}, "id": "calendar.acl.insert", "httpMethod": "POST", "path": "calendars/{calendarId}/acl", "response": {"$ref": "AclRule"}}, "get": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}, "ruleId": {"required": true, "type": "string", "location": "path"}}, "id": "calendar.acl.get", "httpMethod": "GET", "path": "calendars/{calendarId}/acl/{ruleId}", "response": {"$ref": "AclRule"}}, "list": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "id": "calendar.acl.list", "httpMethod": "GET", "path": "calendars/{calendarId}/acl", "response": {"$ref": "Acl"}}, "update": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}, "ruleId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "AclRule"}, "id": "calendar.acl.update", "httpMethod": "PUT", "path": "calendars/{calendarId}/acl/{ruleId}", "response": {"$ref": "AclRule"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}, "ruleId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "AclRule"}, "id": "calendar.acl.patch", "httpMethod": "PATCH", "path": "calendars/{calendarId}/acl/{ruleId}", "response": {"$ref": "AclRule"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}, "ruleId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE", "path": "calendars/{calendarId}/acl/{ruleId}", "id": "calendar.acl.delete"}}}', true));
     $this->colors = new ColorsServiceResource($this, $this->serviceName, 'colors', json_decode('{"methods": {"get": {"id": "calendar.colors.get", "path": "colors", "httpMethod": "GET", "response": {"$ref": "Colors"}}}}', true));
     $this->events = new EventsServiceResource($this, $this->serviceName, 'events', json_decode('{"methods": {"reset": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"eventId": {"required": true, "type": "string", "location": "path"}, "calendarId": {"required": true, "type": "string", "location": "path"}, "sendNotifications": {"type": "boolean", "location": "query"}}, "id": "calendar.events.reset", "httpMethod": "POST", "path": "calendars/{calendarId}/events/{eventId}/reset", "response": {"$ref": "Event"}}, "insert": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}, "sendNotifications": {"type": "boolean", "location": "query"}}, "request": {"$ref": "Event"}, "id": "calendar.events.insert", "httpMethod": "POST", "path": "calendars/{calendarId}/events", "response": {"$ref": "Event"}}, "get": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "parameters": {"eventId": {"required": true, "type": "string", "location": "path"}, "timeZone": {"type": "string", "location": "query"}, "calendarId": {"required": true, "type": "string", "location": "path"}, "maxAttendees": {"format": "int32", "minimum": "1", "type": "integer", "location": "query"}}, "id": "calendar.events.get", "httpMethod": "GET", "path": "calendars/{calendarId}/events/{eventId}", "response": {"$ref": "Event"}}, "move": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"eventId": {"required": true, "type": "string", "location": "path"}, "calendarId": {"required": true, "type": "string", "location": "path"}, "destination": {"required": true, "type": "string", "location": "query"}, "sendNotifications": {"type": "boolean", "location": "query"}}, "id": "calendar.events.move", "httpMethod": "POST", "path": "calendars/{calendarId}/events/{eventId}/move", "response": {"$ref": "Event"}}, "list": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "parameters": {"orderBy": {"enum": ["startTime", "updated"], "type": "string", "location": "query"}, "showHiddenInvitations": {"type": "boolean", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "iCalUID": {"type": "string", "location": "query"}, "updatedMin": {"type": "string", "location": "query"}, "singleEvents": {"type": "boolean", "location": "query"}, "maxResults": {"format": "int32", "minimum": "1", "type": "integer", "location": "query"}, "q": {"type": "string", "location": "query"}, "showDeleted": {"type": "boolean", "location": "query"}, "calendarId": {"required": true, "type": "string", "location": "path"}, "timeMin": {"type": "string", "location": "query"}, "timeZone": {"type": "string", "location": "query"}, "timeMax": {"type": "string", "location": "query"}, "maxAttendees": {"format": "int32", "minimum": "1", "type": "integer", "location": "query"}}, "id": "calendar.events.list", "httpMethod": "GET", "path": "calendars/{calendarId}/events", "response": {"$ref": "Events"}}, "update": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"eventId": {"required": true, "type": "string", "location": "path"}, "calendarId": {"required": true, "type": "string", "location": "path"}, "sendNotifications": {"type": "boolean", "location": "query"}}, "request": {"$ref": "Event"}, "id": "calendar.events.update", "httpMethod": "PUT", "path": "calendars/{calendarId}/events/{eventId}", "response": {"$ref": "Event"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"eventId": {"required": true, "type": "string", "location": "path"}, "calendarId": {"required": true, "type": "string", "location": "path"}, "sendNotifications": {"type": "boolean", "location": "query"}}, "request": {"$ref": "Event"}, "id": "calendar.events.patch", "httpMethod": "PATCH", "path": "calendars/{calendarId}/events/{eventId}", "response": {"$ref": "Event"}}, "instances": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "parameters": {"eventId": {"required": true, "type": "string", "location": "path"}, "pageToken": {"type": "string", "location": "query"}, "maxResults": {"format": "int32", "minimum": "1", "type": "integer", "location": "query"}, "showDeleted": {"type": "boolean", "location": "query"}, "calendarId": {"required": true, "type": "string", "location": "path"}, "timeZone": {"type": "string", "location": "query"}, "originalStart": {"type": "string", "location": "query"}, "maxAttendees": {"format": "int32", "minimum": "1", "type": "integer", "location": "query"}}, "id": "calendar.events.instances", "httpMethod": "GET", "path": "calendars/{calendarId}/events/{eventId}/instances", "response": {"$ref": "Events"}}, "import": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Event"}, "id": "calendar.events.import", "httpMethod": "POST", "path": "calendars/{calendarId}/events/import", "response": {"$ref": "Event"}}, "quickAdd": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"text": {"required": true, "type": "string", "location": "query"}, "calendarId": {"required": true, "type": "string", "location": "path"}, "sendNotifications": {"type": "boolean", "location": "query"}}, "id": "calendar.events.quickAdd", "httpMethod": "POST", "path": "calendars/{calendarId}/events/quickAdd", "response": {"$ref": "Event"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"eventId": {"required": true, "type": "string", "location": "path"}, "calendarId": {"required": true, "type": "string", "location": "path"}, "sendNotifications": {"type": "boolean", "location": "query"}}, "httpMethod": "DELETE", "path": "calendars/{calendarId}/events/{eventId}", "id": "calendar.events.delete"}}}', true));
 }
Ejemplo n.º 12
0
 /**
  * Constructs the internal representation of the Tasks service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/tasks/v1/';
     $this->version = 'v1';
     $this->serviceName = 'tasks';
     $this->io = $apiClient->getIo();
     $apiClient->addService($this->serviceName, $this->version);
     $this->tasks = new TasksServiceResource($this, $this->serviceName, 'tasks', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/tasks"], "parameters": {"tasklist": {"required": true, "type": "string", "location": "path"}, "parent": {"type": "string", "location": "query"}, "previous": {"type": "string", "location": "query"}}, "request": {"$ref": "Task"}, "id": "tasks.tasks.insert", "httpMethod": "POST", "path": "lists/{tasklist}/tasks", "response": {"$ref": "Task"}}, "get": {"scopes": ["https://www.googleapis.com/auth/tasks", "https://www.googleapis.com/auth/tasks.readonly"], "parameters": {"tasklist": {"required": true, "type": "string", "location": "path"}, "task": {"required": true, "type": "string", "location": "path"}}, "id": "tasks.tasks.get", "httpMethod": "GET", "path": "lists/{tasklist}/tasks/{task}", "response": {"$ref": "Task"}}, "clear": {"scopes": ["https://www.googleapis.com/auth/tasks"], "parameters": {"tasklist": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "POST", "path": "lists/{tasklist}/clear", "id": "tasks.tasks.clear"}, "move": {"scopes": ["https://www.googleapis.com/auth/tasks"], "parameters": {"previous": {"type": "string", "location": "query"}, "tasklist": {"required": true, "type": "string", "location": "path"}, "parent": {"type": "string", "location": "query"}, "task": {"required": true, "type": "string", "location": "path"}}, "id": "tasks.tasks.move", "httpMethod": "POST", "path": "lists/{tasklist}/tasks/{task}/move", "response": {"$ref": "Task"}}, "list": {"scopes": ["https://www.googleapis.com/auth/tasks", "https://www.googleapis.com/auth/tasks.readonly"], "parameters": {"dueMax": {"type": "string", "location": "query"}, "tasklist": {"required": true, "type": "string", "location": "path"}, "pageToken": {"type": "string", "location": "query"}, "updatedMin": {"type": "string", "location": "query"}, "completedMin": {"type": "string", "location": "query"}, "maxResults": {"format": "int64", "type": "string", "location": "query"}, "showCompleted": {"type": "boolean", "location": "query"}, "showDeleted": {"type": "boolean", "location": "query"}, "completedMax": {"type": "string", "location": "query"}, "showHidden": {"type": "boolean", "location": "query"}, "dueMin": {"type": "string", "location": "query"}}, "id": "tasks.tasks.list", "httpMethod": "GET", "path": "lists/{tasklist}/tasks", "response": {"$ref": "Tasks"}}, "update": {"scopes": ["https://www.googleapis.com/auth/tasks"], "parameters": {"tasklist": {"required": true, "type": "string", "location": "path"}, "task": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Task"}, "id": "tasks.tasks.update", "httpMethod": "PUT", "path": "lists/{tasklist}/tasks/{task}", "response": {"$ref": "Task"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/tasks"], "parameters": {"tasklist": {"required": true, "type": "string", "location": "path"}, "task": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Task"}, "id": "tasks.tasks.patch", "httpMethod": "PATCH", "path": "lists/{tasklist}/tasks/{task}", "response": {"$ref": "Task"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/tasks"], "parameters": {"tasklist": {"required": true, "type": "string", "location": "path"}, "task": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE", "path": "lists/{tasklist}/tasks/{task}", "id": "tasks.tasks.delete"}}}', true));
     $this->tasklists = new TasklistsServiceResource($this, $this->serviceName, 'tasklists', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/tasks"], "request": {"$ref": "TaskList"}, "response": {"$ref": "TaskList"}, "httpMethod": "POST", "path": "users/@me/lists", "id": "tasks.tasklists.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/tasks", "https://www.googleapis.com/auth/tasks.readonly"], "parameters": {"tasklist": {"required": true, "type": "string", "location": "path"}}, "id": "tasks.tasklists.get", "httpMethod": "GET", "path": "users/@me/lists/{tasklist}", "response": {"$ref": "TaskList"}}, "list": {"scopes": ["https://www.googleapis.com/auth/tasks", "https://www.googleapis.com/auth/tasks.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "maxResults": {"format": "int64", "type": "string", "location": "query"}}, "response": {"$ref": "TaskLists"}, "httpMethod": "GET", "path": "users/@me/lists", "id": "tasks.tasklists.list"}, "update": {"scopes": ["https://www.googleapis.com/auth/tasks"], "parameters": {"tasklist": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "TaskList"}, "id": "tasks.tasklists.update", "httpMethod": "PUT", "path": "users/@me/lists/{tasklist}", "response": {"$ref": "TaskList"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/tasks"], "parameters": {"tasklist": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "TaskList"}, "id": "tasks.tasklists.patch", "httpMethod": "PATCH", "path": "users/@me/lists/{tasklist}", "response": {"$ref": "TaskList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/tasks"], "parameters": {"tasklist": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE", "path": "users/@me/lists/{tasklist}", "id": "tasks.tasklists.delete"}}}', true));
 }
Ejemplo n.º 13
0
 /**
  * Constructs the internal representation of the Buzz service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/buzz/v1/';
     $this->version = 'v1';
     $this->serviceName = 'buzz';
     $this->io = $apiClient->getIo();
     $apiClient->addService($this->serviceName, $this->version);
     $this->activities = new ActivitiesServiceResource($this, $this->serviceName, 'activities', json_decode('{"methods": {"count": {"scopes": ["https://www.googleapis.com/auth/buzz", "https://www.googleapis.com/auth/buzz.readonly"], "parameters": {"url": {"repeated": true, "type": "string", "location": "query"}, "hl": {"type": "string", "location": "query"}}, "response": {"$ref": "CountFeed"}, "httpMethod": "GET", "path": "activities/count", "id": "chili.activities.count"}, "insert": {"scopes": ["https://www.googleapis.com/auth/buzz"], "parameters": {"alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "preview": {"default": "false", "type": "boolean", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "mediaUpload": {"maxSize": "10MB", "accept": ["image/*"], "protocols": {"simple": {"path": "upload/activities/{userId}/@self", "multipart": true}, "resumable": {"path": "resumable/upload/activities/{userId}/@self", "multipart": true}}}, "request": {"$ref": "Activity"}, "id": "chili.activities.insert", "httpMethod": "POST", "path": "activities/{userId}/@self", "response": {"$ref": "Activity"}}, "search": {"scopes": ["https://www.googleapis.com/auth/buzz", "https://www.googleapis.com/auth/buzz.readonly"], "parameters": {"max-results": {"default": "20", "format": "uint32", "type": "integer", "location": "query"}, "c": {"type": "string", "location": "query"}, "pid": {"type": "string", "location": "query"}, "lon": {"type": "string", "location": "query"}, "q": {"type": "string", "location": "query"}, "truncateAtom": {"type": "boolean", "location": "query"}, "radius": {"type": "string", "location": "query"}, "bbox": {"type": "string", "location": "query"}, "hl": {"type": "string", "location": "query"}, "lat": {"type": "string", "location": "query"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}}, "response": {"$ref": "ActivityFeed"}, "httpMethod": "GET", "path": "activities/search", "id": "chili.activities.search"}, "get": {"scopes": ["https://www.googleapis.com/auth/buzz", "https://www.googleapis.com/auth/buzz.readonly"], "parameters": {"userId": {"required": true, "type": "string", "location": "path"}, "truncateAtom": {"type": "boolean", "location": "query"}, "max-comments": {"default": "0", "format": "uint32", "type": "integer", "location": "query"}, "hl": {"type": "string", "location": "query"}, "max-liked": {"default": "0", "format": "uint32", "type": "integer", "location": "query"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "postId": {"required": true, "type": "string", "location": "path"}}, "id": "chili.activities.get", "httpMethod": "GET", "path": "activities/{userId}/@self/{postId}", "response": {"$ref": "Activity"}}, "track": {"scopes": ["https://www.googleapis.com/auth/buzz", "https://www.googleapis.com/auth/buzz.readonly"], "parameters": {"max-results": {"default": "20", "format": "uint32", "type": "integer", "location": "query"}, "c": {"type": "string", "location": "query"}, "pid": {"type": "string", "location": "query"}, "lon": {"type": "string", "location": "query"}, "q": {"type": "string", "location": "query"}, "radius": {"type": "string", "location": "query"}, "bbox": {"type": "string", "location": "query"}, "hl": {"type": "string", "location": "query"}, "lat": {"type": "string", "location": "query"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}}, "response": {"$ref": "ActivityFeed"}, "httpMethod": "GET", "path": "activities/track", "id": "chili.activities.track"}, "list": {"scopes": ["https://www.googleapis.com/auth/buzz", "https://www.googleapis.com/auth/buzz.readonly"], "parameters": {"max-results": {"default": "20", "format": "uint32", "type": "integer", "location": "query"}, "c": {"type": "string", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}, "truncateAtom": {"type": "boolean", "location": "query"}, "max-comments": {"default": "0", "format": "uint32", "type": "integer", "location": "query"}, "hl": {"type": "string", "location": "query"}, "max-liked": {"default": "0", "format": "uint32", "type": "integer", "location": "query"}, "scope": {"required": true, "enum": ["@comments", "@consumption", "@liked", "@public", "@self"], "location": "path", "type": "string"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}}, "id": "chili.activities.list", "httpMethod": "GET", "path": "activities/{userId}/{scope}", "response": {"$ref": "ActivityFeed"}}, "update": {"scopes": ["https://www.googleapis.com/auth/buzz"], "parameters": {"userId": {"required": true, "type": "string", "location": "path"}, "abuseType": {"type": "string", "location": "query"}, "hl": {"type": "string", "location": "query"}, "scope": {"required": true, "enum": ["@abuse", "@liked", "@muted", "@self"], "location": "path", "type": "string"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "postId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Activity"}, "id": "chili.activities.update", "httpMethod": "PUT", "path": "activities/{userId}/{scope}/{postId}", "response": {"$ref": "Activity"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/buzz"], "parameters": {"userId": {"required": true, "type": "string", "location": "path"}, "abuseType": {"type": "string", "location": "query"}, "hl": {"type": "string", "location": "query"}, "scope": {"required": true, "enum": ["@abuse", "@liked", "@muted", "@self"], "location": "path", "type": "string"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "postId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Activity"}, "id": "chili.activities.patch", "httpMethod": "PATCH", "path": "activities/{userId}/{scope}/{postId}", "response": {"$ref": "Activity"}}, "extractPeopleFromSearch": {"scopes": ["https://www.googleapis.com/auth/buzz", "https://www.googleapis.com/auth/buzz.readonly"], "parameters": {"max-results": {"default": "20", "format": "uint32", "type": "integer", "location": "query"}, "c": {"type": "string", "location": "query"}, "pid": {"type": "string", "location": "query"}, "lon": {"type": "string", "location": "query"}, "q": {"type": "string", "location": "query"}, "radius": {"type": "string", "location": "query"}, "bbox": {"type": "string", "location": "query"}, "hl": {"type": "string", "location": "query"}, "lat": {"type": "string", "location": "query"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}}, "response": {"$ref": "PeopleFeed"}, "httpMethod": "GET", "path": "activities/search/@people", "id": "chili.activities.extractPeopleFromSearch"}, "delete": {"scopes": ["https://www.googleapis.com/auth/buzz"], "parameters": {"scope": {"required": true, "enum": ["@liked", "@muted", "@self"], "location": "path", "type": "string"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "postId": {"required": true, "type": "string", "location": "path"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "httpMethod": "DELETE", "path": "activities/{userId}/{scope}/{postId}", "id": "chili.activities.delete"}}}', true));
     $this->people = new PeopleServiceResource($this, $this->serviceName, 'people', json_decode('{"methods": {"search": {"scopes": ["https://www.googleapis.com/auth/buzz", "https://www.googleapis.com/auth/buzz.readonly"], "parameters": {"max-results": {"default": "20", "format": "uint32", "type": "integer", "location": "query"}, "q": {"type": "string", "location": "query"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "c": {"type": "string", "location": "query"}, "hl": {"type": "string", "location": "query"}}, "response": {"$ref": "PeopleFeed"}, "httpMethod": "GET", "path": "people/search", "id": "chili.people.search"}, "get": {"scopes": ["https://www.googleapis.com/auth/buzz", "https://www.googleapis.com/auth/buzz.readonly"], "parameters": {"alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "id": "chili.people.get", "httpMethod": "GET", "path": "people/{userId}/@self", "response": {"$ref": "Person"}}, "update": {"scopes": ["https://www.googleapis.com/auth/buzz"], "parameters": {"personId": {"required": true, "type": "string", "location": "path"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "userId": {"required": true, "type": "string", "location": "path"}, "groupId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "request": {"$ref": "Person"}, "id": "chili.people.update", "httpMethod": "PUT", "path": "people/{userId}/@groups/{groupId}/{personId}", "response": {"$ref": "Person"}}, "list": {"scopes": ["https://www.googleapis.com/auth/buzz", "https://www.googleapis.com/auth/buzz.readonly"], "parameters": {"max-results": {"default": "20", "format": "uint32", "type": "integer", "location": "query"}, "c": {"type": "string", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "groupId": {"required": true, "type": "string", "location": "path"}}, "id": "chili.people.list", "httpMethod": "GET", "path": "people/{userId}/@groups/{groupId}", "response": {"$ref": "PeopleFeed"}}, "liked": {"scopes": ["https://www.googleapis.com/auth/buzz", "https://www.googleapis.com/auth/buzz.readonly"], "parameters": {"max-results": {"default": "20", "format": "uint32", "type": "integer", "location": "query"}, "c": {"type": "string", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}, "scope": {"required": true, "type": "string", "location": "path"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "postId": {"required": true, "type": "string", "location": "path"}, "groupId": {"required": true, "type": "string", "location": "path", "enum": ["@liked"]}}, "id": "chili.people.liked", "httpMethod": "GET", "path": "activities/{userId}/{scope}/{postId}/{groupId}", "response": {"$ref": "PeopleFeed"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/buzz"], "parameters": {"personId": {"required": true, "type": "string", "location": "path"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "userId": {"required": true, "type": "string", "location": "path"}, "groupId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "request": {"$ref": "Person"}, "id": "chili.people.patch", "httpMethod": "PATCH", "path": "people/{userId}/@groups/{groupId}/{personId}", "response": {"$ref": "Person"}}, "reshared": {"scopes": ["https://www.googleapis.com/auth/buzz", "https://www.googleapis.com/auth/buzz.readonly"], "parameters": {"max-results": {"default": "20", "format": "uint32", "type": "integer", "location": "query"}, "c": {"type": "string", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}, "scope": {"required": true, "type": "string", "location": "path"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "postId": {"required": true, "type": "string", "location": "path"}, "groupId": {"required": true, "type": "string", "location": "path", "enum": ["@reshared"]}}, "id": "chili.people.reshared", "httpMethod": "GET", "path": "activities/{userId}/{scope}/{postId}/{groupId}", "response": {"$ref": "PeopleFeed"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/buzz"], "parameters": {"personId": {"required": true, "type": "string", "location": "path"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "userId": {"required": true, "type": "string", "location": "path"}, "groupId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "httpMethod": "DELETE", "path": "people/{userId}/@groups/{groupId}/{personId}", "id": "chili.people.delete"}}}', true));
     $this->photoAlbums = new PhotoAlbumsServiceResource($this, $this->serviceName, 'photoAlbums', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/picasa"], "parameters": {"alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "request": {"$ref": "Album"}, "id": "chili.photoAlbums.insert", "httpMethod": "POST", "path": "photos/{userId}/@self", "response": {"$ref": "Album"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/picasa"], "parameters": {"albumId": {"required": true, "type": "string", "location": "path"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "httpMethod": "DELETE", "path": "photos/{userId}/@self/{albumId}", "id": "chili.photoAlbums.delete"}, "list": {"scopes": ["https://www.googleapis.com/auth/picasa"], "parameters": {"max-results": {"default": "20", "format": "uint32", "type": "integer", "location": "query"}, "c": {"type": "string", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}, "scope": {"required": true, "enum": ["@self"], "location": "path", "type": "string"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}}, "id": "chili.photoAlbums.list", "httpMethod": "GET", "path": "photos/{userId}/{scope}", "response": {"$ref": "AlbumsFeed"}}, "get": {"scopes": ["https://www.googleapis.com/auth/picasa"], "parameters": {"albumId": {"required": true, "type": "string", "location": "path"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "id": "chili.photoAlbums.get", "httpMethod": "GET", "path": "photos/{userId}/@self/{albumId}", "response": {"$ref": "Album"}}}}', true));
     $this->comments = new CommentsServiceResource($this, $this->serviceName, 'comments', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/buzz"], "parameters": {"alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "postId": {"required": true, "type": "string", "location": "path"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "request": {"$ref": "Comment"}, "id": "chili.comments.insert", "httpMethod": "POST", "path": "activities/{userId}/@self/{postId}/@comments", "response": {"$ref": "Comment"}}, "get": {"scopes": ["https://www.googleapis.com/auth/buzz", "https://www.googleapis.com/auth/buzz.readonly"], "parameters": {"commentId": {"required": true, "type": "string", "location": "path"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "postId": {"required": true, "type": "string", "location": "path"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "id": "chili.comments.get", "httpMethod": "GET", "path": "activities/{userId}/@self/{postId}/@comments/{commentId}", "response": {"$ref": "Comment"}}, "list": {"scopes": ["https://www.googleapis.com/auth/buzz", "https://www.googleapis.com/auth/buzz.readonly"], "parameters": {"max-results": {"default": "20", "format": "uint32", "type": "integer", "location": "query"}, "c": {"type": "string", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}, "scope": {"required": true, "enum": ["@self"], "location": "path", "type": "string"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "postId": {"required": true, "type": "string", "location": "path"}}, "id": "chili.comments.list", "httpMethod": "GET", "path": "activities/{userId}/{scope}/{postId}/@comments", "response": {"$ref": "CommentFeed"}}, "update": {"scopes": ["https://www.googleapis.com/auth/buzz"], "parameters": {"userId": {"required": true, "type": "string", "location": "path"}, "abuseType": {"type": "string", "location": "query"}, "hl": {"type": "string", "location": "query"}, "commentId": {"required": true, "type": "string", "location": "path"}, "scope": {"required": true, "enum": ["@abuse", "@self"], "location": "path", "type": "string"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "postId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Comment"}, "id": "chili.comments.update", "httpMethod": "PUT", "path": "activities/{userId}/{scope}/{postId}/@comments/{commentId}", "response": {"$ref": "Comment"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/buzz"], "parameters": {"userId": {"required": true, "type": "string", "location": "path"}, "abuseType": {"type": "string", "location": "query"}, "hl": {"type": "string", "location": "query"}, "commentId": {"required": true, "type": "string", "location": "path"}, "scope": {"required": true, "enum": ["@abuse", "@self"], "location": "path", "type": "string"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "postId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Comment"}, "id": "chili.comments.patch", "httpMethod": "PATCH", "path": "activities/{userId}/{scope}/{postId}/@comments/{commentId}", "response": {"$ref": "Comment"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/buzz"], "parameters": {"commentId": {"required": true, "type": "string", "location": "path"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "postId": {"required": true, "type": "string", "location": "path"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "httpMethod": "DELETE", "path": "activities/{userId}/@self/{postId}/@comments/{commentId}", "id": "chili.comments.delete"}}}', true));
     $this->photos = new PhotosServiceResource($this, $this->serviceName, 'photos', json_decode('{"methods": {"insert2": {"scopes": ["https://www.googleapis.com/auth/picasa"], "parameters": {"albumId": {"required": true, "type": "string", "location": "path"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "mediaUpload": {"maxSize": "30MB", "accept": ["image/*"], "protocols": {"simple": {"path": "upload/photos/{userId}/@self/{albumId}/@photos", "multipart": true}, "resumable": {"path": "resumable/upload/photos/{userId}/@self/{albumId}/@photos", "multipart": true}}}, "request": {"$ref": "ChiliPhotosResourceJson"}, "id": "chili.photos.insert2", "httpMethod": "POST", "path": "photos/{userId}/@self/{albumId}/@photos", "response": {"$ref": "ChiliPhotosResourceJson"}}, "insert": {"scopes": ["https://www.googleapis.com/auth/buzz"], "parameters": {"albumId": {"required": true, "type": "string", "location": "path"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "mediaUpload": {"maxSize": "30MB", "accept": ["image/*"], "protocols": {"simple": {"path": "upload/photos/{userId}/{albumId}", "multipart": true}, "resumable": {"path": "resumable/upload/photos/{userId}/{albumId}", "multipart": true}}}, "request": {"$ref": "AlbumLite"}, "id": "chili.photos.insert", "httpMethod": "POST", "path": "photos/{userId}/{albumId}", "response": {"$ref": "AlbumLite"}}, "get": {"scopes": ["https://www.googleapis.com/auth/picasa"], "parameters": {"albumId": {"required": true, "type": "string", "location": "path"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "photoId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}}, "id": "chili.photos.get", "httpMethod": "GET", "path": "photos/{userId}/@self/{albumId}/@photos/{photoId}", "response": {"$ref": "ChiliPhotosResourceJson"}}, "listByScope": {"scopes": ["https://www.googleapis.com/auth/picasa"], "parameters": {"max-results": {"default": "20", "format": "uint32", "type": "integer", "location": "query"}, "c": {"type": "string", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}, "scope": {"required": true, "enum": ["@recent"], "location": "path", "type": "string"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}}, "id": "chili.photos.listByScope", "httpMethod": "GET", "path": "photos/{userId}/@self/{scope}/@photos", "response": {"$ref": "PhotosFeed"}}, "listByAlbum": {"scopes": ["https://www.googleapis.com/auth/picasa"], "parameters": {"max-results": {"default": "20", "format": "uint32", "type": "integer", "location": "query"}, "c": {"type": "string", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}, "albumId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}}, "id": "chili.photos.listByAlbum", "httpMethod": "GET", "path": "photos/{userId}/@self/{albumId}/@photos", "response": {"$ref": "PhotosFeed"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/picasa"], "parameters": {"albumId": {"required": true, "type": "string", "location": "path"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "photoId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE", "path": "photos/{userId}/@self/{albumId}/@photos/{photoId}", "id": "chili.photos.delete"}}}', true));
     $this->related = new RelatedServiceResource($this, $this->serviceName, 'related', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/buzz", "https://www.googleapis.com/auth/buzz.readonly"], "parameters": {"scope": {"required": true, "enum": ["@self"], "location": "path", "type": "string"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "postId": {"required": true, "type": "string", "location": "path"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "id": "chili.related.list", "httpMethod": "GET", "path": "activities/{userId}/{scope}/{postId}/@related", "response": {"$ref": "RelatedFeed"}}}}', true));
     $this->groups = new GroupsServiceResource($this, $this->serviceName, 'groups', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/buzz"], "parameters": {"alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "userId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "request": {"$ref": "Group"}, "id": "chili.groups.insert", "httpMethod": "POST", "path": "people/{userId}/@groups", "response": {"$ref": "Group"}}, "get": {"scopes": ["https://www.googleapis.com/auth/buzz", "https://www.googleapis.com/auth/buzz.readonly"], "parameters": {"alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "userId": {"required": true, "type": "string", "location": "path"}, "groupId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "id": "chili.groups.get", "httpMethod": "GET", "path": "people/{userId}/@groups/{groupId}/@self", "response": {"$ref": "Group"}}, "list": {"scopes": ["https://www.googleapis.com/auth/buzz", "https://www.googleapis.com/auth/buzz.readonly"], "parameters": {"max-results": {"default": "20", "format": "uint32", "type": "integer", "location": "query"}, "alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "userId": {"required": true, "type": "string", "location": "path"}, "c": {"type": "string", "location": "query"}, "hl": {"type": "string", "location": "query"}}, "id": "chili.groups.list", "httpMethod": "GET", "path": "people/{userId}/@groups", "response": {"$ref": "GroupFeed"}}, "update": {"scopes": ["https://www.googleapis.com/auth/buzz"], "parameters": {"alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "userId": {"required": true, "type": "string", "location": "path"}, "groupId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "request": {"$ref": "Group"}, "id": "chili.groups.update", "httpMethod": "PUT", "path": "people/{userId}/@groups/{groupId}/@self", "response": {"$ref": "Group"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/buzz"], "parameters": {"alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "userId": {"required": true, "type": "string", "location": "path"}, "groupId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "request": {"$ref": "Group"}, "id": "chili.groups.patch", "httpMethod": "PATCH", "path": "people/{userId}/@groups/{groupId}/@self", "response": {"$ref": "Group"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/buzz"], "parameters": {"alt": {"default": "atom", "enum": ["atom", "json"], "location": "query", "type": "string"}, "userId": {"required": true, "type": "string", "location": "path"}, "groupId": {"required": true, "type": "string", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "httpMethod": "DELETE", "path": "people/{userId}/@groups/{groupId}", "id": "chili.groups.delete"}}}', true));
 }
Ejemplo n.º 14
0
 /**
  * Constructs the internal representation of the Latitude service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/latitude/v1/';
     $this->version = 'v1';
     $this->serviceName = 'latitude';
     $this->io = $apiClient->getIo();
     $apiClient->addService($this->serviceName, $this->version);
     $this->currentLocation = new CurrentLocationServiceResource($this, $this->serviceName, 'currentLocation', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/latitude.all.best", "https://www.googleapis.com/auth/latitude.all.city", "https://www.googleapis.com/auth/latitude.current.best", "https://www.googleapis.com/auth/latitude.current.city"], "request": {"$ref": "LatitudeCurrentlocationResourceJson"}, "response": {"$ref": "LatitudeCurrentlocationResourceJson"}, "httpMethod": "POST", "path": "currentLocation", "id": "latitude.currentLocation.insert"}, "delete": {"id": "latitude.currentLocation.delete", "path": "currentLocation", "httpMethod": "DELETE", "scopes": ["https://www.googleapis.com/auth/latitude.all.best", "https://www.googleapis.com/auth/latitude.all.city", "https://www.googleapis.com/auth/latitude.current.best", "https://www.googleapis.com/auth/latitude.current.city"]}, "get": {"scopes": ["https://www.googleapis.com/auth/latitude.all.best", "https://www.googleapis.com/auth/latitude.all.city", "https://www.googleapis.com/auth/latitude.current.best", "https://www.googleapis.com/auth/latitude.current.city"], "parameters": {"granularity": {"type": "string", "location": "query"}}, "response": {"$ref": "LatitudeCurrentlocationResourceJson"}, "httpMethod": "GET", "path": "currentLocation", "id": "latitude.currentLocation.get"}}}', true));
     $this->location = new LocationServiceResource($this, $this->serviceName, 'location', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/latitude.all.best", "https://www.googleapis.com/auth/latitude.all.city"], "request": {"$ref": "Location"}, "response": {"$ref": "Location"}, "httpMethod": "POST", "path": "location", "id": "latitude.location.insert"}, "delete": {"scopes": ["https://www.googleapis.com/auth/latitude.all.best", "https://www.googleapis.com/auth/latitude.all.city"], "parameters": {"locationId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE", "path": "location/{locationId}", "id": "latitude.location.delete"}, "list": {"scopes": ["https://www.googleapis.com/auth/latitude.all.best", "https://www.googleapis.com/auth/latitude.all.city"], "parameters": {"max-results": {"type": "string", "location": "query"}, "max-time": {"type": "string", "location": "query"}, "min-time": {"type": "string", "location": "query"}, "granularity": {"type": "string", "location": "query"}}, "response": {"$ref": "LocationFeed"}, "httpMethod": "GET", "path": "location", "id": "latitude.location.list"}, "get": {"scopes": ["https://www.googleapis.com/auth/latitude.all.best", "https://www.googleapis.com/auth/latitude.all.city"], "parameters": {"locationId": {"required": true, "type": "string", "location": "path"}, "granularity": {"type": "string", "location": "query"}}, "id": "latitude.location.get", "httpMethod": "GET", "path": "location/{locationId}", "response": {"$ref": "Location"}}}}', true));
 }
 /**
  * Constructs the internal representation of the Moderator service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->restBasePath = '/moderator/v1/';
     $this->version = 'v1';
     $this->serviceName = 'moderator';
     $apiClient->addService($this->serviceName, $this->version);
     $this->votes = new VotesServiceResource($this, $this->serviceName, 'votes', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "unauthToken": {"type": "string", "location": "query"}, "submissionId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}}, "request": {"$ref": "Vote"}, "id": "moderator.votes.insert", "httpMethod": "POST", "path": "series/{seriesId}/submissions/{submissionId}/votes/@me", "response": {"$ref": "Vote"}}, "get": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "userId": {"type": "string", "location": "query"}, "unauthToken": {"type": "string", "location": "query"}, "submissionId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}}, "id": "moderator.votes.get", "httpMethod": "GET", "path": "series/{seriesId}/submissions/{submissionId}/votes/@me", "response": {"$ref": "Vote"}}, "list": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"max-results": {"format": "uint32", "type": "integer", "location": "query"}, "seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "start-index": {"format": "uint32", "type": "integer", "location": "query"}}, "id": "moderator.votes.list", "httpMethod": "GET", "path": "series/{seriesId}/votes/@me", "response": {"$ref": "VoteList"}}, "update": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "userId": {"type": "string", "location": "query"}, "unauthToken": {"type": "string", "location": "query"}, "submissionId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}}, "request": {"$ref": "Vote"}, "id": "moderator.votes.update", "httpMethod": "PUT", "path": "series/{seriesId}/submissions/{submissionId}/votes/@me", "response": {"$ref": "Vote"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "userId": {"type": "string", "location": "query"}, "unauthToken": {"type": "string", "location": "query"}, "submissionId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}}, "request": {"$ref": "Vote"}, "id": "moderator.votes.patch", "httpMethod": "PATCH", "path": "series/{seriesId}/submissions/{submissionId}/votes/@me", "response": {"$ref": "Vote"}}}}', true));
     $this->responses = new ResponsesServiceResource($this, $this->serviceName, 'responses', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "parentSubmissionId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "unauthToken": {"type": "string", "location": "query"}, "anonymous": {"type": "boolean", "location": "query"}, "topicId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}}, "request": {"$ref": "Submission"}, "id": "moderator.responses.insert", "httpMethod": "POST", "path": "series/{seriesId}/topics/{topicId}/submissions/{parentSubmissionId}/responses", "response": {"$ref": "Submission"}}, "list": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"max-results": {"format": "uint32", "type": "integer", "location": "query"}, "sort": {"type": "string", "location": "query"}, "seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "author": {"type": "string", "location": "query"}, "start-index": {"format": "uint32", "type": "integer", "location": "query"}, "submissionId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "q": {"type": "string", "location": "query"}, "hasAttachedVideo": {"type": "boolean", "location": "query"}}, "id": "moderator.responses.list", "httpMethod": "GET", "path": "series/{seriesId}/submissions/{submissionId}/responses", "response": {"$ref": "SubmissionList"}}}}', true));
     $this->tags = new TagsServiceResource($this, $this->serviceName, 'tags', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "submissionId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}}, "request": {"$ref": "Tag"}, "id": "moderator.tags.insert", "httpMethod": "POST", "path": "series/{seriesId}/submissions/{submissionId}/tags", "response": {"$ref": "Tag"}}, "list": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "submissionId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}}, "id": "moderator.tags.list", "httpMethod": "GET", "path": "series/{seriesId}/submissions/{submissionId}/tags", "response": {"$ref": "TagList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "tagId": {"required": true, "type": "string", "location": "path"}, "submissionId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}}, "httpMethod": "DELETE", "path": "series/{seriesId}/submissions/{submissionId}/tags/{tagId}", "id": "moderator.tags.delete"}}}', true));
     $this->series = new SeriesServiceResource($this, $this->serviceName, 'series', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/moderator"], "request": {"$ref": "Series"}, "response": {"$ref": "Series"}, "httpMethod": "POST", "path": "series", "id": "moderator.series.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}}, "id": "moderator.series.get", "httpMethod": "GET", "path": "series/{seriesId}", "response": {"$ref": "Series"}}, "list": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"max-results": {"format": "uint32", "type": "integer", "location": "query"}, "q": {"type": "string", "location": "query"}, "start-index": {"format": "uint32", "type": "integer", "location": "query"}}, "response": {"$ref": "SeriesList"}, "httpMethod": "GET", "path": "series", "id": "moderator.series.list"}, "update": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}}, "request": {"$ref": "Series"}, "id": "moderator.series.update", "httpMethod": "PUT", "path": "series/{seriesId}", "response": {"$ref": "Series"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}}, "request": {"$ref": "Series"}, "id": "moderator.series.patch", "httpMethod": "PATCH", "path": "series/{seriesId}", "response": {"$ref": "Series"}}}}', true));
     $this->series_submissions = new SeriesSubmissionsServiceResource($this, $this->serviceName, 'submissions', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"lang": {"type": "string", "location": "query"}, "max-results": {"format": "uint32", "type": "integer", "location": "query"}, "seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "author": {"type": "string", "location": "query"}, "start-index": {"format": "uint32", "type": "integer", "location": "query"}, "includeVotes": {"type": "boolean", "location": "query"}, "sort": {"type": "string", "location": "query"}, "q": {"type": "string", "location": "query"}, "hasAttachedVideo": {"type": "boolean", "location": "query"}}, "id": "moderator.series.submissions.list", "httpMethod": "GET", "path": "series/{seriesId}/submissions", "response": {"$ref": "SubmissionList"}}}}', true));
     $this->series_responses = new SeriesResponsesServiceResource($this, $this->serviceName, 'responses', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"max-results": {"format": "uint32", "type": "integer", "location": "query"}, "sort": {"type": "string", "location": "query"}, "seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "author": {"type": "string", "location": "query"}, "start-index": {"format": "uint32", "type": "integer", "location": "query"}, "q": {"type": "string", "location": "query"}, "hasAttachedVideo": {"type": "boolean", "location": "query"}}, "id": "moderator.series.responses.list", "httpMethod": "GET", "path": "series/{seriesId}/responses", "response": {"$ref": "SeriesList"}}}}', true));
     $this->topics = new TopicsServiceResource($this, $this->serviceName, 'topics', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}}, "request": {"$ref": "Topic"}, "id": "moderator.topics.insert", "httpMethod": "POST", "path": "series/{seriesId}/topics", "response": {"$ref": "Topic"}}, "list": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"max-results": {"format": "uint32", "type": "integer", "location": "query"}, "q": {"type": "string", "location": "query"}, "start-index": {"format": "uint32", "type": "integer", "location": "query"}, "mode": {"type": "string", "location": "query"}, "seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}}, "id": "moderator.topics.list", "httpMethod": "GET", "path": "series/{seriesId}/topics", "response": {"$ref": "TopicList"}}, "update": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "topicId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}}, "request": {"$ref": "Topic"}, "id": "moderator.topics.update", "httpMethod": "PUT", "path": "series/{seriesId}/topics/{topicId}", "response": {"$ref": "Topic"}}, "get": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "topicId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}}, "id": "moderator.topics.get", "httpMethod": "GET", "path": "series/{seriesId}/topics/{topicId}", "response": {"$ref": "Topic"}}}}', true));
     $this->topics_submissions = new TopicsSubmissionsServiceResource($this, $this->serviceName, 'submissions', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"max-results": {"format": "uint32", "type": "integer", "location": "query"}, "seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "includeVotes": {"type": "boolean", "location": "query"}, "topicId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "start-index": {"format": "uint32", "type": "integer", "location": "query"}, "author": {"type": "string", "location": "query"}, "sort": {"type": "string", "location": "query"}, "q": {"type": "string", "location": "query"}, "hasAttachedVideo": {"type": "boolean", "location": "query"}}, "id": "moderator.topics.submissions.list", "httpMethod": "GET", "path": "series/{seriesId}/topics/{topicId}/submissions", "response": {"$ref": "SubmissionList"}}}}', true));
     $this->global_series = new ModeratorGlobalSeriesServiceResource($this, $this->serviceName, 'series', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"max-results": {"format": "uint32", "type": "integer", "location": "query"}, "q": {"type": "string", "location": "query"}, "start-index": {"format": "uint32", "type": "integer", "location": "query"}}, "response": {"$ref": "SeriesList"}, "httpMethod": "GET", "path": "search", "id": "moderator.global.series.list"}}}', true));
     $this->profiles = new ProfilesServiceResource($this, $this->serviceName, 'profiles', json_decode('{"methods": {"get": {"scopes": ["https://www.googleapis.com/auth/moderator"], "id": "moderator.profiles.get", "httpMethod": "GET", "path": "profiles/@me", "response": {"$ref": "Profile"}}, "update": {"scopes": ["https://www.googleapis.com/auth/moderator"], "request": {"$ref": "Profile"}, "response": {"$ref": "Profile"}, "httpMethod": "PUT", "path": "profiles/@me", "id": "moderator.profiles.update"}, "patch": {"scopes": ["https://www.googleapis.com/auth/moderator"], "request": {"$ref": "Profile"}, "response": {"$ref": "Profile"}, "httpMethod": "PATCH", "path": "profiles/@me", "id": "moderator.profiles.patch"}}}', true));
     $this->featured_series = new FeaturedSeriesServiceResource($this, $this->serviceName, 'series', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/moderator"], "id": "moderator.featured.series.list", "httpMethod": "GET", "path": "series/featured", "response": {"$ref": "SeriesList"}}}}', true));
     $this->myrecent_series = new MyrecentSeriesServiceResource($this, $this->serviceName, 'series', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/moderator"], "id": "moderator.myrecent.series.list", "httpMethod": "GET", "path": "series/@me/recent", "response": {"$ref": "SeriesList"}}}}', true));
     $this->my_series = new MySeriesServiceResource($this, $this->serviceName, 'series', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/moderator"], "id": "moderator.my.series.list", "httpMethod": "GET", "path": "series/@me/mine", "response": {"$ref": "SeriesList"}}}}', true));
     $this->submissions = new SubmissionsServiceResource($this, $this->serviceName, 'submissions', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "topicId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "unauthToken": {"type": "string", "location": "query"}, "anonymous": {"type": "boolean", "location": "query"}}, "request": {"$ref": "Submission"}, "id": "moderator.submissions.insert", "httpMethod": "POST", "path": "series/{seriesId}/topics/{topicId}/submissions", "response": {"$ref": "Submission"}}, "get": {"scopes": ["https://www.googleapis.com/auth/moderator"], "parameters": {"lang": {"type": "string", "location": "query"}, "seriesId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "includeVotes": {"type": "boolean", "location": "query"}, "submissionId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}}, "id": "moderator.submissions.get", "httpMethod": "GET", "path": "series/{seriesId}/submissions/{submissionId}", "response": {"$ref": "Submission"}}}}', true));
 }
Ejemplo n.º 16
0
 /**
  * Constructs the internal representation of the Oauth2 service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/';
     $this->version = 'v2';
     $this->serviceName = 'oauth2';
     $apiClient->addService($this->serviceName, $this->version);
     $this->userinfo = new UserinfoServiceResource($this, $this->serviceName, 'userinfo', json_decode('{"methods": {"get": {"path": "oauth2/v2/userinfo", "response": {"$ref": "Userinfo"}, "httpMethod": "GET", "id": "oauth2.userinfo.get"}}}', true));
     $this->userinfo_v2 = new UserinfoV2ServiceResource($this, $this->serviceName, 'v2', json_decode('{}', true));
     $this->tokeninfo = new TokeninfoServiceResource($this, $this->serviceName, 'tokeninfo', json_decode('{"id": "oauth2.tokeninfo", "path": "oauth2/v2/tokeninfo", "response": {"$ref": "Tokeninfo"}, "parameters": {"access_token": {"type": "string", "location": "query"}, "id_token": {"type": "string", "location": "query"}}, "httpMethod": "GET"}', true));
 }
 /**
  * Constructs the internal representation of the Metadataandsearchapi service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/';
     $this->version = '1.0';
     $this->serviceName = 'metadataandsearchapi';
     $this->io = $apiClient->getIo();
     $apiClient->addService($this->serviceName, $this->version);
     $this->MovieMethods = new MovieMethodsServiceResource($this, $this->serviceName, 'MovieMethods', json_decode('{"methods": {"Info": {"path": "data/v1/movie/info", "httpMethod": "GET", "id": "Movie.Info", "parameters": {"movieid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "integer", "location": "query"}, "movie": {"default": "", "required": false, "type": "string", "location": "query"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Videos": {"path": "data/v1/movie/videos", "httpMethod": "GET", "id": "Movie.Videos", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "movieid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "movie": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "integer", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}}}, "Releases": {"path": "data/v1/movie/releases", "httpMethod": "GET", "id": "Movie.Releases", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "movieid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "movie": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "integer", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}}}, "Review": {"path": "data/v1/movie/review", "httpMethod": "GET", "id": "Movie.Review", "parameters": {"movieid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "movie": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "integer", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}}}, "Keywords": {"path": "data/v1/movie/keywords", "httpMethod": "GET", "id": "Movie.Keywords", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "movieid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "movie": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "integer", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}}}, "Related": {"path": "data/v1/movie/related", "httpMethod": "GET", "id": "Movie.Related", "parameters": {"movieid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "movie": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "integer", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}}}, "Crew": {"path": "data/v1/movie/crew", "httpMethod": "GET", "id": "Movie.Crew", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "movieid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "movie": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "integer", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}}}, "Themes": {"path": "data/v1/movie/themes", "httpMethod": "GET", "id": "Movie.Themes", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "movieid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "movie": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "integer", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}}}, "Cast": {"path": "data/v1/movie/cast", "httpMethod": "GET", "id": "Movie.Cast", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "movieid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "movie": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "integer", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}}}, "Synopsis": {"path": "data/v1/movie/synopsis", "httpMethod": "GET", "id": "Movie.Synopsis", "parameters": {"movieid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "movie": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "integer", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}}}, "Moods": {"path": "data/v1/movie/moods", "httpMethod": "GET", "id": "Movie.Moods", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "movieid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "movie": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "integer", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}}}, "Tones": {"path": "data/v1/movie/tones", "httpMethod": "GET", "id": "Movie.Tones", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "movieid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "movie": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "integer", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}}}, "Images": {"path": "data/v1/movie/images", "httpMethod": "GET", "id": "Movie.Images", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "movieid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "movie": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "integer", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}}}, "Types": {"path": "data/v1/movie/types", "httpMethod": "GET", "id": "Movie.Types", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "movieid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "movie": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "integer", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}}}}}', true));
     $this->DescriptorMethods = new DescriptorMethodsServiceResource($this, $this->serviceName, 'DescriptorMethods', json_decode('{"methods": {"SignificantArtists": {"path": "data/v1/descriptor/significantartists", "httpMethod": "GET", "id": "Descriptor.SignificantArtists", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "genreids": {"default": "", "required": true, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "Genres": {"path": "data/v1/descriptor/genres", "httpMethod": "GET", "id": "Descriptor.Genres", "parameters": {"country": {"default": "US", "required": false, "type": "string", "location": "query"}, "genreids": {"default": "", "required": false, "type": "string", "location": "query"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}}}, "Subgenres": {"path": "data/v1/descriptor/subgenres", "httpMethod": "GET", "id": "Descriptor.Subgenres", "parameters": {"country": {"default": "US", "required": false, "type": "string", "location": "query"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}, "subgenreids": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}}}, "SignificantComposers": {"path": "data/v1/descriptor/significantcomposers", "httpMethod": "GET", "id": "Descriptor.SignificantComposers", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "genreids": {"default": "", "required": true, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "MusicStyles": {"path": "data/v1/descriptor/styles", "httpMethod": "GET", "id": "Descriptor.MusicStyles", "parameters": {"country": {"default": "US", "required": false, "type": "string", "location": "query"}, "styleids": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}}}, "SignificantCompositions": {"path": "data/v1/descriptor/significantcompositions", "httpMethod": "GET", "id": "Descriptor.SignificantCompositions", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "genreids": {"default": "", "required": true, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "MusicGenres": {"path": "data/v1/descriptor/musicgenres", "httpMethod": "GET", "id": "Descriptor.MusicGenres", "parameters": {"country": {"default": "US", "required": false, "type": "string", "location": "query"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}}}, "SignificantSongs": {"path": "data/v1/descriptor/significantsongs", "httpMethod": "GET", "id": "Descriptor.SignificantSongs", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "genreids": {"default": "", "required": true, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "SignificantMovies": {"path": "data/v1/descriptor/significantmovies", "httpMethod": "GET", "id": "Descriptor.SignificantMovies", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "genreids": {"default": "", "required": true, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "MovieGenres": {"path": "data/v1/descriptor/moviegenres", "httpMethod": "GET", "id": "Descriptor.MovieGenres", "parameters": {"country": {"default": "US", "required": false, "type": "string", "location": "query"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}}}, "SignificantAlbums": {"path": "data/v1/descriptor/significantalbums", "httpMethod": "GET", "id": "Descriptor.SignificantAlbums", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "genreids": {"default": "", "required": true, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}}}', true));
     $this->RecommendationMethods = new RecommendationMethodsServiceResource($this, $this->serviceName, 'RecommendationMethods', json_decode('{"methods": {"Similar": {"path": "recs/v2.1{endpoint}/similar", "httpMethod": "GET", "id": "Recommendations.Similar", "parameters": {"cosmoprogramid": {"default": "", "required": false, "type": "string", "location": "query"}, "endpoint": {"required": true, "default": "", "enum": ["music", "amgvideo", "video"], "location": "path", "type": "string"}, "end": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "albumid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "rep": {"default": 1, "required": false, "type": "integer", "location": "query"}, "entitytype": {"required": true, "default": "", "enum": ["album", "artist", "movie", "tvseries", "movie", "tvseries"], "location": "query", "type": "string"}, "filter": {"default": "", "required": false, "type": "string", "location": "query"}, "start": {"default": "", "required": false, "type": "string", "location": "query"}, "amgvideoid": {"default": "", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "clu": {"default": "", "required": false, "type": "string", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "size": {"default": 20, "required": false, "type": "integer", "location": "query"}}}}}', true));
     $this->AlbumMethods = new AlbumMethodsServiceResource($this, $this->serviceName, 'AlbumMethods', json_decode('{"methods": {"Info": {"path": "data/v1/album/info", "httpMethod": "GET", "id": "Album.Info", "parameters": {"album": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "albumid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Styles": {"path": "data/v1/album/styles", "httpMethod": "GET", "id": "Album.Styles", "parameters": {"album": {"default": "", "required": false, "type": "string", "location": "query"}, "count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "albumid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "Releases": {"path": "data/v1/album/releases", "httpMethod": "GET", "id": "Album.Releases", "parameters": {"album": {"default": "", "required": false, "type": "string", "location": "query"}, "count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "albumid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "ClassicalReview": {"path": "data/v1/album/classicalreview", "httpMethod": "GET", "id": "Album.ClassicalReview", "parameters": {"album": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "albumid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "PrimaryReview": {"path": "data/v1/album/primaryreview", "httpMethod": "GET", "id": "Album.PrimaryReview", "parameters": {"album": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "albumid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Themes": {"path": "data/v1/album/themes", "httpMethod": "GET", "id": "Album.Themes", "parameters": {"album": {"default": "", "required": false, "type": "string", "location": "query"}, "count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "albumid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "Credits": {"path": "data/v1/album/credits", "httpMethod": "GET", "id": "Album.Credits", "parameters": {"album": {"default": "", "required": false, "type": "string", "location": "query"}, "count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "albumid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "Tracks": {"path": "data/v1/album/tracks", "httpMethod": "GET", "id": "Album.Tracks", "parameters": {"album": {"default": "", "required": false, "type": "string", "location": "query"}, "count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "albumid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "Moods": {"path": "data/v1/album/moods", "httpMethod": "GET", "id": "Album.Moods", "parameters": {"album": {"default": "", "required": false, "type": "string", "location": "query"}, "count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "albumid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "Images": {"path": "data/v1/album/images", "httpMethod": "GET", "id": "Album.Images", "parameters": {"album": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "albumid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}}}}}', true));
     $this->PerformanceMethods = new PerformanceMethodsServiceResource($this, $this->serviceName, 'PerformanceMethods', json_decode('{"methods": {"Info": {"path": "data/v1/performance/info", "httpMethod": "GET", "id": "Performance.Info", "parameters": {"language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "performanceid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Credits": {"path": "data/v1/performance/credits", "httpMethod": "GET", "id": "Performance.Credits", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "performanceid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "Release": {"path": "data/v1/performance/release", "httpMethod": "GET", "id": "Performance.Release", "parameters": {"country": {"default": "US", "required": false, "type": "string", "location": "query"}, "performanceid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}}}, "Images": {"path": "data/v1/performance/images", "httpMethod": "GET", "id": "Performance.Images", "parameters": {"country": {"default": "US", "required": false, "type": "string", "location": "query"}, "performanceid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}}}, "Composition": {"path": "data/v1/performance/composition", "httpMethod": "GET", "id": "Performance.Composition", "parameters": {"country": {"default": "US", "required": false, "type": "string", "location": "query"}, "performanceid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}}}}}', true));
     $this->SearchMethods = new SearchMethodsServiceResource($this, $this->serviceName, 'SearchMethods', json_decode('{"methods": {"Search": {"path": "search/v2.1/{endpoint}/search", "httpMethod": "GET", "id": "Search.Search", "parameters": {"facet": {"required": false, "default": "", "enum": ["", "type", "genre"], "location": "query", "type": "string"}, "endpoint": {"required": true, "default": "", "enum": ["music", "amgvideo", "video"], "location": "path", "type": "string"}, "end": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "rep": {"default": 1, "required": false, "type": "integer", "location": "query"}, "entitytype": {"required": true, "default": "", "enum": ["album", "song", "artist", "movie", "tvseries", "credit", "movie", "tvseries", "onetimeonly", "credit"], "location": "query", "type": "string"}, "filter": {"default": "", "required": false, "type": "string", "location": "query"}, "start": {"default": "", "required": false, "type": "string", "location": "query"}, "query": {"default": "", "required": true, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "clu": {"default": "", "required": false, "type": "string", "location": "query"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}, "size": {"default": 20, "required": false, "type": "integer", "location": "query"}}}, "FilterBrowse": {"path": "search/v2.1{endpoint}/filterbrowse", "httpMethod": "GET", "id": "Search.FilterBrowse", "parameters": {"facet": {"required": false, "default": "", "enum": ["", "type", "genre"], "location": "query", "type": "string"}, "endpoint": {"required": true, "default": "", "enum": ["music", "amgvideo", "video"], "location": "path", "type": "string"}, "end": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "rep": {"default": 1, "required": false, "type": "integer", "location": "query"}, "entitytype": {"required": true, "default": "", "enum": ["album", "song", "artist", "movie", "tvseries", "credit", "movie", "tvseries", "onetimeonly", "credit"], "location": "query", "type": "string"}, "filter": {"default": "", "required": false, "type": "string", "location": "query"}, "start": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "clu": {"default": "", "required": false, "type": "string", "location": "query"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}, "size": {"default": 20, "required": false, "type": "integer", "location": "query"}}}, "SingleStageSearch": {"path": "search/v2.1{endpoint}/singlestagesearch", "httpMethod": "GET", "id": "Search.SingleStageSearch", "parameters": {"facet": {"required": false, "default": "", "enum": ["", "type", "genre"], "location": "query", "type": "string"}, "endpoint": {"required": true, "default": "", "enum": ["music", "amgvideo", "video"], "location": "path", "type": "string"}, "end": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "rep": {"default": 1, "required": false, "type": "integer", "location": "query"}, "entitytype": {"required": true, "default": "", "enum": ["album", "song", "artist", "movie", "tvseries", "credit", "movie", "tvseries", "onetimeonly", "credit"], "location": "query", "type": "string"}, "filter": {"default": "", "required": false, "type": "string", "location": "query"}, "start": {"default": "", "required": false, "type": "string", "location": "query"}, "query": {"default": "", "required": true, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "clu": {"default": "", "required": false, "type": "string", "location": "query"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}, "size": {"default": 20, "required": false, "type": "integer", "location": "query"}}}}}', true));
     $this->CompositionMethods = new CompositionMethodsServiceResource($this, $this->serviceName, 'CompositionMethods', json_decode('{"methods": {"Info": {"path": "data/v1/composition/info", "httpMethod": "GET", "id": "Composition.Info", "parameters": {"language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "compositionid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Parts": {"path": "data/v1/composition/parts", "httpMethod": "GET", "id": "Composition.Parts", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "compositionid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "Description": {"path": "data/v1/composition/description", "httpMethod": "GET", "id": "Composition.Description", "parameters": {"compositionid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}}}, "Releases": {"path": "data/v1/composition/releases", "httpMethod": "GET", "id": "Composition.Releases", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "compositionid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}}}', true));
     $this->SongMethods = new SongMethodsServiceResource($this, $this->serviceName, 'SongMethods', json_decode('{"methods": {"Info": {"path": "data/v1/song/info", "httpMethod": "GET", "id": "Song.Info", "parameters": {"language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "track": {"default": "", "required": false, "type": "string", "location": "query"}, "trackid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicaltrackid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "isrcid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpoptrackid": {"default": "", "required": false, "type": "string", "location": "query"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}, "muzeid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Appearances": {"path": "data/v1/song/appearances", "httpMethod": "GET", "id": "Song.Appearances", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "track": {"default": "", "required": false, "type": "string", "location": "query"}, "trackid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicaltrackid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "isrcid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpoptrackid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "muzeid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Review": {"path": "data/v1/song/review", "httpMethod": "GET", "id": "Song.Review", "parameters": {"language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "track": {"default": "", "required": false, "type": "string", "location": "query"}, "trackid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicaltrackid": {"default": "", "required": false, "type": "string", "location": "query"}, "isrcid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpoptrackid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "muzeid": {"default": "", "required": false, "type": "string", "location": "query"}}}}}', true));
     $this->ReleaseMethods = new ReleaseMethodsServiceResource($this, $this->serviceName, 'ReleaseMethods', json_decode('{"methods": {"Info": {"path": "data/v1/release/info", "httpMethod": "GET", "id": "Release.Info", "parameters": {"amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "upcid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "eanid": {"default": "", "required": false, "type": "string", "location": "query"}, "releaseid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Styles": {"path": "data/v1/release/styles", "httpMethod": "GET", "id": "Release.Styles", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "upcid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "eanid": {"default": "", "required": false, "type": "string", "location": "query"}, "releaseid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "Performances": {"path": "data/v1/release/performances", "httpMethod": "GET", "id": "Release.Performances", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "upcid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "eanid": {"default": "", "required": false, "type": "string", "location": "query"}, "releaseid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "ClassicalReview": {"path": "data/v1/release/classicalreview", "httpMethod": "GET", "id": "Release.ClassicalReview", "parameters": {"amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "upcid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "eanid": {"default": "", "required": false, "type": "string", "location": "query"}, "releaseid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "PrimaryReview": {"path": "data/v1/release/primaryreview", "httpMethod": "GET", "id": "Release.PrimaryReview", "parameters": {"amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "upcid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "eanid": {"default": "", "required": false, "type": "string", "location": "query"}, "releaseid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Themes": {"path": "data/v1/release/themes", "httpMethod": "GET", "id": "Release.Themes", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "upcid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "eanid": {"default": "", "required": false, "type": "string", "location": "query"}, "releaseid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "Credits": {"path": "data/v1/release/credits", "httpMethod": "GET", "id": "Release.Credits", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "upcid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "eanid": {"default": "", "required": false, "type": "string", "location": "query"}, "releaseid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "Tracks": {"path": "data/v1/release/tracks", "httpMethod": "GET", "id": "Release.Tracks", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "upcid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "eanid": {"default": "", "required": false, "type": "string", "location": "query"}, "releaseid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "Moods": {"path": "data/v1/release/moods", "httpMethod": "GET", "id": "Release.Moods", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "upcid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "eanid": {"default": "", "required": false, "type": "string", "location": "query"}, "releaseid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}}}, "Images": {"path": "data/v1/release/images", "httpMethod": "GET", "id": "Release.Images", "parameters": {"amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "upcid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "eanid": {"default": "", "required": false, "type": "string", "location": "query"}, "releaseid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}}}}}', true));
     $this->NameMethods = new NameMethodsServiceResource($this, $this->serviceName, 'NameMethods', json_decode('{"methods": {"Web": {"path": "data/v1/name/web", "httpMethod": "GET", "id": "Name.Web", "parameters": {"name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "MemberOf": {"path": "data/v1/name/memberof", "httpMethod": "GET", "id": "Name.MemberOf", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "GroupMembers": {"path": "data/v1/name/groupmembers", "httpMethod": "GET", "id": "Name.GroupMembers", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Followers": {"path": "data/v1/name/followers", "httpMethod": "GET", "id": "Name.Followers", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "CollaboratorWith": {"path": "data/v1/name/collaboratorwith", "httpMethod": "GET", "id": "Name.CollaboratorWith", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Contemporaries": {"path": "data/v1/name/contemporaries", "httpMethod": "GET", "id": "Name.Contemporaries", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Similars": {"path": "data/v1/name/similars", "httpMethod": "GET", "id": "Name.Similars", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "ClassicalBio": {"path": "data/v1/name/classicalbio", "httpMethod": "GET", "id": "Name.ClassicalBio", "parameters": {"name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Filmography": {"path": "data/v1/name/filmography", "httpMethod": "GET", "id": "Name.Filmography", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Moods": {"path": "data/v1/name/moods", "httpMethod": "GET", "id": "Name.Moods", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "MovieBio": {"path": "data/v1/name/moviebio", "httpMethod": "GET", "id": "Name.MovieBio", "parameters": {"name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Compositions": {"path": "data/v1/name/compositions", "httpMethod": "GET", "id": "Name.Compositions", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Info": {"path": "data/v1/name/info", "httpMethod": "GET", "id": "Name.Info", "parameters": {"name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "sourceid": {"default": "", "required": false, "type": "string", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "sourceinclude": {"required": false, "default": "", "enum": ["", "HD", "PPV", "Music"], "location": "query", "type": "string"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "formatid": {"default": "", "required": false, "type": "string", "location": "query"}, "serviceid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "starttime": {"default": "", "required": false, "type": "string", "location": "query"}, "duration": {"default": 10080, "required": false, "type": "integer", "location": "query"}, "inprogress": {"required": false, "default": false, "enum": ["true", "false"], "location": "query", "type": "boolean"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}, "type": {"default": "", "required": false, "type": "string", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "sourceexclude": {"required": false, "default": "", "enum": ["", "HD", "PPV", "Music"], "location": "query", "type": "string"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "MusicCredits": {"path": "data/v1/name/musiccredits", "httpMethod": "GET", "id": "Name.MusicCredits", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "MusicBio": {"path": "data/v1/name/musicbio", "httpMethod": "GET", "id": "Name.MusicBio", "parameters": {"name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "AssociatedWith": {"path": "data/v1/name/associatedwith", "httpMethod": "GET", "id": "Name.AssociatedWith", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "MusicStyles": {"path": "data/v1/name/musicstyles", "httpMethod": "GET", "id": "Name.MusicStyles", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Songs": {"path": "data/v1/name/songs", "httpMethod": "GET", "id": "Name.Songs", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "MovieStyles": {"path": "data/v1/name/moviestyles", "httpMethod": "GET", "id": "Name.MovieStyles", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Videos": {"path": "data/v1/name/videos", "httpMethod": "GET", "id": "Name.Videos", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Influencers": {"path": "data/v1/name/influencers", "httpMethod": "GET", "id": "Name.Influencers", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Themes": {"path": "data/v1/name/themes", "httpMethod": "GET", "id": "Name.Themes", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Discography": {"path": "data/v1/name/discography", "httpMethod": "GET", "id": "Name.Discography", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "type": {"required": false, "default": "", "enum": ["", "main", "video", "singles", "compilations", "others"], "location": "query", "type": "string"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Images": {"path": "data/v1/name/images", "httpMethod": "GET", "id": "Name.Images", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "formatid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Aliases": {"path": "data/v1/name/aliases", "httpMethod": "GET", "id": "Name.Aliases", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "name": {"default": "", "required": false, "type": "string", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "amgmovieid": {"default": "", "required": false, "type": "string", "location": "query"}, "cosmoid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgclassicalid": {"default": "", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "nameid": {"default": "", "required": false, "type": "string", "location": "query"}, "amgpopid": {"default": "", "required": false, "type": "string", "location": "query"}}}}}', true));
     $this->MatchMethods = new MatchMethodsServiceResource($this, $this->serviceName, 'MatchMethods', json_decode('{"methods": {"MatchFilename": {"path": "recognition/v2.1/{catalog}/match/filename", "httpMethod": "GET", "id": "Match.MatchFilename", "parameters": {"name": {"default": "", "required": true, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "entitytype": {"required": false, "default": "", "enum": ["tvseries", "movie"], "location": "query", "type": "string"}, "catalog": {"required": true, "default": "", "enum": ["music", "video"], "location": "path", "type": "string"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}, "size": {"default": 20, "required": false, "type": "integer", "location": "query"}}}, "MatchVideo": {"path": "recognition/v2.1/{catalog}/match/video", "httpMethod": "GET", "id": "Match.MatchVideo", "parameters": {"rating": {"required": false, "default": "", "enum": ["None", "TV-Y", "TV-Y7", "TV-G", "TV-PG", "TV-14", "TV-MA", "NR", "G", "PG", "PG-13", "R", "NC-17", "X"], "location": "query", "type": "string"}, "runtime": {"default": "", "required": false, "type": "integer", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "entitytype": {"required": false, "default": "", "enum": ["movie", "tvseries", "movie", "tvseries", "onetimeonly"], "location": "query", "type": "string"}, "catalog": {"required": true, "default": "", "enum": ["amgvideo", "video"], "location": "path", "type": "string"}, "releaseyear": {"default": "", "required": false, "type": "integer", "location": "query"}, "title": {"default": "", "required": true, "type": "string", "location": "query"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}, "size": {"default": 20, "required": false, "type": "integer", "location": "query"}}}, "MatchTrack": {"path": "recognition/v2.1/music/match/track", "httpMethod": "GET", "id": "Match.MatchTrack", "parameters": {"name": {"default": "", "required": true, "type": "string", "location": "query"}, "sequencenumber": {"default": "", "required": false, "type": "integer", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "seconds": {"default": "", "required": false, "type": "integer", "location": "query"}, "albumtitle": {"default": "", "required": false, "type": "string", "location": "query"}, "performername": {"default": "", "required": false, "type": "string", "location": "query"}, "isrc": {"default": "", "required": false, "type": "string", "location": "query"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}, "medianumber": {"default": "", "required": false, "type": "integer", "location": "query"}, "size": {"default": 20, "required": false, "type": "integer", "location": "query"}}}, "MatchAlbum": {"path": "recognition/v2.1/music/match/album", "httpMethod": "GET", "id": "Match.MatchAlbum", "parameters": {"name": {"default": "", "required": true, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "ean": {"default": "", "required": false, "type": "string", "location": "query"}, "upc": {"default": "", "required": false, "type": "string", "location": "query"}, "numtracks": {"default": "", "required": false, "type": "integer", "location": "query"}, "releasedate": {"default": "", "required": false, "type": "string", "location": "query"}, "performername": {"default": "", "required": false, "type": "string", "location": "query"}, "labelname": {"default": "", "required": false, "type": "string", "location": "query"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}, "size": {"default": 20, "required": false, "type": "integer", "location": "query"}}}, "MatchName": {"path": "recognition/v2.1/{catalog}/match/name", "httpMethod": "GET", "id": "Match.MatchName", "parameters": {"deathdate": {"default": "", "required": false, "type": "string", "location": "query"}, "name": {"default": "", "required": true, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "birthdate": {"default": "", "required": false, "type": "string", "location": "query"}, "catalog": {"required": true, "default": "", "enum": ["music", "amgvideo", "video"], "location": "path", "type": "string"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}, "size": {"default": 20, "required": false, "type": "integer", "location": "query"}}}}}', true));
     $this->MovieReleaseMethods = new MovieReleaseMethodsServiceResource($this, $this->serviceName, 'MovieReleaseMethods', json_decode('{"methods": {"Info": {"path": "data/v1/movierelease/info", "httpMethod": "GET", "id": "MovieRelease.Info", "parameters": {"language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "upcid": {"default": "", "required": false, "type": "integer", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "moviereleaseid": {"default": "", "required": false, "type": "integer", "location": "query"}, "include": {"default": "", "required": false, "type": "string", "location": "query"}}}, "Images": {"path": "data/v1/movierelease/images", "httpMethod": "GET", "id": "MovieRelease.Images", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "upcid": {"default": "", "required": false, "type": "integer", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "moviereleaseid": {"default": "", "required": false, "type": "integer", "location": "query"}}}, "Description": {"path": "data/v1/movierelease/description", "httpMethod": "GET", "id": "MovieRelease.Description", "parameters": {"upcid": {"default": "", "required": false, "type": "integer", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "moviereleaseid": {"default": "", "required": false, "type": "integer", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}}}, "Videos": {"path": "data/v1/movierelease/videos", "httpMethod": "GET", "id": "MovieRelease.Videos", "parameters": {"count": {"default": 0, "required": false, "type": "integer", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}, "upcid": {"default": "", "required": false, "type": "integer", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "offset": {"default": 0, "required": false, "type": "integer", "location": "query"}, "moviereleaseid": {"default": "", "required": false, "type": "integer", "location": "query"}}}, "Features": {"path": "data/v1/movierelease/features", "httpMethod": "GET", "id": "MovieRelease.Features", "parameters": {"upcid": {"default": "", "required": false, "type": "integer", "location": "query"}, "country": {"default": "US", "required": false, "type": "string", "location": "query"}, "moviereleaseid": {"default": "", "required": false, "type": "integer", "location": "query"}, "language": {"default": "en", "required": false, "type": "string", "location": "query"}, "format": {"required": false, "default": "json", "enum": ["json", "xml"], "location": "query", "type": "string"}}}}}', true));
 }
 /**
  * Constructs the internal representation of the Diacritize service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/language/diacritize/';
     $this->version = 'v1';
     $this->serviceName = 'diacritize';
     $this->io = $apiClient->getIo();
     $apiClient->addService($this->serviceName, $this->version);
     $this->diacritize = new DiacritizeServiceResource($this, $this->serviceName, 'diacritize', json_decode('{"resources": {"corpus": {"methods": {"get": {"parameters": {"lang": {"required": true, "type": "string", "location": "query"}, "message": {"required": true, "type": "string", "location": "query"}, "last_letter": {"required": true, "type": "boolean", "location": "query"}}, "id": "language.diacritize.corpus.get", "httpMethod": "GET", "path": "v1", "response": {"$ref": "LanguageDiacritizeCorpusResource"}}}}}}', true));
 }
Ejemplo n.º 19
0
 /**
  * Constructs the internal representation of the Urlshortener service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/urlshortener/v1/';
     $this->version = 'v1';
     $this->serviceName = 'urlshortener';
     $apiClient->addService($this->serviceName, $this->version);
     $this->url = new UrlServiceResource($this, $this->serviceName, 'url', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/urlshortener"], "request": {"$ref": "Url"}, "response": {"$ref": "Url"}, "httpMethod": "POST", "path": "url", "id": "urlshortener.url.insert"}, "list": {"scopes": ["https://www.googleapis.com/auth/urlshortener"], "parameters": {"start-token": {"type": "string", "location": "query"}, "projection": {"enum": ["ANALYTICS_CLICKS", "FULL"], "type": "string", "location": "query"}}, "response": {"$ref": "UrlHistory"}, "httpMethod": "GET", "path": "url/history", "id": "urlshortener.url.list"}, "get": {"parameters": {"shortUrl": {"required": true, "type": "string", "location": "query"}, "projection": {"enum": ["ANALYTICS_CLICKS", "ANALYTICS_TOP_STRINGS", "FULL"], "type": "string", "location": "query"}}, "id": "urlshortener.url.get", "httpMethod": "GET", "path": "url", "response": {"$ref": "Url"}}}}', true));
 }
Ejemplo n.º 20
0
 /**
  * Constructs the internal representation of the Adsense service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/adsense/v1.1/';
     $this->version = 'v1.1';
     $this->serviceName = 'adsense';
     $apiClient->addService($this->serviceName, $this->version);
     $this->urlchannels = new UrlchannelsServiceResource($this, $this->serviceName, 'urlchannels', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "adClientId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"format": "int32", "maximum": "10000", "minimum": "0", "location": "query", "type": "integer"}}, "id": "adsense.urlchannels.list", "httpMethod": "GET", "path": "adclients/{adClientId}/urlchannels", "response": {"$ref": "UrlChannels"}}}}', true));
     $this->adunits = new AdunitsServiceResource($this, $this->serviceName, 'adunits', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"includeInactive": {"type": "boolean", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "adClientId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"format": "int32", "maximum": "10000", "minimum": "0", "location": "query", "type": "integer"}}, "id": "adsense.adunits.list", "httpMethod": "GET", "path": "adclients/{adClientId}/adunits", "response": {"$ref": "AdUnits"}}, "get": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"adClientId": {"required": true, "type": "string", "location": "path"}, "adUnitId": {"required": true, "type": "string", "location": "path"}}, "id": "adsense.adunits.get", "httpMethod": "GET", "path": "adclients/{adClientId}/adunits/{adUnitId}", "response": {"$ref": "AdUnit"}}}}', true));
     $this->adunits_customchannels = new AdunitsCustomchannelsServiceResource($this, $this->serviceName, 'customchannels', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "adClientId": {"required": true, "type": "string", "location": "path"}, "adUnitId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"format": "int32", "maximum": "10000", "minimum": "0", "location": "query", "type": "integer"}}, "id": "adsense.adunits.customchannels.list", "httpMethod": "GET", "path": "adclients/{adClientId}/adunits/{adUnitId}/customchannels", "response": {"$ref": "CustomChannels"}}}}', true));
     $this->adclients = new AdclientsServiceResource($this, $this->serviceName, 'adclients', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "maxResults": {"format": "int32", "maximum": "10000", "minimum": "0", "location": "query", "type": "integer"}}, "response": {"$ref": "AdClients"}, "httpMethod": "GET", "path": "adclients", "id": "adsense.adclients.list"}}}', true));
     $this->reports = new ReportsServiceResource($this, $this->serviceName, 'reports', json_decode('{"methods": {"generate": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"sort": {"repeated": true, "type": "string", "location": "query"}, "startDate": {"required": true, "type": "string", "location": "query"}, "endDate": {"required": true, "type": "string", "location": "query"}, "locale": {"type": "string", "location": "query"}, "metric": {"repeated": true, "type": "string", "location": "query"}, "maxResults": {"format": "int32", "maximum": "50000", "minimum": "0", "location": "query", "type": "integer"}, "filter": {"repeated": true, "type": "string", "location": "query"}, "currency": {"type": "string", "location": "query"}, "startIndex": {"format": "int32", "maximum": "5000", "minimum": "0", "location": "query", "type": "integer"}, "dimension": {"repeated": true, "type": "string", "location": "query"}, "accountId": {"repeated": true, "type": "string", "location": "query"}}, "id": "adsense.reports.generate", "httpMethod": "GET", "path": "reports", "response": {"$ref": "AdsenseReportsGenerateResponse"}}}}', true));
     $this->accounts = new AccountsServiceResource($this, $this->serviceName, 'accounts', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "maxResults": {"format": "int32", "maximum": "10000", "minimum": "0", "location": "query", "type": "integer"}}, "response": {"$ref": "Accounts"}, "httpMethod": "GET", "path": "accounts", "id": "adsense.accounts.list"}, "get": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"tree": {"type": "boolean", "location": "query"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "adsense.accounts.get", "httpMethod": "GET", "path": "accounts/{accountId}", "response": {"$ref": "Account"}}}}', true));
     $this->accounts_urlchannels = new AccountsUrlchannelsServiceResource($this, $this->serviceName, 'urlchannels', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "adClientId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"format": "int32", "maximum": "10000", "minimum": "0", "location": "query", "type": "integer"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "adsense.accounts.urlchannels.list", "httpMethod": "GET", "path": "accounts/{accountId}/adclients/{adClientId}/urlchannels", "response": {"$ref": "UrlChannels"}}}}', true));
     $this->accounts_adunits = new AccountsAdunitsServiceResource($this, $this->serviceName, 'adunits', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"includeInactive": {"type": "boolean", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "adClientId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"format": "int32", "maximum": "10000", "minimum": "0", "location": "query", "type": "integer"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "adsense.accounts.adunits.list", "httpMethod": "GET", "path": "accounts/{accountId}/adclients/{adClientId}/adunits", "response": {"$ref": "AdUnits"}}, "get": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"adClientId": {"required": true, "type": "string", "location": "path"}, "adUnitId": {"required": true, "type": "string", "location": "path"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "adsense.accounts.adunits.get", "httpMethod": "GET", "path": "accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}", "response": {"$ref": "AdUnit"}}}}', true));
     $this->accounts_adunits_customchannels = new AccountsAdunitsCustomchannelsServiceResource($this, $this->serviceName, 'customchannels', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "adClientId": {"required": true, "type": "string", "location": "path"}, "adUnitId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"format": "int32", "maximum": "10000", "minimum": "0", "location": "query", "type": "integer"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "adsense.accounts.adunits.customchannels.list", "httpMethod": "GET", "path": "accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels", "response": {"$ref": "CustomChannels"}}}}', true));
     $this->accounts_adclients = new AccountsAdclientsServiceResource($this, $this->serviceName, 'adclients', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "maxResults": {"format": "int32", "maximum": "10000", "minimum": "0", "location": "query", "type": "integer"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "adsense.accounts.adclients.list", "httpMethod": "GET", "path": "accounts/{accountId}/adclients", "response": {"$ref": "AdClients"}}}}', true));
     $this->accounts_reports = new AccountsReportsServiceResource($this, $this->serviceName, 'reports', json_decode('{"methods": {"generate": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"sort": {"repeated": true, "type": "string", "location": "query"}, "startDate": {"required": true, "type": "string", "location": "query"}, "endDate": {"required": true, "type": "string", "location": "query"}, "locale": {"type": "string", "location": "query"}, "metric": {"repeated": true, "type": "string", "location": "query"}, "maxResults": {"format": "int32", "maximum": "50000", "minimum": "0", "location": "query", "type": "integer"}, "filter": {"repeated": true, "type": "string", "location": "query"}, "currency": {"type": "string", "location": "query"}, "startIndex": {"format": "int32", "maximum": "5000", "minimum": "0", "location": "query", "type": "integer"}, "dimension": {"repeated": true, "type": "string", "location": "query"}, "accountId": {"type": "string", "location": "path"}}, "id": "adsense.accounts.reports.generate", "httpMethod": "GET", "path": "accounts/{accountId}/reports", "response": {"$ref": "AdsenseReportsGenerateResponse"}}}}', true));
     $this->accounts_customchannels = new AccountsCustomchannelsServiceResource($this, $this->serviceName, 'customchannels', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "adClientId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"format": "int32", "maximum": "10000", "minimum": "0", "location": "query", "type": "integer"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "adsense.accounts.customchannels.list", "httpMethod": "GET", "path": "accounts/{accountId}/adclients/{adClientId}/customchannels", "response": {"$ref": "CustomChannels"}}, "get": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"customChannelId": {"required": true, "type": "string", "location": "path"}, "adClientId": {"required": true, "type": "string", "location": "path"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "adsense.accounts.customchannels.get", "httpMethod": "GET", "path": "accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}", "response": {"$ref": "CustomChannel"}}}}', true));
     $this->accounts_customchannels_adunits = new AccountsCustomchannelsAdunitsServiceResource($this, $this->serviceName, 'adunits', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"includeInactive": {"type": "boolean", "location": "query"}, "customChannelId": {"required": true, "type": "string", "location": "path"}, "adClientId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"format": "int32", "maximum": "10000", "minimum": "0", "location": "query", "type": "integer"}, "pageToken": {"type": "string", "location": "query"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "adsense.accounts.customchannels.adunits.list", "httpMethod": "GET", "path": "accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits", "response": {"$ref": "AdUnits"}}}}', true));
     $this->customchannels = new CustomchannelsServiceResource($this, $this->serviceName, 'customchannels', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "adClientId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"format": "int32", "maximum": "10000", "minimum": "0", "location": "query", "type": "integer"}}, "id": "adsense.customchannels.list", "httpMethod": "GET", "path": "adclients/{adClientId}/customchannels", "response": {"$ref": "CustomChannels"}}, "get": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"customChannelId": {"required": true, "type": "string", "location": "path"}, "adClientId": {"required": true, "type": "string", "location": "path"}}, "id": "adsense.customchannels.get", "httpMethod": "GET", "path": "adclients/{adClientId}/customchannels/{customChannelId}", "response": {"$ref": "CustomChannel"}}}}', true));
     $this->customchannels_adunits = new CustomchannelsAdunitsServiceResource($this, $this->serviceName, 'adunits', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/adsense", "https://www.googleapis.com/auth/adsense.readonly"], "parameters": {"includeInactive": {"type": "boolean", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "customChannelId": {"required": true, "type": "string", "location": "path"}, "adClientId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"format": "int32", "maximum": "10000", "minimum": "0", "location": "query", "type": "integer"}}, "id": "adsense.customchannels.adunits.list", "httpMethod": "GET", "path": "adclients/{adClientId}/customchannels/{customChannelId}/adunits", "response": {"$ref": "AdUnits"}}}}', true));
 }
 /**
  * Constructs the internal representation of the Freebase service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/freebase/v1/';
     $this->version = 'v1';
     $this->serviceName = 'freebase';
     $apiClient->addService($this->serviceName, $this->version);
     $this->text = new TextServiceResource($this, $this->serviceName, 'text', json_decode('{"methods": {"get": {"parameters": {"format": {"default": "plain", "enum": ["html", "plain", "raw"], "location": "query", "type": "string"}, "id": {"repeated": true, "required": true, "type": "string", "location": "path"}, "maxlength": {"format": "uint32", "type": "integer", "location": "query"}}, "id": "freebase.text.get", "httpMethod": "GET", "path": "text{/id*}", "response": {"$ref": "ContentserviceGet"}}}}', true));
     $this->mqlread = new MqlreadServiceResource($this, $this->serviceName, 'mqlread', json_decode('{"httpMethod": "GET", "parameters": {"lang": {"default": "/lang/en", "type": "string", "location": "query"}, "cursor": {"type": "string", "location": "query"}, "indent": {"format": "uint32", "default": "0", "maximum": "10", "location": "query", "type": "integer"}, "uniqueness_failure": {"default": "hard", "enum": ["hard", "soft"], "location": "query", "type": "string"}, "dateline": {"type": "string", "location": "query"}, "html_escape": {"default": "true", "type": "boolean", "location": "query"}, "callback": {"type": "string", "location": "query"}, "cost": {"default": "false", "type": "boolean", "location": "query"}, "query": {"required": true, "type": "string", "location": "query"}, "as_of_time": {"type": "string", "location": "query"}}, "path": "mqlread", "id": "freebase.mqlread"}', true));
     $this->image = new ImageServiceResource($this, $this->serviceName, 'image', json_decode('{"httpMethod": "GET", "parameters": {"maxwidth": {"format": "uint32", "type": "integer", "location": "query", "maximum": "4096"}, "maxheight": {"format": "uint32", "type": "integer", "location": "query", "maximum": "4096"}, "fallbackid": {"default": "/freebase/no_image_png", "type": "string", "location": "query"}, "pad": {"default": "false", "type": "boolean", "location": "query"}, "mode": {"default": "fit", "enum": ["fill", "fillcrop", "fillcropmid", "fit"], "location": "query", "type": "string"}, "id": {"repeated": true, "required": true, "type": "string", "location": "path"}}, "path": "image{/id*}", "id": "freebase.image"}', true));
 }
Ejemplo n.º 22
0
 /**
  * Constructs the internal representation of the Prediction service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/prediction/v1.4/';
     $this->version = 'v1.4';
     $this->serviceName = 'prediction';
     $apiClient->addService($this->serviceName, $this->version);
     $this->trainedmodels = new TrainedmodelsServiceResource($this, $this->serviceName, 'trainedmodels', json_decode('{"methods": {"predict": {"scopes": ["https://www.googleapis.com/auth/prediction"], "parameters": {"id": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Input"}, "id": "prediction.trainedmodels.predict", "httpMethod": "POST", "path": "trainedmodels/{id}/predict", "response": {"$ref": "Output"}}, "insert": {"scopes": ["https://www.googleapis.com/auth/prediction"], "request": {"$ref": "Training"}, "response": {"$ref": "Training"}, "httpMethod": "POST", "path": "trainedmodels", "id": "prediction.trainedmodels.insert"}, "delete": {"scopes": ["https://www.googleapis.com/auth/prediction"], "parameters": {"id": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE", "path": "trainedmodels/{id}", "id": "prediction.trainedmodels.delete"}, "update": {"scopes": ["https://www.googleapis.com/auth/prediction"], "parameters": {"id": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Update"}, "id": "prediction.trainedmodels.update", "httpMethod": "PUT", "path": "trainedmodels/{id}", "response": {"$ref": "Training"}}, "get": {"scopes": ["https://www.googleapis.com/auth/prediction"], "parameters": {"id": {"required": true, "type": "string", "location": "path"}}, "id": "prediction.trainedmodels.get", "httpMethod": "GET", "path": "trainedmodels/{id}", "response": {"$ref": "Training"}}}}', true));
     $this->hostedmodels = new HostedmodelsServiceResource($this, $this->serviceName, 'hostedmodels', json_decode('{"methods": {"predict": {"scopes": ["https://www.googleapis.com/auth/prediction"], "parameters": {"hostedModelName": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Input"}, "id": "prediction.hostedmodels.predict", "httpMethod": "POST", "path": "hostedmodels/{hostedModelName}/predict", "response": {"$ref": "Output"}}}}', true));
 }
Ejemplo n.º 23
0
 /**
  * Constructs the internal representation of the Books service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/books/v1/';
     $this->version = 'v1';
     $this->serviceName = 'books';
     $this->io = $apiClient->getIo();
     $apiClient->addService($this->serviceName, $this->version);
     $this->bookshelves = new BookshelvesServiceResource($this, $this->serviceName, 'bookshelves', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "id": "books.bookshelves.list", "httpMethod": "GET", "path": "users/{userId}/bookshelves", "response": {"$ref": "Bookshelves"}}, "get": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}, "shelf": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "id": "books.bookshelves.get", "httpMethod": "GET", "path": "users/{userId}/bookshelves/{shelf}", "response": {"$ref": "Bookshelf"}}}, "resources": {"volumes": {"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "showPreorders": {"type": "boolean", "location": "query"}, "maxResults": {"format": "uint32", "minimum": "0", "type": "integer", "location": "query"}, "source": {"type": "string", "location": "query"}, "startIndex": {"format": "uint32", "minimum": "0", "type": "integer", "location": "query"}, "shelf": {"required": true, "type": "string", "location": "path"}, "userId": {"required": true, "type": "string", "location": "path"}}, "id": "books.bookshelves.volumes.list", "httpMethod": "GET", "path": "users/{userId}/bookshelves/{shelf}/volumes", "response": {"$ref": "Volumes"}}}}}}', true));
     $this->volumes = new VolumesServiceResource($this, $this->serviceName, 'volumes', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"orderBy": {"enum": ["newest", "relevance"], "type": "string", "location": "query"}, "filter": {"enum": ["ebooks", "free-ebooks", "full", "paid-ebooks", "partial"], "type": "string", "location": "query"}, "projection": {"enum": ["full", "lite"], "type": "string", "location": "query"}, "libraryRestrict": {"enum": ["my-library", "no-restrict"], "type": "string", "location": "query"}, "langRestrict": {"type": "string", "location": "query"}, "country": {"type": "string", "location": "query"}, "printType": {"enum": ["all", "books", "magazines"], "type": "string", "location": "query"}, "maxResults": {"format": "uint32", "maximum": "40", "minimum": "0", "location": "query", "type": "integer"}, "q": {"required": true, "type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "startIndex": {"format": "uint32", "minimum": "0", "type": "integer", "location": "query"}, "download": {"enum": ["epub"], "type": "string", "location": "query"}, "partner": {"type": "string", "location": "query"}, "showPreorders": {"type": "boolean", "location": "query"}}, "id": "books.volumes.list", "httpMethod": "GET", "path": "volumes", "response": {"$ref": "Volumes"}}, "get": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"partner": {"type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "projection": {"enum": ["full", "lite"], "type": "string", "location": "query"}, "volumeId": {"required": true, "type": "string", "location": "path"}, "country": {"type": "string", "location": "query"}}, "id": "books.volumes.get", "httpMethod": "GET", "path": "volumes/{volumeId}", "response": {"$ref": "Volume"}}}}', true));
     $this->mylibrary = new MylibraryServiceResource($this, $this->serviceName, 'mylibrary', json_decode('{"resources": {"bookshelves": {"methods": {"clearVolumes": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "shelf": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "httpMethod": "POST", "path": "mylibrary/bookshelves/{shelf}/clearVolumes", "id": "books.mylibrary.bookshelves.clearVolumes"}, "removeVolume": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "volumeId": {"required": true, "type": "string", "location": "query"}, "shelf": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "httpMethod": "POST", "path": "mylibrary/bookshelves/{shelf}/removeVolume", "id": "books.mylibrary.bookshelves.removeVolume"}, "list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}}, "response": {"$ref": "Bookshelves"}, "httpMethod": "GET", "path": "mylibrary/bookshelves", "id": "books.mylibrary.bookshelves.list"}, "addVolume": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "volumeId": {"required": true, "type": "string", "location": "query"}, "shelf": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "httpMethod": "POST", "path": "mylibrary/bookshelves/{shelf}/addVolume", "id": "books.mylibrary.bookshelves.addVolume"}, "get": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "shelf": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "id": "books.mylibrary.bookshelves.get", "httpMethod": "GET", "path": "mylibrary/bookshelves/{shelf}", "response": {"$ref": "Bookshelf"}}}, "resources": {"volumes": {"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"projection": {"enum": ["full", "lite"], "type": "string", "location": "query"}, "country": {"type": "string", "location": "query"}, "showPreorders": {"type": "boolean", "location": "query"}, "maxResults": {"format": "uint32", "minimum": "0", "type": "integer", "location": "query"}, "q": {"type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "startIndex": {"format": "uint32", "minimum": "0", "type": "integer", "location": "query"}, "shelf": {"type": "string", "location": "path"}}, "id": "books.mylibrary.bookshelves.volumes.list", "httpMethod": "GET", "path": "mylibrary/bookshelves/{shelf}/volumes", "response": {"$ref": "Volumes"}}}}}}}}', true));
 }
Ejemplo n.º 24
0
 /**
  * Constructs the internal representation of the Customsearch service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/customsearch/';
     $this->version = 'v1';
     $this->serviceName = 'customsearch';
     $apiClient->addService($this->serviceName, $this->version);
     $this->cse = new CseServiceResource($this, $this->serviceName, 'cse', json_decode('{"methods": {"list": {"parameters": {"sort": {"type": "string", "location": "query"}, "filter": {"enum": ["0", "1"], "type": "string", "location": "query"}, "cx": {"type": "string", "location": "query"}, "googlehost": {"type": "string", "location": "query"}, "safe": {"default": "off", "enum": ["high", "medium", "off"], "location": "query", "type": "string"}, "q": {"required": true, "type": "string", "location": "query"}, "start": {"type": "string", "location": "query"}, "num": {"default": "10", "type": "string", "location": "query"}, "lr": {"enum": ["lang_ar", "lang_bg", "lang_ca", "lang_cs", "lang_da", "lang_de", "lang_el", "lang_en", "lang_es", "lang_et", "lang_fi", "lang_fr", "lang_hr", "lang_hu", "lang_id", "lang_is", "lang_it", "lang_iw", "lang_ja", "lang_ko", "lang_lt", "lang_lv", "lang_nl", "lang_no", "lang_pl", "lang_pt", "lang_ro", "lang_ru", "lang_sk", "lang_sl", "lang_sr", "lang_sv", "lang_tr", "lang_zh-CN", "lang_zh-TW"], "type": "string", "location": "query"}, "cr": {"type": "string", "location": "query"}, "gl": {"type": "string", "location": "query"}, "cref": {"type": "string", "location": "query"}}, "id": "search.cse.list", "httpMethod": "GET", "path": "v1", "response": {"$ref": "Search"}}}}', true));
 }
Ejemplo n.º 25
0
 /**
  * Constructs the internal representation of the Bigquery service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/bigquery/v2/';
     $this->version = 'v2';
     $this->serviceName = 'bigquery';
     $apiClient->addService($this->serviceName, $this->version);
     $this->tables = new TablesServiceResource($this, $this->serviceName, 'tables', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"projectId": {"type": "string", "location": "path"}, "datasetId": {"type": "string", "location": "path"}}, "request": {"$ref": "Table"}, "id": "bigquery.tables.insert", "httpMethod": "POST", "path": "projects/{projectId}/datasets/{datasetId}/tables", "response": {"$ref": "Table"}}, "get": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"projectId": {"required": true, "type": "string", "location": "path"}, "tableId": {"required": true, "type": "string", "location": "path"}, "datasetId": {"required": true, "type": "string", "location": "path"}}, "id": "bigquery.tables.get", "httpMethod": "GET", "path": "projects/{projectId}/datasets/{datasetId}/tables/{tableId}", "response": {"$ref": "Table"}}, "list": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "datasetId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"format": "uint32", "type": "integer", "location": "query"}, "projectId": {"required": true, "type": "string", "location": "path"}}, "id": "bigquery.tables.list", "httpMethod": "GET", "path": "projects/{projectId}/datasets/{datasetId}/tables", "response": {"$ref": "TableList"}}, "update": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"projectId": {"type": "string", "location": "path"}, "tableId": {"type": "string", "location": "path"}, "datasetId": {"type": "string", "location": "path"}}, "request": {"$ref": "Table"}, "id": "bigquery.tables.update", "httpMethod": "PUT", "path": "projects/{projectId}/datasets/{datasetId}/tables/{tableId}", "response": {"$ref": "Table"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"projectId": {"required": true, "type": "string", "location": "path"}, "tableId": {"required": true, "type": "string", "location": "path"}, "datasetId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Table"}, "id": "bigquery.tables.patch", "httpMethod": "PATCH", "path": "projects/{projectId}/datasets/{datasetId}/tables/{tableId}", "response": {"$ref": "Table"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"projectId": {"required": true, "type": "string", "location": "path"}, "tableId": {"required": true, "type": "string", "location": "path"}, "datasetId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE", "path": "projects/{projectId}/datasets/{datasetId}/tables/{tableId}", "id": "bigquery.tables.delete"}}}', true));
     $this->datasets = new DatasetsServiceResource($this, $this->serviceName, 'datasets', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"projectId": {"type": "string", "location": "path"}}, "request": {"$ref": "Dataset"}, "id": "bigquery.datasets.insert", "httpMethod": "POST", "path": "projects/{projectId}/datasets", "response": {"$ref": "Dataset"}}, "get": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"projectId": {"required": true, "type": "string", "location": "path"}, "datasetId": {"required": true, "type": "string", "location": "path"}}, "id": "bigquery.datasets.get", "httpMethod": "GET", "path": "projects/{projectId}/datasets/{datasetId}", "response": {"$ref": "Dataset"}}, "list": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "maxResults": {"format": "uint32", "type": "integer", "location": "query"}, "projectId": {"required": true, "type": "string", "location": "path"}}, "id": "bigquery.datasets.list", "httpMethod": "GET", "path": "projects/{projectId}/datasets", "response": {"$ref": "DatasetList"}}, "update": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"projectId": {"type": "string", "location": "path"}, "datasetId": {"type": "string", "location": "path"}}, "request": {"$ref": "Dataset"}, "id": "bigquery.datasets.update", "httpMethod": "PUT", "path": "projects/{projectId}/datasets/{datasetId}", "response": {"$ref": "Dataset"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"projectId": {"required": true, "type": "string", "location": "path"}, "datasetId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Dataset"}, "id": "bigquery.datasets.patch", "httpMethod": "PATCH", "path": "projects/{projectId}/datasets/{datasetId}", "response": {"$ref": "Dataset"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"deleteContents": {"type": "boolean", "location": "query"}, "datasetId": {"required": true, "type": "string", "location": "path"}, "projectId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE", "path": "projects/{projectId}/datasets/{datasetId}", "id": "bigquery.datasets.delete"}}}', true));
     $this->jobs = new JobsServiceResource($this, $this->serviceName, 'jobs', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"projectId": {"type": "string", "location": "path"}}, "mediaUpload": {"accept": ["application/octet-stream"], "protocols": {"simple": {"path": "/upload/bigquery/v2/projects/{projectId}/jobs", "multipart": true}, "resumable": {"path": "/resumable/upload/bigquery/v2/projects/{projectId}/jobs", "multipart": true}}}, "request": {"$ref": "Job"}, "id": "bigquery.jobs.insert", "httpMethod": "POST", "path": "projects/{projectId}/jobs", "response": {"$ref": "Job"}}, "get": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"projectId": {"required": true, "type": "string", "location": "path"}, "jobId": {"required": true, "type": "string", "location": "path"}}, "id": "bigquery.jobs.get", "httpMethod": "GET", "path": "projects/{projectId}/jobs/{jobId}", "response": {"$ref": "Job"}}, "list": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"projection": {"enum": ["full", "minimal"], "type": "string", "location": "query"}, "stateFilter": {"enum": ["done", "pending", "running"], "repeated": true, "location": "query", "type": "string"}, "projectId": {"required": true, "type": "string", "location": "path"}, "allUsers": {"type": "boolean", "location": "query"}, "maxResults": {"format": "uint32", "type": "integer", "location": "query"}, "pageToken": {"type": "string", "location": "query"}}, "id": "bigquery.jobs.list", "httpMethod": "GET", "path": "projects/{projectId}/jobs", "response": {"$ref": "JobList"}}, "query": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"projectId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "QueryRequest"}, "id": "bigquery.jobs.query", "httpMethod": "POST", "path": "projects/{projectId}/queries", "response": {"$ref": "QueryResponse"}}, "getQueryResults": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"timeoutMs": {"format": "uint32", "type": "integer", "location": "query"}, "projectId": {"required": true, "type": "string", "location": "path"}, "startIndex": {"format": "uint64", "type": "string", "location": "query"}, "maxResults": {"format": "uint32", "type": "integer", "location": "query"}, "jobId": {"required": true, "type": "string", "location": "path"}}, "id": "bigquery.jobs.getQueryResults", "httpMethod": "GET", "path": "projects/{projectId}/queries/{jobId}", "response": {"$ref": "GetQueryResultsResponse"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"projectId": {"required": true, "type": "string", "location": "path"}, "jobId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE", "path": "projects/{projectId}/jobs/{jobId}", "id": "bigquery.jobs.delete"}}}', true));
     $this->tabledata = new TabledataServiceResource($this, $this->serviceName, 'tabledata', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"projectId": {"required": true, "type": "string", "location": "path"}, "startIndex": {"format": "uint64", "type": "string", "location": "query"}, "tableId": {"required": true, "type": "string", "location": "path"}, "datasetId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"format": "uint32", "type": "integer", "location": "query"}}, "id": "bigquery.tabledata.list", "httpMethod": "GET", "path": "projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data", "response": {"$ref": "TableDataList"}}}}', true));
     $this->projects = new ProjectsServiceResource($this, $this->serviceName, 'projects', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/bigquery"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "maxResults": {"format": "uint32", "type": "integer", "location": "query"}}, "response": {"$ref": "ProjectList"}, "httpMethod": "GET", "path": "projects", "id": "bigquery.projects.list"}}}', true));
 }
 /**
  * Constructs the internal representation of the Shopping service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/shopping/search/v1/';
     $this->version = 'v1';
     $this->serviceName = 'shopping';
     $apiClient->addService($this->serviceName, $this->version);
     $this->products = new ProductsServiceResource($this, $this->serviceName, 'products', json_decode('{"methods": {"list": {"parameters": {"sayt.useGcsConfig": {"type": "boolean", "location": "query"}, "debug.geocodeResponse": {"type": "boolean", "location": "query"}, "debug.enableLogging": {"type": "boolean", "location": "query"}, "facets.enabled": {"type": "boolean", "location": "query"}, "relatedQueries.useGcsConfig": {"type": "boolean", "location": "query"}, "promotions.enabled": {"type": "boolean", "location": "query"}, "debug.enabled": {"type": "boolean", "location": "query"}, "facets.include": {"type": "string", "location": "query"}, "productFields": {"type": "string", "location": "query"}, "channels": {"type": "string", "location": "query"}, "currency": {"type": "string", "location": "query"}, "startIndex": {"format": "uint32", "type": "integer", "location": "query"}, "facets.discover": {"type": "string", "location": "query"}, "debug.searchResponse": {"type": "boolean", "location": "query"}, "crowdBy": {"type": "string", "location": "query"}, "spelling.enabled": {"type": "boolean", "location": "query"}, "debug.geocodeRequest": {"type": "boolean", "location": "query"}, "source": {"required": true, "type": "string", "location": "path"}, "spelling.useGcsConfig": {"type": "boolean", "location": "query"}, "useCase": {"type": "string", "location": "query"}, "location": {"type": "string", "location": "query"}, "taxonomy": {"type": "string", "location": "query"}, "debug.rdcRequest": {"type": "boolean", "location": "query"}, "categories.include": {"type": "string", "location": "query"}, "debug.searchRequest": {"type": "boolean", "location": "query"}, "safe": {"type": "boolean", "location": "query"}, "boostBy": {"type": "string", "location": "query"}, "maxVariants": {"format": "uint32", "type": "integer", "location": "query"}, "categories.useGcsConfig": {"type": "boolean", "location": "query"}, "maxResults": {"format": "uint32", "type": "integer", "location": "query"}, "facets.useGcsConfig": {"type": "boolean", "location": "query"}, "categories.enabled": {"type": "boolean", "location": "query"}, "attributeFilter": {"type": "string", "location": "query"}, "sayt.enabled": {"type": "boolean", "location": "query"}, "plusOne": {"type": "string", "location": "query"}, "thumbnails": {"type": "string", "location": "query"}, "language": {"type": "string", "location": "query"}, "redirects.useGcsConfig": {"type": "boolean", "location": "query"}, "rankBy": {"type": "string", "location": "query"}, "restrictBy": {"type": "string", "location": "query"}, "debug.rdcResponse": {"type": "boolean", "location": "query"}, "q": {"type": "string", "location": "query"}, "redirects.enabled": {"type": "boolean", "location": "query"}, "country": {"type": "string", "location": "query"}, "relatedQueries.enabled": {"type": "boolean", "location": "query"}, "minAvailability": {"enum": ["inStock", "limited", "outOfStock", "unknown"], "type": "string", "location": "query"}, "promotions.useGcsConfig": {"type": "boolean", "location": "query"}}, "id": "shopping.products.list", "httpMethod": "GET", "path": "{source}/products", "response": {"$ref": "Products"}}, "get": {"parameters": {"categories.include": {"type": "string", "location": "query"}, "recommendations.enabled": {"type": "boolean", "location": "query"}, "plusOne": {"type": "string", "location": "query"}, "debug.enableLogging": {"type": "boolean", "location": "query"}, "thumbnails": {"type": "string", "location": "query"}, "recommendations.include": {"type": "string", "location": "query"}, "taxonomy": {"type": "string", "location": "query"}, "productIdType": {"required": true, "type": "string", "location": "path"}, "categories.useGcsConfig": {"type": "boolean", "location": "query"}, "attributeFilter": {"type": "string", "location": "query"}, "debug.enabled": {"type": "boolean", "location": "query"}, "source": {"required": true, "type": "string", "location": "path"}, "categories.enabled": {"type": "boolean", "location": "query"}, "location": {"type": "string", "location": "query"}, "debug.searchRequest": {"type": "boolean", "location": "query"}, "debug.searchResponse": {"type": "boolean", "location": "query"}, "recommendations.useGcsConfig": {"type": "boolean", "location": "query"}, "productFields": {"type": "string", "location": "query"}, "accountId": {"format": "uint32", "required": true, "type": "integer", "location": "path"}, "productId": {"required": true, "type": "string", "location": "path"}}, "id": "shopping.products.get", "httpMethod": "GET", "path": "{source}/products/{accountId}/{productIdType}/{productId}", "response": {"$ref": "Product"}}}}', true));
 }
Ejemplo n.º 27
0
 /**
  * Constructs the internal representation of the Gan service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/gan/v1beta1/';
     $this->version = 'v1beta1';
     $this->serviceName = 'gan';
     $apiClient->addService($this->serviceName, $this->version);
     $this->advertisers = new AdvertisersServiceResource($this, $this->serviceName, 'advertisers', json_decode('{"methods": {"list": {"parameters": {"relationshipStatus": {"enum": ["approved", "available", "deactivated", "declined", "pending"], "type": "string", "location": "query"}, "minSevenDayEpc": {"format": "double", "type": "number", "location": "query"}, "advertiserCategory": {"type": "string", "location": "query"}, "minNinetyDayEpc": {"format": "double", "type": "number", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "role": {"required": true, "enum": ["advertisers", "publishers"], "location": "path", "type": "string"}, "maxResults": {"format": "uint32", "maximum": "100", "minimum": "0", "location": "query", "type": "integer"}, "roleId": {"required": true, "type": "string", "location": "path"}, "minPayoutRank": {"format": "int32", "maximum": "4", "minimum": "1", "location": "query", "type": "integer"}}, "id": "gan.advertisers.list", "httpMethod": "GET", "path": "{role}/{roleId}/advertisers", "response": {"$ref": "Advertisers"}}, "get": {"parameters": {"advertiserId": {"type": "string", "location": "query"}, "roleId": {"required": true, "type": "string", "location": "path"}, "role": {"required": true, "enum": ["advertisers", "publishers"], "location": "path", "type": "string"}}, "id": "gan.advertisers.get", "httpMethod": "GET", "path": "{role}/{roleId}/advertiser", "response": {"$ref": "Advertiser"}}}}', true));
     $this->ccOffers = new CcOffersServiceResource($this, $this->serviceName, 'ccOffers', json_decode('{"methods": {"list": {"parameters": {"advertiser": {"repeated": true, "type": "string", "location": "query"}, "projection": {"enum": ["full", "summary"], "type": "string", "location": "query"}, "publisher": {"required": true, "type": "string", "location": "path"}}, "id": "gan.ccOffers.list", "httpMethod": "GET", "path": "publishers/{publisher}/ccOffers", "response": {"$ref": "CcOffers"}}}}', true));
     $this->events = new EventsServiceResource($this, $this->serviceName, 'events', json_decode('{"methods": {"list": {"parameters": {"orderId": {"type": "string", "location": "query"}, "sku": {"type": "string", "location": "query"}, "eventDateMax": {"type": "string", "location": "query"}, "linkId": {"type": "string", "location": "query"}, "eventDateMin": {"type": "string", "location": "query"}, "memberId": {"type": "string", "location": "query"}, "maxResults": {"format": "uint32", "maximum": "100", "minimum": "0", "location": "query", "type": "integer"}, "advertiserId": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "publisherId": {"type": "string", "location": "query"}, "status": {"enum": ["active", "canceled"], "type": "string", "location": "query"}, "productCategory": {"type": "string", "location": "query"}, "chargeType": {"enum": ["credit", "debit", "monthly_minimum", "other", "slotting_fee", "tier_bonus"], "type": "string", "location": "query"}, "roleId": {"required": true, "type": "string", "location": "path"}, "role": {"required": true, "enum": ["advertisers", "publishers"], "location": "path", "type": "string"}, "type": {"enum": ["action", "charge", "transaction"], "type": "string", "location": "query"}}, "id": "gan.events.list", "httpMethod": "GET", "path": "{role}/{roleId}/events", "response": {"$ref": "Events"}}}}', true));
     $this->publishers = new PublishersServiceResource($this, $this->serviceName, 'publishers', json_decode('{"methods": {"list": {"parameters": {"publisherCategory": {"type": "string", "location": "query"}, "relationshipStatus": {"enum": ["approved", "available", "deactivated", "declined", "pending"], "type": "string", "location": "query"}, "minSevenDayEpc": {"format": "double", "type": "number", "location": "query"}, "minNinetyDayEpc": {"format": "double", "type": "number", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "role": {"required": true, "enum": ["advertisers", "publishers"], "location": "path", "type": "string"}, "maxResults": {"format": "uint32", "maximum": "100", "minimum": "0", "location": "query", "type": "integer"}, "roleId": {"required": true, "type": "string", "location": "path"}, "minPayoutRank": {"format": "int32", "maximum": "4", "minimum": "1", "location": "query", "type": "integer"}}, "id": "gan.publishers.list", "httpMethod": "GET", "path": "{role}/{roleId}/publishers", "response": {"$ref": "Publishers"}}, "get": {"parameters": {"publisherId": {"type": "string", "location": "query"}, "role": {"required": true, "enum": ["advertisers", "publishers"], "location": "path", "type": "string"}, "roleId": {"required": true, "type": "string", "location": "path"}}, "id": "gan.publishers.get", "httpMethod": "GET", "path": "{role}/{roleId}/publisher", "response": {"$ref": "Publisher"}}}}', true));
 }
Ejemplo n.º 28
0
 /**
  * Constructs the internal representation of the Fusiontables service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->restBasePath = '/fusiontables/v1/';
     $this->version = 'v1';
     $this->serviceName = 'fusiontables';
     $apiClient->addService($this->serviceName, $this->version);
     $this->column = new ColumnServiceResource($this, $this->serviceName, 'column', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Column"}, "id": "fusiontables.column.insert", "httpMethod": "POST", "path": "tables/{tableId}/columns", "response": {"$ref": "Column"}}, "get": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "columnId": {"required": true, "type": "string", "location": "path"}}, "response": {"$ref": "Column"}, "httpMethod": "GET", "path": "tables/{tableId}/columns/{columnId}", "id": "fusiontables.column.get"}, "list": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "tableId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"minimum": "0", "type": "integer", "location": "query", "format": "uint32"}}, "response": {"$ref": "ColumnList"}, "httpMethod": "GET", "path": "tables/{tableId}/columns", "id": "fusiontables.column.list"}, "update": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "columnId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Column"}, "id": "fusiontables.column.update", "httpMethod": "PUT", "path": "tables/{tableId}/columns/{columnId}", "response": {"$ref": "Column"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "columnId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Column"}, "id": "fusiontables.column.patch", "httpMethod": "PATCH", "path": "tables/{tableId}/columns/{columnId}", "response": {"$ref": "Column"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "path": "tables/{tableId}/columns/{columnId}", "id": "fusiontables.column.delete", "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "columnId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));
     $this->query = new QueryServiceResource($this, $this->serviceName, 'query', json_decode('{"methods": {"sqlGet": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"typed": {"type": "boolean", "location": "query"}, "hdrs": {"type": "boolean", "location": "query"}, "sql": {"required": true, "type": "string", "location": "query"}}, "response": {"$ref": "Sqlresponse"}, "httpMethod": "GET", "path": "query", "id": "fusiontables.query.sqlGet"}, "sql": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"typed": {"type": "boolean", "location": "query"}, "hdrs": {"type": "boolean", "location": "query"}, "sql": {"required": true, "type": "string", "location": "query"}}, "response": {"$ref": "Sqlresponse"}, "httpMethod": "POST", "path": "query", "id": "fusiontables.query.sql"}}}', true));
     $this->style = new StyleServiceResource($this, $this->serviceName, 'style', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "StyleSetting"}, "id": "fusiontables.style.insert", "httpMethod": "POST", "path": "tables/{tableId}/styles", "response": {"$ref": "StyleSetting"}}, "get": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "styleId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "response": {"$ref": "StyleSetting"}, "httpMethod": "GET", "path": "tables/{tableId}/styles/{styleId}", "id": "fusiontables.style.get"}, "list": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "tableId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"minimum": "0", "type": "integer", "location": "query", "format": "uint32"}}, "response": {"$ref": "StyleSettingList"}, "httpMethod": "GET", "path": "tables/{tableId}/styles", "id": "fusiontables.style.list"}, "update": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "styleId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "request": {"$ref": "StyleSetting"}, "id": "fusiontables.style.update", "httpMethod": "PUT", "path": "tables/{tableId}/styles/{styleId}", "response": {"$ref": "StyleSetting"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "styleId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "request": {"$ref": "StyleSetting"}, "id": "fusiontables.style.patch", "httpMethod": "PATCH", "path": "tables/{tableId}/styles/{styleId}", "response": {"$ref": "StyleSetting"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "path": "tables/{tableId}/styles/{styleId}", "id": "fusiontables.style.delete", "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "styleId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "httpMethod": "DELETE"}}}', true));
     $this->template = new TemplateServiceResource($this, $this->serviceName, 'template', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Template"}, "id": "fusiontables.template.insert", "httpMethod": "POST", "path": "tables/{tableId}/templates", "response": {"$ref": "Template"}}, "get": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "templateId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "response": {"$ref": "Template"}, "httpMethod": "GET", "path": "tables/{tableId}/templates/{templateId}", "id": "fusiontables.template.get"}, "list": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "tableId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"minimum": "0", "type": "integer", "location": "query", "format": "uint32"}}, "response": {"$ref": "TemplateList"}, "httpMethod": "GET", "path": "tables/{tableId}/templates", "id": "fusiontables.template.list"}, "update": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "templateId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "request": {"$ref": "Template"}, "id": "fusiontables.template.update", "httpMethod": "PUT", "path": "tables/{tableId}/templates/{templateId}", "response": {"$ref": "Template"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "templateId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "request": {"$ref": "Template"}, "id": "fusiontables.template.patch", "httpMethod": "PATCH", "path": "tables/{tableId}/templates/{templateId}", "response": {"$ref": "Template"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "path": "tables/{tableId}/templates/{templateId}", "id": "fusiontables.template.delete", "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}, "templateId": {"required": true, "type": "integer", "location": "path", "format": "int32"}}, "httpMethod": "DELETE"}}}', true));
     $this->table = new TableServiceResource($this, $this->serviceName, 'table', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "request": {"$ref": "Table"}, "id": "fusiontables.table.insert", "httpMethod": "POST", "path": "tables", "response": {"$ref": "Table"}}, "get": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}}, "response": {"$ref": "Table"}, "httpMethod": "GET", "path": "tables/{tableId}", "id": "fusiontables.table.get"}, "list": {"scopes": ["https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "maxResults": {"minimum": "0", "type": "integer", "location": "query", "format": "uint32"}}, "id": "fusiontables.table.list", "httpMethod": "GET", "path": "tables", "response": {"$ref": "TableList"}}, "update": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"replaceViewDefinition": {"type": "boolean", "location": "query"}, "tableId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Table"}, "id": "fusiontables.table.update", "httpMethod": "PUT", "path": "tables/{tableId}", "response": {"$ref": "Table"}}, "patch": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "parameters": {"replaceViewDefinition": {"type": "boolean", "location": "query"}, "tableId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Table"}, "id": "fusiontables.table.patch", "httpMethod": "PATCH", "path": "tables/{tableId}", "response": {"$ref": "Table"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/fusiontables"], "path": "tables/{tableId}", "id": "fusiontables.table.delete", "parameters": {"tableId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));
 }
Ejemplo n.º 29
0
 /**
  * Constructs the internal representation of the Plus service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/plus/v1/';
     $this->version = 'v1';
     $this->serviceName = 'plus';
     $apiClient->addService($this->serviceName, $this->version);
     $this->activities = new ActivitiesServiceResource($this, $this->serviceName, 'activities', json_decode('{"methods": {"search": {"scopes": ["https://www.googleapis.com/auth/plus.me"], "parameters": {"orderBy": {"default": "recent", "enum": ["best", "recent"], "location": "query", "type": "string"}, "pageToken": {"type": "string", "location": "query"}, "language": {"default": "", "type": "string", "location": "query"}, "maxResults": {"format": "uint32", "default": "10", "maximum": "20", "minimum": "1", "location": "query", "type": "integer"}, "query": {"required": true, "type": "string", "location": "query"}}, "id": "plus.activities.search", "httpMethod": "GET", "path": "activities", "response": {"$ref": "ActivityFeed"}}, "list": {"scopes": ["https://www.googleapis.com/auth/plus.me"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "alt": {"default": "json", "enum": ["json"], "location": "query", "type": "string"}, "userId": {"required": true, "type": "string", "location": "path"}, "collection": {"required": true, "enum": ["public"], "location": "path", "type": "string"}, "maxResults": {"format": "uint32", "default": "20", "maximum": "100", "minimum": "1", "location": "query", "type": "integer"}}, "id": "plus.activities.list", "httpMethod": "GET", "path": "people/{userId}/activities/{collection}", "response": {"$ref": "ActivityFeed"}}, "get": {"scopes": ["https://www.googleapis.com/auth/plus.me"], "parameters": {"activityId": {"required": true, "type": "string", "location": "path"}, "alt": {"default": "json", "enum": ["json"], "location": "query", "type": "string"}}, "id": "plus.activities.get", "httpMethod": "GET", "path": "activities/{activityId}", "response": {"$ref": "Activity"}}}}', true));
     $this->comments = new CommentsServiceResource($this, $this->serviceName, 'comments', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/plus.me"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "activityId": {"required": true, "type": "string", "location": "path"}, "alt": {"default": "json", "enum": ["json"], "location": "query", "type": "string"}, "maxResults": {"format": "uint32", "default": "20", "maximum": "100", "minimum": "0", "location": "query", "type": "integer"}}, "id": "plus.comments.list", "httpMethod": "GET", "path": "activities/{activityId}/comments", "response": {"$ref": "CommentFeed"}}, "get": {"scopes": ["https://www.googleapis.com/auth/plus.me"], "parameters": {"commentId": {"required": true, "type": "string", "location": "path"}}, "id": "plus.comments.get", "httpMethod": "GET", "path": "comments/{commentId}", "response": {"$ref": "Comment"}}}}', true));
     $this->people = new PeopleServiceResource($this, $this->serviceName, 'people', json_decode('{"methods": {"listByActivity": {"scopes": ["https://www.googleapis.com/auth/plus.me"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "activityId": {"required": true, "type": "string", "location": "path"}, "collection": {"required": true, "enum": ["plusoners", "resharers"], "location": "path", "type": "string"}, "maxResults": {"format": "uint32", "default": "20", "maximum": "100", "minimum": "1", "location": "query", "type": "integer"}}, "id": "plus.people.listByActivity", "httpMethod": "GET", "path": "activities/{activityId}/people/{collection}", "response": {"$ref": "PeopleFeed"}}, "search": {"scopes": ["https://www.googleapis.com/auth/plus.me"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "language": {"default": "", "type": "string", "location": "query"}, "maxResults": {"format": "uint32", "default": "10", "maximum": "20", "minimum": "1", "location": "query", "type": "integer"}, "query": {"required": true, "type": "string", "location": "query"}}, "id": "plus.people.search", "httpMethod": "GET", "path": "people", "response": {"$ref": "PeopleFeed"}}, "get": {"scopes": ["https://www.googleapis.com/auth/plus.me", "https://www.googleapis.com/auth/userinfo.email"], "parameters": {"userId": {"required": true, "type": "string", "location": "path"}}, "id": "plus.people.get", "httpMethod": "GET", "path": "people/{userId}", "response": {"$ref": "Person"}}}}', true));
 }
Ejemplo n.º 30
0
 /**
  * Constructs the internal representation of the Books service.
  *
  * @param apiClient apiClient
  */
 public function __construct(apiClient $apiClient)
 {
     $this->rpcPath = '/rpc';
     $this->restBasePath = '/books/v1/';
     $this->version = 'v1';
     $this->serviceName = 'books';
     $apiClient->addService($this->serviceName, $this->version);
     $this->bookshelves = new BookshelvesServiceResource($this, $this->serviceName, 'bookshelves', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "id": "books.bookshelves.list", "httpMethod": "GET", "path": "users/{userId}/bookshelves", "response": {"$ref": "Bookshelves"}}, "get": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}, "shelf": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "id": "books.bookshelves.get", "httpMethod": "GET", "path": "users/{userId}/bookshelves/{shelf}", "response": {"$ref": "Bookshelf"}}}}', true));
     $this->bookshelves_volumes = new BookshelvesVolumesServiceResource($this, $this->serviceName, 'volumes', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "showPreorders": {"type": "boolean", "location": "query"}, "maxResults": {"format": "uint32", "minimum": "0", "type": "integer", "location": "query"}, "source": {"type": "string", "location": "query"}, "startIndex": {"format": "uint32", "minimum": "0", "type": "integer", "location": "query"}, "shelf": {"required": true, "type": "string", "location": "path"}, "userId": {"required": true, "type": "string", "location": "path"}}, "id": "books.bookshelves.volumes.list", "httpMethod": "GET", "path": "users/{userId}/bookshelves/{shelf}/volumes", "response": {"$ref": "Volumes"}}}}', true));
     $this->myconfig = new MyconfigServiceResource($this, $this->serviceName, 'myconfig', json_decode('{"methods": {"releaseDownloadAccess": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"locale": {"type": "string", "location": "query"}, "country": {"type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "cpksver": {"required": true, "type": "string", "location": "query"}, "volumeIds": {"repeated": true, "required": true, "type": "string", "location": "query"}}, "id": "books.myconfig.releaseDownloadAccess", "httpMethod": "POST", "path": "myconfig/releaseDownloadAccess", "response": {"$ref": "DownloadAccesses"}}, "requestAccess": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"nonce": {"required": true, "type": "string", "location": "query"}, "locale": {"type": "string", "location": "query"}, "country": {"type": "string", "location": "query"}, "cpksver": {"required": true, "type": "string", "location": "query"}, "volumeId": {"required": true, "type": "string", "location": "query"}, "source": {"required": true, "type": "string", "location": "query"}}, "id": "books.myconfig.requestAccess", "httpMethod": "POST", "path": "myconfig/requestAccess", "response": {"$ref": "RequestAccess"}}, "syncVolumeLicenses": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"nonce": {"required": true, "type": "string", "location": "query"}, "locale": {"type": "string", "location": "query"}, "country": {"type": "string", "location": "query"}, "cpksver": {"required": true, "type": "string", "location": "query"}, "source": {"required": true, "type": "string", "location": "query"}, "volumeIds": {"repeated": true, "type": "string", "location": "query"}}, "id": "books.myconfig.syncVolumeLicenses", "httpMethod": "POST", "path": "myconfig/syncVolumeLicenses", "response": {"$ref": "Volumes"}}}}', true));
     $this->volumes = new VolumesServiceResource($this, $this->serviceName, 'volumes', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"orderBy": {"enum": ["newest", "relevance"], "type": "string", "location": "query"}, "filter": {"enum": ["ebooks", "free-ebooks", "full", "paid-ebooks", "partial"], "type": "string", "location": "query"}, "projection": {"enum": ["full", "lite"], "type": "string", "location": "query"}, "libraryRestrict": {"enum": ["my-library", "no-restrict"], "type": "string", "location": "query"}, "langRestrict": {"type": "string", "location": "query"}, "country": {"type": "string", "location": "query"}, "printType": {"enum": ["all", "books", "magazines"], "type": "string", "location": "query"}, "maxResults": {"format": "uint32", "maximum": "40", "minimum": "0", "location": "query", "type": "integer"}, "q": {"required": true, "type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "startIndex": {"format": "uint32", "minimum": "0", "type": "integer", "location": "query"}, "download": {"enum": ["epub"], "type": "string", "location": "query"}, "partner": {"type": "string", "location": "query"}, "showPreorders": {"type": "boolean", "location": "query"}}, "id": "books.volumes.list", "httpMethod": "GET", "path": "volumes", "response": {"$ref": "Volumes"}}, "get": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"partner": {"type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}, "projection": {"enum": ["full", "lite"], "type": "string", "location": "query"}, "volumeId": {"required": true, "type": "string", "location": "path"}, "country": {"type": "string", "location": "query"}}, "id": "books.volumes.get", "httpMethod": "GET", "path": "volumes/{volumeId}", "response": {"$ref": "Volume"}}}}', true));
     $this->mylibrary = new MylibraryServiceResource($this, $this->serviceName, 'mylibrary', json_decode('{}', true));
     $this->mylibrary_bookshelves = new MylibraryBookshelvesServiceResource($this, $this->serviceName, 'bookshelves', json_decode('{"methods": {"clearVolumes": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "shelf": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "httpMethod": "POST", "path": "mylibrary/bookshelves/{shelf}/clearVolumes", "id": "books.mylibrary.bookshelves.clearVolumes"}, "removeVolume": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "volumeId": {"required": true, "type": "string", "location": "query"}, "shelf": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "httpMethod": "POST", "path": "mylibrary/bookshelves/{shelf}/removeVolume", "id": "books.mylibrary.bookshelves.removeVolume"}, "list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}}, "response": {"$ref": "Bookshelves"}, "httpMethod": "GET", "path": "mylibrary/bookshelves", "id": "books.mylibrary.bookshelves.list"}, "addVolume": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "volumeId": {"required": true, "type": "string", "location": "query"}, "shelf": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "httpMethod": "POST", "path": "mylibrary/bookshelves/{shelf}/addVolume", "id": "books.mylibrary.bookshelves.addVolume"}, "get": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "shelf": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "id": "books.mylibrary.bookshelves.get", "httpMethod": "GET", "path": "mylibrary/bookshelves/{shelf}", "response": {"$ref": "Bookshelf"}}}}', true));
     $this->mylibrary_annotations = new MylibraryAnnotationsServiceResource($this, $this->serviceName, 'annotations', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "source": {"type": "string", "location": "query"}}, "request": {"$ref": "Annotation"}, "id": "books.mylibrary.annotations.insert", "httpMethod": "POST", "path": "mylibrary/annotations", "response": {"$ref": "Annotation"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "annotationId": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "httpMethod": "DELETE", "path": "mylibrary/annotations/{annotationId}", "id": "books.mylibrary.annotations.delete"}, "list": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "country": {"type": "string", "location": "query"}, "volumeId": {"type": "string", "location": "query"}, "maxResults": {"format": "uint32", "maximum": "40", "minimum": "0", "location": "query", "type": "integer"}, "source": {"type": "string", "location": "query"}, "pageIds": {"repeated": true, "type": "string", "location": "query"}, "contentVersion": {"type": "string", "location": "query"}, "layerId": {"type": "string", "location": "query"}}, "response": {"$ref": "Annotations"}, "httpMethod": "GET", "path": "mylibrary/annotations", "id": "books.mylibrary.annotations.list"}, "update": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "annotationId": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "request": {"$ref": "Annotation"}, "id": "books.mylibrary.annotations.update", "httpMethod": "PUT", "path": "mylibrary/annotations/{annotationId}", "response": {"$ref": "Annotation"}}, "get": {"scopes": ["https://www.googleapis.com/auth/books"], "parameters": {"country": {"type": "string", "location": "query"}, "annotationId": {"required": true, "type": "string", "location": "path"}, "source": {"type": "string", "location": "query"}}, "id": "books.mylibrary.annotations.get", "httpMethod": "GET", "path": "mylibrary/annotations/{annotationId}", "response": {"$ref": "Annotation"}}}}', true));
 }