Commit inicial - WordPress Análisis de Precios Unitarios

- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
This file was automatically generated by Composer Patches (https://github.com/cweagans/composer-patches)
Patches applied to this directory:
Fixes for empty filter
Source: patches-composer/google-api-client-services-v0.355.0.patch

View File

@@ -0,0 +1,26 @@
<?php
namespace Google\Site_Kit_Dependencies;
// For older (pre-2.7.2) verions of google/apiclient
if (\file_exists(__DIR__ . '/../apiclient/src/Google/Client.php') && !\class_exists('Google\\Site_Kit_Dependencies\\Google_Client', \false)) {
require_once __DIR__ . '/../apiclient/src/Google/Client.php';
if (\defined('Google_Client::LIBVER') && \version_compare(\Google\Site_Kit_Dependencies\Google_Client::LIBVER, '2.7.2', '<=')) {
$servicesClassMap = ['Google\\Site_Kit_Dependencies\\Google\\Client' => 'Google_Client', 'Google\\Site_Kit_Dependencies\\Google\\Service' => 'Google_Service', 'Google\\Site_Kit_Dependencies\\Google\\Service\\Resource' => 'Google_Service_Resource', 'Google\\Site_Kit_Dependencies\\Google\\Model' => 'Google_Model', 'Google\\Site_Kit_Dependencies\\Google\\Collection' => 'Google_Collection'];
foreach ($servicesClassMap as $alias => $class) {
\class_alias($class, $alias);
}
}
}
\spl_autoload_register(function ($class) {
if (0 === \strpos($class, 'Google_Service_')) {
// Autoload the new class, which will also create an alias for the
// old class by changing underscores to namespaces:
// Google_Service_Speech_Resource_Operations
// => Google\Service\Speech\Resource\Operations
$classExists = \class_exists($newClass = \str_replace('_', '\\', $class));
if ($classExists) {
return \true;
}
}
}, \true, \true);

View File

@@ -0,0 +1,83 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service;
use Google\Site_Kit_Dependencies\Google\Client;
/**
* Service definition for Adsense (v2).
*
* <p>
* The AdSense Management API allows publishers to access their inventory and
* run earnings and performance reports.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/adsense/management/" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class Adsense extends \Google\Site_Kit_Dependencies\Google\Service
{
/** View and manage your AdSense data. */
const ADSENSE = "https://www.googleapis.com/auth/adsense";
/** View your AdSense data. */
const ADSENSE_READONLY = "https://www.googleapis.com/auth/adsense.readonly";
public $accounts;
public $accounts_adclients;
public $accounts_adclients_adunits;
public $accounts_adclients_customchannels;
public $accounts_adclients_urlchannels;
public $accounts_alerts;
public $accounts_payments;
public $accounts_policyIssues;
public $accounts_reports;
public $accounts_reports_saved;
public $accounts_sites;
public $rootUrlTemplate;
/**
* Constructs the internal representation of the Adsense service.
*
* @param Client|array $clientOrConfig The client used to deliver requests, or a
* config array to pass to a new Client instance.
* @param string $rootUrl The root URL used for requests to the service.
*/
public function __construct($clientOrConfig = [], $rootUrl = null)
{
parent::__construct($clientOrConfig);
$this->rootUrl = $rootUrl ?: 'https://adsense.googleapis.com/';
$this->rootUrlTemplate = $rootUrl ?: 'https://adsense.UNIVERSE_DOMAIN/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v2';
$this->serviceName = 'adsense';
$this->accounts = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\Accounts($this, $this->serviceName, 'accounts', ['methods' => ['get' => ['path' => 'v2/{+name}', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'getAdBlockingRecoveryTag' => ['path' => 'v2/{+name}/adBlockingRecoveryTag', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'v2/accounts', 'httpMethod' => 'GET', 'parameters' => ['pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]], 'listChildAccounts' => ['path' => 'v2/{+parent}:listChildAccounts', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]]]]);
$this->accounts_adclients = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclients($this, $this->serviceName, 'adclients', ['methods' => ['get' => ['path' => 'v2/{+name}', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'getAdcode' => ['path' => 'v2/{+name}/adcode', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'v2/{+parent}/adclients', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]]]]);
$this->accounts_adclients_adunits = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclientsAdunits($this, $this->serviceName, 'adunits', ['methods' => ['create' => ['path' => 'v2/{+parent}/adunits', 'httpMethod' => 'POST', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'v2/{+name}', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'getAdcode' => ['path' => 'v2/{+name}/adcode', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'v2/{+parent}/adunits', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]], 'listLinkedCustomChannels' => ['path' => 'v2/{+parent}:listLinkedCustomChannels', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]], 'patch' => ['path' => 'v2/{+name}', 'httpMethod' => 'PATCH', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'updateMask' => ['location' => 'query', 'type' => 'string']]]]]);
$this->accounts_adclients_customchannels = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclientsCustomchannels($this, $this->serviceName, 'customchannels', ['methods' => ['create' => ['path' => 'v2/{+parent}/customchannels', 'httpMethod' => 'POST', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'delete' => ['path' => 'v2/{+name}', 'httpMethod' => 'DELETE', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'v2/{+name}', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'v2/{+parent}/customchannels', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]], 'listLinkedAdUnits' => ['path' => 'v2/{+parent}:listLinkedAdUnits', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]], 'patch' => ['path' => 'v2/{+name}', 'httpMethod' => 'PATCH', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'updateMask' => ['location' => 'query', 'type' => 'string']]]]]);
$this->accounts_adclients_urlchannels = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclientsUrlchannels($this, $this->serviceName, 'urlchannels', ['methods' => ['get' => ['path' => 'v2/{+name}', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'v2/{+parent}/urlchannels', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]]]]);
$this->accounts_alerts = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAlerts($this, $this->serviceName, 'alerts', ['methods' => ['list' => ['path' => 'v2/{+parent}/alerts', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'languageCode' => ['location' => 'query', 'type' => 'string']]]]]);
$this->accounts_payments = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsPayments($this, $this->serviceName, 'payments', ['methods' => ['list' => ['path' => 'v2/{+parent}/payments', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->accounts_policyIssues = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsPolicyIssues($this, $this->serviceName, 'policyIssues', ['methods' => ['get' => ['path' => 'v2/{+name}', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'v2/{+parent}/policyIssues', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]]]]);
$this->accounts_reports = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsReports($this, $this->serviceName, 'reports', ['methods' => ['generate' => ['path' => 'v2/{+account}/reports:generate', 'httpMethod' => 'GET', 'parameters' => ['account' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'currencyCode' => ['location' => 'query', 'type' => 'string'], 'dateRange' => ['location' => 'query', 'type' => 'string'], 'dimensions' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'endDate.day' => ['location' => 'query', 'type' => 'integer'], 'endDate.month' => ['location' => 'query', 'type' => 'integer'], 'endDate.year' => ['location' => 'query', 'type' => 'integer'], 'filters' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'languageCode' => ['location' => 'query', 'type' => 'string'], 'limit' => ['location' => 'query', 'type' => 'integer'], 'metrics' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'orderBy' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'reportingTimeZone' => ['location' => 'query', 'type' => 'string'], 'startDate.day' => ['location' => 'query', 'type' => 'integer'], 'startDate.month' => ['location' => 'query', 'type' => 'integer'], 'startDate.year' => ['location' => 'query', 'type' => 'integer']]], 'generateCsv' => ['path' => 'v2/{+account}/reports:generateCsv', 'httpMethod' => 'GET', 'parameters' => ['account' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'currencyCode' => ['location' => 'query', 'type' => 'string'], 'dateRange' => ['location' => 'query', 'type' => 'string'], 'dimensions' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'endDate.day' => ['location' => 'query', 'type' => 'integer'], 'endDate.month' => ['location' => 'query', 'type' => 'integer'], 'endDate.year' => ['location' => 'query', 'type' => 'integer'], 'filters' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'languageCode' => ['location' => 'query', 'type' => 'string'], 'limit' => ['location' => 'query', 'type' => 'integer'], 'metrics' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'orderBy' => ['location' => 'query', 'type' => 'string', 'repeated' => \true], 'reportingTimeZone' => ['location' => 'query', 'type' => 'string'], 'startDate.day' => ['location' => 'query', 'type' => 'integer'], 'startDate.month' => ['location' => 'query', 'type' => 'integer'], 'startDate.year' => ['location' => 'query', 'type' => 'integer']]], 'getSaved' => ['path' => 'v2/{+name}/saved', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->accounts_reports_saved = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsReportsSaved($this, $this->serviceName, 'saved', ['methods' => ['generate' => ['path' => 'v2/{+name}/saved:generate', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'currencyCode' => ['location' => 'query', 'type' => 'string'], 'dateRange' => ['location' => 'query', 'type' => 'string'], 'endDate.day' => ['location' => 'query', 'type' => 'integer'], 'endDate.month' => ['location' => 'query', 'type' => 'integer'], 'endDate.year' => ['location' => 'query', 'type' => 'integer'], 'languageCode' => ['location' => 'query', 'type' => 'string'], 'reportingTimeZone' => ['location' => 'query', 'type' => 'string'], 'startDate.day' => ['location' => 'query', 'type' => 'integer'], 'startDate.month' => ['location' => 'query', 'type' => 'integer'], 'startDate.year' => ['location' => 'query', 'type' => 'integer']]], 'generateCsv' => ['path' => 'v2/{+name}/saved:generateCsv', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'currencyCode' => ['location' => 'query', 'type' => 'string'], 'dateRange' => ['location' => 'query', 'type' => 'string'], 'endDate.day' => ['location' => 'query', 'type' => 'integer'], 'endDate.month' => ['location' => 'query', 'type' => 'integer'], 'endDate.year' => ['location' => 'query', 'type' => 'integer'], 'languageCode' => ['location' => 'query', 'type' => 'string'], 'reportingTimeZone' => ['location' => 'query', 'type' => 'string'], 'startDate.day' => ['location' => 'query', 'type' => 'integer'], 'startDate.month' => ['location' => 'query', 'type' => 'integer'], 'startDate.year' => ['location' => 'query', 'type' => 'integer']]], 'list' => ['path' => 'v2/{+parent}/reports/saved', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]]]]);
$this->accounts_sites = new \Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsSites($this, $this->serviceName, 'sites', ['methods' => ['get' => ['path' => 'v2/{+name}', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'v2/{+parent}/sites', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]]]]);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense');

View File

@@ -0,0 +1,149 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class Account extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'pendingTasks';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $pendingTasks;
/**
* @var bool
*/
public $premium;
/**
* @var string
*/
public $state;
protected $timeZoneType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\TimeZone::class;
protected $timeZoneDataType = '';
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setPendingTasks($pendingTasks)
{
$this->pendingTasks = $pendingTasks;
}
/**
* @return string[]
*/
public function getPendingTasks()
{
return $this->pendingTasks;
}
/**
* @param bool
*/
public function setPremium($premium)
{
$this->premium = $premium;
}
/**
* @return bool
*/
public function getPremium()
{
return $this->premium;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param TimeZone
*/
public function setTimeZone(\Google\Site_Kit_Dependencies\Google\Service\Adsense\TimeZone $timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return TimeZone
*/
public function getTimeZone()
{
return $this->timeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Account::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Account');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class AdBlockingRecoveryTag extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $errorProtectionCode;
/**
* @var string
*/
public $tag;
/**
* @param string
*/
public function setErrorProtectionCode($errorProtectionCode)
{
$this->errorProtectionCode = $errorProtectionCode;
}
/**
* @return string
*/
public function getErrorProtectionCode()
{
return $this->errorProtectionCode;
}
/**
* @param string
*/
public function setTag($tag)
{
$this->tag = $tag;
}
/**
* @return string
*/
public function getTag()
{
return $this->tag;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\AdBlockingRecoveryTag::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_AdBlockingRecoveryTag');

View File

@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class AdClient extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $productCode;
/**
* @var string
*/
public $reportingDimensionId;
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setProductCode($productCode)
{
$this->productCode = $productCode;
}
/**
* @return string
*/
public function getProductCode()
{
return $this->productCode;
}
/**
* @param string
*/
public function setReportingDimensionId($reportingDimensionId)
{
$this->reportingDimensionId = $reportingDimensionId;
}
/**
* @return string
*/
public function getReportingDimensionId()
{
return $this->reportingDimensionId;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClient::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_AdClient');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class AdClientAdCode extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $adCode;
/**
* @var string
*/
public $ampBody;
/**
* @var string
*/
public $ampHead;
/**
* @param string
*/
public function setAdCode($adCode)
{
$this->adCode = $adCode;
}
/**
* @return string
*/
public function getAdCode()
{
return $this->adCode;
}
/**
* @param string
*/
public function setAmpBody($ampBody)
{
$this->ampBody = $ampBody;
}
/**
* @return string
*/
public function getAmpBody()
{
return $this->ampBody;
}
/**
* @param string
*/
public function setAmpHead($ampHead)
{
$this->ampHead = $ampHead;
}
/**
* @return string
*/
public function getAmpHead()
{
return $this->ampHead;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClientAdCode::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_AdClientAdCode');

View File

@@ -0,0 +1,112 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class AdUnit extends \Google\Site_Kit_Dependencies\Google\Model
{
protected $contentAdsSettingsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\ContentAdsSettings::class;
protected $contentAdsSettingsDataType = '';
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $reportingDimensionId;
/**
* @var string
*/
public $state;
/**
* @param ContentAdsSettings
*/
public function setContentAdsSettings(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ContentAdsSettings $contentAdsSettings)
{
$this->contentAdsSettings = $contentAdsSettings;
}
/**
* @return ContentAdsSettings
*/
public function getContentAdsSettings()
{
return $this->contentAdsSettings;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setReportingDimensionId($reportingDimensionId)
{
$this->reportingDimensionId = $reportingDimensionId;
}
/**
* @return string
*/
public function getReportingDimensionId()
{
return $this->reportingDimensionId;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_AdUnit');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class AdUnitAdCode extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $adCode;
/**
* @param string
*/
public function setAdCode($adCode)
{
$this->adCode = $adCode;
}
/**
* @return string
*/
public function getAdCode()
{
return $this->adCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnitAdCode::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_AdUnitAdCode');

View File

@@ -0,0 +1,24 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class AdsenseEmpty extends \Google\Site_Kit_Dependencies\Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\AdsenseEmpty::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_AdsenseEmpty');

View File

@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class Alert extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $severity;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Alert::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Alert');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class Cell extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Cell::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Cell');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ContentAdsSettings extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $size;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setSize($size)
{
$this->size = $size;
}
/**
* @return string
*/
public function getSize()
{
return $this->size;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ContentAdsSettings::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ContentAdsSettings');

View File

@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class CustomChannel extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var bool
*/
public $active;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $reportingDimensionId;
/**
* @param bool
*/
public function setActive($active)
{
$this->active = $active;
}
/**
* @return bool
*/
public function getActive()
{
return $this->active;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setReportingDimensionId($reportingDimensionId)
{
$this->reportingDimensionId = $reportingDimensionId;
}
/**
* @return string
*/
public function getReportingDimensionId()
{
return $this->reportingDimensionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_CustomChannel');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class Date extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $month;
/**
* @var int
*/
public $year;
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @param int
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Date::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Date');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class Header extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $currencyCode;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Header::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Header');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class HttpBody extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'extensions';
/**
* @var string
*/
public $contentType;
/**
* @var string
*/
public $data;
/**
* @var array[]
*/
public $extensions;
/**
* @param string
*/
public function setContentType($contentType)
{
$this->contentType = $contentType;
}
/**
* @return string
*/
public function getContentType()
{
return $this->contentType;
}
/**
* @param string
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
/**
* @param array[]
*/
public function setExtensions($extensions)
{
$this->extensions = $extensions;
}
/**
* @return array[]
*/
public function getExtensions()
{
return $this->extensions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\HttpBody::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_HttpBody');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListAccountsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'accounts';
protected $accountsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Account::class;
protected $accountsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Account[]
*/
public function setAccounts($accounts)
{
$this->accounts = $accounts;
}
/**
* @return Account[]
*/
public function getAccounts()
{
return $this->accounts;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAccountsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListAccountsResponse');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListAdClientsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'adClients';
protected $adClientsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClient::class;
protected $adClientsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param AdClient[]
*/
public function setAdClients($adClients)
{
$this->adClients = $adClients;
}
/**
* @return AdClient[]
*/
public function getAdClients()
{
return $this->adClients;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAdClientsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListAdClientsResponse');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListAdUnitsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'adUnits';
protected $adUnitsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit::class;
protected $adUnitsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param AdUnit[]
*/
public function setAdUnits($adUnits)
{
$this->adUnits = $adUnits;
}
/**
* @return AdUnit[]
*/
public function getAdUnits()
{
return $this->adUnits;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAdUnitsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListAdUnitsResponse');

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListAlertsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'alerts';
protected $alertsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Alert::class;
protected $alertsDataType = 'array';
/**
* @param Alert[]
*/
public function setAlerts($alerts)
{
$this->alerts = $alerts;
}
/**
* @return Alert[]
*/
public function getAlerts()
{
return $this->alerts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAlertsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListAlertsResponse');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListChildAccountsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'accounts';
protected $accountsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Account::class;
protected $accountsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Account[]
*/
public function setAccounts($accounts)
{
$this->accounts = $accounts;
}
/**
* @return Account[]
*/
public function getAccounts()
{
return $this->accounts;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListChildAccountsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListChildAccountsResponse');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListCustomChannelsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'customChannels';
protected $customChannelsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel::class;
protected $customChannelsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param CustomChannel[]
*/
public function setCustomChannels($customChannels)
{
$this->customChannels = $customChannels;
}
/**
* @return CustomChannel[]
*/
public function getCustomChannels()
{
return $this->customChannels;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListCustomChannelsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListCustomChannelsResponse');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListLinkedAdUnitsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'adUnits';
protected $adUnitsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit::class;
protected $adUnitsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param AdUnit[]
*/
public function setAdUnits($adUnits)
{
$this->adUnits = $adUnits;
}
/**
* @return AdUnit[]
*/
public function getAdUnits()
{
return $this->adUnits;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListLinkedAdUnitsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListLinkedAdUnitsResponse');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListLinkedCustomChannelsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'customChannels';
protected $customChannelsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel::class;
protected $customChannelsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param CustomChannel[]
*/
public function setCustomChannels($customChannels)
{
$this->customChannels = $customChannels;
}
/**
* @return CustomChannel[]
*/
public function getCustomChannels()
{
return $this->customChannels;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListLinkedCustomChannelsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListLinkedCustomChannelsResponse');

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListPaymentsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'payments';
protected $paymentsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Payment::class;
protected $paymentsDataType = 'array';
/**
* @param Payment[]
*/
public function setPayments($payments)
{
$this->payments = $payments;
}
/**
* @return Payment[]
*/
public function getPayments()
{
return $this->payments;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListPaymentsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListPaymentsResponse');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListPolicyIssuesResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'policyIssues';
/**
* @var string
*/
public $nextPageToken;
protected $policyIssuesType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\PolicyIssue::class;
protected $policyIssuesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param PolicyIssue[]
*/
public function setPolicyIssues($policyIssues)
{
$this->policyIssues = $policyIssues;
}
/**
* @return PolicyIssue[]
*/
public function getPolicyIssues()
{
return $this->policyIssues;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListPolicyIssuesResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListPolicyIssuesResponse');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListSavedReportsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'savedReports';
/**
* @var string
*/
public $nextPageToken;
protected $savedReportsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\SavedReport::class;
protected $savedReportsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param SavedReport[]
*/
public function setSavedReports($savedReports)
{
$this->savedReports = $savedReports;
}
/**
* @return SavedReport[]
*/
public function getSavedReports()
{
return $this->savedReports;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListSavedReportsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListSavedReportsResponse');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListSitesResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'sites';
/**
* @var string
*/
public $nextPageToken;
protected $sitesType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Site::class;
protected $sitesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Site[]
*/
public function setSites($sites)
{
$this->sites = $sites;
}
/**
* @return Site[]
*/
public function getSites()
{
return $this->sites;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListSitesResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListSitesResponse');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ListUrlChannelsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'urlChannels';
/**
* @var string
*/
public $nextPageToken;
protected $urlChannelsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\UrlChannel::class;
protected $urlChannelsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param UrlChannel[]
*/
public function setUrlChannels($urlChannels)
{
$this->urlChannels = $urlChannels;
}
/**
* @return UrlChannel[]
*/
public function getUrlChannels()
{
return $this->urlChannels;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ListUrlChannelsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ListUrlChannelsResponse');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class Payment extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $amount;
protected $dateType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Date::class;
protected $dateDataType = '';
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setAmount($amount)
{
$this->amount = $amount;
}
/**
* @return string
*/
public function getAmount()
{
return $this->amount;
}
/**
* @param Date
*/
public function setDate(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Date $date)
{
$this->date = $date;
}
/**
* @return Date
*/
public function getDate()
{
return $this->date;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Payment::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Payment');

View File

@@ -0,0 +1,233 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class PolicyIssue extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'policyTopics';
/**
* @var string
*/
public $action;
/**
* @var string[]
*/
public $adClients;
/**
* @var string
*/
public $adRequestCount;
/**
* @var string
*/
public $entityType;
protected $firstDetectedDateType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Date::class;
protected $firstDetectedDateDataType = '';
protected $lastDetectedDateType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Date::class;
protected $lastDetectedDateDataType = '';
/**
* @var string
*/
public $name;
protected $policyTopicsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\PolicyTopic::class;
protected $policyTopicsDataType = 'array';
/**
* @var string
*/
public $site;
/**
* @var string
*/
public $siteSection;
/**
* @var string
*/
public $uri;
protected $warningEscalationDateType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Date::class;
protected $warningEscalationDateDataType = '';
/**
* @param string
*/
public function setAction($action)
{
$this->action = $action;
}
/**
* @return string
*/
public function getAction()
{
return $this->action;
}
/**
* @param string[]
*/
public function setAdClients($adClients)
{
$this->adClients = $adClients;
}
/**
* @return string[]
*/
public function getAdClients()
{
return $this->adClients;
}
/**
* @param string
*/
public function setAdRequestCount($adRequestCount)
{
$this->adRequestCount = $adRequestCount;
}
/**
* @return string
*/
public function getAdRequestCount()
{
return $this->adRequestCount;
}
/**
* @param string
*/
public function setEntityType($entityType)
{
$this->entityType = $entityType;
}
/**
* @return string
*/
public function getEntityType()
{
return $this->entityType;
}
/**
* @param Date
*/
public function setFirstDetectedDate(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Date $firstDetectedDate)
{
$this->firstDetectedDate = $firstDetectedDate;
}
/**
* @return Date
*/
public function getFirstDetectedDate()
{
return $this->firstDetectedDate;
}
/**
* @param Date
*/
public function setLastDetectedDate(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Date $lastDetectedDate)
{
$this->lastDetectedDate = $lastDetectedDate;
}
/**
* @return Date
*/
public function getLastDetectedDate()
{
return $this->lastDetectedDate;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param PolicyTopic[]
*/
public function setPolicyTopics($policyTopics)
{
$this->policyTopics = $policyTopics;
}
/**
* @return PolicyTopic[]
*/
public function getPolicyTopics()
{
return $this->policyTopics;
}
/**
* @param string
*/
public function setSite($site)
{
$this->site = $site;
}
/**
* @return string
*/
public function getSite()
{
return $this->site;
}
/**
* @param string
*/
public function setSiteSection($siteSection)
{
$this->siteSection = $siteSection;
}
/**
* @return string
*/
public function getSiteSection()
{
return $this->siteSection;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
/**
* @param Date
*/
public function setWarningEscalationDate(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Date $warningEscalationDate)
{
$this->warningEscalationDate = $warningEscalationDate;
}
/**
* @return Date
*/
public function getWarningEscalationDate()
{
return $this->warningEscalationDate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\PolicyIssue::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_PolicyIssue');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class PolicyTopic extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var bool
*/
public $mustFix;
/**
* @var string
*/
public $topic;
/**
* @param bool
*/
public function setMustFix($mustFix)
{
$this->mustFix = $mustFix;
}
/**
* @return bool
*/
public function getMustFix()
{
return $this->mustFix;
}
/**
* @param string
*/
public function setTopic($topic)
{
$this->topic = $topic;
}
/**
* @return string
*/
public function getTopic()
{
return $this->topic;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\PolicyTopic::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_PolicyTopic');

View File

@@ -0,0 +1,157 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class ReportResult extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'warnings';
protected $averagesType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Row::class;
protected $averagesDataType = '';
protected $endDateType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Date::class;
protected $endDateDataType = '';
protected $headersType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Header::class;
protected $headersDataType = 'array';
protected $rowsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Row::class;
protected $rowsDataType = 'array';
protected $startDateType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Date::class;
protected $startDateDataType = '';
/**
* @var string
*/
public $totalMatchedRows;
protected $totalsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Row::class;
protected $totalsDataType = '';
/**
* @var string[]
*/
public $warnings;
/**
* @param Row
*/
public function setAverages(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Row $averages)
{
$this->averages = $averages;
}
/**
* @return Row
*/
public function getAverages()
{
return $this->averages;
}
/**
* @param Date
*/
public function setEndDate(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Date $endDate)
{
$this->endDate = $endDate;
}
/**
* @return Date
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* @param Header[]
*/
public function setHeaders($headers)
{
$this->headers = $headers;
}
/**
* @return Header[]
*/
public function getHeaders()
{
return $this->headers;
}
/**
* @param Row[]
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return Row[]
*/
public function getRows()
{
return $this->rows;
}
/**
* @param Date
*/
public function setStartDate(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Date $startDate)
{
$this->startDate = $startDate;
}
/**
* @return Date
*/
public function getStartDate()
{
return $this->startDate;
}
/**
* @param string
*/
public function setTotalMatchedRows($totalMatchedRows)
{
$this->totalMatchedRows = $totalMatchedRows;
}
/**
* @return string
*/
public function getTotalMatchedRows()
{
return $this->totalMatchedRows;
}
/**
* @param Row
*/
public function setTotals(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Row $totals)
{
$this->totals = $totals;
}
/**
* @return Row
*/
public function getTotals()
{
return $this->totals;
}
/**
* @param string[]
*/
public function setWarnings($warnings)
{
$this->warnings = $warnings;
}
/**
* @return string[]
*/
public function getWarnings()
{
return $this->warnings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\ReportResult::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_ReportResult');

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\Account;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\AdBlockingRecoveryTag;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAccountsResponse;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListChildAccountsResponse;
/**
* The "accounts" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $accounts = $adsenseService->accounts;
* </code>
*/
class Accounts extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Gets information about the selected AdSense account. (accounts.get)
*
* @param string $name Required. Account to get information about. Format:
* accounts/{account}
* @param array $optParams Optional parameters.
* @return Account
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\Account::class);
}
/**
* Gets the ad blocking recovery tag of an account.
* (accounts.getAdBlockingRecoveryTag)
*
* @param string $name Required. The name of the account to get the tag for.
* Format: accounts/{account}
* @param array $optParams Optional parameters.
* @return AdBlockingRecoveryTag
* @throws \Google\Service\Exception
*/
public function getAdBlockingRecoveryTag($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('getAdBlockingRecoveryTag', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdBlockingRecoveryTag::class);
}
/**
* Lists all accounts available to this user. (accounts.listAccounts)
*
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of accounts to include in the
* response, used for paging. If unspecified, at most 10000 accounts will be
* returned. The maximum value is 10000; values above 10000 will be coerced to
* 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListAccounts` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListAccounts` must match the
* call that provided the page token.
* @return ListAccountsResponse
* @throws \Google\Service\Exception
*/
public function listAccounts($optParams = [])
{
$params = [];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAccountsResponse::class);
}
/**
* Lists all accounts directly managed by the given AdSense account.
* (accounts.listChildAccounts)
*
* @param string $parent Required. The parent account, which owns the child
* accounts. Format: accounts/{account}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of accounts to include in the
* response, used for paging. If unspecified, at most 10000 accounts will be
* returned. The maximum value is 10000; values above 10000 will be coerced to
* 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListChildAccounts` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListChildAccounts` must match
* the call that provided the page token.
* @return ListChildAccountsResponse
* @throws \Google\Service\Exception
*/
public function listChildAccounts($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('listChildAccounts', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListChildAccountsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\Accounts::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_Accounts');

View File

@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClient;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClientAdCode;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAdClientsResponse;
/**
* The "adclients" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $adclients = $adsenseService->accounts_adclients;
* </code>
*/
class AccountsAdclients extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Gets the ad client from the given resource name. (adclients.get)
*
* @param string $name Required. The name of the ad client to retrieve. Format:
* accounts/{account}/adclients/{adclient}
* @param array $optParams Optional parameters.
* @return AdClient
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClient::class);
}
/**
* Gets the AdSense code for a given ad client. This returns what was previously
* known as the 'auto ad code'. This is only supported for ad clients with a
* product_code of AFC. For more information, see [About the AdSense
* code](https://support.google.com/adsense/answer/9274634).
* (adclients.getAdcode)
*
* @param string $name Required. Name of the ad client for which to get the
* adcode. Format: accounts/{account}/adclients/{adclient}
* @param array $optParams Optional parameters.
* @return AdClientAdCode
* @throws \Google\Service\Exception
*/
public function getAdcode($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('getAdcode', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdClientAdCode::class);
}
/**
* Lists all the ad clients available in an account.
* (adclients.listAccountsAdclients)
*
* @param string $parent Required. The account which owns the collection of ad
* clients. Format: accounts/{account}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of ad clients to include in the
* response, used for paging. If unspecified, at most 10000 ad clients will be
* returned. The maximum value is 10000; values above 10000 will be coerced to
* 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListAdClients` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListAdClients` must match the
* call that provided the page token.
* @return ListAdClientsResponse
* @throws \Google\Service\Exception
*/
public function listAccountsAdclients($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAdClientsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclients::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsAdclients');

View File

@@ -0,0 +1,168 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnitAdCode;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAdUnitsResponse;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListLinkedCustomChannelsResponse;
/**
* The "adunits" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $adunits = $adsenseService->accounts_adclients_adunits;
* </code>
*/
class AccountsAdclientsAdunits extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Creates an ad unit. This method can be called only by a restricted set of
* projects, which are usually owned by [AdSense for
* Platforms](https://developers.google.com/adsense/platforms/) publishers.
* Contact your account manager if you need to use this method. Note that ad
* units can only be created for ad clients with an "AFC" product code. For more
* info see the [AdClient
* resource](/adsense/management/reference/rest/v2/accounts.adclients). For now,
* this method can only be used to create `DISPLAY` ad units. See:
* https://support.google.com/adsense/answer/9183566 (adunits.create)
*
* @param string $parent Required. Ad client to create an ad unit under. Format:
* accounts/{account}/adclients/{adclient}
* @param AdUnit $postBody
* @param array $optParams Optional parameters.
* @return AdUnit
* @throws \Google\Service\Exception
*/
public function create($parent, \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('create', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit::class);
}
/**
* Gets an ad unit from a specified account and ad client. (adunits.get)
*
* @param string $name Required. AdUnit to get information about. Format:
* accounts/{account}/adclients/{adclient}/adunits/{adunit}
* @param array $optParams Optional parameters.
* @return AdUnit
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit::class);
}
/**
* Gets the ad unit code for a given ad unit. For more information, see [About
* the AdSense code](https://support.google.com/adsense/answer/9274634) and
* [Where to place the ad code in your
* HTML](https://support.google.com/adsense/answer/9190028). (adunits.getAdcode)
*
* @param string $name Required. Name of the adunit for which to get the adcode.
* Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}
* @param array $optParams Optional parameters.
* @return AdUnitAdCode
* @throws \Google\Service\Exception
*/
public function getAdcode($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('getAdcode', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnitAdCode::class);
}
/**
* Lists all ad units under a specified account and ad client.
* (adunits.listAccountsAdclientsAdunits)
*
* @param string $parent Required. The ad client which owns the collection of ad
* units. Format: accounts/{account}/adclients/{adclient}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of ad units to include in the
* response, used for paging. If unspecified, at most 10000 ad units will be
* returned. The maximum value is 10000; values above 10000 will be coerced to
* 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListAdUnits` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListAdUnits` must match the
* call that provided the page token.
* @return ListAdUnitsResponse
* @throws \Google\Service\Exception
*/
public function listAccountsAdclientsAdunits($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAdUnitsResponse::class);
}
/**
* Lists all the custom channels available for an ad unit.
* (adunits.listLinkedCustomChannels)
*
* @param string $parent Required. The ad unit which owns the collection of
* custom channels. Format:
* accounts/{account}/adclients/{adclient}/adunits/{adunit}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of custom channels to include in
* the response, used for paging. If unspecified, at most 10000 custom channels
* will be returned. The maximum value is 10000; values above 10000 will be
* coerced to 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListLinkedCustomChannels` call. Provide this to retrieve the subsequent
* page. When paginating, all other parameters provided to
* `ListLinkedCustomChannels` must match the call that provided the page token.
* @return ListLinkedCustomChannelsResponse
* @throws \Google\Service\Exception
*/
public function listLinkedCustomChannels($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('listLinkedCustomChannels', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListLinkedCustomChannelsResponse::class);
}
/**
* Updates an ad unit. This method can be called only by a restricted set of
* projects, which are usually owned by [AdSense for
* Platforms](https://developers.google.com/adsense/platforms/) publishers.
* Contact your account manager if you need to use this method. For now, this
* method can only be used to update `DISPLAY` ad units. See:
* https://support.google.com/adsense/answer/9183566 (adunits.patch)
*
* @param string $name Output only. Resource name of the ad unit. Format:
* accounts/{account}/adclients/{adclient}/adunits/{adunit}
* @param AdUnit $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The list of fields to update. If empty, a full
* update is performed.
* @return AdUnit
* @throws \Google\Service\Exception
*/
public function patch($name, \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('patch', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdUnit::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclientsAdunits::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsAdclientsAdunits');

View File

@@ -0,0 +1,164 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\AdsenseEmpty;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListCustomChannelsResponse;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListLinkedAdUnitsResponse;
/**
* The "customchannels" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $customchannels = $adsenseService->accounts_adclients_customchannels;
* </code>
*/
class AccountsAdclientsCustomchannels extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Creates a custom channel. This method can be called only by a restricted set
* of projects, which are usually owned by [AdSense for
* Platforms](https://developers.google.com/adsense/platforms/) publishers.
* Contact your account manager if you need to use this method.
* (customchannels.create)
*
* @param string $parent Required. The ad client to create a custom channel
* under. Format: accounts/{account}/adclients/{adclient}
* @param CustomChannel $postBody
* @param array $optParams Optional parameters.
* @return CustomChannel
* @throws \Google\Service\Exception
*/
public function create($parent, \Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('create', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel::class);
}
/**
* Deletes a custom channel. This method can be called only by a restricted set
* of projects, which are usually owned by [AdSense for
* Platforms](https://developers.google.com/adsense/platforms/) publishers.
* Contact your account manager if you need to use this method.
* (customchannels.delete)
*
* @param string $name Required. Name of the custom channel to delete. Format:
* accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
* @param array $optParams Optional parameters.
* @return AdsenseEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('delete', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\AdsenseEmpty::class);
}
/**
* Gets information about the selected custom channel. (customchannels.get)
*
* @param string $name Required. Name of the custom channel. Format:
* accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
* @param array $optParams Optional parameters.
* @return CustomChannel
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel::class);
}
/**
* Lists all the custom channels available in an ad client.
* (customchannels.listAccountsAdclientsCustomchannels)
*
* @param string $parent Required. The ad client which owns the collection of
* custom channels. Format: accounts/{account}/adclients/{adclient}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of custom channels to include in
* the response, used for paging. If unspecified, at most 10000 custom channels
* will be returned. The maximum value is 10000; values above 10000 will be
* coerced to 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListCustomChannels` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListCustomChannels` must match
* the call that provided the page token.
* @return ListCustomChannelsResponse
* @throws \Google\Service\Exception
*/
public function listAccountsAdclientsCustomchannels($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListCustomChannelsResponse::class);
}
/**
* Lists all the ad units available for a custom channel.
* (customchannels.listLinkedAdUnits)
*
* @param string $parent Required. The custom channel which owns the collection
* of ad units. Format:
* accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of ad units to include in the
* response, used for paging. If unspecified, at most 10000 ad units will be
* returned. The maximum value is 10000; values above 10000 will be coerced to
* 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListLinkedAdUnits` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListLinkedAdUnits` must match
* the call that provided the page token.
* @return ListLinkedAdUnitsResponse
* @throws \Google\Service\Exception
*/
public function listLinkedAdUnits($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('listLinkedAdUnits', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListLinkedAdUnitsResponse::class);
}
/**
* Updates a custom channel. This method can be called only by a restricted set
* of projects, which are usually owned by [AdSense for
* Platforms](https://developers.google.com/adsense/platforms/) publishers.
* Contact your account manager if you need to use this method.
* (customchannels.patch)
*
* @param string $name Output only. Resource name of the custom channel. Format:
* accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
* @param CustomChannel $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The list of fields to update. If empty, a full
* update is performed.
* @return CustomChannel
* @throws \Google\Service\Exception
*/
public function patch($name, \Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = \array_merge($params, $optParams);
return $this->call('patch', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\CustomChannel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclientsCustomchannels::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsAdclientsCustomchannels');

View File

@@ -0,0 +1,73 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListUrlChannelsResponse;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\UrlChannel;
/**
* The "urlchannels" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $urlchannels = $adsenseService->accounts_adclients_urlchannels;
* </code>
*/
class AccountsAdclientsUrlchannels extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Gets information about the selected url channel. (urlchannels.get)
*
* @param string $name Required. The name of the url channel to retrieve.
* Format: accounts/{account}/adclients/{adclient}/urlchannels/{urlchannel}
* @param array $optParams Optional parameters.
* @return UrlChannel
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\UrlChannel::class);
}
/**
* Lists active url channels. (urlchannels.listAccountsAdclientsUrlchannels)
*
* @param string $parent Required. The ad client which owns the collection of
* url channels. Format: accounts/{account}/adclients/{adclient}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of url channels to include in the
* response, used for paging. If unspecified, at most 10000 url channels will be
* returned. The maximum value is 10000; values above 10000 will be coerced to
* 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListUrlChannels` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListUrlChannels` must match the
* call that provided the page token.
* @return ListUrlChannelsResponse
* @throws \Google\Service\Exception
*/
public function listAccountsAdclientsUrlchannels($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListUrlChannelsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAdclientsUrlchannels::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsAdclientsUrlchannels');

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAlertsResponse;
/**
* The "alerts" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $alerts = $adsenseService->accounts_alerts;
* </code>
*/
class AccountsAlerts extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Lists all the alerts available in an account. (alerts.listAccountsAlerts)
*
* @param string $parent Required. The account which owns the collection of
* alerts. Format: accounts/{account}
* @param array $optParams Optional parameters.
*
* @opt_param string languageCode The language to use for translating alert
* messages. If unspecified, this defaults to the user's display language. If
* the given language is not supported, alerts will be returned in English. The
* language is specified as an [IETF BCP-47 language
* code](https://en.wikipedia.org/wiki/IETF_language_tag).
* @return ListAlertsResponse
* @throws \Google\Service\Exception
*/
public function listAccountsAlerts($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListAlertsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsAlerts::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsAlerts');

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListPaymentsResponse;
/**
* The "payments" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $payments = $adsenseService->accounts_payments;
* </code>
*/
class AccountsPayments extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Lists all the payments available for an account.
* (payments.listAccountsPayments)
*
* @param string $parent Required. The account which owns the collection of
* payments. Format: accounts/{account}
* @param array $optParams Optional parameters.
* @return ListPaymentsResponse
* @throws \Google\Service\Exception
*/
public function listAccountsPayments($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListPaymentsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsPayments::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsPayments');

View File

@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListPolicyIssuesResponse;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\PolicyIssue;
/**
* The "policyIssues" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $policyIssues = $adsenseService->accounts_policyIssues;
* </code>
*/
class AccountsPolicyIssues extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Gets information about the selected policy issue. (policyIssues.get)
*
* @param string $name Required. Name of the policy issue. Format:
* accounts/{account}/policyIssues/{policy_issue}
* @param array $optParams Optional parameters.
* @return PolicyIssue
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\PolicyIssue::class);
}
/**
* Lists all the policy issues for the specified account.
* (policyIssues.listAccountsPolicyIssues)
*
* @param string $parent Required. The account for which policy issues are being
* retrieved. Format: accounts/{account}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of policy issues to include in the
* response, used for paging. If unspecified, at most 10000 policy issues will
* be returned. The maximum value is 10000; values above 10000 will be coerced
* to 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListPolicyIssues` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListPolicyIssues` must match
* the call that provided the page token.
* @return ListPolicyIssuesResponse
* @throws \Google\Service\Exception
*/
public function listAccountsPolicyIssues($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListPolicyIssuesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsPolicyIssues::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsPolicyIssues');

View File

@@ -0,0 +1,170 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\HttpBody;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ReportResult;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\SavedReport;
/**
* The "reports" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $reports = $adsenseService->accounts_reports;
* </code>
*/
class AccountsReports extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Generates an ad hoc report. (reports.generate)
*
* @param string $account Required. The account which owns the collection of
* reports. Format: accounts/{account}
* @param array $optParams Optional parameters.
*
* @opt_param string currencyCode The [ISO-4217 currency
* code](https://en.wikipedia.org/wiki/ISO_4217) to use when reporting on
* monetary metrics. Defaults to the account's currency if not set.
* @opt_param string dateRange Date range of the report, if unset the range will
* be considered CUSTOM.
* @opt_param string dimensions Dimensions to base the report on.
* @opt_param int endDate.day Day of a month. Must be from 1 to 31 and valid for
* the year and month, or 0 to specify a year by itself or a year and month
* where the day isn't significant.
* @opt_param int endDate.month Month of a year. Must be from 1 to 12, or 0 to
* specify a year without a month and day.
* @opt_param int endDate.year Year of the date. Must be from 1 to 9999, or 0 to
* specify a date without a year.
* @opt_param string filters A list of
* [filters](/adsense/management/reporting/filtering) to apply to the report.
* All provided filters must match in order for the data to be included in the
* report.
* @opt_param string languageCode The language to use for translating report
* output. If unspecified, this defaults to English ("en"). If the given
* language is not supported, report output will be returned in English. The
* language is specified as an [IETF BCP-47 language
* code](https://en.wikipedia.org/wiki/IETF_language_tag).
* @opt_param int limit The maximum number of rows of report data to return.
* Reports producing more rows than the requested limit will be truncated. If
* unset, this defaults to 100,000 rows for `Reports.GenerateReport` and
* 1,000,000 rows for `Reports.GenerateCsvReport`, which are also the maximum
* values permitted here. Report truncation can be identified (for
* `Reports.GenerateReport` only) by comparing the number of rows returned to
* the value returned in `total_matched_rows`.
* @opt_param string metrics Required. Reporting metrics.
* @opt_param string orderBy The name of a dimension or metric to sort the
* resulting report on, can be prefixed with "+" to sort ascending or "-" to
* sort descending. If no prefix is specified, the column is sorted ascending.
* @opt_param string reportingTimeZone Timezone in which to generate the report.
* If unspecified, this defaults to the account timezone. For more information,
* see [changing the time zone of your
* reports](https://support.google.com/adsense/answer/9830725).
* @opt_param int startDate.day Day of a month. Must be from 1 to 31 and valid
* for the year and month, or 0 to specify a year by itself or a year and month
* where the day isn't significant.
* @opt_param int startDate.month Month of a year. Must be from 1 to 12, or 0 to
* specify a year without a month and day.
* @opt_param int startDate.year Year of the date. Must be from 1 to 9999, or 0
* to specify a date without a year.
* @return ReportResult
* @throws \Google\Service\Exception
*/
public function generate($account, $optParams = [])
{
$params = ['account' => $account];
$params = \array_merge($params, $optParams);
return $this->call('generate', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ReportResult::class);
}
/**
* Generates a csv formatted ad hoc report. (reports.generateCsv)
*
* @param string $account Required. The account which owns the collection of
* reports. Format: accounts/{account}
* @param array $optParams Optional parameters.
*
* @opt_param string currencyCode The [ISO-4217 currency
* code](https://en.wikipedia.org/wiki/ISO_4217) to use when reporting on
* monetary metrics. Defaults to the account's currency if not set.
* @opt_param string dateRange Date range of the report, if unset the range will
* be considered CUSTOM.
* @opt_param string dimensions Dimensions to base the report on.
* @opt_param int endDate.day Day of a month. Must be from 1 to 31 and valid for
* the year and month, or 0 to specify a year by itself or a year and month
* where the day isn't significant.
* @opt_param int endDate.month Month of a year. Must be from 1 to 12, or 0 to
* specify a year without a month and day.
* @opt_param int endDate.year Year of the date. Must be from 1 to 9999, or 0 to
* specify a date without a year.
* @opt_param string filters A list of
* [filters](/adsense/management/reporting/filtering) to apply to the report.
* All provided filters must match in order for the data to be included in the
* report.
* @opt_param string languageCode The language to use for translating report
* output. If unspecified, this defaults to English ("en"). If the given
* language is not supported, report output will be returned in English. The
* language is specified as an [IETF BCP-47 language
* code](https://en.wikipedia.org/wiki/IETF_language_tag).
* @opt_param int limit The maximum number of rows of report data to return.
* Reports producing more rows than the requested limit will be truncated. If
* unset, this defaults to 100,000 rows for `Reports.GenerateReport` and
* 1,000,000 rows for `Reports.GenerateCsvReport`, which are also the maximum
* values permitted here. Report truncation can be identified (for
* `Reports.GenerateReport` only) by comparing the number of rows returned to
* the value returned in `total_matched_rows`.
* @opt_param string metrics Required. Reporting metrics.
* @opt_param string orderBy The name of a dimension or metric to sort the
* resulting report on, can be prefixed with "+" to sort ascending or "-" to
* sort descending. If no prefix is specified, the column is sorted ascending.
* @opt_param string reportingTimeZone Timezone in which to generate the report.
* If unspecified, this defaults to the account timezone. For more information,
* see [changing the time zone of your
* reports](https://support.google.com/adsense/answer/9830725).
* @opt_param int startDate.day Day of a month. Must be from 1 to 31 and valid
* for the year and month, or 0 to specify a year by itself or a year and month
* where the day isn't significant.
* @opt_param int startDate.month Month of a year. Must be from 1 to 12, or 0 to
* specify a year without a month and day.
* @opt_param int startDate.year Year of the date. Must be from 1 to 9999, or 0
* to specify a date without a year.
* @return HttpBody
* @throws \Google\Service\Exception
*/
public function generateCsv($account, $optParams = [])
{
$params = ['account' => $account];
$params = \array_merge($params, $optParams);
return $this->call('generateCsv', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\HttpBody::class);
}
/**
* Gets the saved report from the given resource name. (reports.getSaved)
*
* @param string $name Required. The name of the saved report to retrieve.
* Format: accounts/{account}/reports/{report}
* @param array $optParams Optional parameters.
* @return SavedReport
* @throws \Google\Service\Exception
*/
public function getSaved($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('getSaved', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\SavedReport::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsReports::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsReports');

View File

@@ -0,0 +1,147 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\HttpBody;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListSavedReportsResponse;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ReportResult;
/**
* The "saved" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $saved = $adsenseService->accounts_reports_saved;
* </code>
*/
class AccountsReportsSaved extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Generates a saved report. (saved.generate)
*
* @param string $name Required. Name of the saved report. Format:
* accounts/{account}/reports/{report}
* @param array $optParams Optional parameters.
*
* @opt_param string currencyCode The [ISO-4217 currency
* code](https://en.wikipedia.org/wiki/ISO_4217) to use when reporting on
* monetary metrics. Defaults to the account's currency if not set.
* @opt_param string dateRange Date range of the report, if unset the range will
* be considered CUSTOM.
* @opt_param int endDate.day Day of a month. Must be from 1 to 31 and valid for
* the year and month, or 0 to specify a year by itself or a year and month
* where the day isn't significant.
* @opt_param int endDate.month Month of a year. Must be from 1 to 12, or 0 to
* specify a year without a month and day.
* @opt_param int endDate.year Year of the date. Must be from 1 to 9999, or 0 to
* specify a date without a year.
* @opt_param string languageCode The language to use for translating report
* output. If unspecified, this defaults to English ("en"). If the given
* language is not supported, report output will be returned in English. The
* language is specified as an [IETF BCP-47 language
* code](https://en.wikipedia.org/wiki/IETF_language_tag).
* @opt_param string reportingTimeZone Timezone in which to generate the report.
* If unspecified, this defaults to the account timezone. For more information,
* see [changing the time zone of your
* reports](https://support.google.com/adsense/answer/9830725).
* @opt_param int startDate.day Day of a month. Must be from 1 to 31 and valid
* for the year and month, or 0 to specify a year by itself or a year and month
* where the day isn't significant.
* @opt_param int startDate.month Month of a year. Must be from 1 to 12, or 0 to
* specify a year without a month and day.
* @opt_param int startDate.year Year of the date. Must be from 1 to 9999, or 0
* to specify a date without a year.
* @return ReportResult
* @throws \Google\Service\Exception
*/
public function generate($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('generate', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ReportResult::class);
}
/**
* Generates a csv formatted saved report. (saved.generateCsv)
*
* @param string $name Required. Name of the saved report. Format:
* accounts/{account}/reports/{report}
* @param array $optParams Optional parameters.
*
* @opt_param string currencyCode The [ISO-4217 currency
* code](https://en.wikipedia.org/wiki/ISO_4217) to use when reporting on
* monetary metrics. Defaults to the account's currency if not set.
* @opt_param string dateRange Date range of the report, if unset the range will
* be considered CUSTOM.
* @opt_param int endDate.day Day of a month. Must be from 1 to 31 and valid for
* the year and month, or 0 to specify a year by itself or a year and month
* where the day isn't significant.
* @opt_param int endDate.month Month of a year. Must be from 1 to 12, or 0 to
* specify a year without a month and day.
* @opt_param int endDate.year Year of the date. Must be from 1 to 9999, or 0 to
* specify a date without a year.
* @opt_param string languageCode The language to use for translating report
* output. If unspecified, this defaults to English ("en"). If the given
* language is not supported, report output will be returned in English. The
* language is specified as an [IETF BCP-47 language
* code](https://en.wikipedia.org/wiki/IETF_language_tag).
* @opt_param string reportingTimeZone Timezone in which to generate the report.
* If unspecified, this defaults to the account timezone. For more information,
* see [changing the time zone of your
* reports](https://support.google.com/adsense/answer/9830725).
* @opt_param int startDate.day Day of a month. Must be from 1 to 31 and valid
* for the year and month, or 0 to specify a year by itself or a year and month
* where the day isn't significant.
* @opt_param int startDate.month Month of a year. Must be from 1 to 12, or 0 to
* specify a year without a month and day.
* @opt_param int startDate.year Year of the date. Must be from 1 to 9999, or 0
* to specify a date without a year.
* @return HttpBody
* @throws \Google\Service\Exception
*/
public function generateCsv($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('generateCsv', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\HttpBody::class);
}
/**
* Lists saved reports. (saved.listAccountsReportsSaved)
*
* @param string $parent Required. The account which owns the collection of
* reports. Format: accounts/{account}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of reports to include in the
* response, used for paging. If unspecified, at most 10000 reports will be
* returned. The maximum value is 10000; values above 10000 will be coerced to
* 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListSavedReports` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListSavedReports` must match
* the call that provided the page token.
* @return ListSavedReportsResponse
* @throws \Google\Service\Exception
*/
public function listAccountsReportsSaved($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListSavedReportsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsReportsSaved::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsReportsSaved');

View File

@@ -0,0 +1,73 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\ListSitesResponse;
use Google\Site_Kit_Dependencies\Google\Service\Adsense\Site;
/**
* The "sites" collection of methods.
* Typical usage is:
* <code>
* $adsenseService = new Google\Service\Adsense(...);
* $sites = $adsenseService->accounts_sites;
* </code>
*/
class AccountsSites extends \Google\Site_Kit_Dependencies\Google\Service\Resource
{
/**
* Gets information about the selected site. (sites.get)
*
* @param string $name Required. Name of the site. Format:
* accounts/{account}/sites/{site}
* @param array $optParams Optional parameters.
* @return Site
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = \array_merge($params, $optParams);
return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\Site::class);
}
/**
* Lists all the sites available in an account. (sites.listAccountsSites)
*
* @param string $parent Required. The account which owns the collection of
* sites. Format: accounts/{account}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of sites to include in the
* response, used for paging. If unspecified, at most 10000 sites will be
* returned. The maximum value is 10000; values above 10000 will be coerced to
* 10000.
* @opt_param string pageToken A page token, received from a previous
* `ListSites` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListSites` must match the call
* that provided the page token.
* @return ListSitesResponse
* @throws \Google\Service\Exception
*/
public function listAccountsSites($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = \array_merge($params, $optParams);
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Adsense\ListSitesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Resource\AccountsSites::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Resource_AccountsSites');

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class Row extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'cells';
protected $cellsType = \Google\Site_Kit_Dependencies\Google\Service\Adsense\Cell::class;
protected $cellsDataType = 'array';
/**
* @param Cell[]
*/
public function setCells($cells)
{
$this->cells = $cells;
}
/**
* @return Cell[]
*/
public function getCells()
{
return $this->cells;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Row::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Row');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class SavedReport extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\SavedReport::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_SavedReport');

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class Site extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var bool
*/
public $autoAdsEnabled;
/**
* @var string
*/
public $domain;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $reportingDimensionId;
/**
* @var string
*/
public $state;
/**
* @param bool
*/
public function setAutoAdsEnabled($autoAdsEnabled)
{
$this->autoAdsEnabled = $autoAdsEnabled;
}
/**
* @return bool
*/
public function getAutoAdsEnabled()
{
return $this->autoAdsEnabled;
}
/**
* @param string
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setReportingDimensionId($reportingDimensionId)
{
$this->reportingDimensionId = $reportingDimensionId;
}
/**
* @return string
*/
public function getReportingDimensionId()
{
return $this->reportingDimensionId;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\Site::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_Site');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class TimeZone extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\TimeZone::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_TimeZone');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\Adsense;
class UrlChannel extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $reportingDimensionId;
/**
* @var string
*/
public $uriPattern;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setReportingDimensionId($reportingDimensionId)
{
$this->reportingDimensionId = $reportingDimensionId;
}
/**
* @return string
*/
public function getReportingDimensionId()
{
return $this->reportingDimensionId;
}
/**
* @param string
*/
public function setUriPattern($uriPattern)
{
$this->uriPattern = $uriPattern;
}
/**
* @return string
*/
public function getUriPattern()
{
return $this->uriPattern;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Adsense\UrlChannel::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Adsense_UrlChannel');

View File

@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service;
use Google\Site_Kit_Dependencies\Google\Client;
/**
* Service definition for AnalyticsData (v1beta).
*
* <p>
* Accesses report data in Google Analytics. Warning: Creating multiple Customer
* Applications, Accounts, or Projects to simulate or act as a single Customer
* Application, Account, or Project (respectively) or to circumvent Service-
* specific usage limits or quotas is a direct violation of Google Cloud
* Platform Terms of Service as well as Google APIs Terms of Service. These
* actions can result in immediate termination of your GCP project(s) without
* any warning.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/analytics/devguides/reporting/data/v1/" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class AnalyticsData extends \Google\Site_Kit_Dependencies\Google\Service
{
/** View and manage your Google Analytics data. */
const ANALYTICS = "https://www.googleapis.com/auth/analytics";
/** See and download your Google Analytics data. */
const ANALYTICS_READONLY = "https://www.googleapis.com/auth/analytics.readonly";
public $properties;
public $properties_audienceExports;
public $rootUrlTemplate;
/**
* Constructs the internal representation of the AnalyticsData service.
*
* @param Client|array $clientOrConfig The client used to deliver requests, or a
* config array to pass to a new Client instance.
* @param string $rootUrl The root URL used for requests to the service.
*/
public function __construct($clientOrConfig = [], $rootUrl = null)
{
parent::__construct($clientOrConfig);
$this->rootUrl = $rootUrl ?: 'https://analyticsdata.googleapis.com/';
$this->rootUrlTemplate = $rootUrl ?: 'https://analyticsdata.UNIVERSE_DOMAIN/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1beta';
$this->serviceName = 'analyticsdata';
$this->properties = new \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Resource\Properties($this, $this->serviceName, 'properties', ['methods' => ['batchRunPivotReports' => ['path' => 'v1beta/{+property}:batchRunPivotReports', 'httpMethod' => 'POST', 'parameters' => ['property' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'batchRunReports' => ['path' => 'v1beta/{+property}:batchRunReports', 'httpMethod' => 'POST', 'parameters' => ['property' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'checkCompatibility' => ['path' => 'v1beta/{+property}:checkCompatibility', 'httpMethod' => 'POST', 'parameters' => ['property' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'getMetadata' => ['path' => 'v1beta/{+name}', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'runPivotReport' => ['path' => 'v1beta/{+property}:runPivotReport', 'httpMethod' => 'POST', 'parameters' => ['property' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'runRealtimeReport' => ['path' => 'v1beta/{+property}:runRealtimeReport', 'httpMethod' => 'POST', 'parameters' => ['property' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'runReport' => ['path' => 'v1beta/{+property}:runReport', 'httpMethod' => 'POST', 'parameters' => ['property' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
$this->properties_audienceExports = new \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Resource\PropertiesAudienceExports($this, $this->serviceName, 'audienceExports', ['methods' => ['create' => ['path' => 'v1beta/{+parent}/audienceExports', 'httpMethod' => 'POST', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'get' => ['path' => 'v1beta/{+name}', 'httpMethod' => 'GET', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]], 'list' => ['path' => 'v1beta/{+parent}/audienceExports', 'httpMethod' => 'GET', 'parameters' => ['parent' => ['location' => 'path', 'type' => 'string', 'required' => \true], 'pageSize' => ['location' => 'query', 'type' => 'integer'], 'pageToken' => ['location' => 'query', 'type' => 'string']]], 'query' => ['path' => 'v1beta/{+name}:query', 'httpMethod' => 'POST', 'parameters' => ['name' => ['location' => 'path', 'type' => 'string', 'required' => \true]]]]]);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class ActiveMetricRestriction extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'restrictedMetricTypes';
/**
* @var string
*/
public $metricName;
/**
* @var string[]
*/
public $restrictedMetricTypes;
/**
* @param string
*/
public function setMetricName($metricName)
{
$this->metricName = $metricName;
}
/**
* @return string
*/
public function getMetricName()
{
return $this->metricName;
}
/**
* @param string[]
*/
public function setRestrictedMetricTypes($restrictedMetricTypes)
{
$this->restrictedMetricTypes = $restrictedMetricTypes;
}
/**
* @return string[]
*/
public function getRestrictedMetricTypes()
{
return $this->restrictedMetricTypes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\ActiveMetricRestriction::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_ActiveMetricRestriction');

View File

@@ -0,0 +1,194 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class AudienceExport extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'dimensions';
/**
* @var string
*/
public $audience;
/**
* @var string
*/
public $audienceDisplayName;
/**
* @var string
*/
public $beginCreatingTime;
/**
* @var int
*/
public $creationQuotaTokensCharged;
protected $dimensionsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\V1betaAudienceDimension::class;
protected $dimensionsDataType = 'array';
/**
* @var string
*/
public $errorMessage;
/**
* @var string
*/
public $name;
public $percentageCompleted;
/**
* @var int
*/
public $rowCount;
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setAudience($audience)
{
$this->audience = $audience;
}
/**
* @return string
*/
public function getAudience()
{
return $this->audience;
}
/**
* @param string
*/
public function setAudienceDisplayName($audienceDisplayName)
{
$this->audienceDisplayName = $audienceDisplayName;
}
/**
* @return string
*/
public function getAudienceDisplayName()
{
return $this->audienceDisplayName;
}
/**
* @param string
*/
public function setBeginCreatingTime($beginCreatingTime)
{
$this->beginCreatingTime = $beginCreatingTime;
}
/**
* @return string
*/
public function getBeginCreatingTime()
{
return $this->beginCreatingTime;
}
/**
* @param int
*/
public function setCreationQuotaTokensCharged($creationQuotaTokensCharged)
{
$this->creationQuotaTokensCharged = $creationQuotaTokensCharged;
}
/**
* @return int
*/
public function getCreationQuotaTokensCharged()
{
return $this->creationQuotaTokensCharged;
}
/**
* @param V1betaAudienceDimension[]
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return V1betaAudienceDimension[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* @param string
*/
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
/**
* @return string
*/
public function getErrorMessage()
{
return $this->errorMessage;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
public function setPercentageCompleted($percentageCompleted)
{
$this->percentageCompleted = $percentageCompleted;
}
public function getPercentageCompleted()
{
return $this->percentageCompleted;
}
/**
* @param int
*/
public function setRowCount($rowCount)
{
$this->rowCount = $rowCount;
}
/**
* @return int
*/
public function getRowCount()
{
return $this->rowCount;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\AudienceExport::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_AudienceExport');

View File

@@ -0,0 +1,24 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class AudienceListMetadata extends \Google\Site_Kit_Dependencies\Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\AudienceListMetadata::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_AudienceListMetadata');

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class BatchRunPivotReportsRequest extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunPivotReportRequest::class;
protected $requestsDataType = 'array';
/**
* @param RunPivotReportRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return RunPivotReportRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BatchRunPivotReportsRequest::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_BatchRunPivotReportsRequest');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class BatchRunPivotReportsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'pivotReports';
/**
* @var string
*/
public $kind;
protected $pivotReportsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunPivotReportResponse::class;
protected $pivotReportsDataType = 'array';
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param RunPivotReportResponse[]
*/
public function setPivotReports($pivotReports)
{
$this->pivotReports = $pivotReports;
}
/**
* @return RunPivotReportResponse[]
*/
public function getPivotReports()
{
return $this->pivotReports;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BatchRunPivotReportsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_BatchRunPivotReportsResponse');

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class BatchRunReportsRequest extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunReportRequest::class;
protected $requestsDataType = 'array';
/**
* @param RunReportRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return RunReportRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BatchRunReportsRequest::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_BatchRunReportsRequest');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class BatchRunReportsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'reports';
/**
* @var string
*/
public $kind;
protected $reportsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\RunReportResponse::class;
protected $reportsDataType = 'array';
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param RunReportResponse[]
*/
public function setReports($reports)
{
$this->reports = $reports;
}
/**
* @return RunReportResponse[]
*/
public function getReports()
{
return $this->reports;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BatchRunReportsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_BatchRunReportsResponse');

View File

@@ -0,0 +1,56 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class BetweenFilter extends \Google\Site_Kit_Dependencies\Google\Model
{
protected $fromValueType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericValue::class;
protected $fromValueDataType = '';
protected $toValueType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericValue::class;
protected $toValueDataType = '';
/**
* @param NumericValue
*/
public function setFromValue(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericValue $fromValue)
{
$this->fromValue = $fromValue;
}
/**
* @return NumericValue
*/
public function getFromValue()
{
return $this->fromValue;
}
/**
* @param NumericValue
*/
public function setToValue(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericValue $toValue)
{
$this->toValue = $toValue;
}
/**
* @return NumericValue
*/
public function getToValue()
{
return $this->toValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BetweenFilter::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_BetweenFilter');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class CaseExpression extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $dimensionName;
/**
* @param string
*/
public function setDimensionName($dimensionName)
{
$this->dimensionName = $dimensionName;
}
/**
* @return string
*/
public function getDimensionName()
{
return $this->dimensionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CaseExpression::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_CaseExpression');

View File

@@ -0,0 +1,107 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class CheckCompatibilityRequest extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'metrics';
/**
* @var string
*/
public $compatibilityFilter;
protected $dimensionFilterType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression::class;
protected $dimensionFilterDataType = '';
protected $dimensionsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Dimension::class;
protected $dimensionsDataType = 'array';
protected $metricFilterType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression::class;
protected $metricFilterDataType = '';
protected $metricsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Metric::class;
protected $metricsDataType = 'array';
/**
* @param string
*/
public function setCompatibilityFilter($compatibilityFilter)
{
$this->compatibilityFilter = $compatibilityFilter;
}
/**
* @return string
*/
public function getCompatibilityFilter()
{
return $this->compatibilityFilter;
}
/**
* @param FilterExpression
*/
public function setDimensionFilter(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression $dimensionFilter)
{
$this->dimensionFilter = $dimensionFilter;
}
/**
* @return FilterExpression
*/
public function getDimensionFilter()
{
return $this->dimensionFilter;
}
/**
* @param Dimension[]
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return Dimension[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* @param FilterExpression
*/
public function setMetricFilter(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression $metricFilter)
{
$this->metricFilter = $metricFilter;
}
/**
* @return FilterExpression
*/
public function getMetricFilter()
{
return $this->metricFilter;
}
/**
* @param Metric[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return Metric[]
*/
public function getMetrics()
{
return $this->metrics;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CheckCompatibilityRequest::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_CheckCompatibilityRequest');

View File

@@ -0,0 +1,57 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class CheckCompatibilityResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'metricCompatibilities';
protected $dimensionCompatibilitiesType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionCompatibility::class;
protected $dimensionCompatibilitiesDataType = 'array';
protected $metricCompatibilitiesType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricCompatibility::class;
protected $metricCompatibilitiesDataType = 'array';
/**
* @param DimensionCompatibility[]
*/
public function setDimensionCompatibilities($dimensionCompatibilities)
{
$this->dimensionCompatibilities = $dimensionCompatibilities;
}
/**
* @return DimensionCompatibility[]
*/
public function getDimensionCompatibilities()
{
return $this->dimensionCompatibilities;
}
/**
* @param MetricCompatibility[]
*/
public function setMetricCompatibilities($metricCompatibilities)
{
$this->metricCompatibilities = $metricCompatibilities;
}
/**
* @return MetricCompatibility[]
*/
public function getMetricCompatibilities()
{
return $this->metricCompatibilities;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CheckCompatibilityResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_CheckCompatibilityResponse');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class Cohort extends \Google\Site_Kit_Dependencies\Google\Model
{
protected $dateRangeType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DateRange::class;
protected $dateRangeDataType = '';
/**
* @var string
*/
public $dimension;
/**
* @var string
*/
public $name;
/**
* @param DateRange
*/
public function setDateRange(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DateRange $dateRange)
{
$this->dateRange = $dateRange;
}
/**
* @return DateRange
*/
public function getDateRange()
{
return $this->dateRange;
}
/**
* @param string
*/
public function setDimension($dimension)
{
$this->dimension = $dimension;
}
/**
* @return string
*/
public function getDimension()
{
return $this->dimension;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Cohort::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_Cohort');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class CohortReportSettings extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var bool
*/
public $accumulate;
/**
* @param bool
*/
public function setAccumulate($accumulate)
{
$this->accumulate = $accumulate;
}
/**
* @return bool
*/
public function getAccumulate()
{
return $this->accumulate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CohortReportSettings::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_CohortReportSettings');

View File

@@ -0,0 +1,73 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class CohortSpec extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'cohorts';
protected $cohortReportSettingsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CohortReportSettings::class;
protected $cohortReportSettingsDataType = '';
protected $cohortsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Cohort::class;
protected $cohortsDataType = 'array';
protected $cohortsRangeType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CohortsRange::class;
protected $cohortsRangeDataType = '';
/**
* @param CohortReportSettings
*/
public function setCohortReportSettings(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CohortReportSettings $cohortReportSettings)
{
$this->cohortReportSettings = $cohortReportSettings;
}
/**
* @return CohortReportSettings
*/
public function getCohortReportSettings()
{
return $this->cohortReportSettings;
}
/**
* @param Cohort[]
*/
public function setCohorts($cohorts)
{
$this->cohorts = $cohorts;
}
/**
* @return Cohort[]
*/
public function getCohorts()
{
return $this->cohorts;
}
/**
* @param CohortsRange
*/
public function setCohortsRange(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CohortsRange $cohortsRange)
{
$this->cohortsRange = $cohortsRange;
}
/**
* @return CohortsRange
*/
public function getCohortsRange()
{
return $this->cohortsRange;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CohortSpec::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_CohortSpec');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class CohortsRange extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var int
*/
public $endOffset;
/**
* @var string
*/
public $granularity;
/**
* @var int
*/
public $startOffset;
/**
* @param int
*/
public function setEndOffset($endOffset)
{
$this->endOffset = $endOffset;
}
/**
* @return int
*/
public function getEndOffset()
{
return $this->endOffset;
}
/**
* @param string
*/
public function setGranularity($granularity)
{
$this->granularity = $granularity;
}
/**
* @return string
*/
public function getGranularity()
{
return $this->granularity;
}
/**
* @param int
*/
public function setStartOffset($startOffset)
{
$this->startOffset = $startOffset;
}
/**
* @return int
*/
public function getStartOffset()
{
return $this->startOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CohortsRange::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_CohortsRange');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class ConcatenateExpression extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'dimensionNames';
/**
* @var string
*/
public $delimiter;
/**
* @var string[]
*/
public $dimensionNames;
/**
* @param string
*/
public function setDelimiter($delimiter)
{
$this->delimiter = $delimiter;
}
/**
* @return string
*/
public function getDelimiter()
{
return $this->delimiter;
}
/**
* @param string[]
*/
public function setDimensionNames($dimensionNames)
{
$this->dimensionNames = $dimensionNames;
}
/**
* @return string[]
*/
public function getDimensionNames()
{
return $this->dimensionNames;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\ConcatenateExpression::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_ConcatenateExpression');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class DateRange extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $endDate;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $startDate;
/**
* @param string
*/
public function setEndDate($endDate)
{
$this->endDate = $endDate;
}
/**
* @return string
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setStartDate($startDate)
{
$this->startDate = $startDate;
}
/**
* @return string
*/
public function getStartDate()
{
return $this->startDate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DateRange::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_DateRange');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class Dimension extends \Google\Site_Kit_Dependencies\Google\Model
{
protected $dimensionExpressionType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionExpression::class;
protected $dimensionExpressionDataType = '';
/**
* @var string
*/
public $name;
/**
* @param DimensionExpression
*/
public function setDimensionExpression(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionExpression $dimensionExpression)
{
$this->dimensionExpression = $dimensionExpression;
}
/**
* @return DimensionExpression
*/
public function getDimensionExpression()
{
return $this->dimensionExpression;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Dimension::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_Dimension');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class DimensionCompatibility extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $compatibility;
protected $dimensionMetadataType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionMetadata::class;
protected $dimensionMetadataDataType = '';
/**
* @param string
*/
public function setCompatibility($compatibility)
{
$this->compatibility = $compatibility;
}
/**
* @return string
*/
public function getCompatibility()
{
return $this->compatibility;
}
/**
* @param DimensionMetadata
*/
public function setDimensionMetadata(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionMetadata $dimensionMetadata)
{
$this->dimensionMetadata = $dimensionMetadata;
}
/**
* @return DimensionMetadata
*/
public function getDimensionMetadata()
{
return $this->dimensionMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionCompatibility::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_DimensionCompatibility');

View File

@@ -0,0 +1,72 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class DimensionExpression extends \Google\Site_Kit_Dependencies\Google\Model
{
protected $concatenateType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\ConcatenateExpression::class;
protected $concatenateDataType = '';
protected $lowerCaseType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CaseExpression::class;
protected $lowerCaseDataType = '';
protected $upperCaseType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CaseExpression::class;
protected $upperCaseDataType = '';
/**
* @param ConcatenateExpression
*/
public function setConcatenate(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\ConcatenateExpression $concatenate)
{
$this->concatenate = $concatenate;
}
/**
* @return ConcatenateExpression
*/
public function getConcatenate()
{
return $this->concatenate;
}
/**
* @param CaseExpression
*/
public function setLowerCase(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CaseExpression $lowerCase)
{
$this->lowerCase = $lowerCase;
}
/**
* @return CaseExpression
*/
public function getLowerCase()
{
return $this->lowerCase;
}
/**
* @param CaseExpression
*/
public function setUpperCase(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\CaseExpression $upperCase)
{
$this->upperCase = $upperCase;
}
/**
* @return CaseExpression
*/
public function getUpperCase()
{
return $this->upperCase;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionExpression::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_DimensionExpression');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class DimensionHeader extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionHeader::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_DimensionHeader');

View File

@@ -0,0 +1,133 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class DimensionMetadata extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'deprecatedApiNames';
/**
* @var string
*/
public $apiName;
/**
* @var string
*/
public $category;
/**
* @var bool
*/
public $customDefinition;
/**
* @var string[]
*/
public $deprecatedApiNames;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $uiName;
/**
* @param string
*/
public function setApiName($apiName)
{
$this->apiName = $apiName;
}
/**
* @return string
*/
public function getApiName()
{
return $this->apiName;
}
/**
* @param string
*/
public function setCategory($category)
{
$this->category = $category;
}
/**
* @return string
*/
public function getCategory()
{
return $this->category;
}
/**
* @param bool
*/
public function setCustomDefinition($customDefinition)
{
$this->customDefinition = $customDefinition;
}
/**
* @return bool
*/
public function getCustomDefinition()
{
return $this->customDefinition;
}
/**
* @param string[]
*/
public function setDeprecatedApiNames($deprecatedApiNames)
{
$this->deprecatedApiNames = $deprecatedApiNames;
}
/**
* @return string[]
*/
public function getDeprecatedApiNames()
{
return $this->deprecatedApiNames;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setUiName($uiName)
{
$this->uiName = $uiName;
}
/**
* @return string
*/
public function getUiName()
{
return $this->uiName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionMetadata::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_DimensionMetadata');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class DimensionOrderBy extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $dimensionName;
/**
* @var string
*/
public $orderType;
/**
* @param string
*/
public function setDimensionName($dimensionName)
{
$this->dimensionName = $dimensionName;
}
/**
* @return string
*/
public function getDimensionName()
{
return $this->dimensionName;
}
/**
* @param string
*/
public function setOrderType($orderType)
{
$this->orderType = $orderType;
}
/**
* @return string
*/
public function getOrderType()
{
return $this->orderType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionOrderBy::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_DimensionOrderBy');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class DimensionValue extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionValue::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_DimensionValue');

View File

@@ -0,0 +1,24 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class EmptyFilter extends \Google\Site_Kit_Dependencies\Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\EmptyFilter::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_EmptyFilter');

View File

@@ -0,0 +1,122 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class Filter extends \Google\Site_Kit_Dependencies\Google\Model
{
protected $betweenFilterType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BetweenFilter::class;
protected $betweenFilterDataType = '';
protected $emptyFilterType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\EmptyFilter::class;
protected $emptyFilterDataType = '';
/**
* @var string
*/
public $fieldName;
protected $inListFilterType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\InListFilter::class;
protected $inListFilterDataType = '';
protected $numericFilterType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericFilter::class;
protected $numericFilterDataType = '';
protected $stringFilterType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\StringFilter::class;
protected $stringFilterDataType = '';
/**
* @param BetweenFilter
*/
public function setBetweenFilter(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\BetweenFilter $betweenFilter)
{
$this->betweenFilter = $betweenFilter;
}
/**
* @return BetweenFilter
*/
public function getBetweenFilter()
{
return $this->betweenFilter;
}
/**
* @param EmptyFilter
*/
public function setEmptyFilter(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\EmptyFilter $emptyFilter)
{
$this->emptyFilter = $emptyFilter;
}
/**
* @return EmptyFilter
*/
public function getEmptyFilter()
{
return $this->emptyFilter;
}
/**
* @param string
*/
public function setFieldName($fieldName)
{
$this->fieldName = $fieldName;
}
/**
* @return string
*/
public function getFieldName()
{
return $this->fieldName;
}
/**
* @param InListFilter
*/
public function setInListFilter(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\InListFilter $inListFilter)
{
$this->inListFilter = $inListFilter;
}
/**
* @return InListFilter
*/
public function getInListFilter()
{
return $this->inListFilter;
}
/**
* @param NumericFilter
*/
public function setNumericFilter(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericFilter $numericFilter)
{
$this->numericFilter = $numericFilter;
}
/**
* @return NumericFilter
*/
public function getNumericFilter()
{
return $this->numericFilter;
}
/**
* @param StringFilter
*/
public function setStringFilter(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\StringFilter $stringFilter)
{
$this->stringFilter = $stringFilter;
}
/**
* @return StringFilter
*/
public function getStringFilter()
{
return $this->stringFilter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Filter::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_Filter');

View File

@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class FilterExpression extends \Google\Site_Kit_Dependencies\Google\Model
{
protected $andGroupType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpressionList::class;
protected $andGroupDataType = '';
protected $filterType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Filter::class;
protected $filterDataType = '';
protected $notExpressionType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression::class;
protected $notExpressionDataType = '';
protected $orGroupType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpressionList::class;
protected $orGroupDataType = '';
/**
* @param FilterExpressionList
*/
public function setAndGroup(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpressionList $andGroup)
{
$this->andGroup = $andGroup;
}
/**
* @return FilterExpressionList
*/
public function getAndGroup()
{
return $this->andGroup;
}
/**
* @param Filter
*/
public function setFilter(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Filter $filter)
{
$this->filter = $filter;
}
/**
* @return Filter
*/
public function getFilter()
{
return $this->filter;
}
/**
* @param FilterExpression
*/
public function setNotExpression(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression $notExpression)
{
$this->notExpression = $notExpression;
}
/**
* @return FilterExpression
*/
public function getNotExpression()
{
return $this->notExpression;
}
/**
* @param FilterExpressionList
*/
public function setOrGroup(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpressionList $orGroup)
{
$this->orGroup = $orGroup;
}
/**
* @return FilterExpressionList
*/
public function getOrGroup()
{
return $this->orGroup;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_FilterExpression');

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class FilterExpressionList extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'expressions';
protected $expressionsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpression::class;
protected $expressionsDataType = 'array';
/**
* @param FilterExpression[]
*/
public function setExpressions($expressions)
{
$this->expressions = $expressions;
}
/**
* @return FilterExpression[]
*/
public function getExpressions()
{
return $this->expressions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\FilterExpressionList::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_FilterExpressionList');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class InListFilter extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'values';
/**
* @var bool
*/
public $caseSensitive;
/**
* @var string[]
*/
public $values;
/**
* @param bool
*/
public function setCaseSensitive($caseSensitive)
{
$this->caseSensitive = $caseSensitive;
}
/**
* @return bool
*/
public function getCaseSensitive()
{
return $this->caseSensitive;
}
/**
* @param string[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return string[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\InListFilter::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_InListFilter');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class ListAudienceExportsResponse extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'audienceExports';
protected $audienceExportsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\AudienceExport::class;
protected $audienceExportsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param AudienceExport[]
*/
public function setAudienceExports($audienceExports)
{
$this->audienceExports = $audienceExports;
}
/**
* @return AudienceExport[]
*/
public function getAudienceExports()
{
return $this->audienceExports;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\ListAudienceExportsResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_ListAudienceExportsResponse');

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class Metadata extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'metrics';
protected $dimensionsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionMetadata::class;
protected $dimensionsDataType = 'array';
protected $metricsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricMetadata::class;
protected $metricsDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @param DimensionMetadata[]
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return DimensionMetadata[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* @param MetricMetadata[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return MetricMetadata[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Metadata::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_Metadata');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class Metric extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $expression;
/**
* @var bool
*/
public $invisible;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* @param bool
*/
public function setInvisible($invisible)
{
$this->invisible = $invisible;
}
/**
* @return bool
*/
public function getInvisible()
{
return $this->invisible;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Metric::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_Metric');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class MetricCompatibility extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $compatibility;
protected $metricMetadataType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricMetadata::class;
protected $metricMetadataDataType = '';
/**
* @param string
*/
public function setCompatibility($compatibility)
{
$this->compatibility = $compatibility;
}
/**
* @return string
*/
public function getCompatibility()
{
return $this->compatibility;
}
/**
* @param MetricMetadata
*/
public function setMetricMetadata(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricMetadata $metricMetadata)
{
$this->metricMetadata = $metricMetadata;
}
/**
* @return MetricMetadata
*/
public function getMetricMetadata()
{
return $this->metricMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricCompatibility::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_MetricCompatibility');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class MetricHeader extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricHeader::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_MetricHeader');

View File

@@ -0,0 +1,187 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class MetricMetadata extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'deprecatedApiNames';
/**
* @var string
*/
public $apiName;
/**
* @var string[]
*/
public $blockedReasons;
/**
* @var string
*/
public $category;
/**
* @var bool
*/
public $customDefinition;
/**
* @var string[]
*/
public $deprecatedApiNames;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $expression;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $uiName;
/**
* @param string
*/
public function setApiName($apiName)
{
$this->apiName = $apiName;
}
/**
* @return string
*/
public function getApiName()
{
return $this->apiName;
}
/**
* @param string[]
*/
public function setBlockedReasons($blockedReasons)
{
$this->blockedReasons = $blockedReasons;
}
/**
* @return string[]
*/
public function getBlockedReasons()
{
return $this->blockedReasons;
}
/**
* @param string
*/
public function setCategory($category)
{
$this->category = $category;
}
/**
* @return string
*/
public function getCategory()
{
return $this->category;
}
/**
* @param bool
*/
public function setCustomDefinition($customDefinition)
{
$this->customDefinition = $customDefinition;
}
/**
* @return bool
*/
public function getCustomDefinition()
{
return $this->customDefinition;
}
/**
* @param string[]
*/
public function setDeprecatedApiNames($deprecatedApiNames)
{
$this->deprecatedApiNames = $deprecatedApiNames;
}
/**
* @return string[]
*/
public function getDeprecatedApiNames()
{
return $this->deprecatedApiNames;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUiName($uiName)
{
$this->uiName = $uiName;
}
/**
* @return string
*/
public function getUiName()
{
return $this->uiName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricMetadata::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_MetricMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class MetricOrderBy extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $metricName;
/**
* @param string
*/
public function setMetricName($metricName)
{
$this->metricName = $metricName;
}
/**
* @return string
*/
public function getMetricName()
{
return $this->metricName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricOrderBy::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_MetricOrderBy');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class MetricValue extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricValue::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_MetricValue');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class MinuteRange extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var int
*/
public $endMinutesAgo;
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $startMinutesAgo;
/**
* @param int
*/
public function setEndMinutesAgo($endMinutesAgo)
{
$this->endMinutesAgo = $endMinutesAgo;
}
/**
* @return int
*/
public function getEndMinutesAgo()
{
return $this->endMinutesAgo;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setStartMinutesAgo($startMinutesAgo)
{
$this->startMinutesAgo = $startMinutesAgo;
}
/**
* @return int
*/
public function getStartMinutesAgo()
{
return $this->startMinutesAgo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MinuteRange::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_MinuteRange');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class NumericFilter extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $operation;
protected $valueType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericValue::class;
protected $valueDataType = '';
/**
* @param string
*/
public function setOperation($operation)
{
$this->operation = $operation;
}
/**
* @return string
*/
public function getOperation()
{
return $this->operation;
}
/**
* @param NumericValue
*/
public function setValue(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericValue $value)
{
$this->value = $value;
}
/**
* @return NumericValue
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericFilter::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_NumericFilter');

View File

@@ -0,0 +1,51 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class NumericValue extends \Google\Site_Kit_Dependencies\Google\Model
{
public $doubleValue;
/**
* @var string
*/
public $int64Value;
public function setDoubleValue($doubleValue)
{
$this->doubleValue = $doubleValue;
}
public function getDoubleValue()
{
return $this->doubleValue;
}
/**
* @param string
*/
public function setInt64Value($int64Value)
{
$this->int64Value = $int64Value;
}
/**
* @return string
*/
public function getInt64Value()
{
return $this->int64Value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\NumericValue::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_NumericValue');

View File

@@ -0,0 +1,112 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class Operation extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Operation::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_Operation');

View File

@@ -0,0 +1,90 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class OrderBy extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var bool
*/
public $desc;
protected $dimensionType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionOrderBy::class;
protected $dimensionDataType = '';
protected $metricType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricOrderBy::class;
protected $metricDataType = '';
protected $pivotType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\PivotOrderBy::class;
protected $pivotDataType = '';
/**
* @param bool
*/
public function setDesc($desc)
{
$this->desc = $desc;
}
/**
* @return bool
*/
public function getDesc()
{
return $this->desc;
}
/**
* @param DimensionOrderBy
*/
public function setDimension(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionOrderBy $dimension)
{
$this->dimension = $dimension;
}
/**
* @return DimensionOrderBy
*/
public function getDimension()
{
return $this->dimension;
}
/**
* @param MetricOrderBy
*/
public function setMetric(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\MetricOrderBy $metric)
{
$this->metric = $metric;
}
/**
* @return MetricOrderBy
*/
public function getMetric()
{
return $this->metric;
}
/**
* @param PivotOrderBy
*/
public function setPivot(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\PivotOrderBy $pivot)
{
$this->pivot = $pivot;
}
/**
* @return PivotOrderBy
*/
public function getPivot()
{
return $this->pivot;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\OrderBy::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_OrderBy');

View File

@@ -0,0 +1,113 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class Pivot extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'orderBys';
/**
* @var string[]
*/
public $fieldNames;
/**
* @var string
*/
public $limit;
/**
* @var string[]
*/
public $metricAggregations;
/**
* @var string
*/
public $offset;
protected $orderBysType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\OrderBy::class;
protected $orderBysDataType = 'array';
/**
* @param string[]
*/
public function setFieldNames($fieldNames)
{
$this->fieldNames = $fieldNames;
}
/**
* @return string[]
*/
public function getFieldNames()
{
return $this->fieldNames;
}
/**
* @param string
*/
public function setLimit($limit)
{
$this->limit = $limit;
}
/**
* @return string
*/
public function getLimit()
{
return $this->limit;
}
/**
* @param string[]
*/
public function setMetricAggregations($metricAggregations)
{
$this->metricAggregations = $metricAggregations;
}
/**
* @return string[]
*/
public function getMetricAggregations()
{
return $this->metricAggregations;
}
/**
* @param string
*/
public function setOffset($offset)
{
$this->offset = $offset;
}
/**
* @return string
*/
public function getOffset()
{
return $this->offset;
}
/**
* @param OrderBy[]
*/
public function setOrderBys($orderBys)
{
$this->orderBys = $orderBys;
}
/**
* @return OrderBy[]
*/
public function getOrderBys()
{
return $this->orderBys;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\Pivot::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_Pivot');

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class PivotDimensionHeader extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'dimensionValues';
protected $dimensionValuesType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\DimensionValue::class;
protected $dimensionValuesDataType = 'array';
/**
* @param DimensionValue[]
*/
public function setDimensionValues($dimensionValues)
{
$this->dimensionValues = $dimensionValues;
}
/**
* @return DimensionValue[]
*/
public function getDimensionValues()
{
return $this->dimensionValues;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\PivotDimensionHeader::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_PivotDimensionHeader');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class PivotHeader extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'pivotDimensionHeaders';
protected $pivotDimensionHeadersType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\PivotDimensionHeader::class;
protected $pivotDimensionHeadersDataType = 'array';
/**
* @var int
*/
public $rowCount;
/**
* @param PivotDimensionHeader[]
*/
public function setPivotDimensionHeaders($pivotDimensionHeaders)
{
$this->pivotDimensionHeaders = $pivotDimensionHeaders;
}
/**
* @return PivotDimensionHeader[]
*/
public function getPivotDimensionHeaders()
{
return $this->pivotDimensionHeaders;
}
/**
* @param int
*/
public function setRowCount($rowCount)
{
$this->rowCount = $rowCount;
}
/**
* @return int
*/
public function getRowCount()
{
return $this->rowCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\PivotHeader::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_PivotHeader');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class PivotOrderBy extends \Google\Site_Kit_Dependencies\Google\Collection
{
protected $collection_key = 'pivotSelections';
/**
* @var string
*/
public $metricName;
protected $pivotSelectionsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\PivotSelection::class;
protected $pivotSelectionsDataType = 'array';
/**
* @param string
*/
public function setMetricName($metricName)
{
$this->metricName = $metricName;
}
/**
* @return string
*/
public function getMetricName()
{
return $this->metricName;
}
/**
* @param PivotSelection[]
*/
public function setPivotSelections($pivotSelections)
{
$this->pivotSelections = $pivotSelections;
}
/**
* @return PivotSelection[]
*/
public function getPivotSelections()
{
return $this->pivotSelections;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\PivotOrderBy::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_PivotOrderBy');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class PivotSelection extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $dimensionName;
/**
* @var string
*/
public $dimensionValue;
/**
* @param string
*/
public function setDimensionName($dimensionName)
{
$this->dimensionName = $dimensionName;
}
/**
* @return string
*/
public function getDimensionName()
{
return $this->dimensionName;
}
/**
* @param string
*/
public function setDimensionValue($dimensionValue)
{
$this->dimensionValue = $dimensionValue;
}
/**
* @return string
*/
public function getDimensionValue()
{
return $this->dimensionValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\PivotSelection::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_PivotSelection');

View File

@@ -0,0 +1,120 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class PropertyQuota extends \Google\Site_Kit_Dependencies\Google\Model
{
protected $concurrentRequestsType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus::class;
protected $concurrentRequestsDataType = '';
protected $potentiallyThresholdedRequestsPerHourType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus::class;
protected $potentiallyThresholdedRequestsPerHourDataType = '';
protected $serverErrorsPerProjectPerHourType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus::class;
protected $serverErrorsPerProjectPerHourDataType = '';
protected $tokensPerDayType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus::class;
protected $tokensPerDayDataType = '';
protected $tokensPerHourType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus::class;
protected $tokensPerHourDataType = '';
protected $tokensPerProjectPerHourType = \Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus::class;
protected $tokensPerProjectPerHourDataType = '';
/**
* @param QuotaStatus
*/
public function setConcurrentRequests(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus $concurrentRequests)
{
$this->concurrentRequests = $concurrentRequests;
}
/**
* @return QuotaStatus
*/
public function getConcurrentRequests()
{
return $this->concurrentRequests;
}
/**
* @param QuotaStatus
*/
public function setPotentiallyThresholdedRequestsPerHour(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus $potentiallyThresholdedRequestsPerHour)
{
$this->potentiallyThresholdedRequestsPerHour = $potentiallyThresholdedRequestsPerHour;
}
/**
* @return QuotaStatus
*/
public function getPotentiallyThresholdedRequestsPerHour()
{
return $this->potentiallyThresholdedRequestsPerHour;
}
/**
* @param QuotaStatus
*/
public function setServerErrorsPerProjectPerHour(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus $serverErrorsPerProjectPerHour)
{
$this->serverErrorsPerProjectPerHour = $serverErrorsPerProjectPerHour;
}
/**
* @return QuotaStatus
*/
public function getServerErrorsPerProjectPerHour()
{
return $this->serverErrorsPerProjectPerHour;
}
/**
* @param QuotaStatus
*/
public function setTokensPerDay(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus $tokensPerDay)
{
$this->tokensPerDay = $tokensPerDay;
}
/**
* @return QuotaStatus
*/
public function getTokensPerDay()
{
return $this->tokensPerDay;
}
/**
* @param QuotaStatus
*/
public function setTokensPerHour(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus $tokensPerHour)
{
$this->tokensPerHour = $tokensPerHour;
}
/**
* @return QuotaStatus
*/
public function getTokensPerHour()
{
return $this->tokensPerHour;
}
/**
* @param QuotaStatus
*/
public function setTokensPerProjectPerHour(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QuotaStatus $tokensPerProjectPerHour)
{
$this->tokensPerProjectPerHour = $tokensPerProjectPerHour;
}
/**
* @return QuotaStatus
*/
public function getTokensPerProjectPerHour()
{
return $this->tokensPerProjectPerHour;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\PropertyQuota::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_PropertyQuota');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Site_Kit_Dependencies\Google\Service\AnalyticsData;
class QueryAudienceExportRequest extends \Google\Site_Kit_Dependencies\Google\Model
{
/**
* @var string
*/
public $limit;
/**
* @var string
*/
public $offset;
/**
* @param string
*/
public function setLimit($limit)
{
$this->limit = $limit;
}
/**
* @return string
*/
public function getLimit()
{
return $this->limit;
}
/**
* @param string
*/
public function setOffset($offset)
{
$this->offset = $offset;
}
/**
* @return string
*/
public function getOffset()
{
return $this->offset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\AnalyticsData\QueryAudienceExportRequest::class, 'Google\\Site_Kit_Dependencies\\Google_Service_AnalyticsData_QueryAudienceExportRequest');

Some files were not shown because too many files have changed in this diff Show More