예제 #1
0
 public function testExtractionOfRootUrlFromService()
 {
     $this->client->expects($this->never())->method("getBasePath");
     $service = new Google_Service($this->client);
     $service->rootUrl = "root_url_dummy";
     $service->batchPath = "batch_path_dummy";
     $batch = $service->createBatch();
     $this->assertInstanceOf("Google_Http_Batch", $batch);
     $this->assertAttributeEquals("root_url_dummy", "root_url", $batch);
     $this->assertAttributeEquals("batch_path_dummy", "batch_path", $batch);
 }
예제 #2
0
 /**
  * Constructs the internal representation of the Orkut service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'orkut/v2/';
     $this->version = 'v2';
     $this->availableScopes = array("https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly");
     $this->serviceName = 'orkut';
     $client->addService($this->serviceName, $this->version, $this->availableScopes);
     $this->acl = new Google_Service_Orkut_Acl_Resource($this, $this->serviceName, 'acl', array('methods' => array("delete" => array('path' => "activities/{activityId}/acl/{userId}", 'httpMethod' => "DELETE", 'parameters' => array("activityId" => array("location" => "path", "type" => "string", 'required' => true), "userId" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->activities = new Google_Service_Orkut_Activities_Resource($this, $this->serviceName, 'activities', array('methods' => array("delete" => array('path' => "activities/{activityId}", 'httpMethod' => "DELETE", 'parameters' => array("activityId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "people/{userId}/activities/{collection}", 'httpMethod' => "GET", 'parameters' => array("userId" => array("location" => "path", "type" => "string", 'required' => true), "collection" => array("location" => "path", "type" => "string", 'required' => true), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"), "hl" => array("location" => "query", "type" => "string"))))));
     $this->activityVisibility = new Google_Service_Orkut_ActivityVisibility_Resource($this, $this->serviceName, 'activityVisibility', array('methods' => array("get" => array('path' => "activities/{activityId}/visibility", 'httpMethod' => "GET", 'parameters' => array("activityId" => array("location" => "path", "type" => "string", 'required' => true))), "patch" => array('path' => "activities/{activityId}/visibility", 'httpMethod' => "PATCH", 'parameters' => array("activityId" => array("location" => "path", "type" => "string", 'required' => true))), "update" => array('path' => "activities/{activityId}/visibility", 'httpMethod' => "PUT", 'parameters' => array("activityId" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->badges = new Google_Service_Orkut_Badges_Resource($this, $this->serviceName, 'badges', array('methods' => array("get" => array('path' => "people/{userId}/badges/{badgeId}", 'httpMethod' => "GET", 'parameters' => array("userId" => array("location" => "path", "type" => "string", 'required' => true), "badgeId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "people/{userId}/badges", 'httpMethod' => "GET", 'parameters' => array("userId" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->comments = new Google_Service_Orkut_Comments_Resource($this, $this->serviceName, 'comments', array('methods' => array("delete" => array('path' => "comments/{commentId}", 'httpMethod' => "DELETE", 'parameters' => array("commentId" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "comments/{commentId}", 'httpMethod' => "GET", 'parameters' => array("commentId" => array("location" => "path", "type" => "string", 'required' => true), "hl" => array("location" => "query", "type" => "string"))), "insert" => array('path' => "activities/{activityId}/comments", 'httpMethod' => "POST", 'parameters' => array("activityId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "activities/{activityId}/comments", 'httpMethod' => "GET", 'parameters' => array("activityId" => array("location" => "path", "type" => "string", 'required' => true), "orderBy" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"), "hl" => array("location" => "query", "type" => "string"))))));
     $this->communities = new Google_Service_Orkut_Communities_Resource($this, $this->serviceName, 'communities', array('methods' => array("get" => array('path' => "communities/{communityId}", 'httpMethod' => "GET", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "hl" => array("location" => "query", "type" => "string"))), "list" => array('path' => "people/{userId}/communities", 'httpMethod' => "GET", 'parameters' => array("userId" => array("location" => "path", "type" => "string", 'required' => true), "orderBy" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"), "hl" => array("location" => "query", "type" => "string"))))));
     $this->communityFollow = new Google_Service_Orkut_CommunityFollow_Resource($this, $this->serviceName, 'communityFollow', array('methods' => array("delete" => array('path' => "communities/{communityId}/followers/{userId}", 'httpMethod' => "DELETE", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "userId" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "communities/{communityId}/followers/{userId}", 'httpMethod' => "POST", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "userId" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->communityMembers = new Google_Service_Orkut_CommunityMembers_Resource($this, $this->serviceName, 'communityMembers', array('methods' => array("delete" => array('path' => "communities/{communityId}/members/{userId}", 'httpMethod' => "DELETE", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "userId" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "communities/{communityId}/members/{userId}", 'httpMethod' => "GET", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "userId" => array("location" => "path", "type" => "string", 'required' => true), "hl" => array("location" => "query", "type" => "string"))), "insert" => array('path' => "communities/{communityId}/members/{userId}", 'httpMethod' => "POST", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "userId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "communities/{communityId}/members", 'httpMethod' => "GET", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "pageToken" => array("location" => "query", "type" => "string"), "friendsOnly" => array("location" => "query", "type" => "boolean"), "maxResults" => array("location" => "query", "type" => "integer"), "hl" => array("location" => "query", "type" => "string"))))));
     $this->communityMessages = new Google_Service_Orkut_CommunityMessages_Resource($this, $this->serviceName, 'communityMessages', array('methods' => array("delete" => array('path' => "communities/{communityId}/topics/{topicId}/messages/{messageId}", 'httpMethod' => "DELETE", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "topicId" => array("location" => "path", "type" => "string", 'required' => true), "messageId" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "communities/{communityId}/topics/{topicId}/messages", 'httpMethod' => "POST", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "topicId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "communities/{communityId}/topics/{topicId}/messages", 'httpMethod' => "GET", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "topicId" => array("location" => "path", "type" => "string", 'required' => true), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"), "hl" => array("location" => "query", "type" => "string"))))));
     $this->communityPollComments = new Google_Service_Orkut_CommunityPollComments_Resource($this, $this->serviceName, 'communityPollComments', array('methods' => array("insert" => array('path' => "communities/{communityId}/polls/{pollId}/comments", 'httpMethod' => "POST", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "pollId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "communities/{communityId}/polls/{pollId}/comments", 'httpMethod' => "GET", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "pollId" => array("location" => "path", "type" => "string", 'required' => true), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"), "hl" => array("location" => "query", "type" => "string"))))));
     $this->communityPollVotes = new Google_Service_Orkut_CommunityPollVotes_Resource($this, $this->serviceName, 'communityPollVotes', array('methods' => array("insert" => array('path' => "communities/{communityId}/polls/{pollId}/votes", 'httpMethod' => "POST", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "pollId" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->communityPolls = new Google_Service_Orkut_CommunityPolls_Resource($this, $this->serviceName, 'communityPolls', array('methods' => array("get" => array('path' => "communities/{communityId}/polls/{pollId}", 'httpMethod' => "GET", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "pollId" => array("location" => "path", "type" => "string", 'required' => true), "hl" => array("location" => "query", "type" => "string"))), "list" => array('path' => "communities/{communityId}/polls", 'httpMethod' => "GET", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"), "hl" => array("location" => "query", "type" => "string"))))));
     $this->communityRelated = new Google_Service_Orkut_CommunityRelated_Resource($this, $this->serviceName, 'communityRelated', array('methods' => array("list" => array('path' => "communities/{communityId}/related", 'httpMethod' => "GET", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "hl" => array("location" => "query", "type" => "string"))))));
     $this->communityTopics = new Google_Service_Orkut_CommunityTopics_Resource($this, $this->serviceName, 'communityTopics', array('methods' => array("delete" => array('path' => "communities/{communityId}/topics/{topicId}", 'httpMethod' => "DELETE", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "topicId" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "communities/{communityId}/topics/{topicId}", 'httpMethod' => "GET", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "topicId" => array("location" => "path", "type" => "string", 'required' => true), "hl" => array("location" => "query", "type" => "string"))), "insert" => array('path' => "communities/{communityId}/topics", 'httpMethod' => "POST", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "isShout" => array("location" => "query", "type" => "boolean"))), "list" => array('path' => "communities/{communityId}/topics", 'httpMethod' => "GET", 'parameters' => array("communityId" => array("location" => "path", "type" => "integer", 'required' => true), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"), "hl" => array("location" => "query", "type" => "string"))))));
     $this->counters = new Google_Service_Orkut_Counters_Resource($this, $this->serviceName, 'counters', array('methods' => array("list" => array('path' => "people/{userId}/counters", 'httpMethod' => "GET", 'parameters' => array("userId" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->scraps = new Google_Service_Orkut_Scraps_Resource($this, $this->serviceName, 'scraps', array('methods' => array("insert" => array('path' => "activities/scraps", 'httpMethod' => "POST", 'parameters' => array()))));
 }
예제 #3
0
파일: Orkut.php 프로젝트: rickb838/scalr
 /**
  * Constructs the internal representation of the Orkut service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'orkut/v2/';
     $this->version = 'v2';
     $this->availableScopes = array("https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly");
     $this->serviceName = 'orkut';
     $client->addService($this->serviceName, $this->version, $this->availableScopes);
     $this->acl = new Google_Service_Orkut_Acl_Resource($this, $this->serviceName, 'acl', array('methods' => array('delete' => array('path' => 'activities/{activityId}/acl/{userId}', 'httpMethod' => 'DELETE', 'parameters' => array('activityId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->activities = new Google_Service_Orkut_Activities_Resource($this, $this->serviceName, 'activities', array('methods' => array('delete' => array('path' => 'activities/{activityId}', 'httpMethod' => 'DELETE', 'parameters' => array('activityId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'people/{userId}/activities/{collection}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'collection' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'hl' => array('location' => 'query', 'type' => 'string'))))));
     $this->activityVisibility = new Google_Service_Orkut_ActivityVisibility_Resource($this, $this->serviceName, 'activityVisibility', array('methods' => array('get' => array('path' => 'activities/{activityId}/visibility', 'httpMethod' => 'GET', 'parameters' => array('activityId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'patch' => array('path' => 'activities/{activityId}/visibility', 'httpMethod' => 'PATCH', 'parameters' => array('activityId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'activities/{activityId}/visibility', 'httpMethod' => 'PUT', 'parameters' => array('activityId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->badges = new Google_Service_Orkut_Badges_Resource($this, $this->serviceName, 'badges', array('methods' => array('get' => array('path' => 'people/{userId}/badges/{badgeId}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'badgeId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'people/{userId}/badges', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->comments = new Google_Service_Orkut_Comments_Resource($this, $this->serviceName, 'comments', array('methods' => array('delete' => array('path' => 'comments/{commentId}', 'httpMethod' => 'DELETE', 'parameters' => array('commentId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'comments/{commentId}', 'httpMethod' => 'GET', 'parameters' => array('commentId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'hl' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'activities/{activityId}/comments', 'httpMethod' => 'POST', 'parameters' => array('activityId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'activities/{activityId}/comments', 'httpMethod' => 'GET', 'parameters' => array('activityId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'orderBy' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'hl' => array('location' => 'query', 'type' => 'string'))))));
     $this->communities = new Google_Service_Orkut_Communities_Resource($this, $this->serviceName, 'communities', array('methods' => array('get' => array('path' => 'communities/{communityId}', 'httpMethod' => 'GET', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'hl' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'people/{userId}/communities', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'orderBy' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'hl' => array('location' => 'query', 'type' => 'string'))))));
     $this->communityFollow = new Google_Service_Orkut_CommunityFollow_Resource($this, $this->serviceName, 'communityFollow', array('methods' => array('delete' => array('path' => 'communities/{communityId}/followers/{userId}', 'httpMethod' => 'DELETE', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'communities/{communityId}/followers/{userId}', 'httpMethod' => 'POST', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->communityMembers = new Google_Service_Orkut_CommunityMembers_Resource($this, $this->serviceName, 'communityMembers', array('methods' => array('delete' => array('path' => 'communities/{communityId}/members/{userId}', 'httpMethod' => 'DELETE', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'communities/{communityId}/members/{userId}', 'httpMethod' => 'GET', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'hl' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'communities/{communityId}/members/{userId}', 'httpMethod' => 'POST', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'communities/{communityId}/members', 'httpMethod' => 'GET', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'friendsOnly' => array('location' => 'query', 'type' => 'boolean'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'hl' => array('location' => 'query', 'type' => 'string'))))));
     $this->communityMessages = new Google_Service_Orkut_CommunityMessages_Resource($this, $this->serviceName, 'communityMessages', array('methods' => array('delete' => array('path' => 'communities/{communityId}/topics/{topicId}/messages/{messageId}', 'httpMethod' => 'DELETE', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'topicId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'messageId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'communities/{communityId}/topics/{topicId}/messages', 'httpMethod' => 'POST', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'topicId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'communities/{communityId}/topics/{topicId}/messages', 'httpMethod' => 'GET', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'topicId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'hl' => array('location' => 'query', 'type' => 'string'))))));
     $this->communityPollComments = new Google_Service_Orkut_CommunityPollComments_Resource($this, $this->serviceName, 'communityPollComments', array('methods' => array('insert' => array('path' => 'communities/{communityId}/polls/{pollId}/comments', 'httpMethod' => 'POST', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'pollId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'communities/{communityId}/polls/{pollId}/comments', 'httpMethod' => 'GET', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'pollId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'hl' => array('location' => 'query', 'type' => 'string'))))));
     $this->communityPollVotes = new Google_Service_Orkut_CommunityPollVotes_Resource($this, $this->serviceName, 'communityPollVotes', array('methods' => array('insert' => array('path' => 'communities/{communityId}/polls/{pollId}/votes', 'httpMethod' => 'POST', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'pollId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->communityPolls = new Google_Service_Orkut_CommunityPolls_Resource($this, $this->serviceName, 'communityPolls', array('methods' => array('get' => array('path' => 'communities/{communityId}/polls/{pollId}', 'httpMethod' => 'GET', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'pollId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'hl' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'communities/{communityId}/polls', 'httpMethod' => 'GET', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'hl' => array('location' => 'query', 'type' => 'string'))))));
     $this->communityRelated = new Google_Service_Orkut_CommunityRelated_Resource($this, $this->serviceName, 'communityRelated', array('methods' => array('list' => array('path' => 'communities/{communityId}/related', 'httpMethod' => 'GET', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'hl' => array('location' => 'query', 'type' => 'string'))))));
     $this->communityTopics = new Google_Service_Orkut_CommunityTopics_Resource($this, $this->serviceName, 'communityTopics', array('methods' => array('delete' => array('path' => 'communities/{communityId}/topics/{topicId}', 'httpMethod' => 'DELETE', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'topicId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'communities/{communityId}/topics/{topicId}', 'httpMethod' => 'GET', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'topicId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'hl' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'communities/{communityId}/topics', 'httpMethod' => 'POST', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'isShout' => array('location' => 'query', 'type' => 'boolean'))), 'list' => array('path' => 'communities/{communityId}/topics', 'httpMethod' => 'GET', 'parameters' => array('communityId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'hl' => array('location' => 'query', 'type' => 'string'))))));
     $this->counters = new Google_Service_Orkut_Counters_Resource($this, $this->serviceName, 'counters', array('methods' => array('list' => array('path' => 'people/{userId}/counters', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->scraps = new Google_Service_Orkut_Scraps_Resource($this, $this->serviceName, 'scraps', array('methods' => array('insert' => array('path' => 'activities/scraps', 'httpMethod' => 'POST', 'parameters' => array()))));
 }
예제 #4
0
 /**
  * Constructs the internal representation of the Dataflow service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = '';
     $this->version = 'v1b4';
     $this->serviceName = 'dataflow';
 }
예제 #5
0
 /**
  * Constructs the internal representation of the Cloudsearch service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = '';
     $this->version = 'v1';
     $this->serviceName = 'cloudsearch';
 }
 /**
  * Constructs the internal representation of the Analytics service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'analytics/v3/';
     $this->version = 'v3';
     $this->availableScopes = array("https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.manage.users", "https://www.googleapis.com/auth/analytics.readonly", "https://www.googleapis.com/auth/analytics.edit");
     $this->serviceName = 'analytics';
     $client->addService($this->serviceName, $this->version, $this->availableScopes);
     $this->data_ga = new Google_Service_Analytics_DataGa_Resource($this, $this->serviceName, 'ga', array('methods' => array("get" => array('path' => "data/ga", 'httpMethod' => "GET", 'parameters' => array("ids" => array("location" => "query", "type" => "string", 'required' => true), "start_date" => array("location" => "query", "type" => "string", 'required' => true), "end_date" => array("location" => "query", "type" => "string", 'required' => true), "metrics" => array("location" => "query", "type" => "string", 'required' => true), "max_results" => array("location" => "query", "type" => "integer"), "sort" => array("location" => "query", "type" => "string"), "dimensions" => array("location" => "query", "type" => "string"), "start_index" => array("location" => "query", "type" => "integer"), "segment" => array("location" => "query", "type" => "string"), "samplingLevel" => array("location" => "query", "type" => "string"), "filters" => array("location" => "query", "type" => "string"))))));
     $this->data_mcf = new Google_Service_Analytics_DataMcf_Resource($this, $this->serviceName, 'mcf', array('methods' => array("get" => array('path' => "data/mcf", 'httpMethod' => "GET", 'parameters' => array("ids" => array("location" => "query", "type" => "string", 'required' => true), "start_date" => array("location" => "query", "type" => "string", 'required' => true), "end_date" => array("location" => "query", "type" => "string", 'required' => true), "metrics" => array("location" => "query", "type" => "string", 'required' => true), "max_results" => array("location" => "query", "type" => "integer"), "sort" => array("location" => "query", "type" => "string"), "dimensions" => array("location" => "query", "type" => "string"), "start_index" => array("location" => "query", "type" => "integer"), "samplingLevel" => array("location" => "query", "type" => "string"), "filters" => array("location" => "query", "type" => "string"))))));
     $this->data_realtime = new Google_Service_Analytics_DataRealtime_Resource($this, $this->serviceName, 'realtime', array('methods' => array("get" => array('path' => "data/realtime", 'httpMethod' => "GET", 'parameters' => array("ids" => array("location" => "query", "type" => "string", 'required' => true), "metrics" => array("location" => "query", "type" => "string", 'required' => true), "max_results" => array("location" => "query", "type" => "integer"), "sort" => array("location" => "query", "type" => "string"), "dimensions" => array("location" => "query", "type" => "string"), "filters" => array("location" => "query", "type" => "string"))))));
     $this->management_accountUserLinks = new Google_Service_Analytics_ManagementAccountUserLinks_Resource($this, $this->serviceName, 'accountUserLinks', array('methods' => array("delete" => array('path' => "management/accounts/{accountId}/entityUserLinks/{linkId}", 'httpMethod' => "DELETE", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "linkId" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "management/accounts/{accountId}/entityUserLinks", 'httpMethod' => "POST", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "management/accounts/{accountId}/entityUserLinks", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "max_results" => array("location" => "query", "type" => "integer"), "start_index" => array("location" => "query", "type" => "integer"))), "update" => array('path' => "management/accounts/{accountId}/entityUserLinks/{linkId}", 'httpMethod' => "PUT", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "linkId" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->management_accounts = new Google_Service_Analytics_ManagementAccounts_Resource($this, $this->serviceName, 'accounts', array('methods' => array("list" => array('path' => "management/accounts", 'httpMethod' => "GET", 'parameters' => array("max_results" => array("location" => "query", "type" => "integer"), "start_index" => array("location" => "query", "type" => "integer"))))));
     $this->management_customDataSources = new Google_Service_Analytics_ManagementCustomDataSources_Resource($this, $this->serviceName, 'customDataSources', array('methods' => array("list" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "max_results" => array("location" => "query", "type" => "integer"), "start_index" => array("location" => "query", "type" => "integer"))))));
     $this->management_dailyUploads = new Google_Service_Analytics_ManagementDailyUploads_Resource($this, $this->serviceName, 'dailyUploads', array('methods' => array("delete" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}", 'httpMethod' => "DELETE", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "customDataSourceId" => array("location" => "path", "type" => "string", 'required' => true), "date" => array("location" => "path", "type" => "string", 'required' => true), "type" => array("location" => "query", "type" => "string", 'required' => true))), "list" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "customDataSourceId" => array("location" => "path", "type" => "string", 'required' => true), "start_date" => array("location" => "query", "type" => "string", 'required' => true), "end_date" => array("location" => "query", "type" => "string", 'required' => true), "max_results" => array("location" => "query", "type" => "integer"), "start_index" => array("location" => "query", "type" => "integer"))), "upload" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads", 'httpMethod' => "POST", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "customDataSourceId" => array("location" => "path", "type" => "string", 'required' => true), "date" => array("location" => "path", "type" => "string", 'required' => true), "appendNumber" => array("location" => "query", "type" => "integer", 'required' => true), "type" => array("location" => "query", "type" => "string", 'required' => true), "reset" => array("location" => "query", "type" => "boolean"))))));
     $this->management_experiments = new Google_Service_Analytics_ManagementExperiments_Resource($this, $this->serviceName, 'experiments', array('methods' => array("delete" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", 'httpMethod' => "DELETE", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true), "experimentId" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true), "experimentId" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments", 'httpMethod' => "POST", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true), "max_results" => array("location" => "query", "type" => "integer"), "start_index" => array("location" => "query", "type" => "integer"))), "patch" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", 'httpMethod' => "PATCH", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true), "experimentId" => array("location" => "path", "type" => "string", 'required' => true))), "update" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", 'httpMethod' => "PUT", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true), "experimentId" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->management_goals = new Google_Service_Analytics_ManagementGoals_Resource($this, $this->serviceName, 'goals', array('methods' => array("get" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true), "goalId" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals", 'httpMethod' => "POST", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true), "max_results" => array("location" => "query", "type" => "integer"), "start_index" => array("location" => "query", "type" => "integer"))), "patch" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}", 'httpMethod' => "PATCH", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true), "goalId" => array("location" => "path", "type" => "string", 'required' => true))), "update" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}", 'httpMethod' => "PUT", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true), "goalId" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->management_profileUserLinks = new Google_Service_Analytics_ManagementProfileUserLinks_Resource($this, $this->serviceName, 'profileUserLinks', array('methods' => array("delete" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}", 'httpMethod' => "DELETE", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true), "linkId" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks", 'httpMethod' => "POST", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true), "max_results" => array("location" => "query", "type" => "integer"), "start_index" => array("location" => "query", "type" => "integer"))), "update" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}", 'httpMethod' => "PUT", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true), "linkId" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->management_profiles = new Google_Service_Analytics_ManagementProfiles_Resource($this, $this->serviceName, 'profiles', array('methods' => array("delete" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}", 'httpMethod' => "DELETE", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles", 'httpMethod' => "POST", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "max_results" => array("location" => "query", "type" => "integer"), "start_index" => array("location" => "query", "type" => "integer"))), "patch" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}", 'httpMethod' => "PATCH", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true))), "update" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}", 'httpMethod' => "PUT", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "profileId" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->management_segments = new Google_Service_Analytics_ManagementSegments_Resource($this, $this->serviceName, 'segments', array('methods' => array("list" => array('path' => "management/segments", 'httpMethod' => "GET", 'parameters' => array("max_results" => array("location" => "query", "type" => "integer"), "start_index" => array("location" => "query", "type" => "integer"))))));
     $this->management_uploads = new Google_Service_Analytics_ManagementUploads_Resource($this, $this->serviceName, 'uploads', array('methods' => array("deleteUploadData" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData", 'httpMethod' => "POST", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "customDataSourceId" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "customDataSourceId" => array("location" => "path", "type" => "string", 'required' => true), "uploadId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "customDataSourceId" => array("location" => "path", "type" => "string", 'required' => true), "max_results" => array("location" => "query", "type" => "integer"), "start_index" => array("location" => "query", "type" => "integer"))), "uploadData" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads", 'httpMethod' => "POST", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "customDataSourceId" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->management_webproperties = new Google_Service_Analytics_ManagementWebproperties_Resource($this, $this->serviceName, 'webproperties', array('methods' => array("get" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "management/accounts/{accountId}/webproperties", 'httpMethod' => "POST", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "management/accounts/{accountId}/webproperties", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "max_results" => array("location" => "query", "type" => "integer"), "start_index" => array("location" => "query", "type" => "integer"))), "patch" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}", 'httpMethod' => "PATCH", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true))), "update" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}", 'httpMethod' => "PUT", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->management_webpropertyUserLinks = new Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource($this, $this->serviceName, 'webpropertyUserLinks', array('methods' => array("delete" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}", 'httpMethod' => "DELETE", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "linkId" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks", 'httpMethod' => "POST", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "max_results" => array("location" => "query", "type" => "integer"), "start_index" => array("location" => "query", "type" => "integer"))), "update" => array('path' => "management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}", 'httpMethod' => "PUT", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "webPropertyId" => array("location" => "path", "type" => "string", 'required' => true), "linkId" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->metadata_columns = new Google_Service_Analytics_MetadataColumns_Resource($this, $this->serviceName, 'columns', array('methods' => array("list" => array('path' => "metadata/{reportType}/columns", 'httpMethod' => "GET", 'parameters' => array("reportType" => array("location" => "path", "type" => "string", 'required' => true))))));
 }
예제 #7
0
 /**
  * Constructs the internal representation of the Compute service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'compute/v1beta16/projects/';
     $this->version = 'v1beta16';
     $this->availableScopes = array("https://www.googleapis.com/auth/devstorage.read_only", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/devstorage.read_write", "https://www.googleapis.com/auth/devstorage.full_control", "https://www.googleapis.com/auth/compute.readonly");
     $this->serviceName = 'compute';
     $client->addService($this->serviceName, $this->version, $this->availableScopes);
     $this->addresses = new Google_Service_Compute_Addresses_Resource($this, $this->serviceName, 'addresses', array('methods' => array("aggregatedList" => array('path' => "{project}/aggregated/addresses", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))), "delete" => array('path' => "{project}/regions/{region}/addresses/{address}", 'httpMethod' => "DELETE", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "address" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "{project}/regions/{region}/addresses/{address}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "address" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "{project}/regions/{region}/addresses", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "{project}/regions/{region}/addresses", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->disks = new Google_Service_Compute_Disks_Resource($this, $this->serviceName, 'disks', array('methods' => array("aggregatedList" => array('path' => "{project}/aggregated/disks", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))), "createSnapshot" => array('path' => "{project}/zones/{zone}/disks/{disk}/createSnapshot", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "disk" => array("location" => "path", "type" => "string", 'required' => true))), "delete" => array('path' => "{project}/zones/{zone}/disks/{disk}", 'httpMethod' => "DELETE", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "disk" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "{project}/zones/{zone}/disks/{disk}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "disk" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "{project}/zones/{zone}/disks", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "sourceImage" => array("location" => "query", "type" => "string"))), "list" => array('path' => "{project}/zones/{zone}/disks", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->firewalls = new Google_Service_Compute_Firewalls_Resource($this, $this->serviceName, 'firewalls', array('methods' => array("delete" => array('path' => "{project}/global/firewalls/{firewall}", 'httpMethod' => "DELETE", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "firewall" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "{project}/global/firewalls/{firewall}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "firewall" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "{project}/global/firewalls", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "{project}/global/firewalls", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))), "patch" => array('path' => "{project}/global/firewalls/{firewall}", 'httpMethod' => "PATCH", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "firewall" => array("location" => "path", "type" => "string", 'required' => true))), "update" => array('path' => "{project}/global/firewalls/{firewall}", 'httpMethod' => "PUT", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "firewall" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->forwardingRules = new Google_Service_Compute_ForwardingRules_Resource($this, $this->serviceName, 'forwardingRules', array('methods' => array("aggregatedList" => array('path' => "{project}/aggregated/forwardingRules", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))), "delete" => array('path' => "{project}/regions/{region}/forwardingRules/{forwardingRule}", 'httpMethod' => "DELETE", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "forwardingRule" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "{project}/regions/{region}/forwardingRules/{forwardingRule}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "forwardingRule" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "{project}/regions/{region}/forwardingRules", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "{project}/regions/{region}/forwardingRules", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))), "setTarget" => array('path' => "{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "forwardingRule" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->globalOperations = new Google_Service_Compute_GlobalOperations_Resource($this, $this->serviceName, 'globalOperations', array('methods' => array("aggregatedList" => array('path' => "{project}/aggregated/operations", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))), "delete" => array('path' => "{project}/global/operations/{operation}", 'httpMethod' => "DELETE", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "operation" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "{project}/global/operations/{operation}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "operation" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "{project}/global/operations", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->httpHealthChecks = new Google_Service_Compute_HttpHealthChecks_Resource($this, $this->serviceName, 'httpHealthChecks', array('methods' => array("delete" => array('path' => "{project}/global/httpHealthChecks/{httpHealthCheck}", 'httpMethod' => "DELETE", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "httpHealthCheck" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "{project}/global/httpHealthChecks/{httpHealthCheck}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "httpHealthCheck" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "{project}/global/httpHealthChecks", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "{project}/global/httpHealthChecks", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))), "patch" => array('path' => "{project}/global/httpHealthChecks/{httpHealthCheck}", 'httpMethod' => "PATCH", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "httpHealthCheck" => array("location" => "path", "type" => "string", 'required' => true))), "update" => array('path' => "{project}/global/httpHealthChecks/{httpHealthCheck}", 'httpMethod' => "PUT", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "httpHealthCheck" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->images = new Google_Service_Compute_Images_Resource($this, $this->serviceName, 'images', array('methods' => array("delete" => array('path' => "{project}/global/images/{image}", 'httpMethod' => "DELETE", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "image" => array("location" => "path", "type" => "string", 'required' => true))), "deprecate" => array('path' => "{project}/global/images/{image}/deprecate", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "image" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "{project}/global/images/{image}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "image" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "{project}/global/images", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "{project}/global/images", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->instances = new Google_Service_Compute_Instances_Resource($this, $this->serviceName, 'instances', array('methods' => array("addAccessConfig" => array('path' => "{project}/zones/{zone}/instances/{instance}/addAccessConfig", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "instance" => array("location" => "path", "type" => "string", 'required' => true), "networkInterface" => array("location" => "query", "type" => "string", 'required' => true))), "aggregatedList" => array('path' => "{project}/aggregated/instances", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))), "attachDisk" => array('path' => "{project}/zones/{zone}/instances/{instance}/attachDisk", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "instance" => array("location" => "path", "type" => "string", 'required' => true))), "delete" => array('path' => "{project}/zones/{zone}/instances/{instance}", 'httpMethod' => "DELETE", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "instance" => array("location" => "path", "type" => "string", 'required' => true))), "deleteAccessConfig" => array('path' => "{project}/zones/{zone}/instances/{instance}/deleteAccessConfig", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "instance" => array("location" => "path", "type" => "string", 'required' => true), "accessConfig" => array("location" => "query", "type" => "string", 'required' => true), "networkInterface" => array("location" => "query", "type" => "string", 'required' => true))), "detachDisk" => array('path' => "{project}/zones/{zone}/instances/{instance}/detachDisk", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "instance" => array("location" => "path", "type" => "string", 'required' => true), "deviceName" => array("location" => "query", "type" => "string", 'required' => true))), "get" => array('path' => "{project}/zones/{zone}/instances/{instance}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "instance" => array("location" => "path", "type" => "string", 'required' => true))), "getSerialPortOutput" => array('path' => "{project}/zones/{zone}/instances/{instance}/serialPort", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "instance" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "{project}/zones/{zone}/instances", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "{project}/zones/{zone}/instances", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))), "reset" => array('path' => "{project}/zones/{zone}/instances/{instance}/reset", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "instance" => array("location" => "path", "type" => "string", 'required' => true))), "setMetadata" => array('path' => "{project}/zones/{zone}/instances/{instance}/setMetadata", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "instance" => array("location" => "path", "type" => "string", 'required' => true))), "setTags" => array('path' => "{project}/zones/{zone}/instances/{instance}/setTags", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "instance" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->kernels = new Google_Service_Compute_Kernels_Resource($this, $this->serviceName, 'kernels', array('methods' => array("get" => array('path' => "{project}/global/kernels/{kernel}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "kernel" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "{project}/global/kernels", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->machineTypes = new Google_Service_Compute_MachineTypes_Resource($this, $this->serviceName, 'machineTypes', array('methods' => array("aggregatedList" => array('path' => "{project}/aggregated/machineTypes", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))), "get" => array('path' => "{project}/zones/{zone}/machineTypes/{machineType}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "machineType" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "{project}/zones/{zone}/machineTypes", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->networks = new Google_Service_Compute_Networks_Resource($this, $this->serviceName, 'networks', array('methods' => array("delete" => array('path' => "{project}/global/networks/{network}", 'httpMethod' => "DELETE", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "network" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "{project}/global/networks/{network}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "network" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "{project}/global/networks", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "{project}/global/networks", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->projects = new Google_Service_Compute_Projects_Resource($this, $this->serviceName, 'projects', array('methods' => array("get" => array('path' => "{project}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true))), "setCommonInstanceMetadata" => array('path' => "{project}/setCommonInstanceMetadata", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true))))));
     $this->regionOperations = new Google_Service_Compute_RegionOperations_Resource($this, $this->serviceName, 'regionOperations', array('methods' => array("delete" => array('path' => "{project}/regions/{region}/operations/{operation}", 'httpMethod' => "DELETE", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "operation" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "{project}/regions/{region}/operations/{operation}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "operation" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "{project}/regions/{region}/operations", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->regions = new Google_Service_Compute_Regions_Resource($this, $this->serviceName, 'regions', array('methods' => array("get" => array('path' => "{project}/regions/{region}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "{project}/regions", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->routes = new Google_Service_Compute_Routes_Resource($this, $this->serviceName, 'routes', array('methods' => array("delete" => array('path' => "{project}/global/routes/{route}", 'httpMethod' => "DELETE", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "route" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "{project}/global/routes/{route}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "route" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "{project}/global/routes", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "{project}/global/routes", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->snapshots = new Google_Service_Compute_Snapshots_Resource($this, $this->serviceName, 'snapshots', array('methods' => array("delete" => array('path' => "{project}/global/snapshots/{snapshot}", 'httpMethod' => "DELETE", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "snapshot" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "{project}/global/snapshots/{snapshot}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "snapshot" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "{project}/global/snapshots", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->targetPools = new Google_Service_Compute_TargetPools_Resource($this, $this->serviceName, 'targetPools', array('methods' => array("addHealthCheck" => array('path' => "{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "targetPool" => array("location" => "path", "type" => "string", 'required' => true))), "addInstance" => array('path' => "{project}/regions/{region}/targetPools/{targetPool}/addInstance", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "targetPool" => array("location" => "path", "type" => "string", 'required' => true))), "aggregatedList" => array('path' => "{project}/aggregated/targetPools", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))), "delete" => array('path' => "{project}/regions/{region}/targetPools/{targetPool}", 'httpMethod' => "DELETE", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "targetPool" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "{project}/regions/{region}/targetPools/{targetPool}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "targetPool" => array("location" => "path", "type" => "string", 'required' => true))), "getHealth" => array('path' => "{project}/regions/{region}/targetPools/{targetPool}/getHealth", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "targetPool" => array("location" => "path", "type" => "string", 'required' => true))), "insert" => array('path' => "{project}/regions/{region}/targetPools", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "{project}/regions/{region}/targetPools", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))), "removeHealthCheck" => array('path' => "{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "targetPool" => array("location" => "path", "type" => "string", 'required' => true))), "removeInstance" => array('path' => "{project}/regions/{region}/targetPools/{targetPool}/removeInstance", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "targetPool" => array("location" => "path", "type" => "string", 'required' => true))), "setBackup" => array('path' => "{project}/regions/{region}/targetPools/{targetPool}/setBackup", 'httpMethod' => "POST", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "region" => array("location" => "path", "type" => "string", 'required' => true), "targetPool" => array("location" => "path", "type" => "string", 'required' => true), "failoverRatio" => array("location" => "query", "type" => "number"))))));
     $this->zoneOperations = new Google_Service_Compute_ZoneOperations_Resource($this, $this->serviceName, 'zoneOperations', array('methods' => array("delete" => array('path' => "{project}/zones/{zone}/operations/{operation}", 'httpMethod' => "DELETE", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "operation" => array("location" => "path", "type" => "string", 'required' => true))), "get" => array('path' => "{project}/zones/{zone}/operations/{operation}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "operation" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "{project}/zones/{zone}/operations", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->zones = new Google_Service_Compute_Zones_Resource($this, $this->serviceName, 'zones', array('methods' => array("get" => array('path' => "{project}/zones/{zone}", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "zone" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "{project}/zones", 'httpMethod' => "GET", 'parameters' => array("project" => array("location" => "path", "type" => "string", 'required' => true), "filter" => array("location" => "query", "type" => "string"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
 }
예제 #8
0
 /**
  * Constructs the internal representation of the AdSense service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'adsense/v1.3/';
     $this->version = 'v1.3';
     $this->availableScopes = array("https://www.googleapis.com/auth/adsense.readonly", "https://www.googleapis.com/auth/adsense");
     $this->serviceName = 'adsense';
     $client->addService($this->serviceName, $this->version, $this->availableScopes);
     $this->accounts = new Google_Service_AdSense_Accounts_Resource($this, $this->serviceName, 'accounts', array('methods' => array("get" => array('path' => "accounts/{accountId}", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "tree" => array("location" => "query", "type" => "boolean"))), "list" => array('path' => "accounts", 'httpMethod' => "GET", 'parameters' => array("pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->accounts_adclients = new Google_Service_AdSense_AccountsAdclients_Resource($this, $this->serviceName, 'adclients', array('methods' => array("list" => array('path' => "accounts/{accountId}/adclients", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->accounts_adunits = new Google_Service_AdSense_AccountsAdunits_Resource($this, $this->serviceName, 'adunits', array('methods' => array("get" => array('path' => "accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "adClientId" => array("location" => "path", "type" => "string", 'required' => true), "adUnitId" => array("location" => "path", "type" => "string", 'required' => true))), "getAdCode" => array('path' => "accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "adClientId" => array("location" => "path", "type" => "string", 'required' => true), "adUnitId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "accounts/{accountId}/adclients/{adClientId}/adunits", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "adClientId" => array("location" => "path", "type" => "string", 'required' => true), "includeInactive" => array("location" => "query", "type" => "boolean"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->accounts_adunits_customchannels = new Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource($this, $this->serviceName, 'customchannels', array('methods' => array("list" => array('path' => "accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "adClientId" => array("location" => "path", "type" => "string", 'required' => true), "adUnitId" => array("location" => "path", "type" => "string", 'required' => true), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->accounts_alerts = new Google_Service_AdSense_AccountsAlerts_Resource($this, $this->serviceName, 'alerts', array('methods' => array("list" => array('path' => "accounts/{accountId}/alerts", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "locale" => array("location" => "query", "type" => "string"))))));
     $this->accounts_customchannels = new Google_Service_AdSense_AccountsCustomchannels_Resource($this, $this->serviceName, 'customchannels', array('methods' => array("get" => array('path' => "accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "adClientId" => array("location" => "path", "type" => "string", 'required' => true), "customChannelId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "accounts/{accountId}/adclients/{adClientId}/customchannels", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "adClientId" => array("location" => "path", "type" => "string", 'required' => true), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->accounts_customchannels_adunits = new Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource($this, $this->serviceName, 'adunits', array('methods' => array("list" => array('path' => "accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "adClientId" => array("location" => "path", "type" => "string", 'required' => true), "customChannelId" => array("location" => "path", "type" => "string", 'required' => true), "includeInactive" => array("location" => "query", "type" => "boolean"), "maxResults" => array("location" => "query", "type" => "integer"), "pageToken" => array("location" => "query", "type" => "string"))))));
     $this->accounts_reports = new Google_Service_AdSense_AccountsReports_Resource($this, $this->serviceName, 'reports', array('methods' => array("generate" => array('path' => "accounts/{accountId}/reports", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "startDate" => array("location" => "query", "type" => "string", 'required' => true), "endDate" => array("location" => "query", "type" => "string", 'required' => true), "sort" => array("location" => "query", "type" => "string", 'repeated' => true), "locale" => array("location" => "query", "type" => "string"), "metric" => array("location" => "query", "type" => "string", 'repeated' => true), "maxResults" => array("location" => "query", "type" => "integer"), "filter" => array("location" => "query", "type" => "string", 'repeated' => true), "currency" => array("location" => "query", "type" => "string"), "startIndex" => array("location" => "query", "type" => "integer"), "useTimezoneReporting" => array("location" => "query", "type" => "boolean"), "dimension" => array("location" => "query", "type" => "string", 'repeated' => true))))));
     $this->accounts_reports_saved = new Google_Service_AdSense_AccountsReportsSaved_Resource($this, $this->serviceName, 'saved', array('methods' => array("generate" => array('path' => "accounts/{accountId}/reports/{savedReportId}", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "savedReportId" => array("location" => "path", "type" => "string", 'required' => true), "locale" => array("location" => "query", "type" => "string"), "startIndex" => array("location" => "query", "type" => "integer"), "maxResults" => array("location" => "query", "type" => "integer"))), "list" => array('path' => "accounts/{accountId}/reports/saved", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->accounts_savedadstyles = new Google_Service_AdSense_AccountsSavedadstyles_Resource($this, $this->serviceName, 'savedadstyles', array('methods' => array("get" => array('path' => "accounts/{accountId}/savedadstyles/{savedAdStyleId}", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "savedAdStyleId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "accounts/{accountId}/savedadstyles", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->accounts_urlchannels = new Google_Service_AdSense_AccountsUrlchannels_Resource($this, $this->serviceName, 'urlchannels', array('methods' => array("list" => array('path' => "accounts/{accountId}/adclients/{adClientId}/urlchannels", 'httpMethod' => "GET", 'parameters' => array("accountId" => array("location" => "path", "type" => "string", 'required' => true), "adClientId" => array("location" => "path", "type" => "string", 'required' => true), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->adclients = new Google_Service_AdSense_Adclients_Resource($this, $this->serviceName, 'adclients', array('methods' => array("list" => array('path' => "adclients", 'httpMethod' => "GET", 'parameters' => array("pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->adunits = new Google_Service_AdSense_Adunits_Resource($this, $this->serviceName, 'adunits', array('methods' => array("get" => array('path' => "adclients/{adClientId}/adunits/{adUnitId}", 'httpMethod' => "GET", 'parameters' => array("adClientId" => array("location" => "path", "type" => "string", 'required' => true), "adUnitId" => array("location" => "path", "type" => "string", 'required' => true))), "getAdCode" => array('path' => "adclients/{adClientId}/adunits/{adUnitId}/adcode", 'httpMethod' => "GET", 'parameters' => array("adClientId" => array("location" => "path", "type" => "string", 'required' => true), "adUnitId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "adclients/{adClientId}/adunits", 'httpMethod' => "GET", 'parameters' => array("adClientId" => array("location" => "path", "type" => "string", 'required' => true), "includeInactive" => array("location" => "query", "type" => "boolean"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->adunits_customchannels = new Google_Service_AdSense_AdunitsCustomchannels_Resource($this, $this->serviceName, 'customchannels', array('methods' => array("list" => array('path' => "adclients/{adClientId}/adunits/{adUnitId}/customchannels", 'httpMethod' => "GET", 'parameters' => array("adClientId" => array("location" => "path", "type" => "string", 'required' => true), "adUnitId" => array("location" => "path", "type" => "string", 'required' => true), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->alerts = new Google_Service_AdSense_Alerts_Resource($this, $this->serviceName, 'alerts', array('methods' => array("list" => array('path' => "alerts", 'httpMethod' => "GET", 'parameters' => array("locale" => array("location" => "query", "type" => "string"))))));
     $this->customchannels = new Google_Service_AdSense_Customchannels_Resource($this, $this->serviceName, 'customchannels', array('methods' => array("get" => array('path' => "adclients/{adClientId}/customchannels/{customChannelId}", 'httpMethod' => "GET", 'parameters' => array("adClientId" => array("location" => "path", "type" => "string", 'required' => true), "customChannelId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "adclients/{adClientId}/customchannels", 'httpMethod' => "GET", 'parameters' => array("adClientId" => array("location" => "path", "type" => "string", 'required' => true), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->customchannels_adunits = new Google_Service_AdSense_CustomchannelsAdunits_Resource($this, $this->serviceName, 'adunits', array('methods' => array("list" => array('path' => "adclients/{adClientId}/customchannels/{customChannelId}/adunits", 'httpMethod' => "GET", 'parameters' => array("adClientId" => array("location" => "path", "type" => "string", 'required' => true), "customChannelId" => array("location" => "path", "type" => "string", 'required' => true), "includeInactive" => array("location" => "query", "type" => "boolean"), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->metadata_dimensions = new Google_Service_AdSense_MetadataDimensions_Resource($this, $this->serviceName, 'dimensions', array('methods' => array("list" => array('path' => "metadata/dimensions", 'httpMethod' => "GET", 'parameters' => array()))));
     $this->metadata_metrics = new Google_Service_AdSense_MetadataMetrics_Resource($this, $this->serviceName, 'metrics', array('methods' => array("list" => array('path' => "metadata/metrics", 'httpMethod' => "GET", 'parameters' => array()))));
     $this->reports = new Google_Service_AdSense_Reports_Resource($this, $this->serviceName, 'reports', array('methods' => array("generate" => array('path' => "reports", 'httpMethod' => "GET", 'parameters' => array("startDate" => array("location" => "query", "type" => "string", 'required' => true), "endDate" => array("location" => "query", "type" => "string", 'required' => true), "sort" => array("location" => "query", "type" => "string", 'repeated' => true), "locale" => array("location" => "query", "type" => "string"), "metric" => array("location" => "query", "type" => "string", 'repeated' => true), "maxResults" => array("location" => "query", "type" => "integer"), "filter" => array("location" => "query", "type" => "string", 'repeated' => true), "currency" => array("location" => "query", "type" => "string"), "startIndex" => array("location" => "query", "type" => "integer"), "useTimezoneReporting" => array("location" => "query", "type" => "boolean"), "dimension" => array("location" => "query", "type" => "string", 'repeated' => true), "accountId" => array("location" => "query", "type" => "string", 'repeated' => true))))));
     $this->reports_saved = new Google_Service_AdSense_ReportsSaved_Resource($this, $this->serviceName, 'saved', array('methods' => array("generate" => array('path' => "reports/{savedReportId}", 'httpMethod' => "GET", 'parameters' => array("savedReportId" => array("location" => "path", "type" => "string", 'required' => true), "locale" => array("location" => "query", "type" => "string"), "startIndex" => array("location" => "query", "type" => "integer"), "maxResults" => array("location" => "query", "type" => "integer"))), "list" => array('path' => "reports/saved", 'httpMethod' => "GET", 'parameters' => array("pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->savedadstyles = new Google_Service_AdSense_Savedadstyles_Resource($this, $this->serviceName, 'savedadstyles', array('methods' => array("get" => array('path' => "savedadstyles/{savedAdStyleId}", 'httpMethod' => "GET", 'parameters' => array("savedAdStyleId" => array("location" => "path", "type" => "string", 'required' => true))), "list" => array('path' => "savedadstyles", 'httpMethod' => "GET", 'parameters' => array("pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
     $this->urlchannels = new Google_Service_AdSense_Urlchannels_Resource($this, $this->serviceName, 'urlchannels', array('methods' => array("list" => array('path' => "adclients/{adClientId}/urlchannels", 'httpMethod' => "GET", 'parameters' => array("adClientId" => array("location" => "path", "type" => "string", 'required' => true), "pageToken" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"))))));
 }
예제 #9
0
 /**
  * Constructs the internal representation of the Books service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'books/v1/';
     $this->version = 'v1';
     $this->availableScopes = array("https://www.googleapis.com/auth/books");
     $this->serviceName = 'books';
     $client->addService($this->serviceName, $this->version, $this->availableScopes);
     $this->bookshelves = new Google_Service_Books_Bookshelves_Resource($this, $this->serviceName, 'bookshelves', array('methods' => array("get" => array('path' => "users/{userId}/bookshelves/{shelf}", 'httpMethod' => "GET", 'parameters' => array("userId" => array("location" => "path", "type" => "string", 'required' => true), "shelf" => array("location" => "path", "type" => "string", 'required' => true), "source" => array("location" => "query", "type" => "string"))), "list" => array('path' => "users/{userId}/bookshelves", 'httpMethod' => "GET", 'parameters' => array("userId" => array("location" => "path", "type" => "string", 'required' => true), "source" => array("location" => "query", "type" => "string"))))));
     $this->bookshelves_volumes = new Google_Service_Books_BookshelvesVolumes_Resource($this, $this->serviceName, 'volumes', array('methods' => array("list" => array('path' => "users/{userId}/bookshelves/{shelf}/volumes", 'httpMethod' => "GET", 'parameters' => array("userId" => array("location" => "path", "type" => "string", 'required' => true), "shelf" => array("location" => "path", "type" => "string", 'required' => true), "showPreorders" => array("location" => "query", "type" => "boolean"), "maxResults" => array("location" => "query", "type" => "integer"), "source" => array("location" => "query", "type" => "string"), "startIndex" => array("location" => "query", "type" => "integer"))))));
     $this->cloudloading = new Google_Service_Books_Cloudloading_Resource($this, $this->serviceName, 'cloudloading', array('methods' => array("addBook" => array('path' => "cloudloading/addBook", 'httpMethod' => "POST", 'parameters' => array("upload_client_token" => array("location" => "query", "type" => "string"), "drive_document_id" => array("location" => "query", "type" => "string"), "mime_type" => array("location" => "query", "type" => "string"), "name" => array("location" => "query", "type" => "string"))), "deleteBook" => array('path' => "cloudloading/deleteBook", 'httpMethod' => "POST", 'parameters' => array("volumeId" => array("location" => "query", "type" => "string", 'required' => true))), "updateBook" => array('path' => "cloudloading/updateBook", 'httpMethod' => "POST", 'parameters' => array()))));
     $this->layers = new Google_Service_Books_Layers_Resource($this, $this->serviceName, 'layers', array('methods' => array("get" => array('path' => "volumes/{volumeId}/layersummary/{summaryId}", 'httpMethod' => "GET", 'parameters' => array("volumeId" => array("location" => "path", "type" => "string", 'required' => true), "summaryId" => array("location" => "path", "type" => "string", 'required' => true), "source" => array("location" => "query", "type" => "string"), "contentVersion" => array("location" => "query", "type" => "string"))), "list" => array('path' => "volumes/{volumeId}/layersummary", 'httpMethod' => "GET", 'parameters' => array("volumeId" => array("location" => "path", "type" => "string", 'required' => true), "pageToken" => array("location" => "query", "type" => "string"), "contentVersion" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"), "source" => array("location" => "query", "type" => "string"))))));
     $this->layers_annotationData = new Google_Service_Books_LayersAnnotationData_Resource($this, $this->serviceName, 'annotationData', array('methods' => array("get" => array('path' => "volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}", 'httpMethod' => "GET", 'parameters' => array("volumeId" => array("location" => "path", "type" => "string", 'required' => true), "layerId" => array("location" => "path", "type" => "string", 'required' => true), "annotationDataId" => array("location" => "path", "type" => "string", 'required' => true), "contentVersion" => array("location" => "query", "type" => "string", 'required' => true), "scale" => array("location" => "query", "type" => "integer"), "source" => array("location" => "query", "type" => "string"), "allowWebDefinitions" => array("location" => "query", "type" => "boolean"), "h" => array("location" => "query", "type" => "integer"), "locale" => array("location" => "query", "type" => "string"), "w" => array("location" => "query", "type" => "integer"))), "list" => array('path' => "volumes/{volumeId}/layers/{layerId}/data", 'httpMethod' => "GET", 'parameters' => array("volumeId" => array("location" => "path", "type" => "string", 'required' => true), "layerId" => array("location" => "path", "type" => "string", 'required' => true), "contentVersion" => array("location" => "query", "type" => "string", 'required' => true), "scale" => array("location" => "query", "type" => "integer"), "source" => array("location" => "query", "type" => "string"), "locale" => array("location" => "query", "type" => "string"), "h" => array("location" => "query", "type" => "integer"), "updatedMax" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"), "annotationDataId" => array("location" => "query", "type" => "string", 'repeated' => true), "pageToken" => array("location" => "query", "type" => "string"), "w" => array("location" => "query", "type" => "integer"), "updatedMin" => array("location" => "query", "type" => "string"))))));
     $this->layers_volumeAnnotations = new Google_Service_Books_LayersVolumeAnnotations_Resource($this, $this->serviceName, 'volumeAnnotations', array('methods' => array("get" => array('path' => "volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}", 'httpMethod' => "GET", 'parameters' => array("volumeId" => array("location" => "path", "type" => "string", 'required' => true), "layerId" => array("location" => "path", "type" => "string", 'required' => true), "annotationId" => array("location" => "path", "type" => "string", 'required' => true), "locale" => array("location" => "query", "type" => "string"), "source" => array("location" => "query", "type" => "string"))), "list" => array('path' => "volumes/{volumeId}/layers/{layerId}", 'httpMethod' => "GET", 'parameters' => array("volumeId" => array("location" => "path", "type" => "string", 'required' => true), "layerId" => array("location" => "path", "type" => "string", 'required' => true), "contentVersion" => array("location" => "query", "type" => "string", 'required' => true), "showDeleted" => array("location" => "query", "type" => "boolean"), "volumeAnnotationsVersion" => array("location" => "query", "type" => "string"), "endPosition" => array("location" => "query", "type" => "string"), "endOffset" => array("location" => "query", "type" => "string"), "locale" => array("location" => "query", "type" => "string"), "updatedMin" => array("location" => "query", "type" => "string"), "updatedMax" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"), "pageToken" => array("location" => "query", "type" => "string"), "source" => array("location" => "query", "type" => "string"), "startOffset" => array("location" => "query", "type" => "string"), "startPosition" => array("location" => "query", "type" => "string"))))));
     $this->myconfig = new Google_Service_Books_Myconfig_Resource($this, $this->serviceName, 'myconfig', array('methods' => array("releaseDownloadAccess" => array('path' => "myconfig/releaseDownloadAccess", 'httpMethod' => "POST", 'parameters' => array("volumeIds" => array("location" => "query", "type" => "string", 'repeated' => true, 'required' => true), "cpksver" => array("location" => "query", "type" => "string", 'required' => true), "locale" => array("location" => "query", "type" => "string"), "source" => array("location" => "query", "type" => "string"))), "requestAccess" => array('path' => "myconfig/requestAccess", 'httpMethod' => "POST", 'parameters' => array("source" => array("location" => "query", "type" => "string", 'required' => true), "volumeId" => array("location" => "query", "type" => "string", 'required' => true), "nonce" => array("location" => "query", "type" => "string", 'required' => true), "cpksver" => array("location" => "query", "type" => "string", 'required' => true), "licenseTypes" => array("location" => "query", "type" => "string"), "locale" => array("location" => "query", "type" => "string"))), "syncVolumeLicenses" => array('path' => "myconfig/syncVolumeLicenses", 'httpMethod' => "POST", 'parameters' => array("source" => array("location" => "query", "type" => "string", 'required' => true), "nonce" => array("location" => "query", "type" => "string", 'required' => true), "cpksver" => array("location" => "query", "type" => "string", 'required' => true), "features" => array("location" => "query", "type" => "string", 'repeated' => true), "locale" => array("location" => "query", "type" => "string"), "showPreorders" => array("location" => "query", "type" => "boolean"), "volumeIds" => array("location" => "query", "type" => "string", 'repeated' => true))))));
     $this->mylibrary_annotations = new Google_Service_Books_MylibraryAnnotations_Resource($this, $this->serviceName, 'annotations', array('methods' => array("delete" => array('path' => "mylibrary/annotations/{annotationId}", 'httpMethod' => "DELETE", 'parameters' => array("annotationId" => array("location" => "path", "type" => "string", 'required' => true), "source" => array("location" => "query", "type" => "string"))), "get" => array('path' => "mylibrary/annotations/{annotationId}", 'httpMethod' => "GET", 'parameters' => array("annotationId" => array("location" => "path", "type" => "string", 'required' => true), "source" => array("location" => "query", "type" => "string"))), "insert" => array('path' => "mylibrary/annotations", 'httpMethod' => "POST", 'parameters' => array("source" => array("location" => "query", "type" => "string"), "showOnlySummaryInResponse" => array("location" => "query", "type" => "boolean"))), "list" => array('path' => "mylibrary/annotations", 'httpMethod' => "GET", 'parameters' => array("showDeleted" => array("location" => "query", "type" => "boolean"), "updatedMin" => array("location" => "query", "type" => "string"), "layerIds" => array("location" => "query", "type" => "string", 'repeated' => true), "volumeId" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"), "pageToken" => array("location" => "query", "type" => "string"), "pageIds" => array("location" => "query", "type" => "string", 'repeated' => true), "contentVersion" => array("location" => "query", "type" => "string"), "source" => array("location" => "query", "type" => "string"), "layerId" => array("location" => "query", "type" => "string"), "updatedMax" => array("location" => "query", "type" => "string"))), "summary" => array('path' => "mylibrary/annotations/summary", 'httpMethod' => "POST", 'parameters' => array("layerIds" => array("location" => "query", "type" => "string", 'repeated' => true, 'required' => true), "volumeId" => array("location" => "query", "type" => "string", 'required' => true))), "update" => array('path' => "mylibrary/annotations/{annotationId}", 'httpMethod' => "PUT", 'parameters' => array("annotationId" => array("location" => "path", "type" => "string", 'required' => true), "source" => array("location" => "query", "type" => "string"))))));
     $this->mylibrary_bookshelves = new Google_Service_Books_MylibraryBookshelves_Resource($this, $this->serviceName, 'bookshelves', array('methods' => array("addVolume" => array('path' => "mylibrary/bookshelves/{shelf}/addVolume", 'httpMethod' => "POST", 'parameters' => array("shelf" => array("location" => "path", "type" => "string", 'required' => true), "volumeId" => array("location" => "query", "type" => "string", 'required' => true), "source" => array("location" => "query", "type" => "string"))), "clearVolumes" => array('path' => "mylibrary/bookshelves/{shelf}/clearVolumes", 'httpMethod' => "POST", 'parameters' => array("shelf" => array("location" => "path", "type" => "string", 'required' => true), "source" => array("location" => "query", "type" => "string"))), "get" => array('path' => "mylibrary/bookshelves/{shelf}", 'httpMethod' => "GET", 'parameters' => array("shelf" => array("location" => "path", "type" => "string", 'required' => true), "source" => array("location" => "query", "type" => "string"))), "list" => array('path' => "mylibrary/bookshelves", 'httpMethod' => "GET", 'parameters' => array("source" => array("location" => "query", "type" => "string"))), "moveVolume" => array('path' => "mylibrary/bookshelves/{shelf}/moveVolume", 'httpMethod' => "POST", 'parameters' => array("shelf" => array("location" => "path", "type" => "string", 'required' => true), "volumeId" => array("location" => "query", "type" => "string", 'required' => true), "volumePosition" => array("location" => "query", "type" => "integer", 'required' => true), "source" => array("location" => "query", "type" => "string"))), "removeVolume" => array('path' => "mylibrary/bookshelves/{shelf}/removeVolume", 'httpMethod' => "POST", 'parameters' => array("shelf" => array("location" => "path", "type" => "string", 'required' => true), "volumeId" => array("location" => "query", "type" => "string", 'required' => true), "source" => array("location" => "query", "type" => "string"))))));
     $this->mylibrary_bookshelves_volumes = new Google_Service_Books_MylibraryBookshelvesVolumes_Resource($this, $this->serviceName, 'volumes', array('methods' => array("list" => array('path' => "mylibrary/bookshelves/{shelf}/volumes", 'httpMethod' => "GET", 'parameters' => array("shelf" => array("location" => "path", "type" => "string", 'required' => true), "projection" => array("location" => "query", "type" => "string"), "country" => array("location" => "query", "type" => "string"), "showPreorders" => array("location" => "query", "type" => "boolean"), "maxResults" => array("location" => "query", "type" => "integer"), "q" => array("location" => "query", "type" => "string"), "source" => array("location" => "query", "type" => "string"), "startIndex" => array("location" => "query", "type" => "integer"))))));
     $this->mylibrary_readingpositions = new Google_Service_Books_MylibraryReadingpositions_Resource($this, $this->serviceName, 'readingpositions', array('methods' => array("get" => array('path' => "mylibrary/readingpositions/{volumeId}", 'httpMethod' => "GET", 'parameters' => array("volumeId" => array("location" => "path", "type" => "string", 'required' => true), "source" => array("location" => "query", "type" => "string"), "contentVersion" => array("location" => "query", "type" => "string"))), "setPosition" => array('path' => "mylibrary/readingpositions/{volumeId}/setPosition", 'httpMethod' => "POST", 'parameters' => array("volumeId" => array("location" => "path", "type" => "string", 'required' => true), "timestamp" => array("location" => "query", "type" => "string", 'required' => true), "position" => array("location" => "query", "type" => "string", 'required' => true), "deviceCookie" => array("location" => "query", "type" => "string"), "source" => array("location" => "query", "type" => "string"), "contentVersion" => array("location" => "query", "type" => "string"), "action" => array("location" => "query", "type" => "string"))))));
     $this->volumes = new Google_Service_Books_Volumes_Resource($this, $this->serviceName, 'volumes', array('methods' => array("get" => array('path' => "volumes/{volumeId}", 'httpMethod' => "GET", 'parameters' => array("volumeId" => array("location" => "path", "type" => "string", 'required' => true), "source" => array("location" => "query", "type" => "string"), "country" => array("location" => "query", "type" => "string"), "projection" => array("location" => "query", "type" => "string"), "partner" => array("location" => "query", "type" => "string"))), "list" => array('path' => "volumes", 'httpMethod' => "GET", 'parameters' => array("q" => array("location" => "query", "type" => "string", 'required' => true), "orderBy" => array("location" => "query", "type" => "string"), "projection" => array("location" => "query", "type" => "string"), "libraryRestrict" => array("location" => "query", "type" => "string"), "langRestrict" => array("location" => "query", "type" => "string"), "showPreorders" => array("location" => "query", "type" => "boolean"), "printType" => array("location" => "query", "type" => "string"), "maxResults" => array("location" => "query", "type" => "integer"), "filter" => array("location" => "query", "type" => "string"), "source" => array("location" => "query", "type" => "string"), "startIndex" => array("location" => "query", "type" => "integer"), "download" => array("location" => "query", "type" => "string"), "partner" => array("location" => "query", "type" => "string"))))));
     $this->volumes_associated = new Google_Service_Books_VolumesAssociated_Resource($this, $this->serviceName, 'associated', array('methods' => array("list" => array('path' => "volumes/{volumeId}/associated", 'httpMethod' => "GET", 'parameters' => array("volumeId" => array("location" => "path", "type" => "string", 'required' => true), "locale" => array("location" => "query", "type" => "string"), "source" => array("location" => "query", "type" => "string"), "association" => array("location" => "query", "type" => "string"))))));
     $this->volumes_mybooks = new Google_Service_Books_VolumesMybooks_Resource($this, $this->serviceName, 'mybooks', array('methods' => array("list" => array('path' => "volumes/mybooks", 'httpMethod' => "GET", 'parameters' => array("locale" => array("location" => "query", "type" => "string"), "startIndex" => array("location" => "query", "type" => "integer"), "maxResults" => array("location" => "query", "type" => "integer"), "source" => array("location" => "query", "type" => "string"), "acquireMethod" => array("location" => "query", "type" => "string", 'repeated' => true), "processingState" => array("location" => "query", "type" => "string", 'repeated' => true))))));
     $this->volumes_recommended = new Google_Service_Books_VolumesRecommended_Resource($this, $this->serviceName, 'recommended', array('methods' => array("list" => array('path' => "volumes/recommended", 'httpMethod' => "GET", 'parameters' => array("locale" => array("location" => "query", "type" => "string"), "source" => array("location" => "query", "type" => "string"))), "rate" => array('path' => "volumes/recommended/rate", 'httpMethod' => "POST", 'parameters' => array("rating" => array("location" => "query", "type" => "string", 'required' => true), "volumeId" => array("location" => "query", "type" => "string", 'required' => true), "locale" => array("location" => "query", "type" => "string"), "source" => array("location" => "query", "type" => "string"))))));
     $this->volumes_useruploaded = new Google_Service_Books_VolumesUseruploaded_Resource($this, $this->serviceName, 'useruploaded', array('methods' => array("list" => array('path' => "volumes/useruploaded", 'httpMethod' => "GET", 'parameters' => array("locale" => array("location" => "query", "type" => "string"), "volumeId" => array("location" => "query", "type" => "string", 'repeated' => true), "maxResults" => array("location" => "query", "type" => "integer"), "source" => array("location" => "query", "type" => "string"), "startIndex" => array("location" => "query", "type" => "integer"), "processingState" => array("location" => "query", "type" => "string", 'repeated' => true))))));
 }
예제 #10
0
 /**
  * Constructs the internal representation of the Books service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'books/v1/';
     $this->version = 'v1';
     $this->serviceName = 'books';
     $this->bookshelves = new Google_Service_Books_Bookshelves_Resource($this, $this->serviceName, 'bookshelves', array('methods' => array('get' => array('path' => 'users/{userId}/bookshelves/{shelf}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'shelf' => array('location' => 'path', 'type' => 'string', 'required' => true), 'source' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'users/{userId}/bookshelves', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'source' => array('location' => 'query', 'type' => 'string'))))));
     $this->bookshelves_volumes = new Google_Service_Books_BookshelvesVolumes_Resource($this, $this->serviceName, 'volumes', array('methods' => array('list' => array('path' => 'users/{userId}/bookshelves/{shelf}/volumes', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'shelf' => array('location' => 'path', 'type' => 'string', 'required' => true), 'showPreorders' => array('location' => 'query', 'type' => 'boolean'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'source' => array('location' => 'query', 'type' => 'string'), 'startIndex' => array('location' => 'query', 'type' => 'integer'))))));
     $this->cloudloading = new Google_Service_Books_Cloudloading_Resource($this, $this->serviceName, 'cloudloading', array('methods' => array('addBook' => array('path' => 'cloudloading/addBook', 'httpMethod' => 'POST', 'parameters' => array('upload_client_token' => array('location' => 'query', 'type' => 'string'), 'drive_document_id' => array('location' => 'query', 'type' => 'string'), 'mime_type' => array('location' => 'query', 'type' => 'string'), 'name' => array('location' => 'query', 'type' => 'string'))), 'deleteBook' => array('path' => 'cloudloading/deleteBook', 'httpMethod' => 'POST', 'parameters' => array('volumeId' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'updateBook' => array('path' => 'cloudloading/updateBook', 'httpMethod' => 'POST', 'parameters' => array()))));
     $this->dictionary = new Google_Service_Books_Dictionary_Resource($this, $this->serviceName, 'dictionary', array('methods' => array('listOfflineMetadata' => array('path' => 'dictionary/listOfflineMetadata', 'httpMethod' => 'GET', 'parameters' => array('cpksver' => array('location' => 'query', 'type' => 'string', 'required' => true))))));
     $this->layers = new Google_Service_Books_Layers_Resource($this, $this->serviceName, 'layers', array('methods' => array('get' => array('path' => 'volumes/{volumeId}/layersummary/{summaryId}', 'httpMethod' => 'GET', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'summaryId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'source' => array('location' => 'query', 'type' => 'string'), 'contentVersion' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'volumes/{volumeId}/layersummary', 'httpMethod' => 'GET', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'contentVersion' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'source' => array('location' => 'query', 'type' => 'string'))))));
     $this->layers_annotationData = new Google_Service_Books_LayersAnnotationData_Resource($this, $this->serviceName, 'annotationData', array('methods' => array('get' => array('path' => 'volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}', 'httpMethod' => 'GET', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'layerId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'annotationDataId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'contentVersion' => array('location' => 'query', 'type' => 'string', 'required' => true), 'scale' => array('location' => 'query', 'type' => 'integer'), 'source' => array('location' => 'query', 'type' => 'string'), 'allowWebDefinitions' => array('location' => 'query', 'type' => 'boolean'), 'h' => array('location' => 'query', 'type' => 'integer'), 'locale' => array('location' => 'query', 'type' => 'string'), 'w' => array('location' => 'query', 'type' => 'integer'))), 'list' => array('path' => 'volumes/{volumeId}/layers/{layerId}/data', 'httpMethod' => 'GET', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'layerId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'contentVersion' => array('location' => 'query', 'type' => 'string', 'required' => true), 'scale' => array('location' => 'query', 'type' => 'integer'), 'source' => array('location' => 'query', 'type' => 'string'), 'locale' => array('location' => 'query', 'type' => 'string'), 'h' => array('location' => 'query', 'type' => 'integer'), 'updatedMax' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'annotationDataId' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'w' => array('location' => 'query', 'type' => 'integer'), 'updatedMin' => array('location' => 'query', 'type' => 'string'))))));
     $this->layers_volumeAnnotations = new Google_Service_Books_LayersVolumeAnnotations_Resource($this, $this->serviceName, 'volumeAnnotations', array('methods' => array('get' => array('path' => 'volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}', 'httpMethod' => 'GET', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'layerId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'annotationId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'locale' => array('location' => 'query', 'type' => 'string'), 'source' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'volumes/{volumeId}/layers/{layerId}', 'httpMethod' => 'GET', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'layerId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'contentVersion' => array('location' => 'query', 'type' => 'string', 'required' => true), 'showDeleted' => array('location' => 'query', 'type' => 'boolean'), 'volumeAnnotationsVersion' => array('location' => 'query', 'type' => 'string'), 'endPosition' => array('location' => 'query', 'type' => 'string'), 'endOffset' => array('location' => 'query', 'type' => 'string'), 'locale' => array('location' => 'query', 'type' => 'string'), 'updatedMin' => array('location' => 'query', 'type' => 'string'), 'updatedMax' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'source' => array('location' => 'query', 'type' => 'string'), 'startOffset' => array('location' => 'query', 'type' => 'string'), 'startPosition' => array('location' => 'query', 'type' => 'string'))))));
     $this->myconfig = new Google_Service_Books_Myconfig_Resource($this, $this->serviceName, 'myconfig', array('methods' => array('getUserSettings' => array('path' => 'myconfig/getUserSettings', 'httpMethod' => 'GET', 'parameters' => array()), 'releaseDownloadAccess' => array('path' => 'myconfig/releaseDownloadAccess', 'httpMethod' => 'POST', 'parameters' => array('volumeIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, 'required' => true), 'cpksver' => array('location' => 'query', 'type' => 'string', 'required' => true), 'locale' => array('location' => 'query', 'type' => 'string'), 'source' => array('location' => 'query', 'type' => 'string'))), 'requestAccess' => array('path' => 'myconfig/requestAccess', 'httpMethod' => 'POST', 'parameters' => array('source' => array('location' => 'query', 'type' => 'string', 'required' => true), 'volumeId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'nonce' => array('location' => 'query', 'type' => 'string', 'required' => true), 'cpksver' => array('location' => 'query', 'type' => 'string', 'required' => true), 'licenseTypes' => array('location' => 'query', 'type' => 'string'), 'locale' => array('location' => 'query', 'type' => 'string'))), 'syncVolumeLicenses' => array('path' => 'myconfig/syncVolumeLicenses', 'httpMethod' => 'POST', 'parameters' => array('source' => array('location' => 'query', 'type' => 'string', 'required' => true), 'nonce' => array('location' => 'query', 'type' => 'string', 'required' => true), 'cpksver' => array('location' => 'query', 'type' => 'string', 'required' => true), 'features' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'locale' => array('location' => 'query', 'type' => 'string'), 'showPreorders' => array('location' => 'query', 'type' => 'boolean'), 'volumeIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true))), 'updateUserSettings' => array('path' => 'myconfig/updateUserSettings', 'httpMethod' => 'POST', 'parameters' => array()))));
     $this->mylibrary_annotations = new Google_Service_Books_MylibraryAnnotations_Resource($this, $this->serviceName, 'annotations', array('methods' => array('delete' => array('path' => 'mylibrary/annotations/{annotationId}', 'httpMethod' => 'DELETE', 'parameters' => array('annotationId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'source' => array('location' => 'query', 'type' => 'string'))), 'get' => array('path' => 'mylibrary/annotations/{annotationId}', 'httpMethod' => 'GET', 'parameters' => array('annotationId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'source' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'mylibrary/annotations', 'httpMethod' => 'POST', 'parameters' => array('country' => array('location' => 'query', 'type' => 'string'), 'showOnlySummaryInResponse' => array('location' => 'query', 'type' => 'boolean'), 'source' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'mylibrary/annotations', 'httpMethod' => 'GET', 'parameters' => array('showDeleted' => array('location' => 'query', 'type' => 'boolean'), 'updatedMin' => array('location' => 'query', 'type' => 'string'), 'layerIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'volumeId' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'pageIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'contentVersion' => array('location' => 'query', 'type' => 'string'), 'source' => array('location' => 'query', 'type' => 'string'), 'layerId' => array('location' => 'query', 'type' => 'string'), 'updatedMax' => array('location' => 'query', 'type' => 'string'))), 'summary' => array('path' => 'mylibrary/annotations/summary', 'httpMethod' => 'POST', 'parameters' => array('layerIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, 'required' => true), 'volumeId' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'mylibrary/annotations/{annotationId}', 'httpMethod' => 'PUT', 'parameters' => array('annotationId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'source' => array('location' => 'query', 'type' => 'string'))))));
     $this->mylibrary_bookshelves = new Google_Service_Books_MylibraryBookshelves_Resource($this, $this->serviceName, 'bookshelves', array('methods' => array('addVolume' => array('path' => 'mylibrary/bookshelves/{shelf}/addVolume', 'httpMethod' => 'POST', 'parameters' => array('shelf' => array('location' => 'path', 'type' => 'string', 'required' => true), 'volumeId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'reason' => array('location' => 'query', 'type' => 'string'), 'source' => array('location' => 'query', 'type' => 'string'))), 'clearVolumes' => array('path' => 'mylibrary/bookshelves/{shelf}/clearVolumes', 'httpMethod' => 'POST', 'parameters' => array('shelf' => array('location' => 'path', 'type' => 'string', 'required' => true), 'source' => array('location' => 'query', 'type' => 'string'))), 'get' => array('path' => 'mylibrary/bookshelves/{shelf}', 'httpMethod' => 'GET', 'parameters' => array('shelf' => array('location' => 'path', 'type' => 'string', 'required' => true), 'source' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'mylibrary/bookshelves', 'httpMethod' => 'GET', 'parameters' => array('source' => array('location' => 'query', 'type' => 'string'))), 'moveVolume' => array('path' => 'mylibrary/bookshelves/{shelf}/moveVolume', 'httpMethod' => 'POST', 'parameters' => array('shelf' => array('location' => 'path', 'type' => 'string', 'required' => true), 'volumeId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'volumePosition' => array('location' => 'query', 'type' => 'integer', 'required' => true), 'source' => array('location' => 'query', 'type' => 'string'))), 'removeVolume' => array('path' => 'mylibrary/bookshelves/{shelf}/removeVolume', 'httpMethod' => 'POST', 'parameters' => array('shelf' => array('location' => 'path', 'type' => 'string', 'required' => true), 'volumeId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'source' => array('location' => 'query', 'type' => 'string'))))));
     $this->mylibrary_bookshelves_volumes = new Google_Service_Books_MylibraryBookshelvesVolumes_Resource($this, $this->serviceName, 'volumes', array('methods' => array('list' => array('path' => 'mylibrary/bookshelves/{shelf}/volumes', 'httpMethod' => 'GET', 'parameters' => array('shelf' => array('location' => 'path', 'type' => 'string', 'required' => true), 'projection' => array('location' => 'query', 'type' => 'string'), 'country' => array('location' => 'query', 'type' => 'string'), 'showPreorders' => array('location' => 'query', 'type' => 'boolean'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'q' => array('location' => 'query', 'type' => 'string'), 'source' => array('location' => 'query', 'type' => 'string'), 'startIndex' => array('location' => 'query', 'type' => 'integer'))))));
     $this->mylibrary_readingpositions = new Google_Service_Books_MylibraryReadingpositions_Resource($this, $this->serviceName, 'readingpositions', array('methods' => array('get' => array('path' => 'mylibrary/readingpositions/{volumeId}', 'httpMethod' => 'GET', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'source' => array('location' => 'query', 'type' => 'string'), 'contentVersion' => array('location' => 'query', 'type' => 'string'))), 'setPosition' => array('path' => 'mylibrary/readingpositions/{volumeId}/setPosition', 'httpMethod' => 'POST', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'timestamp' => array('location' => 'query', 'type' => 'string', 'required' => true), 'position' => array('location' => 'query', 'type' => 'string', 'required' => true), 'deviceCookie' => array('location' => 'query', 'type' => 'string'), 'source' => array('location' => 'query', 'type' => 'string'), 'contentVersion' => array('location' => 'query', 'type' => 'string'), 'action' => array('location' => 'query', 'type' => 'string'))))));
     $this->onboarding = new Google_Service_Books_Onboarding_Resource($this, $this->serviceName, 'onboarding', array('methods' => array('listCategories' => array('path' => 'onboarding/listCategories', 'httpMethod' => 'GET', 'parameters' => array('locale' => array('location' => 'query', 'type' => 'string'))), 'listCategoryVolumes' => array('path' => 'onboarding/listCategoryVolumes', 'httpMethod' => 'GET', 'parameters' => array('locale' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'categoryId' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'pageSize' => array('location' => 'query', 'type' => 'integer'))))));
     $this->promooffer = new Google_Service_Books_Promooffer_Resource($this, $this->serviceName, 'promooffer', array('methods' => array('accept' => array('path' => 'promooffer/accept', 'httpMethod' => 'POST', 'parameters' => array('product' => array('location' => 'query', 'type' => 'string'), 'volumeId' => array('location' => 'query', 'type' => 'string'), 'offerId' => array('location' => 'query', 'type' => 'string'), 'androidId' => array('location' => 'query', 'type' => 'string'), 'device' => array('location' => 'query', 'type' => 'string'), 'model' => array('location' => 'query', 'type' => 'string'), 'serial' => array('location' => 'query', 'type' => 'string'), 'manufacturer' => array('location' => 'query', 'type' => 'string'))), 'dismiss' => array('path' => 'promooffer/dismiss', 'httpMethod' => 'POST', 'parameters' => array('product' => array('location' => 'query', 'type' => 'string'), 'offerId' => array('location' => 'query', 'type' => 'string'), 'androidId' => array('location' => 'query', 'type' => 'string'), 'device' => array('location' => 'query', 'type' => 'string'), 'model' => array('location' => 'query', 'type' => 'string'), 'serial' => array('location' => 'query', 'type' => 'string'), 'manufacturer' => array('location' => 'query', 'type' => 'string'))), 'get' => array('path' => 'promooffer/get', 'httpMethod' => 'GET', 'parameters' => array('product' => array('location' => 'query', 'type' => 'string'), 'androidId' => array('location' => 'query', 'type' => 'string'), 'device' => array('location' => 'query', 'type' => 'string'), 'model' => array('location' => 'query', 'type' => 'string'), 'serial' => array('location' => 'query', 'type' => 'string'), 'manufacturer' => array('location' => 'query', 'type' => 'string'))))));
     $this->volumes = new Google_Service_Books_Volumes_Resource($this, $this->serviceName, 'volumes', array('methods' => array('get' => array('path' => 'volumes/{volumeId}', 'httpMethod' => 'GET', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'source' => array('location' => 'query', 'type' => 'string'), 'country' => array('location' => 'query', 'type' => 'string'), 'projection' => array('location' => 'query', 'type' => 'string'), 'partner' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'volumes', 'httpMethod' => 'GET', 'parameters' => array('q' => array('location' => 'query', 'type' => 'string', 'required' => true), 'orderBy' => array('location' => 'query', 'type' => 'string'), 'projection' => array('location' => 'query', 'type' => 'string'), 'libraryRestrict' => array('location' => 'query', 'type' => 'string'), 'langRestrict' => array('location' => 'query', 'type' => 'string'), 'showPreorders' => array('location' => 'query', 'type' => 'boolean'), 'printType' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'filter' => array('location' => 'query', 'type' => 'string'), 'source' => array('location' => 'query', 'type' => 'string'), 'startIndex' => array('location' => 'query', 'type' => 'integer'), 'download' => array('location' => 'query', 'type' => 'string'), 'partner' => array('location' => 'query', 'type' => 'string'))))));
     $this->volumes_associated = new Google_Service_Books_VolumesAssociated_Resource($this, $this->serviceName, 'associated', array('methods' => array('list' => array('path' => 'volumes/{volumeId}/associated', 'httpMethod' => 'GET', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'locale' => array('location' => 'query', 'type' => 'string'), 'source' => array('location' => 'query', 'type' => 'string'), 'association' => array('location' => 'query', 'type' => 'string'))))));
     $this->volumes_mybooks = new Google_Service_Books_VolumesMybooks_Resource($this, $this->serviceName, 'mybooks', array('methods' => array('list' => array('path' => 'volumes/mybooks', 'httpMethod' => 'GET', 'parameters' => array('locale' => array('location' => 'query', 'type' => 'string'), 'startIndex' => array('location' => 'query', 'type' => 'integer'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'source' => array('location' => 'query', 'type' => 'string'), 'acquireMethod' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'processingState' => array('location' => 'query', 'type' => 'string', 'repeated' => true))))));
     $this->volumes_recommended = new Google_Service_Books_VolumesRecommended_Resource($this, $this->serviceName, 'recommended', array('methods' => array('list' => array('path' => 'volumes/recommended', 'httpMethod' => 'GET', 'parameters' => array('locale' => array('location' => 'query', 'type' => 'string'), 'source' => array('location' => 'query', 'type' => 'string'))), 'rate' => array('path' => 'volumes/recommended/rate', 'httpMethod' => 'POST', 'parameters' => array('rating' => array('location' => 'query', 'type' => 'string', 'required' => true), 'volumeId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'locale' => array('location' => 'query', 'type' => 'string'), 'source' => array('location' => 'query', 'type' => 'string'))))));
     $this->volumes_useruploaded = new Google_Service_Books_VolumesUseruploaded_Resource($this, $this->serviceName, 'useruploaded', array('methods' => array('list' => array('path' => 'volumes/useruploaded', 'httpMethod' => 'GET', 'parameters' => array('locale' => array('location' => 'query', 'type' => 'string'), 'volumeId' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'source' => array('location' => 'query', 'type' => 'string'), 'startIndex' => array('location' => 'query', 'type' => 'integer'), 'processingState' => array('location' => 'query', 'type' => 'string', 'repeated' => true))))));
 }
예제 #11
0
 /**
  * Constructs the internal representation of the YouTube service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->rootUrl = 'https://www.googleapis.com/';
     $this->servicePath = 'youtube/v3/';
     $this->version = 'v3';
     $this->serviceName = 'youtube';
     $this->activities = new Google_Service_YouTube_Activities_Resource($this, $this->serviceName, 'activities', array('methods' => array('insert' => array('path' => 'activities', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'activities', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'regionCode' => array('location' => 'query', 'type' => 'string'), 'publishedBefore' => array('location' => 'query', 'type' => 'string'), 'channelId' => array('location' => 'query', 'type' => 'string'), 'mine' => array('location' => 'query', 'type' => 'boolean'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'home' => array('location' => 'query', 'type' => 'boolean'), 'publishedAfter' => array('location' => 'query', 'type' => 'string'))))));
     $this->captions = new Google_Service_YouTube_Captions_Resource($this, $this->serviceName, 'captions', array('methods' => array('delete' => array('path' => 'captions', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOf' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'download' => array('path' => 'captions/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true), 'tfmt' => array('location' => 'query', 'type' => 'string'), 'onBehalfOf' => array('location' => 'query', 'type' => 'string'), 'tlang' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'captions', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOf' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'sync' => array('location' => 'query', 'type' => 'boolean'))), 'list' => array('path' => 'captions', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'videoId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOf' => array('location' => 'query', 'type' => 'string'), 'id' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'update' => array('path' => 'captions', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOf' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'sync' => array('location' => 'query', 'type' => 'boolean'))))));
     $this->channelBanners = new Google_Service_YouTube_ChannelBanners_Resource($this, $this->serviceName, 'channelBanners', array('methods' => array('insert' => array('path' => 'channelBanners/insert', 'httpMethod' => 'POST', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->channelSections = new Google_Service_YouTube_ChannelSections_Resource($this, $this->serviceName, 'channelSections', array('methods' => array('delete' => array('path' => 'channelSections', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'channelSections', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'channelSections', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'channelId' => array('location' => 'query', 'type' => 'string'), 'mine' => array('location' => 'query', 'type' => 'boolean'), 'hl' => array('location' => 'query', 'type' => 'string'), 'id' => array('location' => 'query', 'type' => 'string'))), 'update' => array('path' => 'channelSections', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->channels = new Google_Service_YouTube_Channels_Resource($this, $this->serviceName, 'channels', array('methods' => array('list' => array('path' => 'channels', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'managedByMe' => array('location' => 'query', 'type' => 'boolean'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'forUsername' => array('location' => 'query', 'type' => 'string'), 'mine' => array('location' => 'query', 'type' => 'boolean'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'id' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'mySubscribers' => array('location' => 'query', 'type' => 'boolean'), 'hl' => array('location' => 'query', 'type' => 'string'), 'categoryId' => array('location' => 'query', 'type' => 'string'))), 'update' => array('path' => 'channels', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->commentThreads = new Google_Service_YouTube_CommentThreads_Resource($this, $this->serviceName, 'commentThreads', array('methods' => array('insert' => array('path' => 'commentThreads', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'commentThreads', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'searchTerms' => array('location' => 'query', 'type' => 'string'), 'allThreadsRelatedToChannelId' => array('location' => 'query', 'type' => 'string'), 'channelId' => array('location' => 'query', 'type' => 'string'), 'videoId' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'id' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'moderationStatus' => array('location' => 'query', 'type' => 'string'), 'textFormat' => array('location' => 'query', 'type' => 'string'), 'order' => array('location' => 'query', 'type' => 'string'))), 'update' => array('path' => 'commentThreads', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true))))));
     $this->comments = new Google_Service_YouTube_Comments_Resource($this, $this->serviceName, 'comments', array('methods' => array('delete' => array('path' => 'comments', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'comments', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'comments', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'parentId' => array('location' => 'query', 'type' => 'string'), 'textFormat' => array('location' => 'query', 'type' => 'string'), 'id' => array('location' => 'query', 'type' => 'string'))), 'markAsSpam' => array('path' => 'comments/markAsSpam', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'setModerationStatus' => array('path' => 'comments/setModerationStatus', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true), 'moderationStatus' => array('location' => 'query', 'type' => 'string', 'required' => true), 'banAuthor' => array('location' => 'query', 'type' => 'boolean'))), 'update' => array('path' => 'comments', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true))))));
     $this->guideCategories = new Google_Service_YouTube_GuideCategories_Resource($this, $this->serviceName, 'guideCategories', array('methods' => array('list' => array('path' => 'guideCategories', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'regionCode' => array('location' => 'query', 'type' => 'string'), 'id' => array('location' => 'query', 'type' => 'string'), 'hl' => array('location' => 'query', 'type' => 'string'))))));
     $this->i18nLanguages = new Google_Service_YouTube_I18nLanguages_Resource($this, $this->serviceName, 'i18nLanguages', array('methods' => array('list' => array('path' => 'i18nLanguages', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'hl' => array('location' => 'query', 'type' => 'string'))))));
     $this->i18nRegions = new Google_Service_YouTube_I18nRegions_Resource($this, $this->serviceName, 'i18nRegions', array('methods' => array('list' => array('path' => 'i18nRegions', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'hl' => array('location' => 'query', 'type' => 'string'))))));
     $this->liveBroadcasts = new Google_Service_YouTube_LiveBroadcasts_Resource($this, $this->serviceName, 'liveBroadcasts', array('methods' => array('bind' => array('path' => 'liveBroadcasts/bind', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true), 'part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'streamId' => array('location' => 'query', 'type' => 'string'))), 'control' => array('path' => 'liveBroadcasts/control', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true), 'part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'displaySlate' => array('location' => 'query', 'type' => 'boolean'), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string'), 'offsetTimeMs' => array('location' => 'query', 'type' => 'string'), 'walltime' => array('location' => 'query', 'type' => 'string'))), 'delete' => array('path' => 'liveBroadcasts', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'liveBroadcasts', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'liveBroadcasts', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'broadcastStatus' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string'), 'mine' => array('location' => 'query', 'type' => 'boolean'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'id' => array('location' => 'query', 'type' => 'string'))), 'transition' => array('path' => 'liveBroadcasts/transition', 'httpMethod' => 'POST', 'parameters' => array('broadcastStatus' => array('location' => 'query', 'type' => 'string', 'required' => true), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true), 'part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'update' => array('path' => 'liveBroadcasts', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->liveStreams = new Google_Service_YouTube_LiveStreams_Resource($this, $this->serviceName, 'liveStreams', array('methods' => array('delete' => array('path' => 'liveStreams', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'liveStreams', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'liveStreams', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string'), 'mine' => array('location' => 'query', 'type' => 'boolean'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'id' => array('location' => 'query', 'type' => 'string'))), 'update' => array('path' => 'liveStreams', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->playlistItems = new Google_Service_YouTube_PlaylistItems_Resource($this, $this->serviceName, 'playlistItems', array('methods' => array('delete' => array('path' => 'playlistItems', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'playlistItems', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'playlistItems', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'playlistId' => array('location' => 'query', 'type' => 'string'), 'videoId' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'id' => array('location' => 'query', 'type' => 'string'))), 'update' => array('path' => 'playlistItems', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true))))));
     $this->playlists = new Google_Service_YouTube_Playlists_Resource($this, $this->serviceName, 'playlists', array('methods' => array('delete' => array('path' => 'playlists', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'playlists', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'playlists', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string'), 'channelId' => array('location' => 'query', 'type' => 'string'), 'mine' => array('location' => 'query', 'type' => 'boolean'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'hl' => array('location' => 'query', 'type' => 'string'), 'id' => array('location' => 'query', 'type' => 'string'))), 'update' => array('path' => 'playlists', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->search = new Google_Service_YouTube_Search_Resource($this, $this->serviceName, 'search', array('methods' => array('list' => array('path' => 'search', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'eventType' => array('location' => 'query', 'type' => 'string'), 'channelId' => array('location' => 'query', 'type' => 'string'), 'forDeveloper' => array('location' => 'query', 'type' => 'boolean'), 'videoSyndicated' => array('location' => 'query', 'type' => 'string'), 'channelType' => array('location' => 'query', 'type' => 'string'), 'videoCaption' => array('location' => 'query', 'type' => 'string'), 'publishedAfter' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'forContentOwner' => array('location' => 'query', 'type' => 'boolean'), 'regionCode' => array('location' => 'query', 'type' => 'string'), 'location' => array('location' => 'query', 'type' => 'string'), 'locationRadius' => array('location' => 'query', 'type' => 'string'), 'videoType' => array('location' => 'query', 'type' => 'string'), 'type' => array('location' => 'query', 'type' => 'string'), 'topicId' => array('location' => 'query', 'type' => 'string'), 'publishedBefore' => array('location' => 'query', 'type' => 'string'), 'videoDimension' => array('location' => 'query', 'type' => 'string'), 'videoLicense' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'relatedToVideoId' => array('location' => 'query', 'type' => 'string'), 'videoDefinition' => array('location' => 'query', 'type' => 'string'), 'videoDuration' => array('location' => 'query', 'type' => 'string'), 'relevanceLanguage' => array('location' => 'query', 'type' => 'string'), 'forMine' => array('location' => 'query', 'type' => 'boolean'), 'q' => array('location' => 'query', 'type' => 'string'), 'safeSearch' => array('location' => 'query', 'type' => 'string'), 'videoEmbeddable' => array('location' => 'query', 'type' => 'string'), 'videoCategoryId' => array('location' => 'query', 'type' => 'string'), 'order' => array('location' => 'query', 'type' => 'string'))))));
     $this->subscriptions = new Google_Service_YouTube_Subscriptions_Resource($this, $this->serviceName, 'subscriptions', array('methods' => array('delete' => array('path' => 'subscriptions', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'subscriptions', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'subscriptions', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string'), 'channelId' => array('location' => 'query', 'type' => 'string'), 'mine' => array('location' => 'query', 'type' => 'boolean'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'forChannelId' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'mySubscribers' => array('location' => 'query', 'type' => 'boolean'), 'order' => array('location' => 'query', 'type' => 'string'), 'id' => array('location' => 'query', 'type' => 'string'))))));
     $this->thumbnails = new Google_Service_YouTube_Thumbnails_Resource($this, $this->serviceName, 'thumbnails', array('methods' => array('set' => array('path' => 'thumbnails/set', 'httpMethod' => 'POST', 'parameters' => array('videoId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->videoAbuseReportReasons = new Google_Service_YouTube_VideoAbuseReportReasons_Resource($this, $this->serviceName, 'videoAbuseReportReasons', array('methods' => array('list' => array('path' => 'videoAbuseReportReasons', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'hl' => array('location' => 'query', 'type' => 'string'))))));
     $this->videoCategories = new Google_Service_YouTube_VideoCategories_Resource($this, $this->serviceName, 'videoCategories', array('methods' => array('list' => array('path' => 'videoCategories', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'regionCode' => array('location' => 'query', 'type' => 'string'), 'id' => array('location' => 'query', 'type' => 'string'), 'hl' => array('location' => 'query', 'type' => 'string'))))));
     $this->videos = new Google_Service_YouTube_Videos_Resource($this, $this->serviceName, 'videos', array('methods' => array('delete' => array('path' => 'videos', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'getRating' => array('path' => 'videos/getRating', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'videos', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'stabilize' => array('location' => 'query', 'type' => 'boolean'), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string'), 'notifySubscribers' => array('location' => 'query', 'type' => 'boolean'), 'autoLevels' => array('location' => 'query', 'type' => 'boolean'))), 'list' => array('path' => 'videos', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'regionCode' => array('location' => 'query', 'type' => 'string'), 'locale' => array('location' => 'query', 'type' => 'string'), 'videoCategoryId' => array('location' => 'query', 'type' => 'string'), 'chart' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'hl' => array('location' => 'query', 'type' => 'string'), 'myRating' => array('location' => 'query', 'type' => 'string'), 'id' => array('location' => 'query', 'type' => 'string'))), 'rate' => array('path' => 'videos/rate', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true), 'rating' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'reportAbuse' => array('path' => 'videos/reportAbuse', 'httpMethod' => 'POST', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'update' => array('path' => 'videos', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->watermarks = new Google_Service_YouTube_Watermarks_Resource($this, $this->serviceName, 'watermarks', array('methods' => array('set' => array('path' => 'watermarks/set', 'httpMethod' => 'POST', 'parameters' => array('channelId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'unset' => array('path' => 'watermarks/unset', 'httpMethod' => 'POST', 'parameters' => array('channelId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
 }
예제 #12
0
 /**
  * Constructs the internal representation of the Analytics service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'analytics/v3/';
     $this->version = 'v3';
     $this->availableScopes = array("https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.manage.users", "https://www.googleapis.com/auth/analytics.readonly", "https://www.googleapis.com/auth/analytics.edit");
     $this->serviceName = 'analytics';
     $client->addService($this->serviceName, $this->version, $this->availableScopes);
     $this->data_ga = new Google_Service_Analytics_DataGa_Resource($this, $this->serviceName, 'ga', array('methods' => array('get' => array('path' => 'data/ga', 'httpMethod' => 'GET', 'parameters' => array('ids' => array('location' => 'query', 'type' => 'string', 'required' => true), 'start-date' => array('location' => 'query', 'type' => 'string', 'required' => true), 'end-date' => array('location' => 'query', 'type' => 'string', 'required' => true), 'metrics' => array('location' => 'query', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'sort' => array('location' => 'query', 'type' => 'string'), 'dimensions' => array('location' => 'query', 'type' => 'string'), 'start-index' => array('location' => 'query', 'type' => 'integer'), 'segment' => array('location' => 'query', 'type' => 'string'), 'samplingLevel' => array('location' => 'query', 'type' => 'string'), 'filters' => array('location' => 'query', 'type' => 'string'), 'output' => array('location' => 'query', 'type' => 'string'))))));
     $this->data_mcf = new Google_Service_Analytics_DataMcf_Resource($this, $this->serviceName, 'mcf', array('methods' => array('get' => array('path' => 'data/mcf', 'httpMethod' => 'GET', 'parameters' => array('ids' => array('location' => 'query', 'type' => 'string', 'required' => true), 'start-date' => array('location' => 'query', 'type' => 'string', 'required' => true), 'end-date' => array('location' => 'query', 'type' => 'string', 'required' => true), 'metrics' => array('location' => 'query', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'sort' => array('location' => 'query', 'type' => 'string'), 'dimensions' => array('location' => 'query', 'type' => 'string'), 'start-index' => array('location' => 'query', 'type' => 'integer'), 'samplingLevel' => array('location' => 'query', 'type' => 'string'), 'filters' => array('location' => 'query', 'type' => 'string'))))));
     $this->data_realtime = new Google_Service_Analytics_DataRealtime_Resource($this, $this->serviceName, 'realtime', array('methods' => array('get' => array('path' => 'data/realtime', 'httpMethod' => 'GET', 'parameters' => array('ids' => array('location' => 'query', 'type' => 'string', 'required' => true), 'metrics' => array('location' => 'query', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'sort' => array('location' => 'query', 'type' => 'string'), 'dimensions' => array('location' => 'query', 'type' => 'string'), 'filters' => array('location' => 'query', 'type' => 'string'))))));
     $this->management_accountUserLinks = new Google_Service_Analytics_ManagementAccountUserLinks_Resource($this, $this->serviceName, 'accountUserLinks', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/entityUserLinks', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/entityUserLinks', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'update' => array('path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_accounts = new Google_Service_Analytics_ManagementAccounts_Resource($this, $this->serviceName, 'accounts', array('methods' => array('list' => array('path' => 'management/accounts', 'httpMethod' => 'GET', 'parameters' => array('max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))))));
     $this->management_customDataSources = new Google_Service_Analytics_ManagementCustomDataSources_Resource($this, $this->serviceName, 'customDataSources', array('methods' => array('list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))))));
     $this->management_dailyUploads = new Google_Service_Analytics_ManagementDailyUploads_Resource($this, $this->serviceName, 'dailyUploads', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'date' => array('location' => 'path', 'type' => 'string', 'required' => true), 'type' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'start-date' => array('location' => 'query', 'type' => 'string', 'required' => true), 'end-date' => array('location' => 'query', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'upload' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'date' => array('location' => 'path', 'type' => 'string', 'required' => true), 'appendNumber' => array('location' => 'query', 'type' => 'integer', 'required' => true), 'type' => array('location' => 'query', 'type' => 'string', 'required' => true), 'reset' => array('location' => 'query', 'type' => 'boolean'))))));
     $this->management_experiments = new Google_Service_Analytics_ManagementExperiments_Resource($this, $this->serviceName, 'experiments', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'experimentId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'experimentId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'experimentId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'experimentId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_goals = new Google_Service_Analytics_ManagementGoals_Resource($this, $this->serviceName, 'goals', array('methods' => array('get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'goalId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'goalId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'goalId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_profileUserLinks = new Google_Service_Analytics_ManagementProfileUserLinks_Resource($this, $this->serviceName, 'profileUserLinks', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_profiles = new Google_Service_Analytics_ManagementProfiles_Resource($this, $this->serviceName, 'profiles', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_segments = new Google_Service_Analytics_ManagementSegments_Resource($this, $this->serviceName, 'segments', array('methods' => array('list' => array('path' => 'management/segments', 'httpMethod' => 'GET', 'parameters' => array('max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))))));
     $this->management_uploads = new Google_Service_Analytics_ManagementUploads_Resource($this, $this->serviceName, 'uploads', array('methods' => array('deleteUploadData' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'uploadId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'uploadData' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_webproperties = new Google_Service_Analytics_ManagementWebproperties_Resource($this, $this->serviceName, 'webproperties', array('methods' => array('get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_webpropertyUserLinks = new Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource($this, $this->serviceName, 'webpropertyUserLinks', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->metadata_columns = new Google_Service_Analytics_MetadataColumns_Resource($this, $this->serviceName, 'columns', array('methods' => array('list' => array('path' => 'metadata/{reportType}/columns', 'httpMethod' => 'GET', 'parameters' => array('reportType' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
 }
예제 #13
0
 /**
  * Constructs the internal representation of the MapsEngine service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->rootUrl = 'https://www.googleapis.com/';
     $this->servicePath = 'mapsengine/v1/';
     $this->version = 'v1';
     $this->serviceName = 'mapsengine';
     $this->assets = new Google_Service_MapsEngine_Assets_Resource($this, $this->serviceName, 'assets', array('methods' => array('get' => array('path' => 'assets/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'assets', 'httpMethod' => 'GET', 'parameters' => array('modifiedAfter' => array('location' => 'query', 'type' => 'string'), 'createdAfter' => array('location' => 'query', 'type' => 'string'), 'tags' => array('location' => 'query', 'type' => 'string'), 'projectId' => array('location' => 'query', 'type' => 'string'), 'search' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'creatorEmail' => array('location' => 'query', 'type' => 'string'), 'bbox' => array('location' => 'query', 'type' => 'string'), 'modifiedBefore' => array('location' => 'query', 'type' => 'string'), 'createdBefore' => array('location' => 'query', 'type' => 'string'), 'role' => array('location' => 'query', 'type' => 'string'), 'type' => array('location' => 'query', 'type' => 'string'))))));
     $this->assets_parents = new Google_Service_MapsEngine_AssetsParents_Resource($this, $this->serviceName, 'parents', array('methods' => array('list' => array('path' => 'assets/{id}/parents', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->assets_permissions = new Google_Service_MapsEngine_AssetsPermissions_Resource($this, $this->serviceName, 'permissions', array('methods' => array('list' => array('path' => 'assets/{id}/permissions', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->layers = new Google_Service_MapsEngine_Layers_Resource($this, $this->serviceName, 'layers', array('methods' => array('cancelProcessing' => array('path' => 'layers/{id}/cancelProcessing', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'create' => array('path' => 'layers', 'httpMethod' => 'POST', 'parameters' => array('process' => array('location' => 'query', 'type' => 'boolean'))), 'delete' => array('path' => 'layers/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'layers/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true), 'version' => array('location' => 'query', 'type' => 'string'))), 'getPublished' => array('path' => 'layers/{id}/published', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'layers', 'httpMethod' => 'GET', 'parameters' => array('modifiedAfter' => array('location' => 'query', 'type' => 'string'), 'createdAfter' => array('location' => 'query', 'type' => 'string'), 'processingStatus' => array('location' => 'query', 'type' => 'string'), 'projectId' => array('location' => 'query', 'type' => 'string'), 'tags' => array('location' => 'query', 'type' => 'string'), 'search' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'creatorEmail' => array('location' => 'query', 'type' => 'string'), 'bbox' => array('location' => 'query', 'type' => 'string'), 'modifiedBefore' => array('location' => 'query', 'type' => 'string'), 'createdBefore' => array('location' => 'query', 'type' => 'string'), 'role' => array('location' => 'query', 'type' => 'string'))), 'listPublished' => array('path' => 'layers/published', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'projectId' => array('location' => 'query', 'type' => 'string'))), 'patch' => array('path' => 'layers/{id}', 'httpMethod' => 'PATCH', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'process' => array('path' => 'layers/{id}/process', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'publish' => array('path' => 'layers/{id}/publish', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true), 'force' => array('location' => 'query', 'type' => 'boolean'))), 'unpublish' => array('path' => 'layers/{id}/unpublish', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->layers_parents = new Google_Service_MapsEngine_LayersParents_Resource($this, $this->serviceName, 'parents', array('methods' => array('list' => array('path' => 'layers/{id}/parents', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->layers_permissions = new Google_Service_MapsEngine_LayersPermissions_Resource($this, $this->serviceName, 'permissions', array('methods' => array('batchDelete' => array('path' => 'layers/{id}/permissions/batchDelete', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'batchUpdate' => array('path' => 'layers/{id}/permissions/batchUpdate', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'layers/{id}/permissions', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->maps = new Google_Service_MapsEngine_Maps_Resource($this, $this->serviceName, 'maps', array('methods' => array('create' => array('path' => 'maps', 'httpMethod' => 'POST', 'parameters' => array()), 'delete' => array('path' => 'maps/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'maps/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true), 'version' => array('location' => 'query', 'type' => 'string'))), 'getPublished' => array('path' => 'maps/{id}/published', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'maps', 'httpMethod' => 'GET', 'parameters' => array('modifiedAfter' => array('location' => 'query', 'type' => 'string'), 'createdAfter' => array('location' => 'query', 'type' => 'string'), 'processingStatus' => array('location' => 'query', 'type' => 'string'), 'projectId' => array('location' => 'query', 'type' => 'string'), 'tags' => array('location' => 'query', 'type' => 'string'), 'search' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'creatorEmail' => array('location' => 'query', 'type' => 'string'), 'bbox' => array('location' => 'query', 'type' => 'string'), 'modifiedBefore' => array('location' => 'query', 'type' => 'string'), 'createdBefore' => array('location' => 'query', 'type' => 'string'), 'role' => array('location' => 'query', 'type' => 'string'))), 'listPublished' => array('path' => 'maps/published', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'projectId' => array('location' => 'query', 'type' => 'string'))), 'patch' => array('path' => 'maps/{id}', 'httpMethod' => 'PATCH', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'publish' => array('path' => 'maps/{id}/publish', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true), 'force' => array('location' => 'query', 'type' => 'boolean'))), 'unpublish' => array('path' => 'maps/{id}/unpublish', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->maps_permissions = new Google_Service_MapsEngine_MapsPermissions_Resource($this, $this->serviceName, 'permissions', array('methods' => array('batchDelete' => array('path' => 'maps/{id}/permissions/batchDelete', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'batchUpdate' => array('path' => 'maps/{id}/permissions/batchUpdate', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'maps/{id}/permissions', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->projects = new Google_Service_MapsEngine_Projects_Resource($this, $this->serviceName, 'projects', array('methods' => array('list' => array('path' => 'projects', 'httpMethod' => 'GET', 'parameters' => array()))));
     $this->projects_icons = new Google_Service_MapsEngine_ProjectsIcons_Resource($this, $this->serviceName, 'icons', array('methods' => array('create' => array('path' => 'projects/{projectId}/icons', 'httpMethod' => 'POST', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'projects/{projectId}/icons/{id}', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'projects/{projectId}/icons', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->rasterCollections = new Google_Service_MapsEngine_RasterCollections_Resource($this, $this->serviceName, 'rasterCollections', array('methods' => array('cancelProcessing' => array('path' => 'rasterCollections/{id}/cancelProcessing', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'create' => array('path' => 'rasterCollections', 'httpMethod' => 'POST', 'parameters' => array()), 'delete' => array('path' => 'rasterCollections/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'rasterCollections/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'rasterCollections', 'httpMethod' => 'GET', 'parameters' => array('modifiedAfter' => array('location' => 'query', 'type' => 'string'), 'createdAfter' => array('location' => 'query', 'type' => 'string'), 'processingStatus' => array('location' => 'query', 'type' => 'string'), 'projectId' => array('location' => 'query', 'type' => 'string'), 'tags' => array('location' => 'query', 'type' => 'string'), 'search' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'creatorEmail' => array('location' => 'query', 'type' => 'string'), 'bbox' => array('location' => 'query', 'type' => 'string'), 'modifiedBefore' => array('location' => 'query', 'type' => 'string'), 'createdBefore' => array('location' => 'query', 'type' => 'string'), 'role' => array('location' => 'query', 'type' => 'string'))), 'patch' => array('path' => 'rasterCollections/{id}', 'httpMethod' => 'PATCH', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'process' => array('path' => 'rasterCollections/{id}/process', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->rasterCollections_parents = new Google_Service_MapsEngine_RasterCollectionsParents_Resource($this, $this->serviceName, 'parents', array('methods' => array('list' => array('path' => 'rasterCollections/{id}/parents', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->rasterCollections_permissions = new Google_Service_MapsEngine_RasterCollectionsPermissions_Resource($this, $this->serviceName, 'permissions', array('methods' => array('batchDelete' => array('path' => 'rasterCollections/{id}/permissions/batchDelete', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'batchUpdate' => array('path' => 'rasterCollections/{id}/permissions/batchUpdate', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'rasterCollections/{id}/permissions', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->rasterCollections_rasters = new Google_Service_MapsEngine_RasterCollectionsRasters_Resource($this, $this->serviceName, 'rasters', array('methods' => array('batchDelete' => array('path' => 'rasterCollections/{id}/rasters/batchDelete', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'batchInsert' => array('path' => 'rasterCollections/{id}/rasters/batchInsert', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'rasterCollections/{id}/rasters', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true), 'modifiedAfter' => array('location' => 'query', 'type' => 'string'), 'createdAfter' => array('location' => 'query', 'type' => 'string'), 'tags' => array('location' => 'query', 'type' => 'string'), 'search' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'creatorEmail' => array('location' => 'query', 'type' => 'string'), 'bbox' => array('location' => 'query', 'type' => 'string'), 'modifiedBefore' => array('location' => 'query', 'type' => 'string'), 'createdBefore' => array('location' => 'query', 'type' => 'string'), 'role' => array('location' => 'query', 'type' => 'string'))))));
     $this->rasters = new Google_Service_MapsEngine_Rasters_Resource($this, $this->serviceName, 'rasters', array('methods' => array('delete' => array('path' => 'rasters/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'rasters/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'rasters', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'modifiedAfter' => array('location' => 'query', 'type' => 'string'), 'createdAfter' => array('location' => 'query', 'type' => 'string'), 'processingStatus' => array('location' => 'query', 'type' => 'string'), 'tags' => array('location' => 'query', 'type' => 'string'), 'search' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'creatorEmail' => array('location' => 'query', 'type' => 'string'), 'bbox' => array('location' => 'query', 'type' => 'string'), 'modifiedBefore' => array('location' => 'query', 'type' => 'string'), 'createdBefore' => array('location' => 'query', 'type' => 'string'), 'role' => array('location' => 'query', 'type' => 'string'))), 'patch' => array('path' => 'rasters/{id}', 'httpMethod' => 'PATCH', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'process' => array('path' => 'rasters/{id}/process', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'upload' => array('path' => 'rasters/upload', 'httpMethod' => 'POST', 'parameters' => array()))));
     $this->rasters_files = new Google_Service_MapsEngine_RastersFiles_Resource($this, $this->serviceName, 'files', array('methods' => array('insert' => array('path' => 'rasters/{id}/files', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filename' => array('location' => 'query', 'type' => 'string', 'required' => true))))));
     $this->rasters_parents = new Google_Service_MapsEngine_RastersParents_Resource($this, $this->serviceName, 'parents', array('methods' => array('list' => array('path' => 'rasters/{id}/parents', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->rasters_permissions = new Google_Service_MapsEngine_RastersPermissions_Resource($this, $this->serviceName, 'permissions', array('methods' => array('batchDelete' => array('path' => 'rasters/{id}/permissions/batchDelete', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'batchUpdate' => array('path' => 'rasters/{id}/permissions/batchUpdate', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'rasters/{id}/permissions', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->tables = new Google_Service_MapsEngine_Tables_Resource($this, $this->serviceName, 'tables', array('methods' => array('create' => array('path' => 'tables', 'httpMethod' => 'POST', 'parameters' => array()), 'delete' => array('path' => 'tables/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'tables/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true), 'version' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'tables', 'httpMethod' => 'GET', 'parameters' => array('modifiedAfter' => array('location' => 'query', 'type' => 'string'), 'createdAfter' => array('location' => 'query', 'type' => 'string'), 'processingStatus' => array('location' => 'query', 'type' => 'string'), 'projectId' => array('location' => 'query', 'type' => 'string'), 'tags' => array('location' => 'query', 'type' => 'string'), 'search' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'creatorEmail' => array('location' => 'query', 'type' => 'string'), 'bbox' => array('location' => 'query', 'type' => 'string'), 'modifiedBefore' => array('location' => 'query', 'type' => 'string'), 'createdBefore' => array('location' => 'query', 'type' => 'string'), 'role' => array('location' => 'query', 'type' => 'string'))), 'patch' => array('path' => 'tables/{id}', 'httpMethod' => 'PATCH', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'process' => array('path' => 'tables/{id}/process', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'upload' => array('path' => 'tables/upload', 'httpMethod' => 'POST', 'parameters' => array()))));
     $this->tables_features = new Google_Service_MapsEngine_TablesFeatures_Resource($this, $this->serviceName, 'features', array('methods' => array('batchDelete' => array('path' => 'tables/{id}/features/batchDelete', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'batchInsert' => array('path' => 'tables/{id}/features/batchInsert', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'batchPatch' => array('path' => 'tables/{id}/features/batchPatch', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'tables/{tableId}/features/{id}', 'httpMethod' => 'GET', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true), 'version' => array('location' => 'query', 'type' => 'string'), 'select' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'tables/{id}/features', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true), 'orderBy' => array('location' => 'query', 'type' => 'string'), 'intersects' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'version' => array('location' => 'query', 'type' => 'string'), 'limit' => array('location' => 'query', 'type' => 'integer'), 'include' => array('location' => 'query', 'type' => 'string'), 'where' => array('location' => 'query', 'type' => 'string'), 'select' => array('location' => 'query', 'type' => 'string'))))));
     $this->tables_files = new Google_Service_MapsEngine_TablesFiles_Resource($this, $this->serviceName, 'files', array('methods' => array('insert' => array('path' => 'tables/{id}/files', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filename' => array('location' => 'query', 'type' => 'string', 'required' => true))))));
     $this->tables_parents = new Google_Service_MapsEngine_TablesParents_Resource($this, $this->serviceName, 'parents', array('methods' => array('list' => array('path' => 'tables/{id}/parents', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->tables_permissions = new Google_Service_MapsEngine_TablesPermissions_Resource($this, $this->serviceName, 'permissions', array('methods' => array('batchDelete' => array('path' => 'tables/{id}/permissions/batchDelete', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'batchUpdate' => array('path' => 'tables/{id}/permissions/batchUpdate', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'tables/{id}/permissions', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
 }
예제 #14
0
 /**
  * Constructs the internal representation of the Analytics service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->rootUrl = 'https://www.googleapis.com/';
     $this->servicePath = 'analytics/v3/';
     $this->version = 'v3';
     $this->serviceName = 'analytics';
     $this->data_ga = new Google_Service_Analytics_DataGa_Resource($this, $this->serviceName, 'ga', array('methods' => array('get' => array('path' => 'data/ga', 'httpMethod' => 'GET', 'parameters' => array('ids' => array('location' => 'query', 'type' => 'string', 'required' => true), 'start-date' => array('location' => 'query', 'type' => 'string', 'required' => true), 'end-date' => array('location' => 'query', 'type' => 'string', 'required' => true), 'metrics' => array('location' => 'query', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'sort' => array('location' => 'query', 'type' => 'string'), 'dimensions' => array('location' => 'query', 'type' => 'string'), 'start-index' => array('location' => 'query', 'type' => 'integer'), 'segment' => array('location' => 'query', 'type' => 'string'), 'samplingLevel' => array('location' => 'query', 'type' => 'string'), 'filters' => array('location' => 'query', 'type' => 'string'), 'output' => array('location' => 'query', 'type' => 'string'))))));
     $this->data_mcf = new Google_Service_Analytics_DataMcf_Resource($this, $this->serviceName, 'mcf', array('methods' => array('get' => array('path' => 'data/mcf', 'httpMethod' => 'GET', 'parameters' => array('ids' => array('location' => 'query', 'type' => 'string', 'required' => true), 'start-date' => array('location' => 'query', 'type' => 'string', 'required' => true), 'end-date' => array('location' => 'query', 'type' => 'string', 'required' => true), 'metrics' => array('location' => 'query', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'sort' => array('location' => 'query', 'type' => 'string'), 'dimensions' => array('location' => 'query', 'type' => 'string'), 'start-index' => array('location' => 'query', 'type' => 'integer'), 'samplingLevel' => array('location' => 'query', 'type' => 'string'), 'filters' => array('location' => 'query', 'type' => 'string'))))));
     $this->data_realtime = new Google_Service_Analytics_DataRealtime_Resource($this, $this->serviceName, 'realtime', array('methods' => array('get' => array('path' => 'data/realtime', 'httpMethod' => 'GET', 'parameters' => array('ids' => array('location' => 'query', 'type' => 'string', 'required' => true), 'metrics' => array('location' => 'query', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'sort' => array('location' => 'query', 'type' => 'string'), 'dimensions' => array('location' => 'query', 'type' => 'string'), 'filters' => array('location' => 'query', 'type' => 'string'))))));
     $this->management_accountSummaries = new Google_Service_Analytics_ManagementAccountSummaries_Resource($this, $this->serviceName, 'accountSummaries', array('methods' => array('list' => array('path' => 'management/accountSummaries', 'httpMethod' => 'GET', 'parameters' => array('max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))))));
     $this->management_accountUserLinks = new Google_Service_Analytics_ManagementAccountUserLinks_Resource($this, $this->serviceName, 'accountUserLinks', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/entityUserLinks', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/entityUserLinks', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'update' => array('path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_accounts = new Google_Service_Analytics_ManagementAccounts_Resource($this, $this->serviceName, 'accounts', array('methods' => array('list' => array('path' => 'management/accounts', 'httpMethod' => 'GET', 'parameters' => array('max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))))));
     $this->management_customDataSources = new Google_Service_Analytics_ManagementCustomDataSources_Resource($this, $this->serviceName, 'customDataSources', array('methods' => array('list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))))));
     $this->management_customDimensions = new Google_Service_Analytics_ManagementCustomDimensions_Resource($this, $this->serviceName, 'customDimensions', array('methods' => array('get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDimensionId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDimensionId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'ignoreCustomDataSourceLinks' => array('location' => 'query', 'type' => 'boolean'))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDimensionId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'ignoreCustomDataSourceLinks' => array('location' => 'query', 'type' => 'boolean'))))));
     $this->management_customMetrics = new Google_Service_Analytics_ManagementCustomMetrics_Resource($this, $this->serviceName, 'customMetrics', array('methods' => array('get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customMetricId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customMetricId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'ignoreCustomDataSourceLinks' => array('location' => 'query', 'type' => 'boolean'))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customMetricId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'ignoreCustomDataSourceLinks' => array('location' => 'query', 'type' => 'boolean'))))));
     $this->management_experiments = new Google_Service_Analytics_ManagementExperiments_Resource($this, $this->serviceName, 'experiments', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'experimentId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'experimentId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'experimentId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'experimentId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_filters = new Google_Service_Analytics_ManagementFilters_Resource($this, $this->serviceName, 'filters', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filterId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filterId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/filters', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/filters', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filterId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filterId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_goals = new Google_Service_Analytics_ManagementGoals_Resource($this, $this->serviceName, 'goals', array('methods' => array('get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'goalId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'goalId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'goalId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_profileFilterLinks = new Google_Service_Analytics_ManagementProfileFilterLinks_Resource($this, $this->serviceName, 'profileFilterLinks', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_profileUserLinks = new Google_Service_Analytics_ManagementProfileUserLinks_Resource($this, $this->serviceName, 'profileUserLinks', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_profiles = new Google_Service_Analytics_ManagementProfiles_Resource($this, $this->serviceName, 'profiles', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_segments = new Google_Service_Analytics_ManagementSegments_Resource($this, $this->serviceName, 'segments', array('methods' => array('list' => array('path' => 'management/segments', 'httpMethod' => 'GET', 'parameters' => array('max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))))));
     $this->management_unsampledReports = new Google_Service_Analytics_ManagementUnsampledReports_Resource($this, $this->serviceName, 'unsampledReports', array('methods' => array('get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'unsampledReportId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))))));
     $this->management_uploads = new Google_Service_Analytics_ManagementUploads_Resource($this, $this->serviceName, 'uploads', array('methods' => array('deleteUploadData' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'uploadId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'uploadData' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_webPropertyAdWordsLinks = new Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource($this, $this->serviceName, 'webPropertyAdWordsLinks', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyAdWordsLinkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyAdWordsLinkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyAdWordsLinkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyAdWordsLinkId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_webproperties = new Google_Service_Analytics_ManagementWebproperties_Resource($this, $this->serviceName, 'webproperties', array('methods' => array('get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_webpropertyUserLinks = new Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource($this, $this->serviceName, 'webpropertyUserLinks', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->metadata_columns = new Google_Service_Analytics_MetadataColumns_Resource($this, $this->serviceName, 'columns', array('methods' => array('list' => array('path' => 'metadata/{reportType}/columns', 'httpMethod' => 'GET', 'parameters' => array('reportType' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->provisioning = new Google_Service_Analytics_Provisioning_Resource($this, $this->serviceName, 'provisioning', array('methods' => array('createAccountTicket' => array('path' => 'provisioning/createAccountTicket', 'httpMethod' => 'POST', 'parameters' => array()))));
 }
예제 #15
0
 /**
  * Constructs the internal representation of the Compute service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'compute/v1/projects/';
     $this->version = 'v1';
     $this->serviceName = 'compute';
     $this->addresses = new Google_Service_Compute_Addresses_Resource($this, $this->serviceName, 'addresses', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/addresses', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'delete' => array('path' => '{project}/regions/{region}/addresses/{address}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'address' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/regions/{region}/addresses/{address}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'address' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/regions/{region}/addresses', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/regions/{region}/addresses', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->disks = new Google_Service_Compute_Disks_Resource($this, $this->serviceName, 'disks', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/disks', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'createSnapshot' => array('path' => '{project}/zones/{zone}/disks/{disk}/createSnapshot', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'disk' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'delete' => array('path' => '{project}/zones/{zone}/disks/{disk}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'disk' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/zones/{zone}/disks/{disk}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'disk' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/zones/{zone}/disks', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'sourceImage' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => '{project}/zones/{zone}/disks', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->firewalls = new Google_Service_Compute_Firewalls_Resource($this, $this->serviceName, 'firewalls', array('methods' => array('delete' => array('path' => '{project}/global/firewalls/{firewall}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'firewall' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/firewalls/{firewall}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'firewall' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/global/firewalls', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/firewalls', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => '{project}/global/firewalls/{firewall}', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'firewall' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => '{project}/global/firewalls/{firewall}', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'firewall' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->forwardingRules = new Google_Service_Compute_ForwardingRules_Resource($this, $this->serviceName, 'forwardingRules', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/forwardingRules', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'delete' => array('path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'forwardingRule' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'forwardingRule' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/regions/{region}/forwardingRules', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/regions/{region}/forwardingRules', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'setTarget' => array('path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'forwardingRule' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->globalOperations = new Google_Service_Compute_GlobalOperations_Resource($this, $this->serviceName, 'globalOperations', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'delete' => array('path' => '{project}/global/operations/{operation}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->httpHealthChecks = new Google_Service_Compute_HttpHealthChecks_Resource($this, $this->serviceName, 'httpHealthChecks', array('methods' => array('delete' => array('path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'httpHealthCheck' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'httpHealthCheck' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/global/httpHealthChecks', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/httpHealthChecks', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'httpHealthCheck' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'httpHealthCheck' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->images = new Google_Service_Compute_Images_Resource($this, $this->serviceName, 'images', array('methods' => array('delete' => array('path' => '{project}/global/images/{image}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'image' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'deprecate' => array('path' => '{project}/global/images/{image}/deprecate', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'image' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/images/{image}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'image' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/global/images', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/images', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->instances = new Google_Service_Compute_Instances_Resource($this, $this->serviceName, 'instances', array('methods' => array('addAccessConfig' => array('path' => '{project}/zones/{zone}/instances/{instance}/addAccessConfig', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true), 'networkInterface' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'aggregatedList' => array('path' => '{project}/aggregated/instances', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'attachDisk' => array('path' => '{project}/zones/{zone}/instances/{instance}/attachDisk', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'delete' => array('path' => '{project}/zones/{zone}/instances/{instance}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'deleteAccessConfig' => array('path' => '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true), 'accessConfig' => array('location' => 'query', 'type' => 'string', 'required' => true), 'networkInterface' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'detachDisk' => array('path' => '{project}/zones/{zone}/instances/{instance}/detachDisk', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true), 'deviceName' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/zones/{zone}/instances/{instance}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'getSerialPortOutput' => array('path' => '{project}/zones/{zone}/instances/{instance}/serialPort', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/zones/{zone}/instances', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/zones/{zone}/instances', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'reset' => array('path' => '{project}/zones/{zone}/instances/{instance}/reset', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'setMetadata' => array('path' => '{project}/zones/{zone}/instances/{instance}/setMetadata', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'setScheduling' => array('path' => '{project}/zones/{zone}/instances/{instance}/setScheduling', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'setTags' => array('path' => '{project}/zones/{zone}/instances/{instance}/setTags', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->machineTypes = new Google_Service_Compute_MachineTypes_Resource($this, $this->serviceName, 'machineTypes', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/machineTypes', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'get' => array('path' => '{project}/zones/{zone}/machineTypes/{machineType}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'machineType' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/zones/{zone}/machineTypes', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->networks = new Google_Service_Compute_Networks_Resource($this, $this->serviceName, 'networks', array('methods' => array('delete' => array('path' => '{project}/global/networks/{network}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'network' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/networks/{network}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'network' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/global/networks', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/networks', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->projects = new Google_Service_Compute_Projects_Resource($this, $this->serviceName, 'projects', array('methods' => array('get' => array('path' => '{project}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'setCommonInstanceMetadata' => array('path' => '{project}/setCommonInstanceMetadata', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->regionOperations = new Google_Service_Compute_RegionOperations_Resource($this, $this->serviceName, 'regionOperations', array('methods' => array('delete' => array('path' => '{project}/regions/{region}/operations/{operation}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/regions/{region}/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/regions/{region}/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->regions = new Google_Service_Compute_Regions_Resource($this, $this->serviceName, 'regions', array('methods' => array('get' => array('path' => '{project}/regions/{region}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/regions', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->routes = new Google_Service_Compute_Routes_Resource($this, $this->serviceName, 'routes', array('methods' => array('delete' => array('path' => '{project}/global/routes/{route}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'route' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/routes/{route}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'route' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/global/routes', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/routes', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->snapshots = new Google_Service_Compute_Snapshots_Resource($this, $this->serviceName, 'snapshots', array('methods' => array('delete' => array('path' => '{project}/global/snapshots/{snapshot}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'snapshot' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/snapshots/{snapshot}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'snapshot' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/snapshots', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->targetInstances = new Google_Service_Compute_TargetInstances_Resource($this, $this->serviceName, 'targetInstances', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/targetInstances', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'delete' => array('path' => '{project}/zones/{zone}/targetInstances/{targetInstance}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetInstance' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/zones/{zone}/targetInstances/{targetInstance}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetInstance' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/zones/{zone}/targetInstances', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/zones/{zone}/targetInstances', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->targetPools = new Google_Service_Compute_TargetPools_Resource($this, $this->serviceName, 'targetPools', array('methods' => array('addHealthCheck' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'addInstance' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}/addInstance', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'aggregatedList' => array('path' => '{project}/aggregated/targetPools', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'delete' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'getHealth' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}/getHealth', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/regions/{region}/targetPools', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/regions/{region}/targetPools', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'removeHealthCheck' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'removeInstance' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}/removeInstance', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'setBackup' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}/setBackup', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true), 'failoverRatio' => array('location' => 'query', 'type' => 'number'))))));
     $this->zoneOperations = new Google_Service_Compute_ZoneOperations_Resource($this, $this->serviceName, 'zoneOperations', array('methods' => array('delete' => array('path' => '{project}/zones/{zone}/operations/{operation}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/zones/{zone}/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/zones/{zone}/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->zones = new Google_Service_Compute_Zones_Resource($this, $this->serviceName, 'zones', array('methods' => array('get' => array('path' => '{project}/zones/{zone}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/zones', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
 }
예제 #16
0
파일: AdSense.php 프로젝트: dev981/gaptest
 /**
  * Constructs the internal representation of the AdSense service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'adsense/v1.4/';
     $this->version = 'v1.4';
     $this->serviceName = 'adsense';
     $this->accounts = new Google_Service_AdSense_Accounts_Resource($this, $this->serviceName, 'accounts', array('methods' => array('get' => array('path' => 'accounts/{accountId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'tree' => array('location' => 'query', 'type' => 'boolean'))), 'list' => array('path' => 'accounts', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->accounts_adclients = new Google_Service_AdSense_AccountsAdclients_Resource($this, $this->serviceName, 'adclients', array('methods' => array('list' => array('path' => 'accounts/{accountId}/adclients', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->accounts_adunits = new Google_Service_AdSense_AccountsAdunits_Resource($this, $this->serviceName, 'adunits', array('methods' => array('get' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'getAdCode' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'includeInactive' => array('location' => 'query', 'type' => 'boolean'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->accounts_adunits_customchannels = new Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource($this, $this->serviceName, 'customchannels', array('methods' => array('list' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->accounts_alerts = new Google_Service_AdSense_AccountsAlerts_Resource($this, $this->serviceName, 'alerts', array('methods' => array('delete' => array('path' => 'accounts/{accountId}/alerts/{alertId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'alertId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'accounts/{accountId}/alerts', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'locale' => array('location' => 'query', 'type' => 'string'))))));
     $this->accounts_customchannels = new Google_Service_AdSense_AccountsCustomchannels_Resource($this, $this->serviceName, 'customchannels', array('methods' => array('get' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customChannelId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->accounts_customchannels_adunits = new Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource($this, $this->serviceName, 'adunits', array('methods' => array('list' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customChannelId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'includeInactive' => array('location' => 'query', 'type' => 'boolean'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'))))));
     $this->accounts_payments = new Google_Service_AdSense_AccountsPayments_Resource($this, $this->serviceName, 'payments', array('methods' => array('list' => array('path' => 'accounts/{accountId}/payments', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->accounts_reports = new Google_Service_AdSense_AccountsReports_Resource($this, $this->serviceName, 'reports', array('methods' => array('generate' => array('path' => 'accounts/{accountId}/reports', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'startDate' => array('location' => 'query', 'type' => 'string', 'required' => true), 'endDate' => array('location' => 'query', 'type' => 'string', 'required' => true), 'sort' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'locale' => array('location' => 'query', 'type' => 'string'), 'metric' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'filter' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'currency' => array('location' => 'query', 'type' => 'string'), 'startIndex' => array('location' => 'query', 'type' => 'integer'), 'useTimezoneReporting' => array('location' => 'query', 'type' => 'boolean'), 'dimension' => array('location' => 'query', 'type' => 'string', 'repeated' => true))))));
     $this->accounts_reports_saved = new Google_Service_AdSense_AccountsReportsSaved_Resource($this, $this->serviceName, 'saved', array('methods' => array('generate' => array('path' => 'accounts/{accountId}/reports/{savedReportId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'savedReportId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'locale' => array('location' => 'query', 'type' => 'string'), 'startIndex' => array('location' => 'query', 'type' => 'integer'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'list' => array('path' => 'accounts/{accountId}/reports/saved', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->accounts_savedadstyles = new Google_Service_AdSense_AccountsSavedadstyles_Resource($this, $this->serviceName, 'savedadstyles', array('methods' => array('get' => array('path' => 'accounts/{accountId}/savedadstyles/{savedAdStyleId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'savedAdStyleId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'accounts/{accountId}/savedadstyles', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->accounts_urlchannels = new Google_Service_AdSense_AccountsUrlchannels_Resource($this, $this->serviceName, 'urlchannels', array('methods' => array('list' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->adclients = new Google_Service_AdSense_Adclients_Resource($this, $this->serviceName, 'adclients', array('methods' => array('list' => array('path' => 'adclients', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->adunits = new Google_Service_AdSense_Adunits_Resource($this, $this->serviceName, 'adunits', array('methods' => array('get' => array('path' => 'adclients/{adClientId}/adunits/{adUnitId}', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'getAdCode' => array('path' => 'adclients/{adClientId}/adunits/{adUnitId}/adcode', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'adclients/{adClientId}/adunits', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'includeInactive' => array('location' => 'query', 'type' => 'boolean'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->adunits_customchannels = new Google_Service_AdSense_AdunitsCustomchannels_Resource($this, $this->serviceName, 'customchannels', array('methods' => array('list' => array('path' => 'adclients/{adClientId}/adunits/{adUnitId}/customchannels', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->alerts = new Google_Service_AdSense_Alerts_Resource($this, $this->serviceName, 'alerts', array('methods' => array('delete' => array('path' => 'alerts/{alertId}', 'httpMethod' => 'DELETE', 'parameters' => array('alertId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'alerts', 'httpMethod' => 'GET', 'parameters' => array('locale' => array('location' => 'query', 'type' => 'string'))))));
     $this->customchannels = new Google_Service_AdSense_Customchannels_Resource($this, $this->serviceName, 'customchannels', array('methods' => array('get' => array('path' => 'adclients/{adClientId}/customchannels/{customChannelId}', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customChannelId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'adclients/{adClientId}/customchannels', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->customchannels_adunits = new Google_Service_AdSense_CustomchannelsAdunits_Resource($this, $this->serviceName, 'adunits', array('methods' => array('list' => array('path' => 'adclients/{adClientId}/customchannels/{customChannelId}/adunits', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customChannelId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'includeInactive' => array('location' => 'query', 'type' => 'boolean'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->metadata_dimensions = new Google_Service_AdSense_MetadataDimensions_Resource($this, $this->serviceName, 'dimensions', array('methods' => array('list' => array('path' => 'metadata/dimensions', 'httpMethod' => 'GET', 'parameters' => array()))));
     $this->metadata_metrics = new Google_Service_AdSense_MetadataMetrics_Resource($this, $this->serviceName, 'metrics', array('methods' => array('list' => array('path' => 'metadata/metrics', 'httpMethod' => 'GET', 'parameters' => array()))));
     $this->payments = new Google_Service_AdSense_Payments_Resource($this, $this->serviceName, 'payments', array('methods' => array('list' => array('path' => 'payments', 'httpMethod' => 'GET', 'parameters' => array()))));
     $this->reports = new Google_Service_AdSense_Reports_Resource($this, $this->serviceName, 'reports', array('methods' => array('generate' => array('path' => 'reports', 'httpMethod' => 'GET', 'parameters' => array('startDate' => array('location' => 'query', 'type' => 'string', 'required' => true), 'endDate' => array('location' => 'query', 'type' => 'string', 'required' => true), 'sort' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'locale' => array('location' => 'query', 'type' => 'string'), 'metric' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'filter' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'currency' => array('location' => 'query', 'type' => 'string'), 'startIndex' => array('location' => 'query', 'type' => 'integer'), 'useTimezoneReporting' => array('location' => 'query', 'type' => 'boolean'), 'dimension' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'accountId' => array('location' => 'query', 'type' => 'string', 'repeated' => true))))));
     $this->reports_saved = new Google_Service_AdSense_ReportsSaved_Resource($this, $this->serviceName, 'saved', array('methods' => array('generate' => array('path' => 'reports/{savedReportId}', 'httpMethod' => 'GET', 'parameters' => array('savedReportId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'locale' => array('location' => 'query', 'type' => 'string'), 'startIndex' => array('location' => 'query', 'type' => 'integer'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'list' => array('path' => 'reports/saved', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->savedadstyles = new Google_Service_AdSense_Savedadstyles_Resource($this, $this->serviceName, 'savedadstyles', array('methods' => array('get' => array('path' => 'savedadstyles/{savedAdStyleId}', 'httpMethod' => 'GET', 'parameters' => array('savedAdStyleId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'savedadstyles', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->urlchannels = new Google_Service_AdSense_Urlchannels_Resource($this, $this->serviceName, 'urlchannels', array('methods' => array('list' => array('path' => 'adclients/{adClientId}/urlchannels', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
 }
예제 #17
0
 /**
  * Constructs the internal representation of the YouTubePartner service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'youtube/partner/v1/';
     $this->version = 'v1';
     $this->serviceName = 'youtubePartner';
     $this->assetLabels = new Google_Service_YouTubePartner_AssetLabels_Resource($this, $this->serviceName, 'assetLabels', array('methods' => array('insert' => array('path' => 'assetLabels', 'httpMethod' => 'POST', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'assetLabels', 'httpMethod' => 'GET', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'labelPrefix' => array('location' => 'query', 'type' => 'string'))))));
     $this->assetMatchPolicy = new Google_Service_YouTubePartner_AssetMatchPolicy_Resource($this, $this->serviceName, 'assetMatchPolicy', array('methods' => array('get' => array('path' => 'assets/{assetId}/matchPolicy', 'httpMethod' => 'GET', 'parameters' => array('assetId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'patch' => array('path' => 'assets/{assetId}/matchPolicy', 'httpMethod' => 'PATCH', 'parameters' => array('assetId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'update' => array('path' => 'assets/{assetId}/matchPolicy', 'httpMethod' => 'PUT', 'parameters' => array('assetId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->assetRelationships = new Google_Service_YouTubePartner_AssetRelationships_Resource($this, $this->serviceName, 'assetRelationships', array('methods' => array('delete' => array('path' => 'assetRelationships/{assetRelationshipId}', 'httpMethod' => 'DELETE', 'parameters' => array('assetRelationshipId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'assetRelationships', 'httpMethod' => 'POST', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'assetRelationships', 'httpMethod' => 'GET', 'parameters' => array('assetId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->assetSearch = new Google_Service_YouTubePartner_AssetSearch_Resource($this, $this->serviceName, 'assetSearch', array('methods' => array('list' => array('path' => 'assetSearch', 'httpMethod' => 'GET', 'parameters' => array('sort' => array('location' => 'query', 'type' => 'string'), 'q' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'labels' => array('location' => 'query', 'type' => 'string'), 'includeAnyProvidedlabel' => array('location' => 'query', 'type' => 'boolean'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'ownershipRestriction' => array('location' => 'query', 'type' => 'string'), 'metadataSearchFields' => array('location' => 'query', 'type' => 'string'), 'hasConflicts' => array('location' => 'query', 'type' => 'boolean'), 'type' => array('location' => 'query', 'type' => 'string'))))));
     $this->assets = new Google_Service_YouTubePartner_Assets_Resource($this, $this->serviceName, 'assets', array('methods' => array('get' => array('path' => 'assets/{assetId}', 'httpMethod' => 'GET', 'parameters' => array('assetId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'fetchMatchPolicy' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'fetchOwnership' => array('location' => 'query', 'type' => 'string'), 'fetchMetadata' => array('location' => 'query', 'type' => 'string'), 'fetchOwnershipConflicts' => array('location' => 'query', 'type' => 'boolean'))), 'insert' => array('path' => 'assets', 'httpMethod' => 'POST', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'assets', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true), 'fetchMatchPolicy' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'fetchOwnership' => array('location' => 'query', 'type' => 'string'), 'fetchMetadata' => array('location' => 'query', 'type' => 'string'), 'fetchOwnershipConflicts' => array('location' => 'query', 'type' => 'boolean'))), 'patch' => array('path' => 'assets/{assetId}', 'httpMethod' => 'PATCH', 'parameters' => array('assetId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'update' => array('path' => 'assets/{assetId}', 'httpMethod' => 'PUT', 'parameters' => array('assetId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->claimHistory = new Google_Service_YouTubePartner_ClaimHistory_Resource($this, $this->serviceName, 'claimHistory', array('methods' => array('get' => array('path' => 'claimHistory/{claimId}', 'httpMethod' => 'GET', 'parameters' => array('claimId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->claimSearch = new Google_Service_YouTubePartner_ClaimSearch_Resource($this, $this->serviceName, 'claimSearch', array('methods' => array('list' => array('path' => 'claimSearch', 'httpMethod' => 'GET', 'parameters' => array('origin' => array('location' => 'query', 'type' => 'string'), 'status' => array('location' => 'query', 'type' => 'string'), 'createdAfter' => array('location' => 'query', 'type' => 'string'), 'contentType' => array('location' => 'query', 'type' => 'string'), 'assetId' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'videoId' => array('location' => 'query', 'type' => 'string'), 'q' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'createdBefore' => array('location' => 'query', 'type' => 'string'), 'includeThirdPartyClaims' => array('location' => 'query', 'type' => 'boolean'))))));
     $this->claims = new Google_Service_YouTubePartner_Claims_Resource($this, $this->serviceName, 'claims', array('methods' => array('get' => array('path' => 'claims/{claimId}', 'httpMethod' => 'GET', 'parameters' => array('claimId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'claims', 'httpMethod' => 'POST', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'isManualClaim' => array('location' => 'query', 'type' => 'boolean'))), 'list' => array('path' => 'claims', 'httpMethod' => 'GET', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'assetId' => array('location' => 'query', 'type' => 'string'), 'videoId' => array('location' => 'query', 'type' => 'string'), 'q' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'id' => array('location' => 'query', 'type' => 'string'))), 'patch' => array('path' => 'claims/{claimId}', 'httpMethod' => 'PATCH', 'parameters' => array('claimId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'update' => array('path' => 'claims/{claimId}', 'httpMethod' => 'PUT', 'parameters' => array('claimId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->contentOwnerAdvertisingOptions = new Google_Service_YouTubePartner_ContentOwnerAdvertisingOptions_Resource($this, $this->serviceName, 'contentOwnerAdvertisingOptions', array('methods' => array('get' => array('path' => 'contentOwnerAdvertisingOptions', 'httpMethod' => 'GET', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'patch' => array('path' => 'contentOwnerAdvertisingOptions', 'httpMethod' => 'PATCH', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'update' => array('path' => 'contentOwnerAdvertisingOptions', 'httpMethod' => 'PUT', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->contentOwners = new Google_Service_YouTubePartner_ContentOwners_Resource($this, $this->serviceName, 'contentOwners', array('methods' => array('get' => array('path' => 'contentOwners/{contentOwnerId}', 'httpMethod' => 'GET', 'parameters' => array('contentOwnerId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'contentOwners', 'httpMethod' => 'GET', 'parameters' => array('fetchMine' => array('location' => 'query', 'type' => 'boolean'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'id' => array('location' => 'query', 'type' => 'string'))))));
     $this->liveCuepoints = new Google_Service_YouTubePartner_LiveCuepoints_Resource($this, $this->serviceName, 'liveCuepoints', array('methods' => array('insert' => array('path' => 'liveCuepoints', 'httpMethod' => 'POST', 'parameters' => array('channelId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->metadataHistory = new Google_Service_YouTubePartner_MetadataHistory_Resource($this, $this->serviceName, 'metadataHistory', array('methods' => array('list' => array('path' => 'metadataHistory', 'httpMethod' => 'GET', 'parameters' => array('assetId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->orders = new Google_Service_YouTubePartner_Orders_Resource($this, $this->serviceName, 'orders', array('methods' => array('delete' => array('path' => 'orders/{orderId}', 'httpMethod' => 'DELETE', 'parameters' => array('orderId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'get' => array('path' => 'orders/{orderId}', 'httpMethod' => 'GET', 'parameters' => array('orderId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'orders', 'httpMethod' => 'POST', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'orders', 'httpMethod' => 'GET', 'parameters' => array('status' => array('location' => 'query', 'type' => 'string'), 'q' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'contentType' => array('location' => 'query', 'type' => 'string'), 'country' => array('location' => 'query', 'type' => 'string'), 'channelId' => array('location' => 'query', 'type' => 'string'), 'videoId' => array('location' => 'query', 'type' => 'string'), 'priority' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'productionHouse' => array('location' => 'query', 'type' => 'string'), 'customId' => array('location' => 'query', 'type' => 'string'))), 'patch' => array('path' => 'orders/{orderId}', 'httpMethod' => 'PATCH', 'parameters' => array('orderId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'update' => array('path' => 'orders/{orderId}', 'httpMethod' => 'PUT', 'parameters' => array('orderId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->ownership = new Google_Service_YouTubePartner_Ownership_Resource($this, $this->serviceName, 'ownership', array('methods' => array('get' => array('path' => 'assets/{assetId}/ownership', 'httpMethod' => 'GET', 'parameters' => array('assetId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'patch' => array('path' => 'assets/{assetId}/ownership', 'httpMethod' => 'PATCH', 'parameters' => array('assetId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'update' => array('path' => 'assets/{assetId}/ownership', 'httpMethod' => 'PUT', 'parameters' => array('assetId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->ownershipHistory = new Google_Service_YouTubePartner_OwnershipHistory_Resource($this, $this->serviceName, 'ownershipHistory', array('methods' => array('list' => array('path' => 'ownershipHistory', 'httpMethod' => 'GET', 'parameters' => array('assetId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->policies = new Google_Service_YouTubePartner_Policies_Resource($this, $this->serviceName, 'policies', array('methods' => array('get' => array('path' => 'policies/{policyId}', 'httpMethod' => 'GET', 'parameters' => array('policyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'policies', 'httpMethod' => 'POST', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'policies', 'httpMethod' => 'GET', 'parameters' => array('sort' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'id' => array('location' => 'query', 'type' => 'string'))), 'patch' => array('path' => 'policies/{policyId}', 'httpMethod' => 'PATCH', 'parameters' => array('policyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'update' => array('path' => 'policies/{policyId}', 'httpMethod' => 'PUT', 'parameters' => array('policyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->publishers = new Google_Service_YouTubePartner_Publishers_Resource($this, $this->serviceName, 'publishers', array('methods' => array('get' => array('path' => 'publishers/{publisherId}', 'httpMethod' => 'GET', 'parameters' => array('publisherId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'publishers', 'httpMethod' => 'POST', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'publishers', 'httpMethod' => 'GET', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'caeNumber' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'namePrefix' => array('location' => 'query', 'type' => 'string'), 'ipiNumber' => array('location' => 'query', 'type' => 'string'), 'id' => array('location' => 'query', 'type' => 'string'))))));
     $this->referenceConflicts = new Google_Service_YouTubePartner_ReferenceConflicts_Resource($this, $this->serviceName, 'referenceConflicts', array('methods' => array('get' => array('path' => 'referenceConflicts/{referenceConflictId}', 'httpMethod' => 'GET', 'parameters' => array('referenceConflictId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'referenceConflicts', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->references = new Google_Service_YouTubePartner_References_Resource($this, $this->serviceName, 'references', array('methods' => array('get' => array('path' => 'references/{referenceId}', 'httpMethod' => 'GET', 'parameters' => array('referenceId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'references', 'httpMethod' => 'POST', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'claimId' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'references', 'httpMethod' => 'GET', 'parameters' => array('assetId' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'), 'id' => array('location' => 'query', 'type' => 'string'))), 'patch' => array('path' => 'references/{referenceId}', 'httpMethod' => 'PATCH', 'parameters' => array('referenceId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'releaseClaims' => array('location' => 'query', 'type' => 'boolean'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'update' => array('path' => 'references/{referenceId}', 'httpMethod' => 'PUT', 'parameters' => array('referenceId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'releaseClaims' => array('location' => 'query', 'type' => 'boolean'), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
     $this->videoAdvertisingOptions = new Google_Service_YouTubePartner_VideoAdvertisingOptions_Resource($this, $this->serviceName, 'videoAdvertisingOptions', array('methods' => array('get' => array('path' => 'videoAdvertisingOptions/{videoId}', 'httpMethod' => 'GET', 'parameters' => array('videoId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'getEnabledAds' => array('path' => 'videoAdvertisingOptions/{videoId}/getEnabledAds', 'httpMethod' => 'GET', 'parameters' => array('videoId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'patch' => array('path' => 'videoAdvertisingOptions/{videoId}', 'httpMethod' => 'PATCH', 'parameters' => array('videoId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))), 'update' => array('path' => 'videoAdvertisingOptions/{videoId}', 'httpMethod' => 'PUT', 'parameters' => array('videoId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string'))))));
 }
예제 #18
0
 /**
  * Constructs the internal representation of the Customsearch service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'customsearch/';
     $this->version = 'v1';
     $this->serviceName = 'customsearch';
     $this->cse = new Google_Service_Customsearch_Cse_Resource($this, $this->serviceName, 'cse', array('methods' => array('list' => array('path' => 'v1', 'httpMethod' => 'GET', 'parameters' => array('q' => array('location' => 'query', 'type' => 'string', 'required' => true), 'sort' => array('location' => 'query', 'type' => 'string'), 'orTerms' => array('location' => 'query', 'type' => 'string'), 'highRange' => array('location' => 'query', 'type' => 'string'), 'num' => array('location' => 'query', 'type' => 'integer'), 'cr' => array('location' => 'query', 'type' => 'string'), 'imgType' => array('location' => 'query', 'type' => 'string'), 'gl' => array('location' => 'query', 'type' => 'string'), 'relatedSite' => array('location' => 'query', 'type' => 'string'), 'searchType' => array('location' => 'query', 'type' => 'string'), 'fileType' => array('location' => 'query', 'type' => 'string'), 'start' => array('location' => 'query', 'type' => 'integer'), 'imgDominantColor' => array('location' => 'query', 'type' => 'string'), 'lr' => array('location' => 'query', 'type' => 'string'), 'siteSearch' => array('location' => 'query', 'type' => 'string'), 'cref' => array('location' => 'query', 'type' => 'string'), 'dateRestrict' => array('location' => 'query', 'type' => 'string'), 'safe' => array('location' => 'query', 'type' => 'string'), 'c2coff' => array('location' => 'query', 'type' => 'string'), 'googlehost' => array('location' => 'query', 'type' => 'string'), 'hq' => array('location' => 'query', 'type' => 'string'), 'exactTerms' => array('location' => 'query', 'type' => 'string'), 'hl' => array('location' => 'query', 'type' => 'string'), 'lowRange' => array('location' => 'query', 'type' => 'string'), 'imgSize' => array('location' => 'query', 'type' => 'string'), 'imgColorType' => array('location' => 'query', 'type' => 'string'), 'rights' => array('location' => 'query', 'type' => 'string'), 'excludeTerms' => array('location' => 'query', 'type' => 'string'), 'filter' => array('location' => 'query', 'type' => 'string'), 'linkSite' => array('location' => 'query', 'type' => 'string'), 'cx' => array('location' => 'query', 'type' => 'string'), 'siteSearchFilter' => array('location' => 'query', 'type' => 'string'))))));
 }
예제 #19
0
 /**
  * Constructs the internal representation of the AppState service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'appstate/v1/';
     $this->version = 'v1';
     $this->serviceName = 'appstate';
     $this->states = new Google_Service_AppState_States_Resource($this, $this->serviceName, 'states', array('methods' => array('clear' => array('path' => 'states/{stateKey}/clear', 'httpMethod' => 'POST', 'parameters' => array('stateKey' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'currentDataVersion' => array('location' => 'query', 'type' => 'string'))), 'delete' => array('path' => 'states/{stateKey}', 'httpMethod' => 'DELETE', 'parameters' => array('stateKey' => array('location' => 'path', 'type' => 'integer', 'required' => true))), 'get' => array('path' => 'states/{stateKey}', 'httpMethod' => 'GET', 'parameters' => array('stateKey' => array('location' => 'path', 'type' => 'integer', 'required' => true))), 'list' => array('path' => 'states', 'httpMethod' => 'GET', 'parameters' => array('includeData' => array('location' => 'query', 'type' => 'boolean'))), 'update' => array('path' => 'states/{stateKey}', 'httpMethod' => 'PUT', 'parameters' => array('stateKey' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'currentStateVersion' => array('location' => 'query', 'type' => 'string'))))));
 }
 /**
  * Constructs the internal representation of the IdentityToolkit service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'identitytoolkit/v3/relyingparty/';
     $this->version = 'v3';
     $this->serviceName = 'identitytoolkit';
     $this->relyingparty = new Google_Service_IdentityToolkit_Relyingparty_Resource($this, $this->serviceName, 'relyingparty', array('methods' => array('createAuthUri' => array('path' => 'createAuthUri', 'httpMethod' => 'POST', 'parameters' => array()), 'deleteAccount' => array('path' => 'deleteAccount', 'httpMethod' => 'POST', 'parameters' => array()), 'downloadAccount' => array('path' => 'downloadAccount', 'httpMethod' => 'POST', 'parameters' => array()), 'getAccountInfo' => array('path' => 'getAccountInfo', 'httpMethod' => 'POST', 'parameters' => array()), 'getOobConfirmationCode' => array('path' => 'getOobConfirmationCode', 'httpMethod' => 'POST', 'parameters' => array()), 'getPublicKeys' => array('path' => 'publicKeys', 'httpMethod' => 'GET', 'parameters' => array()), 'resetPassword' => array('path' => 'resetPassword', 'httpMethod' => 'POST', 'parameters' => array()), 'setAccountInfo' => array('path' => 'setAccountInfo', 'httpMethod' => 'POST', 'parameters' => array()), 'uploadAccount' => array('path' => 'uploadAccount', 'httpMethod' => 'POST', 'parameters' => array()), 'verifyAssertion' => array('path' => 'verifyAssertion', 'httpMethod' => 'POST', 'parameters' => array()), 'verifyPassword' => array('path' => 'verifyPassword', 'httpMethod' => 'POST', 'parameters' => array()))));
 }
예제 #21
0
 /**
  * Constructs the internal representation of the Webfonts service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'webfonts/v1/';
     $this->version = 'v1';
     $this->serviceName = 'webfonts';
     $this->webfonts = new Google_Service_Webfonts_Webfonts_Resource($this, $this->serviceName, 'webfonts', array('methods' => array('list' => array('path' => 'webfonts', 'httpMethod' => 'GET', 'parameters' => array('sort' => array('location' => 'query', 'type' => 'string'))))));
 }
예제 #22
0
 /**
  * Constructs the internal representation of the Pagespeedonline service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'pagespeedonline/v1/';
     $this->version = 'v1';
     $this->serviceName = 'pagespeedonline';
     $this->pagespeedapi = new Google_Service_Pagespeedonline_Pagespeedapi_Resource($this, $this->serviceName, 'pagespeedapi', array('methods' => array('runpagespeed' => array('path' => 'runPagespeed', 'httpMethod' => 'GET', 'parameters' => array('url' => array('location' => 'query', 'type' => 'string', 'required' => true), 'screenshot' => array('location' => 'query', 'type' => 'boolean'), 'locale' => array('location' => 'query', 'type' => 'string'), 'rule' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'strategy' => array('location' => 'query', 'type' => 'string'), 'filter_third_party_resources' => array('location' => 'query', 'type' => 'boolean'))))));
 }
예제 #23
0
 /**
  * Constructs the internal representation of the QPXExpress service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'qpxExpress/v1/trips/';
     $this->version = 'v1';
     $this->serviceName = 'qpxExpress';
     $this->trips = new Google_Service_QPXExpress_Trips_Resource($this, $this->serviceName, 'trips', array('methods' => array('search' => array('path' => 'search', 'httpMethod' => 'POST', 'parameters' => array()))));
 }
예제 #24
0
 /**
  * Constructs the internal representation of the Licensing service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'apps/licensing/v1/product/';
     $this->version = 'v1';
     $this->serviceName = 'licensing';
     $this->licenseAssignments = new Google_Service_Licensing_LicenseAssignments_Resource($this, $this->serviceName, 'licenseAssignments', array('methods' => array('delete' => array('path' => '{productId}/sku/{skuId}/user/{userId}', 'httpMethod' => 'DELETE', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{productId}/sku/{skuId}/user/{userId}', 'httpMethod' => 'GET', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{productId}/sku/{skuId}/user', 'httpMethod' => 'POST', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'listForProduct' => array('path' => '{productId}/users', 'httpMethod' => 'GET', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customerId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'listForProductAndSku' => array('path' => '{productId}/sku/{skuId}/users', 'httpMethod' => 'GET', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customerId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => '{productId}/sku/{skuId}/user/{userId}', 'httpMethod' => 'PATCH', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => '{productId}/sku/{skuId}/user/{userId}', 'httpMethod' => 'PUT', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
 }
예제 #25
0
 /**
  * Constructs the internal representation of the Audit service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'apps/reporting/audit/v1/';
     $this->version = 'v1';
     $this->serviceName = 'audit';
     $this->activities = new Google_Service_Audit_Activities_Resource($this, $this->serviceName, 'activities', array('methods' => array('list' => array('path' => '{customerId}/{applicationId}', 'httpMethod' => 'GET', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'applicationId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'actorEmail' => array('location' => 'query', 'type' => 'string'), 'actorApplicationId' => array('location' => 'query', 'type' => 'string'), 'actorIpAddress' => array('location' => 'query', 'type' => 'string'), 'caller' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'eventName' => array('location' => 'query', 'type' => 'string'), 'startTime' => array('location' => 'query', 'type' => 'string'), 'endTime' => array('location' => 'query', 'type' => 'string'), 'continuationToken' => array('location' => 'query', 'type' => 'string'))))));
 }
예제 #26
0
 /**
  * Constructs the internal representation of the Admin service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'email/v2/users/';
     $this->version = 'email_migration_v2';
     $this->serviceName = 'admin';
     $this->mail = new Google_Service_Admin_Mail_Resource($this, $this->serviceName, 'mail', array('methods' => array('insert' => array('path' => '{userKey}/mail', 'httpMethod' => 'POST', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
 }
예제 #27
0
 /**
  * Constructs the internal representation of the Playmoviespartner service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->rootUrl = 'https://playmoviespartner.googleapis.com/';
     $this->servicePath = '';
     $this->version = 'v1';
     $this->serviceName = 'playmoviespartner';
 }
예제 #28
0
 /**
  * Constructs the internal representation of the Appsactivity service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'appsactivity/v1/';
     $this->version = 'v1';
     $this->serviceName = 'appsactivity';
     $this->activities = new Google_Service_Appsactivity_Activities_Resource($this, $this->serviceName, 'activities', array('methods' => array('list' => array('path' => 'activities', 'httpMethod' => 'GET', 'parameters' => array('drive.ancestorId' => array('location' => 'query', 'type' => 'string'), 'pageSize' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'userId' => array('location' => 'query', 'type' => 'string'), 'groupingStrategy' => array('location' => 'query', 'type' => 'string'), 'drive.fileId' => array('location' => 'query', 'type' => 'string'), 'source' => array('location' => 'query', 'type' => 'string'))))));
 }
예제 #29
0
 /**
  * Constructs the internal representation of the Freebase service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'freebase/v1/';
     $this->version = 'v1';
     $this->serviceName = 'freebase';
     $this->base_methods = new Google_Service_Resource($this, $this->serviceName, '', array('methods' => array('reconcile' => array('path' => 'reconcile', 'httpMethod' => 'GET', 'parameters' => array('lang' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'confidence' => array('location' => 'query', 'type' => 'number'), 'name' => array('location' => 'query', 'type' => 'string'), 'kind' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'prop' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'limit' => array('location' => 'query', 'type' => 'integer'))), 'search' => array('path' => 'search', 'httpMethod' => 'GET', 'parameters' => array('domain' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'help' => array('location' => 'query', 'type' => 'string'), 'query' => array('location' => 'query', 'type' => 'string'), 'scoring' => array('location' => 'query', 'type' => 'string'), 'cursor' => array('location' => 'query', 'type' => 'integer'), 'prefixed' => array('location' => 'query', 'type' => 'boolean'), 'exact' => array('location' => 'query', 'type' => 'boolean'), 'mid' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'encode' => array('location' => 'query', 'type' => 'string'), 'type' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'as_of_time' => array('location' => 'query', 'type' => 'string'), 'stemmed' => array('location' => 'query', 'type' => 'boolean'), 'format' => array('location' => 'query', 'type' => 'string'), 'spell' => array('location' => 'query', 'type' => 'string'), 'with' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'lang' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'indent' => array('location' => 'query', 'type' => 'boolean'), 'filter' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'callback' => array('location' => 'query', 'type' => 'string'), 'without' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'limit' => array('location' => 'query', 'type' => 'integer'), 'output' => array('location' => 'query', 'type' => 'string'), 'mql_output' => array('location' => 'query', 'type' => 'string'))))));
 }
예제 #30
0
 /**
  * Constructs the internal representation of the Urlshortener service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'urlshortener/v1/';
     $this->version = 'v1';
     $this->serviceName = 'urlshortener';
     $this->url = new Google_Service_Urlshortener_Url_Resource($this, $this->serviceName, 'url', array('methods' => array('get' => array('path' => 'url', 'httpMethod' => 'GET', 'parameters' => array('shortUrl' => array('location' => 'query', 'type' => 'string', 'required' => true), 'projection' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'url', 'httpMethod' => 'POST', 'parameters' => array()), 'list' => array('path' => 'url/history', 'httpMethod' => 'GET', 'parameters' => array('start-token' => array('location' => 'query', 'type' => 'string'), 'projection' => array('location' => 'query', 'type' => 'string'))))));
 }