| Current Path : /proc/thread-self/root/proc/thread-self/root/proc/1908984/root/proc/1147586/cwd/ |
| Current File : //proc/thread-self/root/proc/thread-self/root/proc/1908984/root/proc/1147586/cwd/framework.tar |
Google/google/apiclient-services/src/Analytics/Resource/Data.php 0000644 00000001400 15235116467 0020721 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
/**
* The "data" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $data = $analyticsService->data;
* </code>
*/
class Data extends \Google\Service\Resource {
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( Data::class, 'Google_Service_Analytics_Resource_Data' );
Google/google/apiclient-services/src/Analytics/Resource/DataGa.php 0000644 00000006164 15235116467 0021205 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\GaData;
/**
* The "ga" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $ga = $analyticsService->ga;
* </code>
*/
class DataGa extends \Google\Service\Resource {
/**
* Returns Analytics data for a view (profile).
* (ga.get)
*
* @param string $ids
* Unique table ID for retrieving Analytics data. Table ID is
* of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
* @param string $startDate
* Start date for fetching Analytics data. Requests can
* specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g.,
* today, yesterday, or 7daysAgo). The default value is 7daysAgo.
* @param string $endDate
* End date for fetching Analytics data. Request can
* should specify an end date formatted as YYYY-MM-DD, or as a relative date
* (e.g., today, yesterday, or 7daysAgo). The default value is yesterday.
* @param string $metrics
* A comma-separated list of Analytics metrics. E.g.,
* 'ga:sessions,ga:pageviews'. At least one metric must be specified.
* @param array $optParams
* Optional parameters.
*
* @opt_param string dimensions A comma-separated list of Analytics dimensions.
* E.g., 'ga:browser,ga:city'.
* @opt_param string filters A comma-separated list of dimension or metric
* filters to be applied to Analytics data.
* @opt_param bool include-empty-rows The response will include empty rows if
* this parameter is set to true, the default is true
* @opt_param int max-results The maximum number of entries to include in this
* feed.
* @opt_param string output The selected format for the response. Default format
* is JSON.
* @opt_param string samplingLevel The desired sampling level.
* @opt_param string segment An Analytics segment to be applied to data.
* @opt_param string sort A comma-separated list of dimensions or metrics that
* determine the sort order for Analytics data.
* @opt_param int start-index An index of the first entity to retrieve. Use this
* parameter as a pagination mechanism along with the max-results parameter.
* @return GaData
*/
public function get($ids, $startDate, $endDate, $metrics, $optParams = [ ]) {
$params = [
'ids' => $ids,
'start-date' => $startDate,
'end-date' => $endDate,
'metrics' => $metrics
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'get', [
$params
], GaData::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( DataGa::class, 'Google_Service_Analytics_Resource_DataGa' );
Google/google/apiclient-services/src/Analytics/Resource/DataMcf.php 0000644 00000005637 15235116467 0021367 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\McfData;
/**
* The "mcf" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $mcf = $analyticsService->mcf;
* </code>
*/
class DataMcf extends \Google\Service\Resource {
/**
* Returns Analytics Multi-Channel Funnels data for a view (profile).
* (mcf.get)
*
* @param string $ids
* Unique table ID for retrieving Analytics data. Table ID is
* of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
* @param string $startDate
* Start date for fetching Analytics data. Requests can
* specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g.,
* today, yesterday, or 7daysAgo). The default value is 7daysAgo.
* @param string $endDate
* End date for fetching Analytics data. Requests can
* specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g.,
* today, yesterday, or 7daysAgo). The default value is 7daysAgo.
* @param string $metrics
* A comma-separated list of Multi-Channel Funnels
* metrics. E.g., 'mcf:totalConversions,mcf:totalConversionValue'. At least one
* metric must be specified.
* @param array $optParams
* Optional parameters.
*
* @opt_param string dimensions A comma-separated list of Multi-Channel Funnels
* dimensions. E.g., 'mcf:source,mcf:medium'.
* @opt_param string filters A comma-separated list of dimension or metric
* filters to be applied to the Analytics data.
* @opt_param int max-results The maximum number of entries to include in this
* feed.
* @opt_param string samplingLevel The desired sampling level.
* @opt_param string sort A comma-separated list of dimensions or metrics that
* determine the sort order for the Analytics data.
* @opt_param int start-index An index of the first entity to retrieve. Use this
* parameter as a pagination mechanism along with the max-results parameter.
* @return McfData
*/
public function get($ids, $startDate, $endDate, $metrics, $optParams = [ ]) {
$params = [
'ids' => $ids,
'start-date' => $startDate,
'end-date' => $endDate,
'metrics' => $metrics
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'get', [
$params
], McfData::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( DataMcf::class, 'Google_Service_Analytics_Resource_DataMcf' );
Google/google/apiclient-services/src/Analytics/Resource/DataRealtime.php 0000644 00000004060 15235116467 0022411 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\RealtimeData;
/**
* The "realtime" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $realtime = $analyticsService->realtime;
* </code>
*/
class DataRealtime extends \Google\Service\Resource {
/**
* Returns real time data for a view (profile).
* (realtime.get)
*
* @param string $ids
* Unique table ID for retrieving real time data. Table ID is
* of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
* @param string $metrics
* A comma-separated list of real time metrics. E.g.,
* 'rt:activeUsers'. At least one metric must be specified.
* @param array $optParams
* Optional parameters.
*
* @opt_param string dimensions A comma-separated list of real time dimensions.
* E.g., 'rt:medium,rt:city'.
* @opt_param string filters A comma-separated list of dimension or metric
* filters to be applied to real time data.
* @opt_param int max-results The maximum number of entries to include in this
* feed.
* @opt_param string sort A comma-separated list of dimensions or metrics that
* determine the sort order for real time data.
* @return RealtimeData
*/
public function get($ids, $metrics, $optParams = [ ]) {
$params = [
'ids' => $ids,
'metrics' => $metrics
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'get', [
$params
], RealtimeData::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( DataRealtime::class, 'Google_Service_Analytics_Resource_DataRealtime' );
Google/google/apiclient-services/src/Analytics/Resource/Management.php 0000644 00000001444 15235116467 0022134 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
/**
* The "management" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $management = $analyticsService->management;
* </code>
*/
class Management extends \Google\Service\Resource {
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( Management::class, 'Google_Service_Analytics_Resource_Management' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementAccountSummaries.php 0000644 00000003336 15235116467 0025341 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\AccountSummaries;
/**
* The "accountSummaries" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $accountSummaries = $analyticsService->accountSummaries;
* </code>
*/
class ManagementAccountSummaries extends \Google\Service\Resource {
/**
* Lists account summaries (lightweight tree comprised of
* accounts/properties/profiles) to which the user has access.
* (accountSummaries.listManagementAccountSummaries)
*
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of account summaries to include
* in this response, where the largest acceptable value is 1000.
* @opt_param int start-index An index of the first entity to retrieve. Use this
* parameter as a pagination mechanism along with the max-results parameter.
* @return AccountSummaries
*/
public function listManagementAccountSummaries($optParams = [ ]) {
$params = [ ];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], AccountSummaries::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementAccountSummaries::class, 'Google_Service_Analytics_Resource_ManagementAccountSummaries' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementAccountUserLinks.php 0000644 00000007265 15235116467 0025320 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\EntityUserLink;
use Google\Service\Analytics\EntityUserLinks;
/**
* The "accountUserLinks" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $accountUserLinks = $analyticsService->accountUserLinks;
* </code>
*/
class ManagementAccountUserLinks extends \Google\Service\Resource {
/**
* Removes a user from the given account.
* (accountUserLinks.delete)
*
* @param string $accountId
* Account ID to delete the user link for.
* @param string $linkId
* Link ID to delete the user link for.
* @param array $optParams
* Optional parameters.
*/
public function delete($accountId, $linkId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'linkId' => $linkId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'delete', [
$params
] );
}
/**
* Adds a new user to the given account.
* (accountUserLinks.insert)
*
* @param string $accountId
* Account ID to create the user link for.
* @param EntityUserLink $postBody
* @param array $optParams
* Optional parameters.
* @return EntityUserLink
*/
public function insert($accountId, EntityUserLink $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'insert', [
$params
], EntityUserLink::class );
}
/**
* Lists account-user links for a given account.
* (accountUserLinks.listManagementAccountUserLinks)
*
* @param string $accountId
* Account ID to retrieve the user links for.
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of account-user links to
* include in this response.
* @opt_param int start-index An index of the first account-user link to
* retrieve. Use this parameter as a pagination mechanism along with the max-
* results parameter.
* @return EntityUserLinks
*/
public function listManagementAccountUserLinks($accountId, $optParams = [ ]) {
$params = [
'accountId' => $accountId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], EntityUserLinks::class );
}
/**
* Updates permissions for an existing user on the given account.
* (accountUserLinks.update)
*
* @param string $accountId
* Account ID to update the account-user link for.
* @param string $linkId
* Link ID to update the account-user link for.
* @param EntityUserLink $postBody
* @param array $optParams
* Optional parameters.
* @return EntityUserLink
*/
public function update($accountId, $linkId, EntityUserLink $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'linkId' => $linkId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'update', [
$params
], EntityUserLink::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementAccountUserLinks::class, 'Google_Service_Analytics_Resource_ManagementAccountUserLinks' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementAccounts.php 0000644 00000003010 15235116467 0023623 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\Accounts;
/**
* The "accounts" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $accounts = $analyticsService->accounts;
* </code>
*/
class ManagementAccounts extends \Google\Service\Resource {
/**
* Lists all accounts to which the user has access.
* (accounts.listManagementAccounts)
*
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of accounts to include in this
* response.
* @opt_param int start-index An index of the first account to retrieve. Use
* this parameter as a pagination mechanism along with the max-results
* parameter.
* @return Accounts
*/
public function listManagementAccounts($optParams = [ ]) {
$params = [ ];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], Accounts::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementAccounts::class, 'Google_Service_Analytics_Resource_ManagementAccounts' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementClientId.php 0000644 00000002621 15235116467 0023546 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\HashClientIdRequest;
use Google\Service\Analytics\HashClientIdResponse;
/**
* The "clientId" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $clientId = $analyticsService->clientId;
* </code>
*/
class ManagementClientId extends \Google\Service\Resource {
/**
* Hashes the given Client ID.
* (clientId.hashClientId)
*
* @param HashClientIdRequest $postBody
* @param array $optParams
* Optional parameters.
* @return HashClientIdResponse
*/
public function hashClientId(HashClientIdRequest $postBody, $optParams = [ ]) {
$params = [
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'hashClientId', [
$params
], HashClientIdResponse::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementClientId::class, 'Google_Service_Analytics_Resource_ManagementClientId' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementCustomDataSources.php 0000644 00000003723 15235116467 0025467 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\CustomDataSources;
/**
* The "customDataSources" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $customDataSources = $analyticsService->customDataSources;
* </code>
*/
class ManagementCustomDataSources extends \Google\Service\Resource {
/**
* List custom data sources to which the user has access.
* (customDataSources.listManagementCustomDataSources)
*
* @param string $accountId
* Account Id for the custom data sources to retrieve.
* @param string $webPropertyId
* Web property Id for the custom data sources to
* retrieve.
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of custom data sources to
* include in this response.
* @opt_param int start-index A 1-based index of the first custom data source to
* retrieve. Use this parameter as a pagination mechanism along with the max-
* results parameter.
* @return CustomDataSources
*/
public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], CustomDataSources::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementCustomDataSources::class, 'Google_Service_Analytics_Resource_ManagementCustomDataSources' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementCustomDimensions.php 0000644 00000013573 15235116467 0025366 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\CustomDimension;
use Google\Service\Analytics\CustomDimensions;
/**
* The "customDimensions" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $customDimensions = $analyticsService->customDimensions;
* </code>
*/
class ManagementCustomDimensions extends \Google\Service\Resource {
/**
* Get a custom dimension to which the user has access.
* (customDimensions.get)
*
* @param string $accountId
* Account ID for the custom dimension to retrieve.
* @param string $webPropertyId
* Web property ID for the custom dimension to
* retrieve.
* @param string $customDimensionId
* The ID of the custom dimension to retrieve.
* @param array $optParams
* Optional parameters.
* @return CustomDimension
*/
public function get($accountId, $webPropertyId, $customDimensionId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'customDimensionId' => $customDimensionId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'get', [
$params
], CustomDimension::class );
}
/**
* Create a new custom dimension.
* (customDimensions.insert)
*
* @param string $accountId
* Account ID for the custom dimension to create.
* @param string $webPropertyId
* Web property ID for the custom dimension to
* create.
* @param CustomDimension $postBody
* @param array $optParams
* Optional parameters.
* @return CustomDimension
*/
public function insert($accountId, $webPropertyId, CustomDimension $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'insert', [
$params
], CustomDimension::class );
}
/**
* Lists custom dimensions to which the user has access.
* (customDimensions.listManagementCustomDimensions)
*
* @param string $accountId
* Account ID for the custom dimensions to retrieve.
* @param string $webPropertyId
* Web property ID for the custom dimensions to
* retrieve.
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of custom dimensions to include
* in this response.
* @opt_param int start-index An index of the first entity to retrieve. Use this
* parameter as a pagination mechanism along with the max-results parameter.
* @return CustomDimensions
*/
public function listManagementCustomDimensions($accountId, $webPropertyId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], CustomDimensions::class );
}
/**
* Updates an existing custom dimension.
* This method supports patch semantics.
* (customDimensions.patch)
*
* @param string $accountId
* Account ID for the custom dimension to update.
* @param string $webPropertyId
* Web property ID for the custom dimension to
* update.
* @param string $customDimensionId
* Custom dimension ID for the custom dimension
* to update.
* @param CustomDimension $postBody
* @param array $optParams
* Optional parameters.
*
* @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
* warnings related to the custom dimension being linked to a custom data source
* / data set.
* @return CustomDimension
*/
public function patch($accountId, $webPropertyId, $customDimensionId, CustomDimension $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'customDimensionId' => $customDimensionId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'patch', [
$params
], CustomDimension::class );
}
/**
* Updates an existing custom dimension.
* (customDimensions.update)
*
* @param string $accountId
* Account ID for the custom dimension to update.
* @param string $webPropertyId
* Web property ID for the custom dimension to
* update.
* @param string $customDimensionId
* Custom dimension ID for the custom dimension
* to update.
* @param CustomDimension $postBody
* @param array $optParams
* Optional parameters.
*
* @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
* warnings related to the custom dimension being linked to a custom data source
* / data set.
* @return CustomDimension
*/
public function update($accountId, $webPropertyId, $customDimensionId, CustomDimension $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'customDimensionId' => $customDimensionId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'update', [
$params
], CustomDimension::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementCustomDimensions::class, 'Google_Service_Analytics_Resource_ManagementCustomDimensions' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementCustomMetrics.php 0000644 00000013236 15235116467 0024660 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\CustomMetric;
use Google\Service\Analytics\CustomMetrics;
/**
* The "customMetrics" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $customMetrics = $analyticsService->customMetrics;
* </code>
*/
class ManagementCustomMetrics extends \Google\Service\Resource {
/**
* Get a custom metric to which the user has access.
* (customMetrics.get)
*
* @param string $accountId
* Account ID for the custom metric to retrieve.
* @param string $webPropertyId
* Web property ID for the custom metric to
* retrieve.
* @param string $customMetricId
* The ID of the custom metric to retrieve.
* @param array $optParams
* Optional parameters.
* @return CustomMetric
*/
public function get($accountId, $webPropertyId, $customMetricId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'customMetricId' => $customMetricId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'get', [
$params
], CustomMetric::class );
}
/**
* Create a new custom metric.
* (customMetrics.insert)
*
* @param string $accountId
* Account ID for the custom metric to create.
* @param string $webPropertyId
* Web property ID for the custom dimension to
* create.
* @param CustomMetric $postBody
* @param array $optParams
* Optional parameters.
* @return CustomMetric
*/
public function insert($accountId, $webPropertyId, CustomMetric $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'insert', [
$params
], CustomMetric::class );
}
/**
* Lists custom metrics to which the user has access.
* (customMetrics.listManagementCustomMetrics)
*
* @param string $accountId
* Account ID for the custom metrics to retrieve.
* @param string $webPropertyId
* Web property ID for the custom metrics to
* retrieve.
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of custom metrics to include in
* this response.
* @opt_param int start-index An index of the first entity to retrieve. Use this
* parameter as a pagination mechanism along with the max-results parameter.
* @return CustomMetrics
*/
public function listManagementCustomMetrics($accountId, $webPropertyId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], CustomMetrics::class );
}
/**
* Updates an existing custom metric.
* This method supports patch semantics.
* (customMetrics.patch)
*
* @param string $accountId
* Account ID for the custom metric to update.
* @param string $webPropertyId
* Web property ID for the custom metric to update.
* @param string $customMetricId
* Custom metric ID for the custom metric to
* update.
* @param CustomMetric $postBody
* @param array $optParams
* Optional parameters.
*
* @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
* warnings related to the custom metric being linked to a custom data source /
* data set.
* @return CustomMetric
*/
public function patch($accountId, $webPropertyId, $customMetricId, CustomMetric $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'customMetricId' => $customMetricId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'patch', [
$params
], CustomMetric::class );
}
/**
* Updates an existing custom metric.
* (customMetrics.update)
*
* @param string $accountId
* Account ID for the custom metric to update.
* @param string $webPropertyId
* Web property ID for the custom metric to update.
* @param string $customMetricId
* Custom metric ID for the custom metric to
* update.
* @param CustomMetric $postBody
* @param array $optParams
* Optional parameters.
*
* @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
* warnings related to the custom metric being linked to a custom data source /
* data set.
* @return CustomMetric
*/
public function update($accountId, $webPropertyId, $customMetricId, CustomMetric $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'customMetricId' => $customMetricId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'update', [
$params
], CustomMetric::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementCustomMetrics::class, 'Google_Service_Analytics_Resource_ManagementCustomMetrics' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementExperiments.php 0000644 00000015110 15235116467 0024353 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\Experiment;
use Google\Service\Analytics\Experiments;
/**
* The "experiments" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $experiments = $analyticsService->experiments;
* </code>
*/
class ManagementExperiments extends \Google\Service\Resource {
/**
* Delete an experiment.
* (experiments.delete)
*
* @param string $accountId
* Account ID to which the experiment belongs
* @param string $webPropertyId
* Web property ID to which the experiment belongs
* @param string $profileId
* View (Profile) ID to which the experiment belongs
* @param string $experimentId
* ID of the experiment to delete
* @param array $optParams
* Optional parameters.
*/
public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'experimentId' => $experimentId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'delete', [
$params
] );
}
/**
* Returns an experiment to which the user has access.
* (experiments.get)
*
* @param string $accountId
* Account ID to retrieve the experiment for.
* @param string $webPropertyId
* Web property ID to retrieve the experiment for.
* @param string $profileId
* View (Profile) ID to retrieve the experiment for.
* @param string $experimentId
* Experiment ID to retrieve the experiment for.
* @param array $optParams
* Optional parameters.
* @return Experiment
*/
public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'experimentId' => $experimentId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'get', [
$params
], Experiment::class );
}
/**
* Create a new experiment.
* (experiments.insert)
*
* @param string $accountId
* Account ID to create the experiment for.
* @param string $webPropertyId
* Web property ID to create the experiment for.
* @param string $profileId
* View (Profile) ID to create the experiment for.
* @param Experiment $postBody
* @param array $optParams
* Optional parameters.
* @return Experiment
*/
public function insert($accountId, $webPropertyId, $profileId, Experiment $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'insert', [
$params
], Experiment::class );
}
/**
* Lists experiments to which the user has access.
* (experiments.listManagementExperiments)
*
* @param string $accountId
* Account ID to retrieve experiments for.
* @param string $webPropertyId
* Web property ID to retrieve experiments for.
* @param string $profileId
* View (Profile) ID to retrieve experiments for.
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of experiments to include in
* this response.
* @opt_param int start-index An index of the first experiment to retrieve. Use
* this parameter as a pagination mechanism along with the max-results
* parameter.
* @return Experiments
*/
public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], Experiments::class );
}
/**
* Update an existing experiment.
* This method supports patch semantics.
* (experiments.patch)
*
* @param string $accountId
* Account ID of the experiment to update.
* @param string $webPropertyId
* Web property ID of the experiment to update.
* @param string $profileId
* View (Profile) ID of the experiment to update.
* @param string $experimentId
* Experiment ID of the experiment to update.
* @param Experiment $postBody
* @param array $optParams
* Optional parameters.
* @return Experiment
*/
public function patch($accountId, $webPropertyId, $profileId, $experimentId, Experiment $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'experimentId' => $experimentId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'patch', [
$params
], Experiment::class );
}
/**
* Update an existing experiment.
* (experiments.update)
*
* @param string $accountId
* Account ID of the experiment to update.
* @param string $webPropertyId
* Web property ID of the experiment to update.
* @param string $profileId
* View (Profile) ID of the experiment to update.
* @param string $experimentId
* Experiment ID of the experiment to update.
* @param Experiment $postBody
* @param array $optParams
* Optional parameters.
* @return Experiment
*/
public function update($accountId, $webPropertyId, $profileId, $experimentId, Experiment $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'experimentId' => $experimentId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'update', [
$params
], Experiment::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementExperiments::class, 'Google_Service_Analytics_Resource_ManagementExperiments' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementFilters.php 0000644 00000011222 15235116467 0023460 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\Filter;
use Google\Service\Analytics\Filters;
/**
* The "filters" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $filters = $analyticsService->filters;
* </code>
*/
class ManagementFilters extends \Google\Service\Resource {
/**
* Delete a filter.
* (filters.delete)
*
* @param string $accountId
* Account ID to delete the filter for.
* @param string $filterId
* ID of the filter to be deleted.
* @param array $optParams
* Optional parameters.
* @return Filter
*/
public function delete($accountId, $filterId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'filterId' => $filterId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'delete', [
$params
], Filter::class );
}
/**
* Returns filters to which the user has access.
* (filters.get)
*
* @param string $accountId
* Account ID to retrieve filters for.
* @param string $filterId
* Filter ID to retrieve filters for.
* @param array $optParams
* Optional parameters.
* @return Filter
*/
public function get($accountId, $filterId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'filterId' => $filterId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'get', [
$params
], Filter::class );
}
/**
* Create a new filter.
* (filters.insert)
*
* @param string $accountId
* Account ID to create filter for.
* @param Filter $postBody
* @param array $optParams
* Optional parameters.
* @return Filter
*/
public function insert($accountId, Filter $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'insert', [
$params
], Filter::class );
}
/**
* Lists all filters for an account (filters.listManagementFilters)
*
* @param string $accountId
* Account ID to retrieve filters for.
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of filters to include in this
* response.
* @opt_param int start-index An index of the first entity to retrieve. Use this
* parameter as a pagination mechanism along with the max-results parameter.
* @return Filters
*/
public function listManagementFilters($accountId, $optParams = [ ]) {
$params = [
'accountId' => $accountId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], Filters::class );
}
/**
* Updates an existing filter.
* This method supports patch semantics.
* (filters.patch)
*
* @param string $accountId
* Account ID to which the filter belongs.
* @param string $filterId
* ID of the filter to be updated.
* @param Filter $postBody
* @param array $optParams
* Optional parameters.
* @return Filter
*/
public function patch($accountId, $filterId, Filter $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'filterId' => $filterId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'patch', [
$params
], Filter::class );
}
/**
* Updates an existing filter.
* (filters.update)
*
* @param string $accountId
* Account ID to which the filter belongs.
* @param string $filterId
* ID of the filter to be updated.
* @param Filter $postBody
* @param array $optParams
* Optional parameters.
* @return Filter
*/
public function update($accountId, $filterId, Filter $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'filterId' => $filterId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'update', [
$params
], Filter::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementFilters::class, 'Google_Service_Analytics_Resource_ManagementFilters' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementGoals.php 0000644 00000013314 15235116467 0023121 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\Goal;
use Google\Service\Analytics\Goals;
/**
* The "goals" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $goals = $analyticsService->goals;
* </code>
*/
class ManagementGoals extends \Google\Service\Resource {
/**
* Gets a goal to which the user has access.
* (goals.get)
*
* @param string $accountId
* Account ID to retrieve the goal for.
* @param string $webPropertyId
* Web property ID to retrieve the goal for.
* @param string $profileId
* View (Profile) ID to retrieve the goal for.
* @param string $goalId
* Goal ID to retrieve the goal for.
* @param array $optParams
* Optional parameters.
* @return Goal
*/
public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'goalId' => $goalId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'get', [
$params
], Goal::class );
}
/**
* Create a new goal.
* (goals.insert)
*
* @param string $accountId
* Account ID to create the goal for.
* @param string $webPropertyId
* Web property ID to create the goal for.
* @param string $profileId
* View (Profile) ID to create the goal for.
* @param Goal $postBody
* @param array $optParams
* Optional parameters.
* @return Goal
*/
public function insert($accountId, $webPropertyId, $profileId, Goal $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'insert', [
$params
], Goal::class );
}
/**
* Lists goals to which the user has access.
* (goals.listManagementGoals)
*
* @param string $accountId
* Account ID to retrieve goals for. Can either be a
* specific account ID or '~all', which refers to all the accounts that user has
* access to.
* @param string $webPropertyId
* Web property ID to retrieve goals for. Can
* either be a specific web property ID or '~all', which refers to all the web
* properties that user has access to.
* @param string $profileId
* View (Profile) ID to retrieve goals for. Can either
* be a specific view (profile) ID or '~all', which refers to all the views
* (profiles) that user has access to.
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of goals to include in this
* response.
* @opt_param int start-index An index of the first goal to retrieve. Use this
* parameter as a pagination mechanism along with the max-results parameter.
* @return Goals
*/
public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], Goals::class );
}
/**
* Updates an existing goal.
* This method supports patch semantics. (goals.patch)
*
* @param string $accountId
* Account ID to update the goal.
* @param string $webPropertyId
* Web property ID to update the goal.
* @param string $profileId
* View (Profile) ID to update the goal.
* @param string $goalId
* Index of the goal to be updated.
* @param Goal $postBody
* @param array $optParams
* Optional parameters.
* @return Goal
*/
public function patch($accountId, $webPropertyId, $profileId, $goalId, Goal $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'goalId' => $goalId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'patch', [
$params
], Goal::class );
}
/**
* Updates an existing goal.
* (goals.update)
*
* @param string $accountId
* Account ID to update the goal.
* @param string $webPropertyId
* Web property ID to update the goal.
* @param string $profileId
* View (Profile) ID to update the goal.
* @param string $goalId
* Index of the goal to be updated.
* @param Goal $postBody
* @param array $optParams
* Optional parameters.
* @return Goal
*/
public function update($accountId, $webPropertyId, $profileId, $goalId, Goal $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'goalId' => $goalId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'update', [
$params
], Goal::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementGoals::class, 'Google_Service_Analytics_Resource_ManagementGoals' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementProfileFilterLinks.php 0000644 00000016123 15235116467 0025624 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\ProfileFilterLink;
use Google\Service\Analytics\ProfileFilterLinks;
/**
* The "profileFilterLinks" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $profileFilterLinks = $analyticsService->profileFilterLinks;
* </code>
*/
class ManagementProfileFilterLinks extends \Google\Service\Resource {
/**
* Delete a profile filter link.
* (profileFilterLinks.delete)
*
* @param string $accountId
* Account ID to which the profile filter link belongs.
* @param string $webPropertyId
* Web property Id to which the profile filter link
* belongs.
* @param string $profileId
* Profile ID to which the filter link belongs.
* @param string $linkId
* ID of the profile filter link to delete.
* @param array $optParams
* Optional parameters.
*/
public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'linkId' => $linkId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'delete', [
$params
] );
}
/**
* Returns a single profile filter link.
* (profileFilterLinks.get)
*
* @param string $accountId
* Account ID to retrieve profile filter link for.
* @param string $webPropertyId
* Web property Id to retrieve profile filter link
* for.
* @param string $profileId
* Profile ID to retrieve filter link for.
* @param string $linkId
* ID of the profile filter link.
* @param array $optParams
* Optional parameters.
* @return ProfileFilterLink
*/
public function get($accountId, $webPropertyId, $profileId, $linkId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'linkId' => $linkId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'get', [
$params
], ProfileFilterLink::class );
}
/**
* Create a new profile filter link.
* (profileFilterLinks.insert)
*
* @param string $accountId
* Account ID to create profile filter link for.
* @param string $webPropertyId
* Web property Id to create profile filter link
* for.
* @param string $profileId
* Profile ID to create filter link for.
* @param ProfileFilterLink $postBody
* @param array $optParams
* Optional parameters.
* @return ProfileFilterLink
*/
public function insert($accountId, $webPropertyId, $profileId, ProfileFilterLink $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'insert', [
$params
], ProfileFilterLink::class );
}
/**
* Lists all profile filter links for a profile.
* (profileFilterLinks.listManagementProfileFilterLinks)
*
* @param string $accountId
* Account ID to retrieve profile filter links for.
* @param string $webPropertyId
* Web property Id for profile filter links for.
* Can either be a specific web property ID or '~all', which refers to all the
* web properties that user has access to.
* @param string $profileId
* Profile ID to retrieve filter links for. Can either
* be a specific profile ID or '~all', which refers to all the profiles that
* user has access to.
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of profile filter links to
* include in this response.
* @opt_param int start-index An index of the first entity to retrieve. Use this
* parameter as a pagination mechanism along with the max-results parameter.
* @return ProfileFilterLinks
*/
public function listManagementProfileFilterLinks($accountId, $webPropertyId, $profileId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], ProfileFilterLinks::class );
}
/**
* Update an existing profile filter link.
* This method supports patch semantics.
* (profileFilterLinks.patch)
*
* @param string $accountId
* Account ID to which profile filter link belongs.
* @param string $webPropertyId
* Web property Id to which profile filter link
* belongs
* @param string $profileId
* Profile ID to which filter link belongs
* @param string $linkId
* ID of the profile filter link to be updated.
* @param ProfileFilterLink $postBody
* @param array $optParams
* Optional parameters.
* @return ProfileFilterLink
*/
public function patch($accountId, $webPropertyId, $profileId, $linkId, ProfileFilterLink $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'linkId' => $linkId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'patch', [
$params
], ProfileFilterLink::class );
}
/**
* Update an existing profile filter link.
* (profileFilterLinks.update)
*
* @param string $accountId
* Account ID to which profile filter link belongs.
* @param string $webPropertyId
* Web property Id to which profile filter link
* belongs
* @param string $profileId
* Profile ID to which filter link belongs
* @param string $linkId
* ID of the profile filter link to be updated.
* @param ProfileFilterLink $postBody
* @param array $optParams
* Optional parameters.
* @return ProfileFilterLink
*/
public function update($accountId, $webPropertyId, $profileId, $linkId, ProfileFilterLink $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'linkId' => $linkId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'update', [
$params
], ProfileFilterLink::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementProfileFilterLinks::class, 'Google_Service_Analytics_Resource_ManagementProfileFilterLinks' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementProfileUserLinks.php 0000644 00000012153 15235116467 0025314 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\EntityUserLink;
use Google\Service\Analytics\EntityUserLinks;
/**
* The "profileUserLinks" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $profileUserLinks = $analyticsService->profileUserLinks;
* </code>
*/
class ManagementProfileUserLinks extends \Google\Service\Resource {
/**
* Removes a user from the given view (profile).
* (profileUserLinks.delete)
*
* @param string $accountId
* Account ID to delete the user link for.
* @param string $webPropertyId
* Web Property ID to delete the user link for.
* @param string $profileId
* View (Profile) ID to delete the user link for.
* @param string $linkId
* Link ID to delete the user link for.
* @param array $optParams
* Optional parameters.
*/
public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'linkId' => $linkId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'delete', [
$params
] );
}
/**
* Adds a new user to the given view (profile).
* (profileUserLinks.insert)
*
* @param string $accountId
* Account ID to create the user link for.
* @param string $webPropertyId
* Web Property ID to create the user link for.
* @param string $profileId
* View (Profile) ID to create the user link for.
* @param EntityUserLink $postBody
* @param array $optParams
* Optional parameters.
* @return EntityUserLink
*/
public function insert($accountId, $webPropertyId, $profileId, EntityUserLink $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'insert', [
$params
], EntityUserLink::class );
}
/**
* Lists profile-user links for a given view (profile).
* (profileUserLinks.listManagementProfileUserLinks)
*
* @param string $accountId
* Account ID which the given view (profile) belongs
* to.
* @param string $webPropertyId
* Web Property ID which the given view (profile)
* belongs to. Can either be a specific web property ID or '~all', which refers
* to all the web properties that user has access to.
* @param string $profileId
* View (Profile) ID to retrieve the profile-user links
* for. Can either be a specific profile ID or '~all', which refers to all the
* profiles that user has access to.
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of profile-user links to
* include in this response.
* @opt_param int start-index An index of the first profile-user link to
* retrieve. Use this parameter as a pagination mechanism along with the max-
* results parameter.
* @return EntityUserLinks
*/
public function listManagementProfileUserLinks($accountId, $webPropertyId, $profileId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], EntityUserLinks::class );
}
/**
* Updates permissions for an existing user on the given view (profile).
* (profileUserLinks.update)
*
* @param string $accountId
* Account ID to update the user link for.
* @param string $webPropertyId
* Web Property ID to update the user link for.
* @param string $profileId
* View (Profile ID) to update the user link for.
* @param string $linkId
* Link ID to update the user link for.
* @param EntityUserLink $postBody
* @param array $optParams
* Optional parameters.
* @return EntityUserLink
*/
public function update($accountId, $webPropertyId, $profileId, $linkId, EntityUserLink $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'linkId' => $linkId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'update', [
$params
], EntityUserLink::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementProfileUserLinks::class, 'Google_Service_Analytics_Resource_ManagementProfileUserLinks' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementProfiles.php 0000644 00000014125 15235116467 0023640 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\Profile;
use Google\Service\Analytics\Profiles;
/**
* The "profiles" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $profiles = $analyticsService->profiles;
* </code>
*/
class ManagementProfiles extends \Google\Service\Resource {
/**
* Deletes a view (profile).
* (profiles.delete)
*
* @param string $accountId
* Account ID to delete the view (profile) for.
* @param string $webPropertyId
* Web property ID to delete the view (profile)
* for.
* @param string $profileId
* ID of the view (profile) to be deleted.
* @param array $optParams
* Optional parameters.
*/
public function delete($accountId, $webPropertyId, $profileId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'delete', [
$params
] );
}
/**
* Gets a view (profile) to which the user has access.
* (profiles.get)
*
* @param string $accountId
* Account ID to retrieve the view (profile) for.
* @param string $webPropertyId
* Web property ID to retrieve the view (profile)
* for.
* @param string $profileId
* View (Profile) ID to retrieve the view (profile)
* for.
* @param array $optParams
* Optional parameters.
* @return Profile
*/
public function get($accountId, $webPropertyId, $profileId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'get', [
$params
], Profile::class );
}
/**
* Create a new view (profile).
* (profiles.insert)
*
* @param string $accountId
* Account ID to create the view (profile) for.
* @param string $webPropertyId
* Web property ID to create the view (profile)
* for.
* @param Profile $postBody
* @param array $optParams
* Optional parameters.
* @return Profile
*/
public function insert($accountId, $webPropertyId, Profile $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'insert', [
$params
], Profile::class );
}
/**
* Lists views (profiles) to which the user has access.
* (profiles.listManagementProfiles)
*
* @param string $accountId
* Account ID for the view (profiles) to retrieve. Can
* either be a specific account ID or '~all', which refers to all the accounts
* to which the user has access.
* @param string $webPropertyId
* Web property ID for the views (profiles) to
* retrieve. Can either be a specific web property ID or '~all', which refers to
* all the web properties to which the user has access.
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of views (profiles) to include
* in this response.
* @opt_param int start-index An index of the first entity to retrieve. Use this
* parameter as a pagination mechanism along with the max-results parameter.
* @return Profiles
*/
public function listManagementProfiles($accountId, $webPropertyId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], Profiles::class );
}
/**
* Updates an existing view (profile).
* This method supports patch semantics.
* (profiles.patch)
*
* @param string $accountId
* Account ID to which the view (profile) belongs
* @param string $webPropertyId
* Web property ID to which the view (profile)
* belongs
* @param string $profileId
* ID of the view (profile) to be updated.
* @param Profile $postBody
* @param array $optParams
* Optional parameters.
* @return Profile
*/
public function patch($accountId, $webPropertyId, $profileId, Profile $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'patch', [
$params
], Profile::class );
}
/**
* Updates an existing view (profile).
* (profiles.update)
*
* @param string $accountId
* Account ID to which the view (profile) belongs
* @param string $webPropertyId
* Web property ID to which the view (profile)
* belongs
* @param string $profileId
* ID of the view (profile) to be updated.
* @param Profile $postBody
* @param array $optParams
* Optional parameters.
* @return Profile
*/
public function update($accountId, $webPropertyId, $profileId, Profile $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'update', [
$params
], Profile::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementProfiles::class, 'Google_Service_Analytics_Resource_ManagementProfiles' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementRemarketingAudience.php 0000644 00000015253 15235116467 0025766 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\RemarketingAudience;
use Google\Service\Analytics\RemarketingAudiences;
/**
* The "remarketingAudience" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $remarketingAudience = $analyticsService->remarketingAudience;
* </code>
*/
class ManagementRemarketingAudience extends \Google\Service\Resource {
/**
* Delete a remarketing audience.
* (remarketingAudience.delete)
*
* @param string $accountId
* Account ID to which the remarketing audience
* belongs.
* @param string $webPropertyId
* Web property ID to which the remarketing
* audience belongs.
* @param string $remarketingAudienceId
* The ID of the remarketing audience to
* delete.
* @param array $optParams
* Optional parameters.
*/
public function delete($accountId, $webPropertyId, $remarketingAudienceId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'remarketingAudienceId' => $remarketingAudienceId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'delete', [
$params
] );
}
/**
* Gets a remarketing audience to which the user has access.
* (remarketingAudience.get)
*
* @param string $accountId
* The account ID of the remarketing audience to
* retrieve.
* @param string $webPropertyId
* The web property ID of the remarketing audience
* to retrieve.
* @param string $remarketingAudienceId
* The ID of the remarketing audience to
* retrieve.
* @param array $optParams
* Optional parameters.
* @return RemarketingAudience
*/
public function get($accountId, $webPropertyId, $remarketingAudienceId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'remarketingAudienceId' => $remarketingAudienceId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'get', [
$params
], RemarketingAudience::class );
}
/**
* Creates a new remarketing audience.
* (remarketingAudience.insert)
*
* @param string $accountId
* The account ID for which to create the remarketing
* audience.
* @param string $webPropertyId
* Web property ID for which to create the
* remarketing audience.
* @param RemarketingAudience $postBody
* @param array $optParams
* Optional parameters.
* @return RemarketingAudience
*/
public function insert($accountId, $webPropertyId, RemarketingAudience $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'insert', [
$params
], RemarketingAudience::class );
}
/**
* Lists remarketing audiences to which the user has access.
* (remarketingAudience.listManagementRemarketingAudience)
*
* @param string $accountId
* The account ID of the remarketing audiences to
* retrieve.
* @param string $webPropertyId
* The web property ID of the remarketing audiences
* to retrieve.
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of remarketing audiences to
* include in this response.
* @opt_param int start-index An index of the first entity to retrieve. Use this
* parameter as a pagination mechanism along with the max-results parameter.
* @opt_param string type
* @return RemarketingAudiences
*/
public function listManagementRemarketingAudience($accountId, $webPropertyId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], RemarketingAudiences::class );
}
/**
* Updates an existing remarketing audience.
* This method supports patch
* semantics. (remarketingAudience.patch)
*
* @param string $accountId
* The account ID of the remarketing audience to
* update.
* @param string $webPropertyId
* The web property ID of the remarketing audience
* to update.
* @param string $remarketingAudienceId
* The ID of the remarketing audience to
* update.
* @param RemarketingAudience $postBody
* @param array $optParams
* Optional parameters.
* @return RemarketingAudience
*/
public function patch($accountId, $webPropertyId, $remarketingAudienceId, RemarketingAudience $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'remarketingAudienceId' => $remarketingAudienceId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'patch', [
$params
], RemarketingAudience::class );
}
/**
* Updates an existing remarketing audience.
* (remarketingAudience.update)
*
* @param string $accountId
* The account ID of the remarketing audience to
* update.
* @param string $webPropertyId
* The web property ID of the remarketing audience
* to update.
* @param string $remarketingAudienceId
* The ID of the remarketing audience to
* update.
* @param RemarketingAudience $postBody
* @param array $optParams
* Optional parameters.
* @return RemarketingAudience
*/
public function update($accountId, $webPropertyId, $remarketingAudienceId, RemarketingAudience $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'remarketingAudienceId' => $remarketingAudienceId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'update', [
$params
], RemarketingAudience::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementRemarketingAudience::class, 'Google_Service_Analytics_Resource_ManagementRemarketingAudience' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementSegments.php 0000644 00000003004 15235116467 0023634 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\Segments;
/**
* The "segments" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $segments = $analyticsService->segments;
* </code>
*/
class ManagementSegments extends \Google\Service\Resource {
/**
* Lists segments to which the user has access.
* (segments.listManagementSegments)
*
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of segments to include in this
* response.
* @opt_param int start-index An index of the first segment to retrieve. Use
* this parameter as a pagination mechanism along with the max-results
* parameter.
* @return Segments
*/
public function listManagementSegments($optParams = [ ]) {
$params = [ ];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], Segments::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementSegments::class, 'Google_Service_Analytics_Resource_ManagementSegments' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementUnsampledReports.php 0000644 00000012112 15235116467 0025356 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\UnsampledReport;
use Google\Service\Analytics\UnsampledReports;
/**
* The "unsampledReports" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $unsampledReports = $analyticsService->unsampledReports;
* </code>
*/
class ManagementUnsampledReports extends \Google\Service\Resource {
/**
* Deletes an unsampled report.
* (unsampledReports.delete)
*
* @param string $accountId
* Account ID to delete the unsampled report for.
* @param string $webPropertyId
* Web property ID to delete the unsampled reports
* for.
* @param string $profileId
* View (Profile) ID to delete the unsampled report
* for.
* @param string $unsampledReportId
* ID of the unsampled report to be deleted.
* @param array $optParams
* Optional parameters.
*/
public function delete($accountId, $webPropertyId, $profileId, $unsampledReportId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'unsampledReportId' => $unsampledReportId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'delete', [
$params
] );
}
/**
* Returns a single unsampled report.
* (unsampledReports.get)
*
* @param string $accountId
* Account ID to retrieve unsampled report for.
* @param string $webPropertyId
* Web property ID to retrieve unsampled reports
* for.
* @param string $profileId
* View (Profile) ID to retrieve unsampled report for.
* @param string $unsampledReportId
* ID of the unsampled report to retrieve.
* @param array $optParams
* Optional parameters.
* @return UnsampledReport
*/
public function get($accountId, $webPropertyId, $profileId, $unsampledReportId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'unsampledReportId' => $unsampledReportId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'get', [
$params
], UnsampledReport::class );
}
/**
* Create a new unsampled report.
* (unsampledReports.insert)
*
* @param string $accountId
* Account ID to create the unsampled report for.
* @param string $webPropertyId
* Web property ID to create the unsampled report
* for.
* @param string $profileId
* View (Profile) ID to create the unsampled report
* for.
* @param UnsampledReport $postBody
* @param array $optParams
* Optional parameters.
* @return UnsampledReport
*/
public function insert($accountId, $webPropertyId, $profileId, UnsampledReport $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'insert', [
$params
], UnsampledReport::class );
}
/**
* Lists unsampled reports to which the user has access.
* (unsampledReports.listManagementUnsampledReports)
*
* @param string $accountId
* Account ID to retrieve unsampled reports for. Must
* be a specific account ID, ~all is not supported.
* @param string $webPropertyId
* Web property ID to retrieve unsampled reports
* for. Must be a specific web property ID, ~all is not supported.
* @param string $profileId
* View (Profile) ID to retrieve unsampled reports for.
* Must be a specific view (profile) ID, ~all is not supported.
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of unsampled reports to include
* in this response.
* @opt_param int start-index An index of the first unsampled report to
* retrieve. Use this parameter as a pagination mechanism along with the max-
* results parameter.
* @return UnsampledReports
*/
public function listManagementUnsampledReports($accountId, $webPropertyId, $profileId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'profileId' => $profileId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], UnsampledReports::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementUnsampledReports::class, 'Google_Service_Analytics_Resource_ManagementUnsampledReports' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementUploads.php 0000644 00000011375 15235116467 0023470 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\AnalyticsDataimportDeleteUploadDataRequest;
use Google\Service\Analytics\Upload;
use Google\Service\Analytics\Uploads;
/**
* The "uploads" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $uploads = $analyticsService->uploads;
* </code>
*/
class ManagementUploads extends \Google\Service\Resource {
/**
* Delete data associated with a previous upload.
* (uploads.deleteUploadData)
*
* @param string $accountId
* Account Id for the uploads to be deleted.
* @param string $webPropertyId
* Web property Id for the uploads to be deleted.
* @param string $customDataSourceId
* Custom data source Id for the uploads to be
* deleted.
* @param AnalyticsDataimportDeleteUploadDataRequest $postBody
* @param array $optParams
* Optional parameters.
*/
public function deleteUploadData($accountId, $webPropertyId, $customDataSourceId, AnalyticsDataimportDeleteUploadDataRequest $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'customDataSourceId' => $customDataSourceId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'deleteUploadData', [
$params
] );
}
/**
* List uploads to which the user has access.
* (uploads.get)
*
* @param string $accountId
* Account Id for the upload to retrieve.
* @param string $webPropertyId
* Web property Id for the upload to retrieve.
* @param string $customDataSourceId
* Custom data source Id for upload to
* retrieve.
* @param string $uploadId
* Upload Id to retrieve.
* @param array $optParams
* Optional parameters.
* @return Upload
*/
public function get($accountId, $webPropertyId, $customDataSourceId, $uploadId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'customDataSourceId' => $customDataSourceId,
'uploadId' => $uploadId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'get', [
$params
], Upload::class );
}
/**
* List uploads to which the user has access.
* (uploads.listManagementUploads)
*
* @param string $accountId
* Account Id for the uploads to retrieve.
* @param string $webPropertyId
* Web property Id for the uploads to retrieve.
* @param string $customDataSourceId
* Custom data source Id for uploads to
* retrieve.
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of uploads to include in this
* response.
* @opt_param int start-index A 1-based index of the first upload to retrieve.
* Use this parameter as a pagination mechanism along with the max-results
* parameter.
* @return Uploads
*/
public function listManagementUploads($accountId, $webPropertyId, $customDataSourceId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'customDataSourceId' => $customDataSourceId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], Uploads::class );
}
/**
* Upload data for a custom data source.
* (uploads.uploadData)
*
* @param string $accountId
* Account Id associated with the upload.
* @param string $webPropertyId
* Web property UA-string associated with the
* upload.
* @param string $customDataSourceId
* Custom data source Id to which the data
* being uploaded belongs.
* @param array $optParams
* Optional parameters.
* @return Upload
*/
public function uploadData($accountId, $webPropertyId, $customDataSourceId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'customDataSourceId' => $customDataSourceId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'uploadData', [
$params
], Upload::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementUploads::class, 'Google_Service_Analytics_Resource_ManagementUploads' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementWebPropertyAdWordsLinks.php 0000644 00000015176 15235116467 0026633 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\EntityAdWordsLink;
use Google\Service\Analytics\EntityAdWordsLinks;
/**
* The "webPropertyAdWordsLinks" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $webPropertyAdWordsLinks = $analyticsService->webPropertyAdWordsLinks;
* </code>
*/
class ManagementWebPropertyAdWordsLinks extends \Google\Service\Resource {
/**
* Deletes a web property-Google Ads link.
* (webPropertyAdWordsLinks.delete)
*
* @param string $accountId
* ID of the account which the given web property
* belongs to.
* @param string $webPropertyId
* Web property ID to delete the Google Ads link
* for.
* @param string $webPropertyAdWordsLinkId
* Web property Google Ads link ID.
* @param array $optParams
* Optional parameters.
*/
public function delete($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'delete', [
$params
] );
}
/**
* Returns a web property-Google Ads link to which the user has access.
* (webPropertyAdWordsLinks.get)
*
* @param string $accountId
* ID of the account which the given web property
* belongs to.
* @param string $webPropertyId
* Web property ID to retrieve the Google Ads link
* for.
* @param string $webPropertyAdWordsLinkId
* Web property-Google Ads link ID.
* @param array $optParams
* Optional parameters.
* @return EntityAdWordsLink
*/
public function get($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'get', [
$params
], EntityAdWordsLink::class );
}
/**
* Creates a webProperty-Google Ads link.
* (webPropertyAdWordsLinks.insert)
*
* @param string $accountId
* ID of the Google Analytics account to create the
* link for.
* @param string $webPropertyId
* Web property ID to create the link for.
* @param EntityAdWordsLink $postBody
* @param array $optParams
* Optional parameters.
* @return EntityAdWordsLink
*/
public function insert($accountId, $webPropertyId, EntityAdWordsLink $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'insert', [
$params
], EntityAdWordsLink::class );
}
/**
* Lists webProperty-Google Ads links for a given web property.
* (webPropertyAdWordsLinks.listManagementWebPropertyAdWordsLinks)
*
* @param string $accountId
* ID of the account which the given web property
* belongs to.
* @param string $webPropertyId
* Web property ID to retrieve the Google Ads links
* for.
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of webProperty-Google Ads links
* to include in this response.
* @opt_param int start-index An index of the first webProperty-Google Ads link
* to retrieve. Use this parameter as a pagination mechanism along with the max-
* results parameter.
* @return EntityAdWordsLinks
*/
public function listManagementWebPropertyAdWordsLinks($accountId, $webPropertyId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], EntityAdWordsLinks::class );
}
/**
* Updates an existing webProperty-Google Ads link.
* This method supports patch
* semantics. (webPropertyAdWordsLinks.patch)
*
* @param string $accountId
* ID of the account which the given web property
* belongs to.
* @param string $webPropertyId
* Web property ID to retrieve the Google Ads link
* for.
* @param string $webPropertyAdWordsLinkId
* Web property-Google Ads link ID.
* @param EntityAdWordsLink $postBody
* @param array $optParams
* Optional parameters.
* @return EntityAdWordsLink
*/
public function patch($accountId, $webPropertyId, $webPropertyAdWordsLinkId, EntityAdWordsLink $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'patch', [
$params
], EntityAdWordsLink::class );
}
/**
* Updates an existing webProperty-Google Ads link.
* (webPropertyAdWordsLinks.update)
*
* @param string $accountId
* ID of the account which the given web property
* belongs to.
* @param string $webPropertyId
* Web property ID to retrieve the Google Ads link
* for.
* @param string $webPropertyAdWordsLinkId
* Web property-Google Ads link ID.
* @param EntityAdWordsLink $postBody
* @param array $optParams
* Optional parameters.
* @return EntityAdWordsLink
*/
public function update($accountId, $webPropertyId, $webPropertyAdWordsLinkId, EntityAdWordsLink $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'update', [
$params
], EntityAdWordsLink::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementWebPropertyAdWordsLinks::class, 'Google_Service_Analytics_Resource_ManagementWebPropertyAdWordsLinks' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementWebproperties.php 0000644 00000011215 15235116467 0024704 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\Webproperties;
use Google\Service\Analytics\Webproperty;
/**
* The "webproperties" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $webproperties = $analyticsService->webproperties;
* </code>
*/
class ManagementWebproperties extends \Google\Service\Resource {
/**
* Gets a web property to which the user has access.
* (webproperties.get)
*
* @param string $accountId
* Account ID to retrieve the web property for.
* @param string $webPropertyId
* ID to retrieve the web property for.
* @param array $optParams
* Optional parameters.
* @return Webproperty
*/
public function get($accountId, $webPropertyId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'get', [
$params
], Webproperty::class );
}
/**
* Create a new property if the account has fewer than 20 properties.
* Web
* properties are visible in the Google Analytics interface only if they have at
* least one profile. (webproperties.insert)
*
* @param string $accountId
* Account ID to create the web property for.
* @param Webproperty $postBody
* @param array $optParams
* Optional parameters.
* @return Webproperty
*/
public function insert($accountId, Webproperty $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'insert', [
$params
], Webproperty::class );
}
/**
* Lists web properties to which the user has access.
* (webproperties.listManagementWebproperties)
*
* @param string $accountId
* Account ID to retrieve web properties for. Can
* either be a specific account ID or '~all', which refers to all the accounts
* that user has access to.
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of web properties to include in
* this response.
* @opt_param int start-index An index of the first entity to retrieve. Use this
* parameter as a pagination mechanism along with the max-results parameter.
* @return Webproperties
*/
public function listManagementWebproperties($accountId, $optParams = [ ]) {
$params = [
'accountId' => $accountId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], Webproperties::class );
}
/**
* Updates an existing web property.
* This method supports patch semantics.
* (webproperties.patch)
*
* @param string $accountId
* Account ID to which the web property belongs
* @param string $webPropertyId
* Web property ID
* @param Webproperty $postBody
* @param array $optParams
* Optional parameters.
* @return Webproperty
*/
public function patch($accountId, $webPropertyId, Webproperty $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'patch', [
$params
], Webproperty::class );
}
/**
* Updates an existing web property.
* (webproperties.update)
*
* @param string $accountId
* Account ID to which the web property belongs
* @param string $webPropertyId
* Web property ID
* @param Webproperty $postBody
* @param array $optParams
* Optional parameters.
* @return Webproperty
*/
public function update($accountId, $webPropertyId, Webproperty $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'update', [
$params
], Webproperty::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementWebproperties::class, 'Google_Service_Analytics_Resource_ManagementWebproperties' );
Google/google/apiclient-services/src/Analytics/Resource/ManagementWebpropertyUserLinks.php 0000644 00000011020 15235116467 0026226 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\EntityUserLink;
use Google\Service\Analytics\EntityUserLinks;
/**
* The "webpropertyUserLinks" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $webpropertyUserLinks = $analyticsService->webpropertyUserLinks;
* </code>
*/
class ManagementWebpropertyUserLinks extends \Google\Service\Resource {
/**
* Removes a user from the given web property.
* (webpropertyUserLinks.delete)
*
* @param string $accountId
* Account ID to delete the user link for.
* @param string $webPropertyId
* Web Property ID to delete the user link for.
* @param string $linkId
* Link ID to delete the user link for.
* @param array $optParams
* Optional parameters.
*/
public function delete($accountId, $webPropertyId, $linkId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'linkId' => $linkId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'delete', [
$params
] );
}
/**
* Adds a new user to the given web property.
* (webpropertyUserLinks.insert)
*
* @param string $accountId
* Account ID to create the user link for.
* @param string $webPropertyId
* Web Property ID to create the user link for.
* @param EntityUserLink $postBody
* @param array $optParams
* Optional parameters.
* @return EntityUserLink
*/
public function insert($accountId, $webPropertyId, EntityUserLink $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'insert', [
$params
], EntityUserLink::class );
}
/**
* Lists webProperty-user links for a given web property.
* (webpropertyUserLinks.listManagementWebpropertyUserLinks)
*
* @param string $accountId
* Account ID which the given web property belongs to.
* @param string $webPropertyId
* Web Property ID for the webProperty-user links
* to retrieve. Can either be a specific web property ID or '~all', which refers
* to all the web properties that user has access to.
* @param array $optParams
* Optional parameters.
*
* @opt_param int max-results The maximum number of webProperty-user Links to
* include in this response.
* @opt_param int start-index An index of the first webProperty-user link to
* retrieve. Use this parameter as a pagination mechanism along with the max-
* results parameter.
* @return EntityUserLinks
*/
public function listManagementWebpropertyUserLinks($accountId, $webPropertyId, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], EntityUserLinks::class );
}
/**
* Updates permissions for an existing user on the given web property.
* (webpropertyUserLinks.update)
*
* @param string $accountId
* Account ID to update the account-user link for.
* @param string $webPropertyId
* Web property ID to update the account-user link
* for.
* @param string $linkId
* Link ID to update the account-user link for.
* @param EntityUserLink $postBody
* @param array $optParams
* Optional parameters.
* @return EntityUserLink
*/
public function update($accountId, $webPropertyId, $linkId, EntityUserLink $postBody, $optParams = [ ]) {
$params = [
'accountId' => $accountId,
'webPropertyId' => $webPropertyId,
'linkId' => $linkId,
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'update', [
$params
], EntityUserLink::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( ManagementWebpropertyUserLinks::class, 'Google_Service_Analytics_Resource_ManagementWebpropertyUserLinks' );
Google/google/apiclient-services/src/Analytics/Resource/Metadata.php 0000644 00000001430 15235116467 0021573 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
/**
* The "metadata" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $metadata = $analyticsService->metadata;
* </code>
*/
class Metadata extends \Google\Service\Resource {
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( Metadata::class, 'Google_Service_Analytics_Resource_Metadata' );
Google/google/apiclient-services/src/Analytics/Resource/MetadataColumns.php 0000644 00000002610 15235116467 0023135 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\Columns;
/**
* The "columns" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $columns = $analyticsService->columns;
* </code>
*/
class MetadataColumns extends \Google\Service\Resource {
/**
* Lists all columns for a report type (columns.listMetadataColumns)
*
* @param string $reportType
* Report type. Allowed Values: 'ga'. Where 'ga'
* corresponds to the Core Reporting API
* @param array $optParams
* Optional parameters.
* @return Columns
*/
public function listMetadataColumns($reportType, $optParams = [ ]) {
$params = [
'reportType' => $reportType
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'list', [
$params
], Columns::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( MetadataColumns::class, 'Google_Service_Analytics_Resource_MetadataColumns' );
Google/google/apiclient-services/src/Analytics/Resource/Provisioning.php 0000644 00000003654 15235116467 0022553 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\AccountTicket;
use Google\Service\Analytics\AccountTreeRequest;
use Google\Service\Analytics\AccountTreeResponse;
/**
* The "provisioning" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $provisioning = $analyticsService->provisioning;
* </code>
*/
class Provisioning extends \Google\Service\Resource {
/**
* Creates an account ticket.
* (provisioning.createAccountTicket)
*
* @param AccountTicket $postBody
* @param array $optParams
* Optional parameters.
* @return AccountTicket
*/
public function createAccountTicket(AccountTicket $postBody, $optParams = [ ]) {
$params = [
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'createAccountTicket', [
$params
], AccountTicket::class );
}
/**
* Provision account.
* (provisioning.createAccountTree)
*
* @param AccountTreeRequest $postBody
* @param array $optParams
* Optional parameters.
* @return AccountTreeResponse
*/
public function createAccountTree(AccountTreeRequest $postBody, $optParams = [ ]) {
$params = [
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'createAccountTree', [
$params
], AccountTreeResponse::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( Provisioning::class, 'Google_Service_Analytics_Resource_Provisioning' );
Google/google/apiclient-services/src/Analytics/Resource/UserDeletion.php 0000644 00000001460 15235116467 0022460 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
/**
* The "userDeletion" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $userDeletion = $analyticsService->userDeletion;
* </code>
*/
class UserDeletion extends \Google\Service\Resource {
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( UserDeletion::class, 'Google_Service_Analytics_Resource_UserDeletion' );
Google/google/apiclient-services/src/Analytics/Resource/UserDeletionUserDeletionRequest.php 0000644 00000002653 15235116467 0026361 0 ustar 00 <?php
namespace Google\Service\Analytics\Resource;
/**
*
* @package JMAP::FRAMEWORK::administrator::components::com_jmap
* @subpackage framework
* @subpackage google
* @author Joomla! Extensions Store
* @copyright (C) 2021 - Joomla! Extensions Store
* @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
*/
defined ( '_JEXEC' ) or die ();
use Google\Service\Analytics\UserDeletionRequest;
/**
* The "userDeletionRequest" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $userDeletionRequest = $analyticsService->userDeletionRequest;
* </code>
*/
class UserDeletionUserDeletionRequest extends \Google\Service\Resource {
/**
* Insert or update a user deletion requests.
* (userDeletionRequest.upsert)
*
* @param UserDeletionRequest $postBody
* @param array $optParams
* Optional parameters.
* @return UserDeletionRequest
*/
public function upsert(UserDeletionRequest $postBody, $optParams = [ ]) {
$params = [
'postBody' => $postBody
];
$params = array_merge ( $params, $optParams );
return $this->call ( 'upsert', [
$params
], UserDeletionRequest::class );
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( UserDeletionUserDeletionRequest::class, 'Google_Service_Analytics_Resource_UserDeletionUserDeletionRequest' );
Google/google/apiclient-services/src/Analytics/Resource/index.html 0000644 00000000054 15235116467 0021340 0 ustar 00 <html><body bgcolor="#FFFFFF"></body></html>