/lib/google/src/Google/Service/Analytics.php
PHP | 9899 lines | 8305 code | 380 blank | 1214 comment | 0 complexity | 39e93b1f8fb24516f5e4b6228eb8db33 MD5 | raw file
Possible License(s): Apache-2.0, LGPL-2.1, BSD-3-Clause, MIT, GPL-3.0
Large files files are truncated, but you can click here to view the full file
- <?php
- /*
- * Copyright 2010 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
- /**
- * Service definition for Analytics (v3).
- *
- * <p>
- * View and manage your Google Analytics data</p>
- *
- * <p>
- * For more information about this service, see the API
- * <a href="https://developers.google.com/analytics/" target="_blank">Documentation</a>
- * </p>
- *
- * @author Google, Inc.
- */
- class Google_Service_Analytics extends Google_Service
- {
- /** View and manage your Google Analytics data. */
- const ANALYTICS =
- "https://www.googleapis.com/auth/analytics";
- /** Edit Google Analytics management entities. */
- const ANALYTICS_EDIT =
- "https://www.googleapis.com/auth/analytics.edit";
- /** Manage Google Analytics Account users by email address. */
- const ANALYTICS_MANAGE_USERS =
- "https://www.googleapis.com/auth/analytics.manage.users";
- /** View Google Analytics user permissions. */
- const ANALYTICS_MANAGE_USERS_READONLY =
- "https://www.googleapis.com/auth/analytics.manage.users.readonly";
- /** Create a new Google Analytics account along with its default property and view. */
- const ANALYTICS_PROVISION =
- "https://www.googleapis.com/auth/analytics.provision";
- /** View your Google Analytics data. */
- const ANALYTICS_READONLY =
- "https://www.googleapis.com/auth/analytics.readonly";
- public $data_ga;
- public $data_mcf;
- public $data_realtime;
- public $management_accountSummaries;
- public $management_accountUserLinks;
- public $management_accounts;
- public $management_customDataSources;
- public $management_customDimensions;
- public $management_customMetrics;
- public $management_experiments;
- public $management_filters;
- public $management_goals;
- public $management_profileFilterLinks;
- public $management_profileUserLinks;
- public $management_profiles;
- public $management_segments;
- public $management_unsampledReports;
- public $management_uploads;
- public $management_webPropertyAdWordsLinks;
- public $management_webproperties;
- public $management_webpropertyUserLinks;
- public $metadata_columns;
- public $provisioning;
-
- /**
- * 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}/prof…
Large files files are truncated, but you can click here to view the full file