本文整理汇总了PHP中Google_Service类的典型用法代码示例。如果您正苦于以下问题:PHP Google_Service类的具体用法?PHP Google_Service怎么用?PHP Google_Service使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Google_Service类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: testExtractionOfRootUrlFromService
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);
}
开发者ID:SaintGrey,项目名称:sheets2,代码行数:11,代码来源:BatchTest.php
示例2: __construct
/**
* 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()))));
}
开发者ID:usman-khalid,项目名称:s2ap-quickstart-php,代码行数:30,代码来源:Orkut.php
示例3: __construct
/**
* 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))))));
}
开发者ID:usman-khalid,项目名称:s2ap-quickstart-php,代码行数:30,代码来源:Analytics.php
-
librespeed/speedtest: Self-hosted Speedtest for HTML5 and more. Easy setup, exam
阅读:1235|2022-08-30
-
OpenTeknik LLC OSSN OPEN SOURCE SOCIAL NETWORK v6.3 LTS was discovered to contai
阅读:643|2022-07-29
-
avehtari/BDA_m_demos: Bayesian Data Analysis demos for Matlab/Octave
阅读:1148|2022-08-17
-
女人怀孕后,为了有一个健康聪明的宝宝,经历各种体检、筛查。其实这些体检和筛查中的
阅读:959|2022-11-06
-
苹果手机是很多人心中公认最安全的手机,包括机哥在内。作为生活在深圳的数码人,华强
阅读:390|2022-07-30
-
medfreeman/markdown-it-toc-and-anchor: markdown-it plugin to add a toc and ancho
阅读:1355|2022-08-18
-
edvinaskrucas/notification: Notification package for Laravel
阅读:797|2022-08-12
-
sydney0zq/covid-19-detection: The implementation of A Weakly-supervised Framewor
阅读:494|2022-08-16
-
离中国最远的国家是阿根廷。从太平洋直线计算,即往东线走,北京到阿根廷的布宜诺斯艾
阅读:657|2022-11-06
-
Improper use of a unique device ID in unprotected SecSoterService prior to SMR J
阅读:716|2022-07-29
|
请发表评论