update
This commit is contained in:
182
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Account.php
vendored
Normal file
182
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Account.php
vendored
Normal file
@@ -0,0 +1,182 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class Account extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
protected $childLinkType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountChildLink::class;
|
||||
protected $childLinkDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $created;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
protected $permissionsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountPermissions::class;
|
||||
protected $permissionsDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $selfLink;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $starred;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $updated;
|
||||
/**
|
||||
* @param AccountChildLink
|
||||
*/
|
||||
public function setChildLink(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountChildLink $childLink)
|
||||
{
|
||||
$this->childLink = $childLink;
|
||||
}
|
||||
/**
|
||||
* @return AccountChildLink
|
||||
*/
|
||||
public function getChildLink()
|
||||
{
|
||||
return $this->childLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCreated($created)
|
||||
{
|
||||
$this->created = $created;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCreated()
|
||||
{
|
||||
return $this->created;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param AccountPermissions
|
||||
*/
|
||||
public function setPermissions(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountPermissions $permissions)
|
||||
{
|
||||
$this->permissions = $permissions;
|
||||
}
|
||||
/**
|
||||
* @return AccountPermissions
|
||||
*/
|
||||
public function getPermissions()
|
||||
{
|
||||
return $this->permissions;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setStarred($starred)
|
||||
{
|
||||
$this->starred = $starred;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getStarred()
|
||||
{
|
||||
return $this->starred;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUpdated()
|
||||
{
|
||||
return $this->updated;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Account::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Account');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class AccountChildLink extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $href;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setHref($href)
|
||||
{
|
||||
$this->href = $href;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getHref()
|
||||
{
|
||||
return $this->href;
|
||||
}
|
||||
/**
|
||||
* @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\Analytics\AccountChildLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AccountChildLink');
|
||||
@@ -0,0 +1,43 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class AccountPermissions extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'effective';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $effective;
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setEffective($effective)
|
||||
{
|
||||
$this->effective = $effective;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getEffective()
|
||||
{
|
||||
return $this->effective;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountPermissions::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AccountPermissions');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class AccountRef extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $href;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setHref($href)
|
||||
{
|
||||
$this->href = $href;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getHref()
|
||||
{
|
||||
return $this->href;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @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\Analytics\AccountRef::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AccountRef');
|
||||
@@ -0,0 +1,167 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class AccountSummaries extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountSummary::class;
|
||||
protected $itemsDataType = 'array';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $itemsPerPage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $previousLink;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $startIndex;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalResults;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $username;
|
||||
/**
|
||||
* @param AccountSummary[]
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
/**
|
||||
* @return AccountSummary[]
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setItemsPerPage($itemsPerPage)
|
||||
{
|
||||
$this->itemsPerPage = $itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getItemsPerPage()
|
||||
{
|
||||
return $this->itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextLink($nextLink)
|
||||
{
|
||||
$this->nextLink = $nextLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextLink()
|
||||
{
|
||||
return $this->nextLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPreviousLink($previousLink)
|
||||
{
|
||||
$this->previousLink = $previousLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPreviousLink()
|
||||
{
|
||||
return $this->previousLink;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setStartIndex($startIndex)
|
||||
{
|
||||
$this->startIndex = $startIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getStartIndex()
|
||||
{
|
||||
return $this->startIndex;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setTotalResults($totalResults)
|
||||
{
|
||||
$this->totalResults = $totalResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalResults()
|
||||
{
|
||||
return $this->totalResults;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUsername($username)
|
||||
{
|
||||
$this->username = $username;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUsername()
|
||||
{
|
||||
return $this->username;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountSummaries::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AccountSummaries');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class AccountSummary extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'webProperties';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $starred;
|
||||
protected $webPropertiesType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\WebPropertySummary::class;
|
||||
protected $webPropertiesDataType = 'array';
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setStarred($starred)
|
||||
{
|
||||
$this->starred = $starred;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getStarred()
|
||||
{
|
||||
return $this->starred;
|
||||
}
|
||||
/**
|
||||
* @param WebPropertySummary[]
|
||||
*/
|
||||
public function setWebProperties($webProperties)
|
||||
{
|
||||
$this->webProperties = $webProperties;
|
||||
}
|
||||
/**
|
||||
* @return WebPropertySummary[]
|
||||
*/
|
||||
public function getWebProperties()
|
||||
{
|
||||
return $this->webProperties;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountSummary::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AccountSummary');
|
||||
@@ -0,0 +1,126 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class AccountTicket extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
protected $accountType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Account::class;
|
||||
protected $accountDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
protected $profileType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Profile::class;
|
||||
protected $profileDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $redirectUri;
|
||||
protected $webpropertyType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Webproperty::class;
|
||||
protected $webpropertyDataType = '';
|
||||
/**
|
||||
* @param Account
|
||||
*/
|
||||
public function setAccount(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Account $account)
|
||||
{
|
||||
$this->account = $account;
|
||||
}
|
||||
/**
|
||||
* @return Account
|
||||
*/
|
||||
public function getAccount()
|
||||
{
|
||||
return $this->account;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param Profile
|
||||
*/
|
||||
public function setProfile(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Profile $profile)
|
||||
{
|
||||
$this->profile = $profile;
|
||||
}
|
||||
/**
|
||||
* @return Profile
|
||||
*/
|
||||
public function getProfile()
|
||||
{
|
||||
return $this->profile;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setRedirectUri($redirectUri)
|
||||
{
|
||||
$this->redirectUri = $redirectUri;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getRedirectUri()
|
||||
{
|
||||
return $this->redirectUri;
|
||||
}
|
||||
/**
|
||||
* @param Webproperty
|
||||
*/
|
||||
public function setWebproperty(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Webproperty $webproperty)
|
||||
{
|
||||
$this->webproperty = $webproperty;
|
||||
}
|
||||
/**
|
||||
* @return Webproperty
|
||||
*/
|
||||
public function getWebproperty()
|
||||
{
|
||||
return $this->webproperty;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountTicket::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AccountTicket');
|
||||
@@ -0,0 +1,132 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class AccountTreeRequest extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $accountName;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $profileName;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $timezone;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $webpropertyName;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $websiteUrl;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAccountName($accountName)
|
||||
{
|
||||
$this->accountName = $accountName;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAccountName()
|
||||
{
|
||||
return $this->accountName;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setProfileName($profileName)
|
||||
{
|
||||
$this->profileName = $profileName;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getProfileName()
|
||||
{
|
||||
return $this->profileName;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setTimezone($timezone)
|
||||
{
|
||||
$this->timezone = $timezone;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getTimezone()
|
||||
{
|
||||
return $this->timezone;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setWebpropertyName($webpropertyName)
|
||||
{
|
||||
$this->webpropertyName = $webpropertyName;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getWebpropertyName()
|
||||
{
|
||||
return $this->webpropertyName;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setWebsiteUrl($websiteUrl)
|
||||
{
|
||||
$this->websiteUrl = $websiteUrl;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getWebsiteUrl()
|
||||
{
|
||||
return $this->websiteUrl;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountTreeRequest::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AccountTreeRequest');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class AccountTreeResponse extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
protected $accountType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Account::class;
|
||||
protected $accountDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
protected $profileType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Profile::class;
|
||||
protected $profileDataType = '';
|
||||
protected $webpropertyType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Webproperty::class;
|
||||
protected $webpropertyDataType = '';
|
||||
/**
|
||||
* @param Account
|
||||
*/
|
||||
public function setAccount(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Account $account)
|
||||
{
|
||||
$this->account = $account;
|
||||
}
|
||||
/**
|
||||
* @return Account
|
||||
*/
|
||||
public function getAccount()
|
||||
{
|
||||
return $this->account;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param Profile
|
||||
*/
|
||||
public function setProfile(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Profile $profile)
|
||||
{
|
||||
$this->profile = $profile;
|
||||
}
|
||||
/**
|
||||
* @return Profile
|
||||
*/
|
||||
public function getProfile()
|
||||
{
|
||||
return $this->profile;
|
||||
}
|
||||
/**
|
||||
* @param Webproperty
|
||||
*/
|
||||
public function setWebproperty(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Webproperty $webproperty)
|
||||
{
|
||||
$this->webproperty = $webproperty;
|
||||
}
|
||||
/**
|
||||
* @return Webproperty
|
||||
*/
|
||||
public function getWebproperty()
|
||||
{
|
||||
return $this->webproperty;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountTreeResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AccountTreeResponse');
|
||||
167
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Accounts.php
vendored
Normal file
167
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Accounts.php
vendored
Normal file
@@ -0,0 +1,167 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class Accounts extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Account::class;
|
||||
protected $itemsDataType = 'array';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $itemsPerPage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $previousLink;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $startIndex;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalResults;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $username;
|
||||
/**
|
||||
* @param Account[]
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
/**
|
||||
* @return Account[]
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setItemsPerPage($itemsPerPage)
|
||||
{
|
||||
$this->itemsPerPage = $itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getItemsPerPage()
|
||||
{
|
||||
return $this->itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextLink($nextLink)
|
||||
{
|
||||
$this->nextLink = $nextLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextLink()
|
||||
{
|
||||
return $this->nextLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPreviousLink($previousLink)
|
||||
{
|
||||
$this->previousLink = $previousLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPreviousLink()
|
||||
{
|
||||
return $this->previousLink;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setStartIndex($startIndex)
|
||||
{
|
||||
$this->startIndex = $startIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getStartIndex()
|
||||
{
|
||||
return $this->startIndex;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setTotalResults($totalResults)
|
||||
{
|
||||
$this->totalResults = $totalResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalResults()
|
||||
{
|
||||
return $this->totalResults;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUsername($username)
|
||||
{
|
||||
$this->username = $username;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUsername()
|
||||
{
|
||||
return $this->username;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Accounts::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Accounts');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class AdWordsAccount extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $autoTaggingEnabled;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $customerId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setAutoTaggingEnabled($autoTaggingEnabled)
|
||||
{
|
||||
$this->autoTaggingEnabled = $autoTaggingEnabled;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getAutoTaggingEnabled()
|
||||
{
|
||||
return $this->autoTaggingEnabled;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCustomerId($customerId)
|
||||
{
|
||||
$this->customerId = $customerId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCustomerId()
|
||||
{
|
||||
return $this->customerId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AdWordsAccount::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AdWordsAccount');
|
||||
@@ -0,0 +1,43 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class AnalyticsDataimportDeleteUploadDataRequest extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'customDataImportUids';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $customDataImportUids;
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setCustomDataImportUids($customDataImportUids)
|
||||
{
|
||||
$this->customDataImportUids = $customDataImportUids;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getCustomDataImportUids()
|
||||
{
|
||||
return $this->customDataImportUids;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AnalyticsDataimportDeleteUploadDataRequest::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class Column extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $attributes;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setAttributes($attributes)
|
||||
{
|
||||
$this->attributes = $attributes;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getAttributes()
|
||||
{
|
||||
return $this->attributes;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Column::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Column');
|
||||
113
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Columns.php
vendored
Normal file
113
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Columns.php
vendored
Normal 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\Analytics;
|
||||
|
||||
class Columns extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $attributeNames;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $etag;
|
||||
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Column::class;
|
||||
protected $itemsDataType = 'array';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalResults;
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setAttributeNames($attributeNames)
|
||||
{
|
||||
$this->attributeNames = $attributeNames;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getAttributeNames()
|
||||
{
|
||||
return $this->attributeNames;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
/**
|
||||
* @param Column[]
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
/**
|
||||
* @return Column[]
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setTotalResults($totalResults)
|
||||
{
|
||||
$this->totalResults = $totalResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalResults()
|
||||
{
|
||||
return $this->totalResults;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Columns::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Columns');
|
||||
@@ -0,0 +1,309 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class CustomDataSource extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'schema';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $accountId;
|
||||
protected $childLinkType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDataSourceChildLink::class;
|
||||
protected $childLinkDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $created;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $description;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $importBehavior;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
protected $parentLinkType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDataSourceParentLink::class;
|
||||
protected $parentLinkDataType = '';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $profilesLinked;
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $schema;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $selfLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $updated;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $uploadType;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $webPropertyId;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAccountId($accountId)
|
||||
{
|
||||
$this->accountId = $accountId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAccountId()
|
||||
{
|
||||
return $this->accountId;
|
||||
}
|
||||
/**
|
||||
* @param CustomDataSourceChildLink
|
||||
*/
|
||||
public function setChildLink(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDataSourceChildLink $childLink)
|
||||
{
|
||||
$this->childLink = $childLink;
|
||||
}
|
||||
/**
|
||||
* @return CustomDataSourceChildLink
|
||||
*/
|
||||
public function getChildLink()
|
||||
{
|
||||
return $this->childLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCreated($created)
|
||||
{
|
||||
$this->created = $created;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCreated()
|
||||
{
|
||||
return $this->created;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setImportBehavior($importBehavior)
|
||||
{
|
||||
$this->importBehavior = $importBehavior;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getImportBehavior()
|
||||
{
|
||||
return $this->importBehavior;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param CustomDataSourceParentLink
|
||||
*/
|
||||
public function setParentLink(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDataSourceParentLink $parentLink)
|
||||
{
|
||||
$this->parentLink = $parentLink;
|
||||
}
|
||||
/**
|
||||
* @return CustomDataSourceParentLink
|
||||
*/
|
||||
public function getParentLink()
|
||||
{
|
||||
return $this->parentLink;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setProfilesLinked($profilesLinked)
|
||||
{
|
||||
$this->profilesLinked = $profilesLinked;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getProfilesLinked()
|
||||
{
|
||||
return $this->profilesLinked;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setSchema($schema)
|
||||
{
|
||||
$this->schema = $schema;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getSchema()
|
||||
{
|
||||
return $this->schema;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUpdated()
|
||||
{
|
||||
return $this->updated;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUploadType($uploadType)
|
||||
{
|
||||
$this->uploadType = $uploadType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUploadType()
|
||||
{
|
||||
return $this->uploadType;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setWebPropertyId($webPropertyId)
|
||||
{
|
||||
$this->webPropertyId = $webPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getWebPropertyId()
|
||||
{
|
||||
return $this->webPropertyId;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDataSource::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomDataSource');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class CustomDataSourceChildLink extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $href;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setHref($href)
|
||||
{
|
||||
$this->href = $href;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getHref()
|
||||
{
|
||||
return $this->href;
|
||||
}
|
||||
/**
|
||||
* @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\Analytics\CustomDataSourceChildLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomDataSourceChildLink');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class CustomDataSourceParentLink extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $href;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setHref($href)
|
||||
{
|
||||
$this->href = $href;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getHref()
|
||||
{
|
||||
return $this->href;
|
||||
}
|
||||
/**
|
||||
* @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\Analytics\CustomDataSourceParentLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomDataSourceParentLink');
|
||||
@@ -0,0 +1,167 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class CustomDataSources extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDataSource::class;
|
||||
protected $itemsDataType = 'array';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $itemsPerPage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $previousLink;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $startIndex;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalResults;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $username;
|
||||
/**
|
||||
* @param CustomDataSource[]
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
/**
|
||||
* @return CustomDataSource[]
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setItemsPerPage($itemsPerPage)
|
||||
{
|
||||
$this->itemsPerPage = $itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getItemsPerPage()
|
||||
{
|
||||
return $this->itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextLink($nextLink)
|
||||
{
|
||||
$this->nextLink = $nextLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextLink()
|
||||
{
|
||||
return $this->nextLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPreviousLink($previousLink)
|
||||
{
|
||||
$this->previousLink = $previousLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPreviousLink()
|
||||
{
|
||||
return $this->previousLink;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setStartIndex($startIndex)
|
||||
{
|
||||
$this->startIndex = $startIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getStartIndex()
|
||||
{
|
||||
return $this->startIndex;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setTotalResults($totalResults)
|
||||
{
|
||||
$this->totalResults = $totalResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalResults()
|
||||
{
|
||||
return $this->totalResults;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUsername($username)
|
||||
{
|
||||
$this->username = $username;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUsername()
|
||||
{
|
||||
return $this->username;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDataSources::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomDataSources');
|
||||
@@ -0,0 +1,238 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class CustomDimension extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $accountId;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $active;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $created;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $index;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
protected $parentLinkType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimensionParentLink::class;
|
||||
protected $parentLinkDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $scope;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $selfLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $updated;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $webPropertyId;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAccountId($accountId)
|
||||
{
|
||||
$this->accountId = $accountId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAccountId()
|
||||
{
|
||||
return $this->accountId;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setActive($active)
|
||||
{
|
||||
$this->active = $active;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getActive()
|
||||
{
|
||||
return $this->active;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCreated($created)
|
||||
{
|
||||
$this->created = $created;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCreated()
|
||||
{
|
||||
return $this->created;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setIndex($index)
|
||||
{
|
||||
$this->index = $index;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getIndex()
|
||||
{
|
||||
return $this->index;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param CustomDimensionParentLink
|
||||
*/
|
||||
public function setParentLink(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimensionParentLink $parentLink)
|
||||
{
|
||||
$this->parentLink = $parentLink;
|
||||
}
|
||||
/**
|
||||
* @return CustomDimensionParentLink
|
||||
*/
|
||||
public function getParentLink()
|
||||
{
|
||||
return $this->parentLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setScope($scope)
|
||||
{
|
||||
$this->scope = $scope;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getScope()
|
||||
{
|
||||
return $this->scope;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUpdated()
|
||||
{
|
||||
return $this->updated;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setWebPropertyId($webPropertyId)
|
||||
{
|
||||
$this->webPropertyId = $webPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getWebPropertyId()
|
||||
{
|
||||
return $this->webPropertyId;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimension::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomDimension');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class CustomDimensionParentLink extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $href;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setHref($href)
|
||||
{
|
||||
$this->href = $href;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getHref()
|
||||
{
|
||||
return $this->href;
|
||||
}
|
||||
/**
|
||||
* @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\Analytics\CustomDimensionParentLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomDimensionParentLink');
|
||||
@@ -0,0 +1,167 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class CustomDimensions extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimension::class;
|
||||
protected $itemsDataType = 'array';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $itemsPerPage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $previousLink;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $startIndex;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalResults;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $username;
|
||||
/**
|
||||
* @param CustomDimension[]
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
/**
|
||||
* @return CustomDimension[]
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setItemsPerPage($itemsPerPage)
|
||||
{
|
||||
$this->itemsPerPage = $itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getItemsPerPage()
|
||||
{
|
||||
return $this->itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextLink($nextLink)
|
||||
{
|
||||
$this->nextLink = $nextLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextLink()
|
||||
{
|
||||
return $this->nextLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPreviousLink($previousLink)
|
||||
{
|
||||
$this->previousLink = $previousLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPreviousLink()
|
||||
{
|
||||
return $this->previousLink;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setStartIndex($startIndex)
|
||||
{
|
||||
$this->startIndex = $startIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getStartIndex()
|
||||
{
|
||||
return $this->startIndex;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setTotalResults($totalResults)
|
||||
{
|
||||
$this->totalResults = $totalResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalResults()
|
||||
{
|
||||
return $this->totalResults;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUsername($username)
|
||||
{
|
||||
$this->username = $username;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUsername()
|
||||
{
|
||||
return $this->username;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimensions::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomDimensions');
|
||||
@@ -0,0 +1,293 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class CustomMetric extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
protected $internal_gapi_mappings = ["maxValue" => "max_value", "minValue" => "min_value"];
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $accountId;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $active;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $created;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $index;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $maxValue;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $minValue;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
protected $parentLinkType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomMetricParentLink::class;
|
||||
protected $parentLinkDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $scope;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $selfLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $updated;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $webPropertyId;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAccountId($accountId)
|
||||
{
|
||||
$this->accountId = $accountId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAccountId()
|
||||
{
|
||||
return $this->accountId;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setActive($active)
|
||||
{
|
||||
$this->active = $active;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getActive()
|
||||
{
|
||||
return $this->active;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCreated($created)
|
||||
{
|
||||
$this->created = $created;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCreated()
|
||||
{
|
||||
return $this->created;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setIndex($index)
|
||||
{
|
||||
$this->index = $index;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getIndex()
|
||||
{
|
||||
return $this->index;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setMaxValue($maxValue)
|
||||
{
|
||||
$this->maxValue = $maxValue;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getMaxValue()
|
||||
{
|
||||
return $this->maxValue;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setMinValue($minValue)
|
||||
{
|
||||
$this->minValue = $minValue;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getMinValue()
|
||||
{
|
||||
return $this->minValue;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param CustomMetricParentLink
|
||||
*/
|
||||
public function setParentLink(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomMetricParentLink $parentLink)
|
||||
{
|
||||
$this->parentLink = $parentLink;
|
||||
}
|
||||
/**
|
||||
* @return CustomMetricParentLink
|
||||
*/
|
||||
public function getParentLink()
|
||||
{
|
||||
return $this->parentLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setScope($scope)
|
||||
{
|
||||
$this->scope = $scope;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getScope()
|
||||
{
|
||||
return $this->scope;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUpdated()
|
||||
{
|
||||
return $this->updated;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setWebPropertyId($webPropertyId)
|
||||
{
|
||||
$this->webPropertyId = $webPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getWebPropertyId()
|
||||
{
|
||||
return $this->webPropertyId;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomMetric::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomMetric');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class CustomMetricParentLink extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $href;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setHref($href)
|
||||
{
|
||||
$this->href = $href;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getHref()
|
||||
{
|
||||
return $this->href;
|
||||
}
|
||||
/**
|
||||
* @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\Analytics\CustomMetricParentLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomMetricParentLink');
|
||||
@@ -0,0 +1,167 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class CustomMetrics extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomMetric::class;
|
||||
protected $itemsDataType = 'array';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $itemsPerPage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $previousLink;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $startIndex;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalResults;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $username;
|
||||
/**
|
||||
* @param CustomMetric[]
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
/**
|
||||
* @return CustomMetric[]
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setItemsPerPage($itemsPerPage)
|
||||
{
|
||||
$this->itemsPerPage = $itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getItemsPerPage()
|
||||
{
|
||||
return $this->itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextLink($nextLink)
|
||||
{
|
||||
$this->nextLink = $nextLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextLink()
|
||||
{
|
||||
return $this->nextLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPreviousLink($previousLink)
|
||||
{
|
||||
$this->previousLink = $previousLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPreviousLink()
|
||||
{
|
||||
return $this->previousLink;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setStartIndex($startIndex)
|
||||
{
|
||||
$this->startIndex = $startIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getStartIndex()
|
||||
{
|
||||
return $this->startIndex;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setTotalResults($totalResults)
|
||||
{
|
||||
$this->totalResults = $totalResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalResults()
|
||||
{
|
||||
return $this->totalResults;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUsername($username)
|
||||
{
|
||||
$this->username = $username;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUsername()
|
||||
{
|
||||
return $this->username;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomMetrics::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_CustomMetrics');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class EntityAdWordsLink extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'profileIds';
|
||||
protected $adWordsAccountsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\AdWordsAccount::class;
|
||||
protected $adWordsAccountsDataType = 'array';
|
||||
protected $entityType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityAdWordsLinkEntity::class;
|
||||
protected $entityDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $profileIds;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $selfLink;
|
||||
/**
|
||||
* @param AdWordsAccount[]
|
||||
*/
|
||||
public function setAdWordsAccounts($adWordsAccounts)
|
||||
{
|
||||
$this->adWordsAccounts = $adWordsAccounts;
|
||||
}
|
||||
/**
|
||||
* @return AdWordsAccount[]
|
||||
*/
|
||||
public function getAdWordsAccounts()
|
||||
{
|
||||
return $this->adWordsAccounts;
|
||||
}
|
||||
/**
|
||||
* @param EntityAdWordsLinkEntity
|
||||
*/
|
||||
public function setEntity(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityAdWordsLinkEntity $entity)
|
||||
{
|
||||
$this->entity = $entity;
|
||||
}
|
||||
/**
|
||||
* @return EntityAdWordsLinkEntity
|
||||
*/
|
||||
public function getEntity()
|
||||
{
|
||||
return $this->entity;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setProfileIds($profileIds)
|
||||
{
|
||||
$this->profileIds = $profileIds;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getProfileIds()
|
||||
{
|
||||
return $this->profileIds;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityAdWordsLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_EntityAdWordsLink');
|
||||
@@ -0,0 +1,40 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class EntityAdWordsLinkEntity extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
protected $webPropertyRefType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\WebPropertyRef::class;
|
||||
protected $webPropertyRefDataType = '';
|
||||
/**
|
||||
* @param WebPropertyRef
|
||||
*/
|
||||
public function setWebPropertyRef(\Google\Site_Kit_Dependencies\Google\Service\Analytics\WebPropertyRef $webPropertyRef)
|
||||
{
|
||||
$this->webPropertyRef = $webPropertyRef;
|
||||
}
|
||||
/**
|
||||
* @return WebPropertyRef
|
||||
*/
|
||||
public function getWebPropertyRef()
|
||||
{
|
||||
return $this->webPropertyRef;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityAdWordsLinkEntity::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_EntityAdWordsLinkEntity');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class EntityAdWordsLinks extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityAdWordsLink::class;
|
||||
protected $itemsDataType = 'array';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $itemsPerPage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $previousLink;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $startIndex;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalResults;
|
||||
/**
|
||||
* @param EntityAdWordsLink[]
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
/**
|
||||
* @return EntityAdWordsLink[]
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setItemsPerPage($itemsPerPage)
|
||||
{
|
||||
$this->itemsPerPage = $itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getItemsPerPage()
|
||||
{
|
||||
return $this->itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextLink($nextLink)
|
||||
{
|
||||
$this->nextLink = $nextLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextLink()
|
||||
{
|
||||
return $this->nextLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPreviousLink($previousLink)
|
||||
{
|
||||
$this->previousLink = $previousLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPreviousLink()
|
||||
{
|
||||
return $this->previousLink;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setStartIndex($startIndex)
|
||||
{
|
||||
$this->startIndex = $startIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getStartIndex()
|
||||
{
|
||||
return $this->startIndex;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setTotalResults($totalResults)
|
||||
{
|
||||
$this->totalResults = $totalResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalResults()
|
||||
{
|
||||
return $this->totalResults;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityAdWordsLinks::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_EntityAdWordsLinks');
|
||||
@@ -0,0 +1,126 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class EntityUserLink extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
protected $entityType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLinkEntity::class;
|
||||
protected $entityDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
protected $permissionsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLinkPermissions::class;
|
||||
protected $permissionsDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $selfLink;
|
||||
protected $userRefType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\UserRef::class;
|
||||
protected $userRefDataType = '';
|
||||
/**
|
||||
* @param EntityUserLinkEntity
|
||||
*/
|
||||
public function setEntity(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLinkEntity $entity)
|
||||
{
|
||||
$this->entity = $entity;
|
||||
}
|
||||
/**
|
||||
* @return EntityUserLinkEntity
|
||||
*/
|
||||
public function getEntity()
|
||||
{
|
||||
return $this->entity;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param EntityUserLinkPermissions
|
||||
*/
|
||||
public function setPermissions(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLinkPermissions $permissions)
|
||||
{
|
||||
$this->permissions = $permissions;
|
||||
}
|
||||
/**
|
||||
* @return EntityUserLinkPermissions
|
||||
*/
|
||||
public function getPermissions()
|
||||
{
|
||||
return $this->permissions;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
/**
|
||||
* @param UserRef
|
||||
*/
|
||||
public function setUserRef(\Google\Site_Kit_Dependencies\Google\Service\Analytics\UserRef $userRef)
|
||||
{
|
||||
$this->userRef = $userRef;
|
||||
}
|
||||
/**
|
||||
* @return UserRef
|
||||
*/
|
||||
public function getUserRef()
|
||||
{
|
||||
return $this->userRef;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_EntityUserLink');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class EntityUserLinkEntity extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
protected $accountRefType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountRef::class;
|
||||
protected $accountRefDataType = '';
|
||||
protected $profileRefType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\ProfileRef::class;
|
||||
protected $profileRefDataType = '';
|
||||
protected $webPropertyRefType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\WebPropertyRef::class;
|
||||
protected $webPropertyRefDataType = '';
|
||||
/**
|
||||
* @param AccountRef
|
||||
*/
|
||||
public function setAccountRef(\Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountRef $accountRef)
|
||||
{
|
||||
$this->accountRef = $accountRef;
|
||||
}
|
||||
/**
|
||||
* @return AccountRef
|
||||
*/
|
||||
public function getAccountRef()
|
||||
{
|
||||
return $this->accountRef;
|
||||
}
|
||||
/**
|
||||
* @param ProfileRef
|
||||
*/
|
||||
public function setProfileRef(\Google\Site_Kit_Dependencies\Google\Service\Analytics\ProfileRef $profileRef)
|
||||
{
|
||||
$this->profileRef = $profileRef;
|
||||
}
|
||||
/**
|
||||
* @return ProfileRef
|
||||
*/
|
||||
public function getProfileRef()
|
||||
{
|
||||
return $this->profileRef;
|
||||
}
|
||||
/**
|
||||
* @param WebPropertyRef
|
||||
*/
|
||||
public function setWebPropertyRef(\Google\Site_Kit_Dependencies\Google\Service\Analytics\WebPropertyRef $webPropertyRef)
|
||||
{
|
||||
$this->webPropertyRef = $webPropertyRef;
|
||||
}
|
||||
/**
|
||||
* @return WebPropertyRef
|
||||
*/
|
||||
public function getWebPropertyRef()
|
||||
{
|
||||
return $this->webPropertyRef;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLinkEntity::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_EntityUserLinkEntity');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class EntityUserLinkPermissions extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'local';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $effective;
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $local;
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setEffective($effective)
|
||||
{
|
||||
$this->effective = $effective;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getEffective()
|
||||
{
|
||||
return $this->effective;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setLocal($local)
|
||||
{
|
||||
$this->local = $local;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getLocal()
|
||||
{
|
||||
return $this->local;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLinkPermissions::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_EntityUserLinkPermissions');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class EntityUserLinks extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLink::class;
|
||||
protected $itemsDataType = 'array';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $itemsPerPage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $previousLink;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $startIndex;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalResults;
|
||||
/**
|
||||
* @param EntityUserLink[]
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
/**
|
||||
* @return EntityUserLink[]
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setItemsPerPage($itemsPerPage)
|
||||
{
|
||||
$this->itemsPerPage = $itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getItemsPerPage()
|
||||
{
|
||||
return $this->itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextLink($nextLink)
|
||||
{
|
||||
$this->nextLink = $nextLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextLink()
|
||||
{
|
||||
return $this->nextLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPreviousLink($previousLink)
|
||||
{
|
||||
$this->previousLink = $previousLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPreviousLink()
|
||||
{
|
||||
return $this->previousLink;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setStartIndex($startIndex)
|
||||
{
|
||||
$this->startIndex = $startIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getStartIndex()
|
||||
{
|
||||
return $this->startIndex;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setTotalResults($totalResults)
|
||||
{
|
||||
$this->totalResults = $totalResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalResults()
|
||||
{
|
||||
return $this->totalResults;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLinks::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_EntityUserLinks');
|
||||
@@ -0,0 +1,507 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class Experiment extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'variations';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $accountId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $created;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $description;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $editableInGaUi;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $endTime;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $equalWeighting;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $internalWebPropertyId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $minimumExperimentLengthInDays;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $objectiveMetric;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $optimizationType;
|
||||
protected $parentLinkType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\ExperimentParentLink::class;
|
||||
protected $parentLinkDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $profileId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $reasonExperimentEnded;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $rewriteVariationUrlsAsOriginal;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $selfLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $servingFramework;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $snippet;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $startTime;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $status;
|
||||
public $trafficCoverage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $updated;
|
||||
protected $variationsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\ExperimentVariations::class;
|
||||
protected $variationsDataType = 'array';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $webPropertyId;
|
||||
public $winnerConfidenceLevel;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $winnerFound;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAccountId($accountId)
|
||||
{
|
||||
$this->accountId = $accountId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAccountId()
|
||||
{
|
||||
return $this->accountId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCreated($created)
|
||||
{
|
||||
$this->created = $created;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCreated()
|
||||
{
|
||||
return $this->created;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setEditableInGaUi($editableInGaUi)
|
||||
{
|
||||
$this->editableInGaUi = $editableInGaUi;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getEditableInGaUi()
|
||||
{
|
||||
return $this->editableInGaUi;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->endTime = $endTime;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getEndTime()
|
||||
{
|
||||
return $this->endTime;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setEqualWeighting($equalWeighting)
|
||||
{
|
||||
$this->equalWeighting = $equalWeighting;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getEqualWeighting()
|
||||
{
|
||||
return $this->equalWeighting;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setInternalWebPropertyId($internalWebPropertyId)
|
||||
{
|
||||
$this->internalWebPropertyId = $internalWebPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getInternalWebPropertyId()
|
||||
{
|
||||
return $this->internalWebPropertyId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays)
|
||||
{
|
||||
$this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getMinimumExperimentLengthInDays()
|
||||
{
|
||||
return $this->minimumExperimentLengthInDays;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setObjectiveMetric($objectiveMetric)
|
||||
{
|
||||
$this->objectiveMetric = $objectiveMetric;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getObjectiveMetric()
|
||||
{
|
||||
return $this->objectiveMetric;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setOptimizationType($optimizationType)
|
||||
{
|
||||
$this->optimizationType = $optimizationType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getOptimizationType()
|
||||
{
|
||||
return $this->optimizationType;
|
||||
}
|
||||
/**
|
||||
* @param ExperimentParentLink
|
||||
*/
|
||||
public function setParentLink(\Google\Site_Kit_Dependencies\Google\Service\Analytics\ExperimentParentLink $parentLink)
|
||||
{
|
||||
$this->parentLink = $parentLink;
|
||||
}
|
||||
/**
|
||||
* @return ExperimentParentLink
|
||||
*/
|
||||
public function getParentLink()
|
||||
{
|
||||
return $this->parentLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setProfileId($profileId)
|
||||
{
|
||||
$this->profileId = $profileId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getProfileId()
|
||||
{
|
||||
return $this->profileId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setReasonExperimentEnded($reasonExperimentEnded)
|
||||
{
|
||||
$this->reasonExperimentEnded = $reasonExperimentEnded;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getReasonExperimentEnded()
|
||||
{
|
||||
return $this->reasonExperimentEnded;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal)
|
||||
{
|
||||
$this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getRewriteVariationUrlsAsOriginal()
|
||||
{
|
||||
return $this->rewriteVariationUrlsAsOriginal;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setServingFramework($servingFramework)
|
||||
{
|
||||
$this->servingFramework = $servingFramework;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getServingFramework()
|
||||
{
|
||||
return $this->servingFramework;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSnippet($snippet)
|
||||
{
|
||||
$this->snippet = $snippet;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSnippet()
|
||||
{
|
||||
return $this->snippet;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->startTime = $startTime;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getStartTime()
|
||||
{
|
||||
return $this->startTime;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
public function setTrafficCoverage($trafficCoverage)
|
||||
{
|
||||
$this->trafficCoverage = $trafficCoverage;
|
||||
}
|
||||
public function getTrafficCoverage()
|
||||
{
|
||||
return $this->trafficCoverage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUpdated()
|
||||
{
|
||||
return $this->updated;
|
||||
}
|
||||
/**
|
||||
* @param ExperimentVariations[]
|
||||
*/
|
||||
public function setVariations($variations)
|
||||
{
|
||||
$this->variations = $variations;
|
||||
}
|
||||
/**
|
||||
* @return ExperimentVariations[]
|
||||
*/
|
||||
public function getVariations()
|
||||
{
|
||||
return $this->variations;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setWebPropertyId($webPropertyId)
|
||||
{
|
||||
$this->webPropertyId = $webPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getWebPropertyId()
|
||||
{
|
||||
return $this->webPropertyId;
|
||||
}
|
||||
public function setWinnerConfidenceLevel($winnerConfidenceLevel)
|
||||
{
|
||||
$this->winnerConfidenceLevel = $winnerConfidenceLevel;
|
||||
}
|
||||
public function getWinnerConfidenceLevel()
|
||||
{
|
||||
return $this->winnerConfidenceLevel;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setWinnerFound($winnerFound)
|
||||
{
|
||||
$this->winnerFound = $winnerFound;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getWinnerFound()
|
||||
{
|
||||
return $this->winnerFound;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Experiment::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Experiment');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class ExperimentParentLink extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $href;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setHref($href)
|
||||
{
|
||||
$this->href = $href;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getHref()
|
||||
{
|
||||
return $this->href;
|
||||
}
|
||||
/**
|
||||
* @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\Analytics\ExperimentParentLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_ExperimentParentLink');
|
||||
@@ -0,0 +1,105 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class ExperimentVariations extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $status;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $url;
|
||||
public $weight;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $won;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
public function setWeight($weight)
|
||||
{
|
||||
$this->weight = $weight;
|
||||
}
|
||||
public function getWeight()
|
||||
{
|
||||
return $this->weight;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setWon($won)
|
||||
{
|
||||
$this->won = $won;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getWon()
|
||||
{
|
||||
return $this->won;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\ExperimentVariations::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_ExperimentVariations');
|
||||
@@ -0,0 +1,167 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class Experiments extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Experiment::class;
|
||||
protected $itemsDataType = 'array';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $itemsPerPage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $previousLink;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $startIndex;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalResults;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $username;
|
||||
/**
|
||||
* @param Experiment[]
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
/**
|
||||
* @return Experiment[]
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setItemsPerPage($itemsPerPage)
|
||||
{
|
||||
$this->itemsPerPage = $itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getItemsPerPage()
|
||||
{
|
||||
return $this->itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextLink($nextLink)
|
||||
{
|
||||
$this->nextLink = $nextLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextLink()
|
||||
{
|
||||
return $this->nextLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPreviousLink($previousLink)
|
||||
{
|
||||
$this->previousLink = $previousLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPreviousLink()
|
||||
{
|
||||
return $this->previousLink;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setStartIndex($startIndex)
|
||||
{
|
||||
$this->startIndex = $startIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getStartIndex()
|
||||
{
|
||||
return $this->startIndex;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setTotalResults($totalResults)
|
||||
{
|
||||
$this->totalResults = $totalResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalResults()
|
||||
{
|
||||
return $this->totalResults;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUsername($username)
|
||||
{
|
||||
$this->username = $username;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUsername()
|
||||
{
|
||||
return $this->username;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Experiments::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Experiments');
|
||||
280
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Filter.php
vendored
Normal file
280
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Filter.php
vendored
Normal file
@@ -0,0 +1,280 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class Filter extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $accountId;
|
||||
protected $advancedDetailsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterAdvancedDetails::class;
|
||||
protected $advancedDetailsDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $created;
|
||||
protected $excludeDetailsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterExpression::class;
|
||||
protected $excludeDetailsDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
protected $includeDetailsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterExpression::class;
|
||||
protected $includeDetailsDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
protected $lowercaseDetailsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterLowercaseDetails::class;
|
||||
protected $lowercaseDetailsDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
protected $parentLinkType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterParentLink::class;
|
||||
protected $parentLinkDataType = '';
|
||||
protected $searchAndReplaceDetailsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterSearchAndReplaceDetails::class;
|
||||
protected $searchAndReplaceDetailsDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $selfLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $updated;
|
||||
protected $uppercaseDetailsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterUppercaseDetails::class;
|
||||
protected $uppercaseDetailsDataType = '';
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAccountId($accountId)
|
||||
{
|
||||
$this->accountId = $accountId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAccountId()
|
||||
{
|
||||
return $this->accountId;
|
||||
}
|
||||
/**
|
||||
* @param FilterAdvancedDetails
|
||||
*/
|
||||
public function setAdvancedDetails(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterAdvancedDetails $advancedDetails)
|
||||
{
|
||||
$this->advancedDetails = $advancedDetails;
|
||||
}
|
||||
/**
|
||||
* @return FilterAdvancedDetails
|
||||
*/
|
||||
public function getAdvancedDetails()
|
||||
{
|
||||
return $this->advancedDetails;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCreated($created)
|
||||
{
|
||||
$this->created = $created;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCreated()
|
||||
{
|
||||
return $this->created;
|
||||
}
|
||||
/**
|
||||
* @param FilterExpression
|
||||
*/
|
||||
public function setExcludeDetails(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterExpression $excludeDetails)
|
||||
{
|
||||
$this->excludeDetails = $excludeDetails;
|
||||
}
|
||||
/**
|
||||
* @return FilterExpression
|
||||
*/
|
||||
public function getExcludeDetails()
|
||||
{
|
||||
return $this->excludeDetails;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param FilterExpression
|
||||
*/
|
||||
public function setIncludeDetails(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterExpression $includeDetails)
|
||||
{
|
||||
$this->includeDetails = $includeDetails;
|
||||
}
|
||||
/**
|
||||
* @return FilterExpression
|
||||
*/
|
||||
public function getIncludeDetails()
|
||||
{
|
||||
return $this->includeDetails;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param FilterLowercaseDetails
|
||||
*/
|
||||
public function setLowercaseDetails(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterLowercaseDetails $lowercaseDetails)
|
||||
{
|
||||
$this->lowercaseDetails = $lowercaseDetails;
|
||||
}
|
||||
/**
|
||||
* @return FilterLowercaseDetails
|
||||
*/
|
||||
public function getLowercaseDetails()
|
||||
{
|
||||
return $this->lowercaseDetails;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param FilterParentLink
|
||||
*/
|
||||
public function setParentLink(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterParentLink $parentLink)
|
||||
{
|
||||
$this->parentLink = $parentLink;
|
||||
}
|
||||
/**
|
||||
* @return FilterParentLink
|
||||
*/
|
||||
public function getParentLink()
|
||||
{
|
||||
return $this->parentLink;
|
||||
}
|
||||
/**
|
||||
* @param FilterSearchAndReplaceDetails
|
||||
*/
|
||||
public function setSearchAndReplaceDetails(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterSearchAndReplaceDetails $searchAndReplaceDetails)
|
||||
{
|
||||
$this->searchAndReplaceDetails = $searchAndReplaceDetails;
|
||||
}
|
||||
/**
|
||||
* @return FilterSearchAndReplaceDetails
|
||||
*/
|
||||
public function getSearchAndReplaceDetails()
|
||||
{
|
||||
return $this->searchAndReplaceDetails;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUpdated()
|
||||
{
|
||||
return $this->updated;
|
||||
}
|
||||
/**
|
||||
* @param FilterUppercaseDetails
|
||||
*/
|
||||
public function setUppercaseDetails(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterUppercaseDetails $uppercaseDetails)
|
||||
{
|
||||
$this->uppercaseDetails = $uppercaseDetails;
|
||||
}
|
||||
/**
|
||||
* @return FilterUppercaseDetails
|
||||
*/
|
||||
public function getUppercaseDetails()
|
||||
{
|
||||
return $this->uppercaseDetails;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Filter::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Filter');
|
||||
@@ -0,0 +1,258 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class FilterAdvancedDetails extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $caseSensitive;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $extractA;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $extractB;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $fieldA;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $fieldAIndex;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $fieldARequired;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $fieldB;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $fieldBIndex;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $fieldBRequired;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $outputConstructor;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $outputToField;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $outputToFieldIndex;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $overrideOutputField;
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setCaseSensitive($caseSensitive)
|
||||
{
|
||||
$this->caseSensitive = $caseSensitive;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getCaseSensitive()
|
||||
{
|
||||
return $this->caseSensitive;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setExtractA($extractA)
|
||||
{
|
||||
$this->extractA = $extractA;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getExtractA()
|
||||
{
|
||||
return $this->extractA;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setExtractB($extractB)
|
||||
{
|
||||
$this->extractB = $extractB;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getExtractB()
|
||||
{
|
||||
return $this->extractB;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setFieldA($fieldA)
|
||||
{
|
||||
$this->fieldA = $fieldA;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getFieldA()
|
||||
{
|
||||
return $this->fieldA;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setFieldAIndex($fieldAIndex)
|
||||
{
|
||||
$this->fieldAIndex = $fieldAIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getFieldAIndex()
|
||||
{
|
||||
return $this->fieldAIndex;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setFieldARequired($fieldARequired)
|
||||
{
|
||||
$this->fieldARequired = $fieldARequired;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getFieldARequired()
|
||||
{
|
||||
return $this->fieldARequired;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setFieldB($fieldB)
|
||||
{
|
||||
$this->fieldB = $fieldB;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getFieldB()
|
||||
{
|
||||
return $this->fieldB;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setFieldBIndex($fieldBIndex)
|
||||
{
|
||||
$this->fieldBIndex = $fieldBIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getFieldBIndex()
|
||||
{
|
||||
return $this->fieldBIndex;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setFieldBRequired($fieldBRequired)
|
||||
{
|
||||
$this->fieldBRequired = $fieldBRequired;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getFieldBRequired()
|
||||
{
|
||||
return $this->fieldBRequired;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setOutputConstructor($outputConstructor)
|
||||
{
|
||||
$this->outputConstructor = $outputConstructor;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getOutputConstructor()
|
||||
{
|
||||
return $this->outputConstructor;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setOutputToField($outputToField)
|
||||
{
|
||||
$this->outputToField = $outputToField;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getOutputToField()
|
||||
{
|
||||
return $this->outputToField;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setOutputToFieldIndex($outputToFieldIndex)
|
||||
{
|
||||
$this->outputToFieldIndex = $outputToFieldIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getOutputToFieldIndex()
|
||||
{
|
||||
return $this->outputToFieldIndex;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setOverrideOutputField($overrideOutputField)
|
||||
{
|
||||
$this->overrideOutputField = $overrideOutputField;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getOverrideOutputField()
|
||||
{
|
||||
return $this->overrideOutputField;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterAdvancedDetails::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_FilterAdvancedDetails');
|
||||
@@ -0,0 +1,132 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class FilterExpression extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $caseSensitive;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $expressionValue;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $field;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $fieldIndex;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $matchType;
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setCaseSensitive($caseSensitive)
|
||||
{
|
||||
$this->caseSensitive = $caseSensitive;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getCaseSensitive()
|
||||
{
|
||||
return $this->caseSensitive;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setExpressionValue($expressionValue)
|
||||
{
|
||||
$this->expressionValue = $expressionValue;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getExpressionValue()
|
||||
{
|
||||
return $this->expressionValue;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setField($field)
|
||||
{
|
||||
$this->field = $field;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getField()
|
||||
{
|
||||
return $this->field;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setFieldIndex($fieldIndex)
|
||||
{
|
||||
$this->fieldIndex = $fieldIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getFieldIndex()
|
||||
{
|
||||
return $this->fieldIndex;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setMatchType($matchType)
|
||||
{
|
||||
$this->matchType = $matchType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getMatchType()
|
||||
{
|
||||
return $this->matchType;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterExpression::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_FilterExpression');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class FilterLowercaseDetails extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $field;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $fieldIndex;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setField($field)
|
||||
{
|
||||
$this->field = $field;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getField()
|
||||
{
|
||||
return $this->field;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setFieldIndex($fieldIndex)
|
||||
{
|
||||
$this->fieldIndex = $fieldIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getFieldIndex()
|
||||
{
|
||||
return $this->fieldIndex;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterLowercaseDetails::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_FilterLowercaseDetails');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class FilterParentLink extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $href;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setHref($href)
|
||||
{
|
||||
$this->href = $href;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getHref()
|
||||
{
|
||||
return $this->href;
|
||||
}
|
||||
/**
|
||||
* @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\Analytics\FilterParentLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_FilterParentLink');
|
||||
114
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/FilterRef.php
vendored
Normal file
114
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/FilterRef.php
vendored
Normal 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\Analytics;
|
||||
|
||||
class FilterRef extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $accountId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $href;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAccountId($accountId)
|
||||
{
|
||||
$this->accountId = $accountId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAccountId()
|
||||
{
|
||||
return $this->accountId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setHref($href)
|
||||
{
|
||||
$this->href = $href;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getHref()
|
||||
{
|
||||
return $this->href;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @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\Analytics\FilterRef::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_FilterRef');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class FilterSearchAndReplaceDetails extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $caseSensitive;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $field;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $fieldIndex;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $replaceString;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $searchString;
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setCaseSensitive($caseSensitive)
|
||||
{
|
||||
$this->caseSensitive = $caseSensitive;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getCaseSensitive()
|
||||
{
|
||||
return $this->caseSensitive;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setField($field)
|
||||
{
|
||||
$this->field = $field;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getField()
|
||||
{
|
||||
return $this->field;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setFieldIndex($fieldIndex)
|
||||
{
|
||||
$this->fieldIndex = $fieldIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getFieldIndex()
|
||||
{
|
||||
return $this->fieldIndex;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setReplaceString($replaceString)
|
||||
{
|
||||
$this->replaceString = $replaceString;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getReplaceString()
|
||||
{
|
||||
return $this->replaceString;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSearchString($searchString)
|
||||
{
|
||||
$this->searchString = $searchString;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSearchString()
|
||||
{
|
||||
return $this->searchString;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterSearchAndReplaceDetails::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_FilterSearchAndReplaceDetails');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class FilterUppercaseDetails extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $field;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $fieldIndex;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setField($field)
|
||||
{
|
||||
$this->field = $field;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getField()
|
||||
{
|
||||
return $this->field;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setFieldIndex($fieldIndex)
|
||||
{
|
||||
$this->fieldIndex = $fieldIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getFieldIndex()
|
||||
{
|
||||
return $this->fieldIndex;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterUppercaseDetails::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_FilterUppercaseDetails');
|
||||
167
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Filters.php
vendored
Normal file
167
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Filters.php
vendored
Normal file
@@ -0,0 +1,167 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class Filters extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Filter::class;
|
||||
protected $itemsDataType = 'array';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $itemsPerPage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $previousLink;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $startIndex;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalResults;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $username;
|
||||
/**
|
||||
* @param Filter[]
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
/**
|
||||
* @return Filter[]
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setItemsPerPage($itemsPerPage)
|
||||
{
|
||||
$this->itemsPerPage = $itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getItemsPerPage()
|
||||
{
|
||||
return $this->itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextLink($nextLink)
|
||||
{
|
||||
$this->nextLink = $nextLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextLink()
|
||||
{
|
||||
return $this->nextLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPreviousLink($previousLink)
|
||||
{
|
||||
$this->previousLink = $previousLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPreviousLink()
|
||||
{
|
||||
return $this->previousLink;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setStartIndex($startIndex)
|
||||
{
|
||||
$this->startIndex = $startIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getStartIndex()
|
||||
{
|
||||
return $this->startIndex;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setTotalResults($totalResults)
|
||||
{
|
||||
$this->totalResults = $totalResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalResults()
|
||||
{
|
||||
return $this->totalResults;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUsername($username)
|
||||
{
|
||||
$this->username = $username;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUsername()
|
||||
{
|
||||
return $this->username;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Filters::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Filters');
|
||||
323
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/GaData.php
vendored
Normal file
323
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/GaData.php
vendored
Normal file
@@ -0,0 +1,323 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class GaData extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'rows';
|
||||
protected $columnHeadersType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataColumnHeaders::class;
|
||||
protected $columnHeadersDataType = 'array';
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $containsSampledData;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $dataLastRefreshed;
|
||||
protected $dataTableType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataDataTable::class;
|
||||
protected $dataTableDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $itemsPerPage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $previousLink;
|
||||
protected $profileInfoType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataProfileInfo::class;
|
||||
protected $profileInfoDataType = '';
|
||||
protected $queryType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataQuery::class;
|
||||
protected $queryDataType = '';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $rows;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $sampleSize;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $sampleSpace;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $selfLink;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalResults;
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $totalsForAllResults;
|
||||
/**
|
||||
* @param GaDataColumnHeaders[]
|
||||
*/
|
||||
public function setColumnHeaders($columnHeaders)
|
||||
{
|
||||
$this->columnHeaders = $columnHeaders;
|
||||
}
|
||||
/**
|
||||
* @return GaDataColumnHeaders[]
|
||||
*/
|
||||
public function getColumnHeaders()
|
||||
{
|
||||
return $this->columnHeaders;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setContainsSampledData($containsSampledData)
|
||||
{
|
||||
$this->containsSampledData = $containsSampledData;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getContainsSampledData()
|
||||
{
|
||||
return $this->containsSampledData;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setDataLastRefreshed($dataLastRefreshed)
|
||||
{
|
||||
$this->dataLastRefreshed = $dataLastRefreshed;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDataLastRefreshed()
|
||||
{
|
||||
return $this->dataLastRefreshed;
|
||||
}
|
||||
/**
|
||||
* @param GaDataDataTable
|
||||
*/
|
||||
public function setDataTable(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataDataTable $dataTable)
|
||||
{
|
||||
$this->dataTable = $dataTable;
|
||||
}
|
||||
/**
|
||||
* @return GaDataDataTable
|
||||
*/
|
||||
public function getDataTable()
|
||||
{
|
||||
return $this->dataTable;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setItemsPerPage($itemsPerPage)
|
||||
{
|
||||
$this->itemsPerPage = $itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getItemsPerPage()
|
||||
{
|
||||
return $this->itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextLink($nextLink)
|
||||
{
|
||||
$this->nextLink = $nextLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextLink()
|
||||
{
|
||||
return $this->nextLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPreviousLink($previousLink)
|
||||
{
|
||||
$this->previousLink = $previousLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPreviousLink()
|
||||
{
|
||||
return $this->previousLink;
|
||||
}
|
||||
/**
|
||||
* @param GaDataProfileInfo
|
||||
*/
|
||||
public function setProfileInfo(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataProfileInfo $profileInfo)
|
||||
{
|
||||
$this->profileInfo = $profileInfo;
|
||||
}
|
||||
/**
|
||||
* @return GaDataProfileInfo
|
||||
*/
|
||||
public function getProfileInfo()
|
||||
{
|
||||
return $this->profileInfo;
|
||||
}
|
||||
/**
|
||||
* @param GaDataQuery
|
||||
*/
|
||||
public function setQuery(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataQuery $query)
|
||||
{
|
||||
$this->query = $query;
|
||||
}
|
||||
/**
|
||||
* @return GaDataQuery
|
||||
*/
|
||||
public function getQuery()
|
||||
{
|
||||
return $this->query;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setRows($rows)
|
||||
{
|
||||
$this->rows = $rows;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getRows()
|
||||
{
|
||||
return $this->rows;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSampleSize($sampleSize)
|
||||
{
|
||||
$this->sampleSize = $sampleSize;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSampleSize()
|
||||
{
|
||||
return $this->sampleSize;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSampleSpace($sampleSpace)
|
||||
{
|
||||
$this->sampleSpace = $sampleSpace;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSampleSpace()
|
||||
{
|
||||
return $this->sampleSpace;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setTotalResults($totalResults)
|
||||
{
|
||||
$this->totalResults = $totalResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalResults()
|
||||
{
|
||||
return $this->totalResults;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setTotalsForAllResults($totalsForAllResults)
|
||||
{
|
||||
$this->totalsForAllResults = $totalsForAllResults;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getTotalsForAllResults()
|
||||
{
|
||||
return $this->totalsForAllResults;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaData::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GaData');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class GaDataColumnHeaders extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $columnType;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $dataType;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setColumnType($columnType)
|
||||
{
|
||||
$this->columnType = $columnType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getColumnType()
|
||||
{
|
||||
return $this->columnType;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setDataType($dataType)
|
||||
{
|
||||
$this->dataType = $dataType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDataType()
|
||||
{
|
||||
return $this->dataType;
|
||||
}
|
||||
/**
|
||||
* @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\Analytics\GaDataColumnHeaders::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GaDataColumnHeaders');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class GaDataDataTable extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'rows';
|
||||
protected $colsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataDataTableCols::class;
|
||||
protected $colsDataType = 'array';
|
||||
protected $rowsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataDataTableRows::class;
|
||||
protected $rowsDataType = 'array';
|
||||
/**
|
||||
* @param GaDataDataTableCols[]
|
||||
*/
|
||||
public function setCols($cols)
|
||||
{
|
||||
$this->cols = $cols;
|
||||
}
|
||||
/**
|
||||
* @return GaDataDataTableCols[]
|
||||
*/
|
||||
public function getCols()
|
||||
{
|
||||
return $this->cols;
|
||||
}
|
||||
/**
|
||||
* @param GaDataDataTableRows[]
|
||||
*/
|
||||
public function setRows($rows)
|
||||
{
|
||||
$this->rows = $rows;
|
||||
}
|
||||
/**
|
||||
* @return GaDataDataTableRows[]
|
||||
*/
|
||||
public function getRows()
|
||||
{
|
||||
return $this->rows;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataDataTable::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GaDataDataTable');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class GaDataDataTableCols extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $label;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setLabel($label)
|
||||
{
|
||||
$this->label = $label;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLabel()
|
||||
{
|
||||
return $this->label;
|
||||
}
|
||||
/**
|
||||
* @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\Analytics\GaDataDataTableCols::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GaDataDataTableCols');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class GaDataDataTableRows extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'c';
|
||||
protected $cType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataDataTableRowsC::class;
|
||||
protected $cDataType = 'array';
|
||||
/**
|
||||
* @param GaDataDataTableRowsC[]
|
||||
*/
|
||||
public function setC($c)
|
||||
{
|
||||
$this->c = $c;
|
||||
}
|
||||
/**
|
||||
* @return GaDataDataTableRowsC[]
|
||||
*/
|
||||
public function getC()
|
||||
{
|
||||
return $this->c;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataDataTableRows::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GaDataDataTableRows');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class GaDataDataTableRowsC extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $v;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setV($v)
|
||||
{
|
||||
$this->v = $v;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getV()
|
||||
{
|
||||
return $this->v;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataDataTableRowsC::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GaDataDataTableRowsC');
|
||||
@@ -0,0 +1,132 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class GaDataProfileInfo extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $accountId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $internalWebPropertyId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $profileId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $profileName;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $tableId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $webPropertyId;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAccountId($accountId)
|
||||
{
|
||||
$this->accountId = $accountId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAccountId()
|
||||
{
|
||||
return $this->accountId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setInternalWebPropertyId($internalWebPropertyId)
|
||||
{
|
||||
$this->internalWebPropertyId = $internalWebPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getInternalWebPropertyId()
|
||||
{
|
||||
return $this->internalWebPropertyId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setProfileId($profileId)
|
||||
{
|
||||
$this->profileId = $profileId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getProfileId()
|
||||
{
|
||||
return $this->profileId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setProfileName($profileName)
|
||||
{
|
||||
$this->profileName = $profileName;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getProfileName()
|
||||
{
|
||||
return $this->profileName;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setTableId($tableId)
|
||||
{
|
||||
$this->tableId = $tableId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getTableId()
|
||||
{
|
||||
return $this->tableId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setWebPropertyId($webPropertyId)
|
||||
{
|
||||
$this->webPropertyId = $webPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getWebPropertyId()
|
||||
{
|
||||
return $this->webPropertyId;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataProfileInfo::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GaDataProfileInfo');
|
||||
@@ -0,0 +1,224 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class GaDataQuery extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'sort';
|
||||
protected $internal_gapi_mappings = ["endDate" => "end-date", "maxResults" => "max-results", "startDate" => "start-date", "startIndex" => "start-index"];
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $dimensions;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $endDate;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $filters;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $ids;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $maxResults;
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $metrics;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $samplingLevel;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $segment;
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $sort;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $startDate;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $startIndex;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setDimensions($dimensions)
|
||||
{
|
||||
$this->dimensions = $dimensions;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDimensions()
|
||||
{
|
||||
return $this->dimensions;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setEndDate($endDate)
|
||||
{
|
||||
$this->endDate = $endDate;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getEndDate()
|
||||
{
|
||||
return $this->endDate;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setFilters($filters)
|
||||
{
|
||||
$this->filters = $filters;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getFilters()
|
||||
{
|
||||
return $this->filters;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setIds($ids)
|
||||
{
|
||||
$this->ids = $ids;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getIds()
|
||||
{
|
||||
return $this->ids;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setMaxResults($maxResults)
|
||||
{
|
||||
$this->maxResults = $maxResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getMaxResults()
|
||||
{
|
||||
return $this->maxResults;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setMetrics($metrics)
|
||||
{
|
||||
$this->metrics = $metrics;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getMetrics()
|
||||
{
|
||||
return $this->metrics;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSamplingLevel($samplingLevel)
|
||||
{
|
||||
$this->samplingLevel = $samplingLevel;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSamplingLevel()
|
||||
{
|
||||
return $this->samplingLevel;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSegment($segment)
|
||||
{
|
||||
$this->segment = $segment;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSegment()
|
||||
{
|
||||
return $this->segment;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setSort($sort)
|
||||
{
|
||||
$this->sort = $sort;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getSort()
|
||||
{
|
||||
return $this->sort;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setStartDate($startDate)
|
||||
{
|
||||
$this->startDate = $startDate;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getStartDate()
|
||||
{
|
||||
return $this->startDate;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setStartIndex($startIndex)
|
||||
{
|
||||
$this->startIndex = $startIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getStartIndex()
|
||||
{
|
||||
return $this->startIndex;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GaDataQuery::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GaDataQuery');
|
||||
338
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Goal.php
vendored
Normal file
338
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Goal.php
vendored
Normal file
@@ -0,0 +1,338 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class Goal extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $accountId;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $active;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $created;
|
||||
protected $eventDetailsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GoalEventDetails::class;
|
||||
protected $eventDetailsDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $internalWebPropertyId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
protected $parentLinkType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GoalParentLink::class;
|
||||
protected $parentLinkDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $profileId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $selfLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $updated;
|
||||
protected $urlDestinationDetailsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GoalUrlDestinationDetails::class;
|
||||
protected $urlDestinationDetailsDataType = '';
|
||||
/**
|
||||
* @var float
|
||||
*/
|
||||
public $value;
|
||||
protected $visitNumPagesDetailsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GoalVisitNumPagesDetails::class;
|
||||
protected $visitNumPagesDetailsDataType = '';
|
||||
protected $visitTimeOnSiteDetailsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GoalVisitTimeOnSiteDetails::class;
|
||||
protected $visitTimeOnSiteDetailsDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $webPropertyId;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAccountId($accountId)
|
||||
{
|
||||
$this->accountId = $accountId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAccountId()
|
||||
{
|
||||
return $this->accountId;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setActive($active)
|
||||
{
|
||||
$this->active = $active;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getActive()
|
||||
{
|
||||
return $this->active;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCreated($created)
|
||||
{
|
||||
$this->created = $created;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCreated()
|
||||
{
|
||||
return $this->created;
|
||||
}
|
||||
/**
|
||||
* @param GoalEventDetails
|
||||
*/
|
||||
public function setEventDetails(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GoalEventDetails $eventDetails)
|
||||
{
|
||||
$this->eventDetails = $eventDetails;
|
||||
}
|
||||
/**
|
||||
* @return GoalEventDetails
|
||||
*/
|
||||
public function getEventDetails()
|
||||
{
|
||||
return $this->eventDetails;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setInternalWebPropertyId($internalWebPropertyId)
|
||||
{
|
||||
$this->internalWebPropertyId = $internalWebPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getInternalWebPropertyId()
|
||||
{
|
||||
return $this->internalWebPropertyId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param GoalParentLink
|
||||
*/
|
||||
public function setParentLink(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GoalParentLink $parentLink)
|
||||
{
|
||||
$this->parentLink = $parentLink;
|
||||
}
|
||||
/**
|
||||
* @return GoalParentLink
|
||||
*/
|
||||
public function getParentLink()
|
||||
{
|
||||
return $this->parentLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setProfileId($profileId)
|
||||
{
|
||||
$this->profileId = $profileId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getProfileId()
|
||||
{
|
||||
return $this->profileId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUpdated()
|
||||
{
|
||||
return $this->updated;
|
||||
}
|
||||
/**
|
||||
* @param GoalUrlDestinationDetails
|
||||
*/
|
||||
public function setUrlDestinationDetails(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GoalUrlDestinationDetails $urlDestinationDetails)
|
||||
{
|
||||
$this->urlDestinationDetails = $urlDestinationDetails;
|
||||
}
|
||||
/**
|
||||
* @return GoalUrlDestinationDetails
|
||||
*/
|
||||
public function getUrlDestinationDetails()
|
||||
{
|
||||
return $this->urlDestinationDetails;
|
||||
}
|
||||
/**
|
||||
* @param float
|
||||
*/
|
||||
public function setValue($value)
|
||||
{
|
||||
$this->value = $value;
|
||||
}
|
||||
/**
|
||||
* @return float
|
||||
*/
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
/**
|
||||
* @param GoalVisitNumPagesDetails
|
||||
*/
|
||||
public function setVisitNumPagesDetails(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GoalVisitNumPagesDetails $visitNumPagesDetails)
|
||||
{
|
||||
$this->visitNumPagesDetails = $visitNumPagesDetails;
|
||||
}
|
||||
/**
|
||||
* @return GoalVisitNumPagesDetails
|
||||
*/
|
||||
public function getVisitNumPagesDetails()
|
||||
{
|
||||
return $this->visitNumPagesDetails;
|
||||
}
|
||||
/**
|
||||
* @param GoalVisitTimeOnSiteDetails
|
||||
*/
|
||||
public function setVisitTimeOnSiteDetails(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails)
|
||||
{
|
||||
$this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
|
||||
}
|
||||
/**
|
||||
* @return GoalVisitTimeOnSiteDetails
|
||||
*/
|
||||
public function getVisitTimeOnSiteDetails()
|
||||
{
|
||||
return $this->visitTimeOnSiteDetails;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setWebPropertyId($webPropertyId)
|
||||
{
|
||||
$this->webPropertyId = $webPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getWebPropertyId()
|
||||
{
|
||||
return $this->webPropertyId;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Goal::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Goal');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class GoalEventDetails extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'eventConditions';
|
||||
protected $eventConditionsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GoalEventDetailsEventConditions::class;
|
||||
protected $eventConditionsDataType = 'array';
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $useEventValue;
|
||||
/**
|
||||
* @param GoalEventDetailsEventConditions[]
|
||||
*/
|
||||
public function setEventConditions($eventConditions)
|
||||
{
|
||||
$this->eventConditions = $eventConditions;
|
||||
}
|
||||
/**
|
||||
* @return GoalEventDetailsEventConditions[]
|
||||
*/
|
||||
public function getEventConditions()
|
||||
{
|
||||
return $this->eventConditions;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setUseEventValue($useEventValue)
|
||||
{
|
||||
$this->useEventValue = $useEventValue;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getUseEventValue()
|
||||
{
|
||||
return $this->useEventValue;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GoalEventDetails::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GoalEventDetails');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class GoalEventDetailsEventConditions extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $comparisonType;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $comparisonValue;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $expression;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $matchType;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setComparisonType($comparisonType)
|
||||
{
|
||||
$this->comparisonType = $comparisonType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getComparisonType()
|
||||
{
|
||||
return $this->comparisonType;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setComparisonValue($comparisonValue)
|
||||
{
|
||||
$this->comparisonValue = $comparisonValue;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getComparisonValue()
|
||||
{
|
||||
return $this->comparisonValue;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setExpression($expression)
|
||||
{
|
||||
$this->expression = $expression;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getExpression()
|
||||
{
|
||||
return $this->expression;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setMatchType($matchType)
|
||||
{
|
||||
$this->matchType = $matchType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getMatchType()
|
||||
{
|
||||
return $this->matchType;
|
||||
}
|
||||
/**
|
||||
* @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\Analytics\GoalEventDetailsEventConditions::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GoalEventDetailsEventConditions');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class GoalParentLink extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $href;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setHref($href)
|
||||
{
|
||||
$this->href = $href;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getHref()
|
||||
{
|
||||
return $this->href;
|
||||
}
|
||||
/**
|
||||
* @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\Analytics\GoalParentLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GoalParentLink');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class GoalUrlDestinationDetails extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'steps';
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $caseSensitive;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $firstStepRequired;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $matchType;
|
||||
protected $stepsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\GoalUrlDestinationDetailsSteps::class;
|
||||
protected $stepsDataType = 'array';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $url;
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setCaseSensitive($caseSensitive)
|
||||
{
|
||||
$this->caseSensitive = $caseSensitive;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getCaseSensitive()
|
||||
{
|
||||
return $this->caseSensitive;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setFirstStepRequired($firstStepRequired)
|
||||
{
|
||||
$this->firstStepRequired = $firstStepRequired;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getFirstStepRequired()
|
||||
{
|
||||
return $this->firstStepRequired;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setMatchType($matchType)
|
||||
{
|
||||
$this->matchType = $matchType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getMatchType()
|
||||
{
|
||||
return $this->matchType;
|
||||
}
|
||||
/**
|
||||
* @param GoalUrlDestinationDetailsSteps[]
|
||||
*/
|
||||
public function setSteps($steps)
|
||||
{
|
||||
$this->steps = $steps;
|
||||
}
|
||||
/**
|
||||
* @return GoalUrlDestinationDetailsSteps[]
|
||||
*/
|
||||
public function getSteps()
|
||||
{
|
||||
return $this->steps;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GoalUrlDestinationDetails::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GoalUrlDestinationDetails');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class GoalUrlDestinationDetailsSteps extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $number;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $url;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setNumber($number)
|
||||
{
|
||||
$this->number = $number;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getNumber()
|
||||
{
|
||||
return $this->number;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GoalUrlDestinationDetailsSteps::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GoalUrlDestinationDetailsSteps');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class GoalVisitNumPagesDetails extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $comparisonType;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $comparisonValue;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setComparisonType($comparisonType)
|
||||
{
|
||||
$this->comparisonType = $comparisonType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getComparisonType()
|
||||
{
|
||||
return $this->comparisonType;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setComparisonValue($comparisonValue)
|
||||
{
|
||||
$this->comparisonValue = $comparisonValue;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getComparisonValue()
|
||||
{
|
||||
return $this->comparisonValue;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GoalVisitNumPagesDetails::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GoalVisitNumPagesDetails');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class GoalVisitTimeOnSiteDetails extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $comparisonType;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $comparisonValue;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setComparisonType($comparisonType)
|
||||
{
|
||||
$this->comparisonType = $comparisonType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getComparisonType()
|
||||
{
|
||||
return $this->comparisonType;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setComparisonValue($comparisonValue)
|
||||
{
|
||||
$this->comparisonValue = $comparisonValue;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getComparisonValue()
|
||||
{
|
||||
return $this->comparisonValue;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\GoalVisitTimeOnSiteDetails::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_GoalVisitTimeOnSiteDetails');
|
||||
167
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Goals.php
vendored
Normal file
167
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Goals.php
vendored
Normal file
@@ -0,0 +1,167 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class Goals extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Goal::class;
|
||||
protected $itemsDataType = 'array';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $itemsPerPage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $previousLink;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $startIndex;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalResults;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $username;
|
||||
/**
|
||||
* @param Goal[]
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
/**
|
||||
* @return Goal[]
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setItemsPerPage($itemsPerPage)
|
||||
{
|
||||
$this->itemsPerPage = $itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getItemsPerPage()
|
||||
{
|
||||
return $this->itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextLink($nextLink)
|
||||
{
|
||||
$this->nextLink = $nextLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextLink()
|
||||
{
|
||||
return $this->nextLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPreviousLink($previousLink)
|
||||
{
|
||||
$this->previousLink = $previousLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPreviousLink()
|
||||
{
|
||||
return $this->previousLink;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setStartIndex($startIndex)
|
||||
{
|
||||
$this->startIndex = $startIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getStartIndex()
|
||||
{
|
||||
return $this->startIndex;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setTotalResults($totalResults)
|
||||
{
|
||||
$this->totalResults = $totalResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalResults()
|
||||
{
|
||||
return $this->totalResults;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUsername($username)
|
||||
{
|
||||
$this->username = $username;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUsername()
|
||||
{
|
||||
return $this->username;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Goals::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Goals');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class HashClientIdRequest extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $clientId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $webPropertyId;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setClientId($clientId)
|
||||
{
|
||||
$this->clientId = $clientId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getClientId()
|
||||
{
|
||||
return $this->clientId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setWebPropertyId($webPropertyId)
|
||||
{
|
||||
$this->webPropertyId = $webPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getWebPropertyId()
|
||||
{
|
||||
return $this->webPropertyId;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\HashClientIdRequest::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_HashClientIdRequest');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class HashClientIdResponse extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $clientId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $hashedClientId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $webPropertyId;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setClientId($clientId)
|
||||
{
|
||||
$this->clientId = $clientId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getClientId()
|
||||
{
|
||||
return $this->clientId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setHashedClientId($hashedClientId)
|
||||
{
|
||||
$this->hashedClientId = $hashedClientId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getHashedClientId()
|
||||
{
|
||||
return $this->hashedClientId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setWebPropertyId($webPropertyId)
|
||||
{
|
||||
$this->webPropertyId = $webPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getWebPropertyId()
|
||||
{
|
||||
return $this->webPropertyId;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\HashClientIdResponse::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_HashClientIdResponse');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class IncludeConditions extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $daysToLookBack;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $isSmartList;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $membershipDurationDays;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $segment;
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setDaysToLookBack($daysToLookBack)
|
||||
{
|
||||
$this->daysToLookBack = $daysToLookBack;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getDaysToLookBack()
|
||||
{
|
||||
return $this->daysToLookBack;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setIsSmartList($isSmartList)
|
||||
{
|
||||
$this->isSmartList = $isSmartList;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getIsSmartList()
|
||||
{
|
||||
return $this->isSmartList;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setMembershipDurationDays($membershipDurationDays)
|
||||
{
|
||||
$this->membershipDurationDays = $membershipDurationDays;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getMembershipDurationDays()
|
||||
{
|
||||
return $this->membershipDurationDays;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSegment($segment)
|
||||
{
|
||||
$this->segment = $segment;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSegment()
|
||||
{
|
||||
return $this->segment;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\IncludeConditions::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_IncludeConditions');
|
||||
@@ -0,0 +1,204 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class LinkedForeignAccount extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $accountId;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $eligibleForSearch;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $internalWebPropertyId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $linkedAccountId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $remarketingAudienceId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $status;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $webPropertyId;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAccountId($accountId)
|
||||
{
|
||||
$this->accountId = $accountId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAccountId()
|
||||
{
|
||||
return $this->accountId;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setEligibleForSearch($eligibleForSearch)
|
||||
{
|
||||
$this->eligibleForSearch = $eligibleForSearch;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getEligibleForSearch()
|
||||
{
|
||||
return $this->eligibleForSearch;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setInternalWebPropertyId($internalWebPropertyId)
|
||||
{
|
||||
$this->internalWebPropertyId = $internalWebPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getInternalWebPropertyId()
|
||||
{
|
||||
return $this->internalWebPropertyId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setLinkedAccountId($linkedAccountId)
|
||||
{
|
||||
$this->linkedAccountId = $linkedAccountId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLinkedAccountId()
|
||||
{
|
||||
return $this->linkedAccountId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setRemarketingAudienceId($remarketingAudienceId)
|
||||
{
|
||||
$this->remarketingAudienceId = $remarketingAudienceId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getRemarketingAudienceId()
|
||||
{
|
||||
return $this->remarketingAudienceId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setWebPropertyId($webPropertyId)
|
||||
{
|
||||
$this->webPropertyId = $webPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getWebPropertyId()
|
||||
{
|
||||
return $this->webPropertyId;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\LinkedForeignAccount::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_LinkedForeignAccount');
|
||||
287
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/McfData.php
vendored
Normal file
287
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/McfData.php
vendored
Normal file
@@ -0,0 +1,287 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class McfData extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'rows';
|
||||
protected $columnHeadersType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\McfDataColumnHeaders::class;
|
||||
protected $columnHeadersDataType = 'array';
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $containsSampledData;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $itemsPerPage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $previousLink;
|
||||
protected $profileInfoType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\McfDataProfileInfo::class;
|
||||
protected $profileInfoDataType = '';
|
||||
protected $queryType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\McfDataQuery::class;
|
||||
protected $queryDataType = '';
|
||||
protected $rowsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\McfDataRows::class;
|
||||
protected $rowsDataType = 'array';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $sampleSize;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $sampleSpace;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $selfLink;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalResults;
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $totalsForAllResults;
|
||||
/**
|
||||
* @param McfDataColumnHeaders[]
|
||||
*/
|
||||
public function setColumnHeaders($columnHeaders)
|
||||
{
|
||||
$this->columnHeaders = $columnHeaders;
|
||||
}
|
||||
/**
|
||||
* @return McfDataColumnHeaders[]
|
||||
*/
|
||||
public function getColumnHeaders()
|
||||
{
|
||||
return $this->columnHeaders;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setContainsSampledData($containsSampledData)
|
||||
{
|
||||
$this->containsSampledData = $containsSampledData;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getContainsSampledData()
|
||||
{
|
||||
return $this->containsSampledData;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setItemsPerPage($itemsPerPage)
|
||||
{
|
||||
$this->itemsPerPage = $itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getItemsPerPage()
|
||||
{
|
||||
return $this->itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextLink($nextLink)
|
||||
{
|
||||
$this->nextLink = $nextLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextLink()
|
||||
{
|
||||
return $this->nextLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPreviousLink($previousLink)
|
||||
{
|
||||
$this->previousLink = $previousLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPreviousLink()
|
||||
{
|
||||
return $this->previousLink;
|
||||
}
|
||||
/**
|
||||
* @param McfDataProfileInfo
|
||||
*/
|
||||
public function setProfileInfo(\Google\Site_Kit_Dependencies\Google\Service\Analytics\McfDataProfileInfo $profileInfo)
|
||||
{
|
||||
$this->profileInfo = $profileInfo;
|
||||
}
|
||||
/**
|
||||
* @return McfDataProfileInfo
|
||||
*/
|
||||
public function getProfileInfo()
|
||||
{
|
||||
return $this->profileInfo;
|
||||
}
|
||||
/**
|
||||
* @param McfDataQuery
|
||||
*/
|
||||
public function setQuery(\Google\Site_Kit_Dependencies\Google\Service\Analytics\McfDataQuery $query)
|
||||
{
|
||||
$this->query = $query;
|
||||
}
|
||||
/**
|
||||
* @return McfDataQuery
|
||||
*/
|
||||
public function getQuery()
|
||||
{
|
||||
return $this->query;
|
||||
}
|
||||
/**
|
||||
* @param McfDataRows[]
|
||||
*/
|
||||
public function setRows($rows)
|
||||
{
|
||||
$this->rows = $rows;
|
||||
}
|
||||
/**
|
||||
* @return McfDataRows[]
|
||||
*/
|
||||
public function getRows()
|
||||
{
|
||||
return $this->rows;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSampleSize($sampleSize)
|
||||
{
|
||||
$this->sampleSize = $sampleSize;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSampleSize()
|
||||
{
|
||||
return $this->sampleSize;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSampleSpace($sampleSpace)
|
||||
{
|
||||
$this->sampleSpace = $sampleSpace;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSampleSpace()
|
||||
{
|
||||
return $this->sampleSpace;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setTotalResults($totalResults)
|
||||
{
|
||||
$this->totalResults = $totalResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalResults()
|
||||
{
|
||||
return $this->totalResults;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setTotalsForAllResults($totalsForAllResults)
|
||||
{
|
||||
$this->totalsForAllResults = $totalsForAllResults;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getTotalsForAllResults()
|
||||
{
|
||||
return $this->totalsForAllResults;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\McfData::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_McfData');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class McfDataColumnHeaders extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $columnType;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $dataType;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setColumnType($columnType)
|
||||
{
|
||||
$this->columnType = $columnType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getColumnType()
|
||||
{
|
||||
return $this->columnType;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setDataType($dataType)
|
||||
{
|
||||
$this->dataType = $dataType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDataType()
|
||||
{
|
||||
return $this->dataType;
|
||||
}
|
||||
/**
|
||||
* @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\Analytics\McfDataColumnHeaders::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_McfDataColumnHeaders');
|
||||
@@ -0,0 +1,132 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class McfDataProfileInfo extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $accountId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $internalWebPropertyId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $profileId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $profileName;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $tableId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $webPropertyId;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAccountId($accountId)
|
||||
{
|
||||
$this->accountId = $accountId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAccountId()
|
||||
{
|
||||
return $this->accountId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setInternalWebPropertyId($internalWebPropertyId)
|
||||
{
|
||||
$this->internalWebPropertyId = $internalWebPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getInternalWebPropertyId()
|
||||
{
|
||||
return $this->internalWebPropertyId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setProfileId($profileId)
|
||||
{
|
||||
$this->profileId = $profileId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getProfileId()
|
||||
{
|
||||
return $this->profileId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setProfileName($profileName)
|
||||
{
|
||||
$this->profileName = $profileName;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getProfileName()
|
||||
{
|
||||
return $this->profileName;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setTableId($tableId)
|
||||
{
|
||||
$this->tableId = $tableId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getTableId()
|
||||
{
|
||||
return $this->tableId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setWebPropertyId($webPropertyId)
|
||||
{
|
||||
$this->webPropertyId = $webPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getWebPropertyId()
|
||||
{
|
||||
return $this->webPropertyId;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\McfDataProfileInfo::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_McfDataProfileInfo');
|
||||
@@ -0,0 +1,224 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class McfDataQuery extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'sort';
|
||||
protected $internal_gapi_mappings = ["endDate" => "end-date", "maxResults" => "max-results", "startDate" => "start-date", "startIndex" => "start-index"];
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $dimensions;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $endDate;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $filters;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $ids;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $maxResults;
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $metrics;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $samplingLevel;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $segment;
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $sort;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $startDate;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $startIndex;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setDimensions($dimensions)
|
||||
{
|
||||
$this->dimensions = $dimensions;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDimensions()
|
||||
{
|
||||
return $this->dimensions;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setEndDate($endDate)
|
||||
{
|
||||
$this->endDate = $endDate;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getEndDate()
|
||||
{
|
||||
return $this->endDate;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setFilters($filters)
|
||||
{
|
||||
$this->filters = $filters;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getFilters()
|
||||
{
|
||||
return $this->filters;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setIds($ids)
|
||||
{
|
||||
$this->ids = $ids;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getIds()
|
||||
{
|
||||
return $this->ids;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setMaxResults($maxResults)
|
||||
{
|
||||
$this->maxResults = $maxResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getMaxResults()
|
||||
{
|
||||
return $this->maxResults;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setMetrics($metrics)
|
||||
{
|
||||
$this->metrics = $metrics;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getMetrics()
|
||||
{
|
||||
return $this->metrics;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSamplingLevel($samplingLevel)
|
||||
{
|
||||
$this->samplingLevel = $samplingLevel;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSamplingLevel()
|
||||
{
|
||||
return $this->samplingLevel;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSegment($segment)
|
||||
{
|
||||
$this->segment = $segment;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSegment()
|
||||
{
|
||||
return $this->segment;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setSort($sort)
|
||||
{
|
||||
$this->sort = $sort;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getSort()
|
||||
{
|
||||
return $this->sort;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setStartDate($startDate)
|
||||
{
|
||||
$this->startDate = $startDate;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getStartDate()
|
||||
{
|
||||
return $this->startDate;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setStartIndex($startIndex)
|
||||
{
|
||||
$this->startIndex = $startIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getStartIndex()
|
||||
{
|
||||
return $this->startIndex;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\McfDataQuery::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_McfDataQuery');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class McfDataRows extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'conversionPathValue';
|
||||
protected $conversionPathValueType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\McfDataRowsConversionPathValue::class;
|
||||
protected $conversionPathValueDataType = 'array';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $primitiveValue;
|
||||
/**
|
||||
* @param McfDataRowsConversionPathValue[]
|
||||
*/
|
||||
public function setConversionPathValue($conversionPathValue)
|
||||
{
|
||||
$this->conversionPathValue = $conversionPathValue;
|
||||
}
|
||||
/**
|
||||
* @return McfDataRowsConversionPathValue[]
|
||||
*/
|
||||
public function getConversionPathValue()
|
||||
{
|
||||
return $this->conversionPathValue;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPrimitiveValue($primitiveValue)
|
||||
{
|
||||
$this->primitiveValue = $primitiveValue;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPrimitiveValue()
|
||||
{
|
||||
return $this->primitiveValue;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\McfDataRows::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_McfDataRows');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class McfDataRowsConversionPathValue extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $interactionType;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nodeValue;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setInteractionType($interactionType)
|
||||
{
|
||||
$this->interactionType = $interactionType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getInteractionType()
|
||||
{
|
||||
return $this->interactionType;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNodeValue($nodeValue)
|
||||
{
|
||||
$this->nodeValue = $nodeValue;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNodeValue()
|
||||
{
|
||||
return $this->nodeValue;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\McfDataRowsConversionPathValue::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_McfDataRowsConversionPathValue');
|
||||
486
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Profile.php
vendored
Normal file
486
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Profile.php
vendored
Normal file
@@ -0,0 +1,486 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class Profile extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $accountId;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $botFilteringEnabled;
|
||||
protected $childLinkType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\ProfileChildLink::class;
|
||||
protected $childLinkDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $created;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $currency;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $defaultPage;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $eCommerceTracking;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $enhancedECommerceTracking;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $excludeQueryParameters;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $internalWebPropertyId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
protected $parentLinkType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\ProfileParentLink::class;
|
||||
protected $parentLinkDataType = '';
|
||||
protected $permissionsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\ProfilePermissions::class;
|
||||
protected $permissionsDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $selfLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $siteSearchCategoryParameters;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $siteSearchQueryParameters;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $starred;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $stripSiteSearchCategoryParameters;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $stripSiteSearchQueryParameters;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $timezone;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $updated;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $webPropertyId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $websiteUrl;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAccountId($accountId)
|
||||
{
|
||||
$this->accountId = $accountId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAccountId()
|
||||
{
|
||||
return $this->accountId;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setBotFilteringEnabled($botFilteringEnabled)
|
||||
{
|
||||
$this->botFilteringEnabled = $botFilteringEnabled;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getBotFilteringEnabled()
|
||||
{
|
||||
return $this->botFilteringEnabled;
|
||||
}
|
||||
/**
|
||||
* @param ProfileChildLink
|
||||
*/
|
||||
public function setChildLink(\Google\Site_Kit_Dependencies\Google\Service\Analytics\ProfileChildLink $childLink)
|
||||
{
|
||||
$this->childLink = $childLink;
|
||||
}
|
||||
/**
|
||||
* @return ProfileChildLink
|
||||
*/
|
||||
public function getChildLink()
|
||||
{
|
||||
return $this->childLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCreated($created)
|
||||
{
|
||||
$this->created = $created;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCreated()
|
||||
{
|
||||
return $this->created;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCurrency($currency)
|
||||
{
|
||||
$this->currency = $currency;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCurrency()
|
||||
{
|
||||
return $this->currency;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setDefaultPage($defaultPage)
|
||||
{
|
||||
$this->defaultPage = $defaultPage;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDefaultPage()
|
||||
{
|
||||
return $this->defaultPage;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setECommerceTracking($eCommerceTracking)
|
||||
{
|
||||
$this->eCommerceTracking = $eCommerceTracking;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getECommerceTracking()
|
||||
{
|
||||
return $this->eCommerceTracking;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setEnhancedECommerceTracking($enhancedECommerceTracking)
|
||||
{
|
||||
$this->enhancedECommerceTracking = $enhancedECommerceTracking;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getEnhancedECommerceTracking()
|
||||
{
|
||||
return $this->enhancedECommerceTracking;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setExcludeQueryParameters($excludeQueryParameters)
|
||||
{
|
||||
$this->excludeQueryParameters = $excludeQueryParameters;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getExcludeQueryParameters()
|
||||
{
|
||||
return $this->excludeQueryParameters;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setInternalWebPropertyId($internalWebPropertyId)
|
||||
{
|
||||
$this->internalWebPropertyId = $internalWebPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getInternalWebPropertyId()
|
||||
{
|
||||
return $this->internalWebPropertyId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param ProfileParentLink
|
||||
*/
|
||||
public function setParentLink(\Google\Site_Kit_Dependencies\Google\Service\Analytics\ProfileParentLink $parentLink)
|
||||
{
|
||||
$this->parentLink = $parentLink;
|
||||
}
|
||||
/**
|
||||
* @return ProfileParentLink
|
||||
*/
|
||||
public function getParentLink()
|
||||
{
|
||||
return $this->parentLink;
|
||||
}
|
||||
/**
|
||||
* @param ProfilePermissions
|
||||
*/
|
||||
public function setPermissions(\Google\Site_Kit_Dependencies\Google\Service\Analytics\ProfilePermissions $permissions)
|
||||
{
|
||||
$this->permissions = $permissions;
|
||||
}
|
||||
/**
|
||||
* @return ProfilePermissions
|
||||
*/
|
||||
public function getPermissions()
|
||||
{
|
||||
return $this->permissions;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSiteSearchCategoryParameters($siteSearchCategoryParameters)
|
||||
{
|
||||
$this->siteSearchCategoryParameters = $siteSearchCategoryParameters;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSiteSearchCategoryParameters()
|
||||
{
|
||||
return $this->siteSearchCategoryParameters;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSiteSearchQueryParameters($siteSearchQueryParameters)
|
||||
{
|
||||
$this->siteSearchQueryParameters = $siteSearchQueryParameters;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSiteSearchQueryParameters()
|
||||
{
|
||||
return $this->siteSearchQueryParameters;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setStarred($starred)
|
||||
{
|
||||
$this->starred = $starred;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getStarred()
|
||||
{
|
||||
return $this->starred;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setStripSiteSearchCategoryParameters($stripSiteSearchCategoryParameters)
|
||||
{
|
||||
$this->stripSiteSearchCategoryParameters = $stripSiteSearchCategoryParameters;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getStripSiteSearchCategoryParameters()
|
||||
{
|
||||
return $this->stripSiteSearchCategoryParameters;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setStripSiteSearchQueryParameters($stripSiteSearchQueryParameters)
|
||||
{
|
||||
$this->stripSiteSearchQueryParameters = $stripSiteSearchQueryParameters;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getStripSiteSearchQueryParameters()
|
||||
{
|
||||
return $this->stripSiteSearchQueryParameters;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setTimezone($timezone)
|
||||
{
|
||||
$this->timezone = $timezone;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getTimezone()
|
||||
{
|
||||
return $this->timezone;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUpdated()
|
||||
{
|
||||
return $this->updated;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setWebPropertyId($webPropertyId)
|
||||
{
|
||||
$this->webPropertyId = $webPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getWebPropertyId()
|
||||
{
|
||||
return $this->webPropertyId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setWebsiteUrl($websiteUrl)
|
||||
{
|
||||
$this->websiteUrl = $websiteUrl;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getWebsiteUrl()
|
||||
{
|
||||
return $this->websiteUrl;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Profile::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Profile');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class ProfileChildLink extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $href;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setHref($href)
|
||||
{
|
||||
$this->href = $href;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getHref()
|
||||
{
|
||||
return $this->href;
|
||||
}
|
||||
/**
|
||||
* @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\Analytics\ProfileChildLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_ProfileChildLink');
|
||||
@@ -0,0 +1,128 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class ProfileFilterLink extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
protected $filterRefType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterRef::class;
|
||||
protected $filterRefDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
protected $profileRefType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\ProfileRef::class;
|
||||
protected $profileRefDataType = '';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $rank;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $selfLink;
|
||||
/**
|
||||
* @param FilterRef
|
||||
*/
|
||||
public function setFilterRef(\Google\Site_Kit_Dependencies\Google\Service\Analytics\FilterRef $filterRef)
|
||||
{
|
||||
$this->filterRef = $filterRef;
|
||||
}
|
||||
/**
|
||||
* @return FilterRef
|
||||
*/
|
||||
public function getFilterRef()
|
||||
{
|
||||
return $this->filterRef;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param ProfileRef
|
||||
*/
|
||||
public function setProfileRef(\Google\Site_Kit_Dependencies\Google\Service\Analytics\ProfileRef $profileRef)
|
||||
{
|
||||
$this->profileRef = $profileRef;
|
||||
}
|
||||
/**
|
||||
* @return ProfileRef
|
||||
*/
|
||||
public function getProfileRef()
|
||||
{
|
||||
return $this->profileRef;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setRank($rank)
|
||||
{
|
||||
$this->rank = $rank;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getRank()
|
||||
{
|
||||
return $this->rank;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\ProfileFilterLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_ProfileFilterLink');
|
||||
@@ -0,0 +1,167 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class ProfileFilterLinks extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\ProfileFilterLink::class;
|
||||
protected $itemsDataType = 'array';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $itemsPerPage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $previousLink;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $startIndex;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalResults;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $username;
|
||||
/**
|
||||
* @param ProfileFilterLink[]
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
/**
|
||||
* @return ProfileFilterLink[]
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setItemsPerPage($itemsPerPage)
|
||||
{
|
||||
$this->itemsPerPage = $itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getItemsPerPage()
|
||||
{
|
||||
return $this->itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextLink($nextLink)
|
||||
{
|
||||
$this->nextLink = $nextLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextLink()
|
||||
{
|
||||
return $this->nextLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPreviousLink($previousLink)
|
||||
{
|
||||
$this->previousLink = $previousLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPreviousLink()
|
||||
{
|
||||
return $this->previousLink;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setStartIndex($startIndex)
|
||||
{
|
||||
$this->startIndex = $startIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getStartIndex()
|
||||
{
|
||||
return $this->startIndex;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setTotalResults($totalResults)
|
||||
{
|
||||
$this->totalResults = $totalResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalResults()
|
||||
{
|
||||
return $this->totalResults;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUsername($username)
|
||||
{
|
||||
$this->username = $username;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUsername()
|
||||
{
|
||||
return $this->username;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\ProfileFilterLinks::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_ProfileFilterLinks');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class ProfileParentLink extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $href;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setHref($href)
|
||||
{
|
||||
$this->href = $href;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getHref()
|
||||
{
|
||||
return $this->href;
|
||||
}
|
||||
/**
|
||||
* @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\Analytics\ProfileParentLink::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_ProfileParentLink');
|
||||
@@ -0,0 +1,43 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class ProfilePermissions extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'effective';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $effective;
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setEffective($effective)
|
||||
{
|
||||
$this->effective = $effective;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getEffective()
|
||||
{
|
||||
return $this->effective;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\ProfilePermissions::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_ProfilePermissions');
|
||||
@@ -0,0 +1,150 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class ProfileRef extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $accountId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $href;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $internalWebPropertyId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $webPropertyId;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAccountId($accountId)
|
||||
{
|
||||
$this->accountId = $accountId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAccountId()
|
||||
{
|
||||
return $this->accountId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setHref($href)
|
||||
{
|
||||
$this->href = $href;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getHref()
|
||||
{
|
||||
return $this->href;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setInternalWebPropertyId($internalWebPropertyId)
|
||||
{
|
||||
$this->internalWebPropertyId = $internalWebPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getInternalWebPropertyId()
|
||||
{
|
||||
return $this->internalWebPropertyId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setWebPropertyId($webPropertyId)
|
||||
{
|
||||
$this->webPropertyId = $webPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getWebPropertyId()
|
||||
{
|
||||
return $this->webPropertyId;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\ProfileRef::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_ProfileRef');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class ProfileSummary extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $starred;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param bool
|
||||
*/
|
||||
public function setStarred($starred)
|
||||
{
|
||||
$this->starred = $starred;
|
||||
}
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getStarred()
|
||||
{
|
||||
return $this->starred;
|
||||
}
|
||||
/**
|
||||
* @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\Analytics\ProfileSummary::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_ProfileSummary');
|
||||
167
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Profiles.php
vendored
Normal file
167
wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Profiles.php
vendored
Normal file
@@ -0,0 +1,167 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class Profiles extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\Profile::class;
|
||||
protected $itemsDataType = 'array';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $itemsPerPage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $previousLink;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $startIndex;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalResults;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $username;
|
||||
/**
|
||||
* @param Profile[]
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
/**
|
||||
* @return Profile[]
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setItemsPerPage($itemsPerPage)
|
||||
{
|
||||
$this->itemsPerPage = $itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getItemsPerPage()
|
||||
{
|
||||
return $this->itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextLink($nextLink)
|
||||
{
|
||||
$this->nextLink = $nextLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextLink()
|
||||
{
|
||||
return $this->nextLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPreviousLink($previousLink)
|
||||
{
|
||||
$this->previousLink = $previousLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPreviousLink()
|
||||
{
|
||||
return $this->previousLink;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setStartIndex($startIndex)
|
||||
{
|
||||
$this->startIndex = $startIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getStartIndex()
|
||||
{
|
||||
return $this->startIndex;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setTotalResults($totalResults)
|
||||
{
|
||||
$this->totalResults = $totalResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalResults()
|
||||
{
|
||||
return $this->totalResults;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUsername($username)
|
||||
{
|
||||
$this->username = $username;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUsername()
|
||||
{
|
||||
return $this->username;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Profiles::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Profiles');
|
||||
@@ -0,0 +1,181 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class RealtimeData extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'rows';
|
||||
protected $columnHeadersType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\RealtimeDataColumnHeaders::class;
|
||||
protected $columnHeadersDataType = 'array';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
protected $profileInfoType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\RealtimeDataProfileInfo::class;
|
||||
protected $profileInfoDataType = '';
|
||||
protected $queryType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\RealtimeDataQuery::class;
|
||||
protected $queryDataType = '';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $rows;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $selfLink;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalResults;
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $totalsForAllResults;
|
||||
/**
|
||||
* @param RealtimeDataColumnHeaders[]
|
||||
*/
|
||||
public function setColumnHeaders($columnHeaders)
|
||||
{
|
||||
$this->columnHeaders = $columnHeaders;
|
||||
}
|
||||
/**
|
||||
* @return RealtimeDataColumnHeaders[]
|
||||
*/
|
||||
public function getColumnHeaders()
|
||||
{
|
||||
return $this->columnHeaders;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param RealtimeDataProfileInfo
|
||||
*/
|
||||
public function setProfileInfo(\Google\Site_Kit_Dependencies\Google\Service\Analytics\RealtimeDataProfileInfo $profileInfo)
|
||||
{
|
||||
$this->profileInfo = $profileInfo;
|
||||
}
|
||||
/**
|
||||
* @return RealtimeDataProfileInfo
|
||||
*/
|
||||
public function getProfileInfo()
|
||||
{
|
||||
return $this->profileInfo;
|
||||
}
|
||||
/**
|
||||
* @param RealtimeDataQuery
|
||||
*/
|
||||
public function setQuery(\Google\Site_Kit_Dependencies\Google\Service\Analytics\RealtimeDataQuery $query)
|
||||
{
|
||||
$this->query = $query;
|
||||
}
|
||||
/**
|
||||
* @return RealtimeDataQuery
|
||||
*/
|
||||
public function getQuery()
|
||||
{
|
||||
return $this->query;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setRows($rows)
|
||||
{
|
||||
$this->rows = $rows;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getRows()
|
||||
{
|
||||
return $this->rows;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSelfLink($selfLink)
|
||||
{
|
||||
$this->selfLink = $selfLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSelfLink()
|
||||
{
|
||||
return $this->selfLink;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setTotalResults($totalResults)
|
||||
{
|
||||
$this->totalResults = $totalResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalResults()
|
||||
{
|
||||
return $this->totalResults;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setTotalsForAllResults($totalsForAllResults)
|
||||
{
|
||||
$this->totalsForAllResults = $totalsForAllResults;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getTotalsForAllResults()
|
||||
{
|
||||
return $this->totalsForAllResults;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\RealtimeData::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_RealtimeData');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class RealtimeDataColumnHeaders extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $columnType;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $dataType;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setColumnType($columnType)
|
||||
{
|
||||
$this->columnType = $columnType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getColumnType()
|
||||
{
|
||||
return $this->columnType;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setDataType($dataType)
|
||||
{
|
||||
$this->dataType = $dataType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDataType()
|
||||
{
|
||||
return $this->dataType;
|
||||
}
|
||||
/**
|
||||
* @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\Analytics\RealtimeDataColumnHeaders::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_RealtimeDataColumnHeaders');
|
||||
@@ -0,0 +1,132 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class RealtimeDataProfileInfo extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $accountId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $internalWebPropertyId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $profileId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $profileName;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $tableId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $webPropertyId;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAccountId($accountId)
|
||||
{
|
||||
$this->accountId = $accountId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAccountId()
|
||||
{
|
||||
return $this->accountId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setInternalWebPropertyId($internalWebPropertyId)
|
||||
{
|
||||
$this->internalWebPropertyId = $internalWebPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getInternalWebPropertyId()
|
||||
{
|
||||
return $this->internalWebPropertyId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setProfileId($profileId)
|
||||
{
|
||||
$this->profileId = $profileId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getProfileId()
|
||||
{
|
||||
return $this->profileId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setProfileName($profileName)
|
||||
{
|
||||
$this->profileName = $profileName;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getProfileName()
|
||||
{
|
||||
return $this->profileName;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setTableId($tableId)
|
||||
{
|
||||
$this->tableId = $tableId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getTableId()
|
||||
{
|
||||
return $this->tableId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setWebPropertyId($webPropertyId)
|
||||
{
|
||||
$this->webPropertyId = $webPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getWebPropertyId()
|
||||
{
|
||||
return $this->webPropertyId;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\RealtimeDataProfileInfo::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_RealtimeDataProfileInfo');
|
||||
@@ -0,0 +1,134 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class RealtimeDataQuery extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'sort';
|
||||
protected $internal_gapi_mappings = ["maxResults" => "max-results"];
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $dimensions;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $filters;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $ids;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $maxResults;
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $metrics;
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $sort;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setDimensions($dimensions)
|
||||
{
|
||||
$this->dimensions = $dimensions;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDimensions()
|
||||
{
|
||||
return $this->dimensions;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setFilters($filters)
|
||||
{
|
||||
$this->filters = $filters;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getFilters()
|
||||
{
|
||||
return $this->filters;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setIds($ids)
|
||||
{
|
||||
$this->ids = $ids;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getIds()
|
||||
{
|
||||
return $this->ids;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setMaxResults($maxResults)
|
||||
{
|
||||
$this->maxResults = $maxResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getMaxResults()
|
||||
{
|
||||
return $this->maxResults;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setMetrics($metrics)
|
||||
{
|
||||
$this->metrics = $metrics;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getMetrics()
|
||||
{
|
||||
return $this->metrics;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setSort($sort)
|
||||
{
|
||||
$this->sort = $sort;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getSort()
|
||||
{
|
||||
return $this->sort;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\RealtimeDataQuery::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_RealtimeDataQuery');
|
||||
@@ -0,0 +1,271 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class RemarketingAudience extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'linkedViews';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $accountId;
|
||||
protected $audienceDefinitionType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\RemarketingAudienceAudienceDefinition::class;
|
||||
protected $audienceDefinitionDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $audienceType;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $created;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $description;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $internalWebPropertyId;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
protected $linkedAdAccountsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\LinkedForeignAccount::class;
|
||||
protected $linkedAdAccountsDataType = 'array';
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $linkedViews;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
protected $stateBasedAudienceDefinitionType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\RemarketingAudienceStateBasedAudienceDefinition::class;
|
||||
protected $stateBasedAudienceDefinitionDataType = '';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $updated;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $webPropertyId;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAccountId($accountId)
|
||||
{
|
||||
$this->accountId = $accountId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAccountId()
|
||||
{
|
||||
return $this->accountId;
|
||||
}
|
||||
/**
|
||||
* @param RemarketingAudienceAudienceDefinition
|
||||
*/
|
||||
public function setAudienceDefinition(\Google\Site_Kit_Dependencies\Google\Service\Analytics\RemarketingAudienceAudienceDefinition $audienceDefinition)
|
||||
{
|
||||
$this->audienceDefinition = $audienceDefinition;
|
||||
}
|
||||
/**
|
||||
* @return RemarketingAudienceAudienceDefinition
|
||||
*/
|
||||
public function getAudienceDefinition()
|
||||
{
|
||||
return $this->audienceDefinition;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setAudienceType($audienceType)
|
||||
{
|
||||
$this->audienceType = $audienceType;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getAudienceType()
|
||||
{
|
||||
return $this->audienceType;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setCreated($created)
|
||||
{
|
||||
$this->created = $created;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCreated()
|
||||
{
|
||||
return $this->created;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setInternalWebPropertyId($internalWebPropertyId)
|
||||
{
|
||||
$this->internalWebPropertyId = $internalWebPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getInternalWebPropertyId()
|
||||
{
|
||||
return $this->internalWebPropertyId;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param LinkedForeignAccount[]
|
||||
*/
|
||||
public function setLinkedAdAccounts($linkedAdAccounts)
|
||||
{
|
||||
$this->linkedAdAccounts = $linkedAdAccounts;
|
||||
}
|
||||
/**
|
||||
* @return LinkedForeignAccount[]
|
||||
*/
|
||||
public function getLinkedAdAccounts()
|
||||
{
|
||||
return $this->linkedAdAccounts;
|
||||
}
|
||||
/**
|
||||
* @param string[]
|
||||
*/
|
||||
public function setLinkedViews($linkedViews)
|
||||
{
|
||||
$this->linkedViews = $linkedViews;
|
||||
}
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getLinkedViews()
|
||||
{
|
||||
return $this->linkedViews;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param RemarketingAudienceStateBasedAudienceDefinition
|
||||
*/
|
||||
public function setStateBasedAudienceDefinition(\Google\Site_Kit_Dependencies\Google\Service\Analytics\RemarketingAudienceStateBasedAudienceDefinition $stateBasedAudienceDefinition)
|
||||
{
|
||||
$this->stateBasedAudienceDefinition = $stateBasedAudienceDefinition;
|
||||
}
|
||||
/**
|
||||
* @return RemarketingAudienceStateBasedAudienceDefinition
|
||||
*/
|
||||
public function getStateBasedAudienceDefinition()
|
||||
{
|
||||
return $this->stateBasedAudienceDefinition;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUpdated()
|
||||
{
|
||||
return $this->updated;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setWebPropertyId($webPropertyId)
|
||||
{
|
||||
$this->webPropertyId = $webPropertyId;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getWebPropertyId()
|
||||
{
|
||||
return $this->webPropertyId;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\RemarketingAudience::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_RemarketingAudience');
|
||||
@@ -0,0 +1,40 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class RemarketingAudienceAudienceDefinition extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
protected $includeConditionsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\IncludeConditions::class;
|
||||
protected $includeConditionsDataType = '';
|
||||
/**
|
||||
* @param IncludeConditions
|
||||
*/
|
||||
public function setIncludeConditions(\Google\Site_Kit_Dependencies\Google\Service\Analytics\IncludeConditions $includeConditions)
|
||||
{
|
||||
$this->includeConditions = $includeConditions;
|
||||
}
|
||||
/**
|
||||
* @return IncludeConditions
|
||||
*/
|
||||
public function getIncludeConditions()
|
||||
{
|
||||
return $this->includeConditions;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\RemarketingAudienceAudienceDefinition::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_RemarketingAudienceAudienceDefinition');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class RemarketingAudienceStateBasedAudienceDefinition extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
protected $excludeConditionsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions::class;
|
||||
protected $excludeConditionsDataType = '';
|
||||
protected $includeConditionsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\IncludeConditions::class;
|
||||
protected $includeConditionsDataType = '';
|
||||
/**
|
||||
* @param RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions
|
||||
*/
|
||||
public function setExcludeConditions(\Google\Site_Kit_Dependencies\Google\Service\Analytics\RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions $excludeConditions)
|
||||
{
|
||||
$this->excludeConditions = $excludeConditions;
|
||||
}
|
||||
/**
|
||||
* @return RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions
|
||||
*/
|
||||
public function getExcludeConditions()
|
||||
{
|
||||
return $this->excludeConditions;
|
||||
}
|
||||
/**
|
||||
* @param IncludeConditions
|
||||
*/
|
||||
public function setIncludeConditions(\Google\Site_Kit_Dependencies\Google\Service\Analytics\IncludeConditions $includeConditions)
|
||||
{
|
||||
$this->includeConditions = $includeConditions;
|
||||
}
|
||||
/**
|
||||
* @return IncludeConditions
|
||||
*/
|
||||
public function getIncludeConditions()
|
||||
{
|
||||
return $this->includeConditions;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\RemarketingAudienceStateBasedAudienceDefinition::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_RemarketingAudienceStateBasedAudienceDefinition');
|
||||
@@ -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\Analytics;
|
||||
|
||||
class RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions extends \Google\Site_Kit_Dependencies\Google\Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $exclusionDuration;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $segment;
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setExclusionDuration($exclusionDuration)
|
||||
{
|
||||
$this->exclusionDuration = $exclusionDuration;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getExclusionDuration()
|
||||
{
|
||||
return $this->exclusionDuration;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setSegment($segment)
|
||||
{
|
||||
$this->segment = $segment;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSegment()
|
||||
{
|
||||
return $this->segment;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions');
|
||||
@@ -0,0 +1,167 @@
|
||||
<?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\Analytics;
|
||||
|
||||
class RemarketingAudiences extends \Google\Site_Kit_Dependencies\Google\Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = \Google\Site_Kit_Dependencies\Google\Service\Analytics\RemarketingAudience::class;
|
||||
protected $itemsDataType = 'array';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $itemsPerPage;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $kind;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextLink;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $previousLink;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $startIndex;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalResults;
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $username;
|
||||
/**
|
||||
* @param RemarketingAudience[]
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
/**
|
||||
* @return RemarketingAudience[]
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setItemsPerPage($itemsPerPage)
|
||||
{
|
||||
$this->itemsPerPage = $itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getItemsPerPage()
|
||||
{
|
||||
return $this->itemsPerPage;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setNextLink($nextLink)
|
||||
{
|
||||
$this->nextLink = $nextLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNextLink()
|
||||
{
|
||||
return $this->nextLink;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setPreviousLink($previousLink)
|
||||
{
|
||||
$this->previousLink = $previousLink;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPreviousLink()
|
||||
{
|
||||
return $this->previousLink;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setStartIndex($startIndex)
|
||||
{
|
||||
$this->startIndex = $startIndex;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getStartIndex()
|
||||
{
|
||||
return $this->startIndex;
|
||||
}
|
||||
/**
|
||||
* @param int
|
||||
*/
|
||||
public function setTotalResults($totalResults)
|
||||
{
|
||||
$this->totalResults = $totalResults;
|
||||
}
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalResults()
|
||||
{
|
||||
return $this->totalResults;
|
||||
}
|
||||
/**
|
||||
* @param string
|
||||
*/
|
||||
public function setUsername($username)
|
||||
{
|
||||
$this->username = $username;
|
||||
}
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUsername()
|
||||
{
|
||||
return $this->username;
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\RemarketingAudiences::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_RemarketingAudiences');
|
||||
@@ -0,0 +1,32 @@
|
||||
<?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\Analytics\Resource;
|
||||
|
||||
/**
|
||||
* The "data" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $analyticsService = new Google\Service\Analytics(...);
|
||||
* $data = $analyticsService->data;
|
||||
* </code>
|
||||
*/
|
||||
class Data extends \Google\Site_Kit_Dependencies\Google\Service\Resource
|
||||
{
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\Data::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Resource_Data');
|
||||
@@ -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\Analytics\Resource;
|
||||
|
||||
use Google\Site_Kit_Dependencies\Google\Service\Analytics\GaData;
|
||||
/**
|
||||
* The "ga" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $analyticsService = new Google\Service\Analytics(...);
|
||||
* $ga = $analyticsService->data_ga;
|
||||
* </code>
|
||||
*/
|
||||
class DataGa extends \Google\Site_Kit_Dependencies\Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* Returns Analytics data for a view (profile). (ga.get)
|
||||
*
|
||||
* @param string $ids Unique table ID for retrieving Analytics data. Table ID is
|
||||
* of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
|
||||
* @param string $startDate Start date for fetching Analytics data. Requests can
|
||||
* specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g.,
|
||||
* today, yesterday, or 7daysAgo). The default value is 7daysAgo.
|
||||
* @param string $endDate End date for fetching Analytics data. Request can
|
||||
* should specify an end date formatted as YYYY-MM-DD, or as a relative date
|
||||
* (e.g., today, yesterday, or 7daysAgo). The default value is yesterday.
|
||||
* @param string $metrics A comma-separated list of Analytics metrics. E.g.,
|
||||
* 'ga:sessions,ga:pageviews'. At least one metric must be specified.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string dimensions A comma-separated list of Analytics dimensions.
|
||||
* E.g., 'ga:browser,ga:city'.
|
||||
* @opt_param string filters A comma-separated list of dimension or metric
|
||||
* filters to be applied to Analytics data.
|
||||
* @opt_param bool include-empty-rows The response will include empty rows if
|
||||
* this parameter is set to true, the default is true
|
||||
* @opt_param int max-results The maximum number of entries to include in this
|
||||
* feed.
|
||||
* @opt_param string output The selected format for the response. Default format
|
||||
* is JSON.
|
||||
* @opt_param string samplingLevel The desired sampling level.
|
||||
* @opt_param string segment An Analytics segment to be applied to data.
|
||||
* @opt_param string sort A comma-separated list of dimensions or metrics that
|
||||
* determine the sort order for Analytics data.
|
||||
* @opt_param int start-index An index of the first entity to retrieve. Use this
|
||||
* parameter as a pagination mechanism along with the max-results parameter.
|
||||
* @return GaData
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function get($ids, $startDate, $endDate, $metrics, $optParams = [])
|
||||
{
|
||||
$params = ['ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics];
|
||||
$params = \array_merge($params, $optParams);
|
||||
return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Analytics\GaData::class);
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\DataGa::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Resource_DataGa');
|
||||
@@ -0,0 +1,69 @@
|
||||
<?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\Analytics\Resource;
|
||||
|
||||
use Google\Site_Kit_Dependencies\Google\Service\Analytics\McfData;
|
||||
/**
|
||||
* The "mcf" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $analyticsService = new Google\Service\Analytics(...);
|
||||
* $mcf = $analyticsService->data_mcf;
|
||||
* </code>
|
||||
*/
|
||||
class DataMcf extends \Google\Site_Kit_Dependencies\Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get)
|
||||
*
|
||||
* @param string $ids Unique table ID for retrieving Analytics data. Table ID is
|
||||
* of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
|
||||
* @param string $startDate Start date for fetching Analytics data. Requests can
|
||||
* specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g.,
|
||||
* today, yesterday, or 7daysAgo). The default value is 7daysAgo.
|
||||
* @param string $endDate End date for fetching Analytics data. Requests can
|
||||
* specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g.,
|
||||
* today, yesterday, or 7daysAgo). The default value is 7daysAgo.
|
||||
* @param string $metrics A comma-separated list of Multi-Channel Funnels
|
||||
* metrics. E.g., 'mcf:totalConversions,mcf:totalConversionValue'. At least one
|
||||
* metric must be specified.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string dimensions A comma-separated list of Multi-Channel Funnels
|
||||
* dimensions. E.g., 'mcf:source,mcf:medium'.
|
||||
* @opt_param string filters A comma-separated list of dimension or metric
|
||||
* filters to be applied to the Analytics data.
|
||||
* @opt_param int max-results The maximum number of entries to include in this
|
||||
* feed.
|
||||
* @opt_param string samplingLevel The desired sampling level.
|
||||
* @opt_param string sort A comma-separated list of dimensions or metrics that
|
||||
* determine the sort order for the Analytics data.
|
||||
* @opt_param int start-index An index of the first entity to retrieve. Use this
|
||||
* parameter as a pagination mechanism along with the max-results parameter.
|
||||
* @return McfData
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function get($ids, $startDate, $endDate, $metrics, $optParams = [])
|
||||
{
|
||||
$params = ['ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics];
|
||||
$params = \array_merge($params, $optParams);
|
||||
return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Analytics\McfData::class);
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\DataMcf::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Resource_DataMcf');
|
||||
@@ -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\Analytics\Resource;
|
||||
|
||||
use Google\Site_Kit_Dependencies\Google\Service\Analytics\RealtimeData;
|
||||
/**
|
||||
* The "realtime" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $analyticsService = new Google\Service\Analytics(...);
|
||||
* $realtime = $analyticsService->data_realtime;
|
||||
* </code>
|
||||
*/
|
||||
class DataRealtime extends \Google\Site_Kit_Dependencies\Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* Returns real time data for a view (profile). (realtime.get)
|
||||
*
|
||||
* @param string $ids Unique table ID for retrieving real time data. Table ID is
|
||||
* of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
|
||||
* @param string $metrics A comma-separated list of real time metrics. E.g.,
|
||||
* 'rt:activeUsers'. At least one metric must be specified.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string dimensions A comma-separated list of real time dimensions.
|
||||
* E.g., 'rt:medium,rt:city'.
|
||||
* @opt_param string filters A comma-separated list of dimension or metric
|
||||
* filters to be applied to real time data.
|
||||
* @opt_param int max-results The maximum number of entries to include in this
|
||||
* feed.
|
||||
* @opt_param string sort A comma-separated list of dimensions or metrics that
|
||||
* determine the sort order for real time data.
|
||||
* @return RealtimeData
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function get($ids, $metrics, $optParams = [])
|
||||
{
|
||||
$params = ['ids' => $ids, 'metrics' => $metrics];
|
||||
$params = \array_merge($params, $optParams);
|
||||
return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Analytics\RealtimeData::class);
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\DataRealtime::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Resource_DataRealtime');
|
||||
@@ -0,0 +1,32 @@
|
||||
<?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\Analytics\Resource;
|
||||
|
||||
/**
|
||||
* The "management" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $analyticsService = new Google\Service\Analytics(...);
|
||||
* $management = $analyticsService->management;
|
||||
* </code>
|
||||
*/
|
||||
class Management extends \Google\Site_Kit_Dependencies\Google\Service\Resource
|
||||
{
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\Management::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Resource_Management');
|
||||
@@ -0,0 +1,53 @@
|
||||
<?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\Analytics\Resource;
|
||||
|
||||
use Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountSummaries;
|
||||
/**
|
||||
* The "accountSummaries" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $analyticsService = new Google\Service\Analytics(...);
|
||||
* $accountSummaries = $analyticsService->management_accountSummaries;
|
||||
* </code>
|
||||
*/
|
||||
class ManagementAccountSummaries extends \Google\Site_Kit_Dependencies\Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* Lists account summaries (lightweight tree comprised of
|
||||
* accounts/properties/profiles) to which the user has access.
|
||||
* (accountSummaries.listManagementAccountSummaries)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int max-results The maximum number of account summaries to include
|
||||
* in this response, where the largest acceptable value is 1000.
|
||||
* @opt_param int start-index An index of the first entity to retrieve. Use this
|
||||
* parameter as a pagination mechanism along with the max-results parameter.
|
||||
* @return AccountSummaries
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function listManagementAccountSummaries($optParams = [])
|
||||
{
|
||||
$params = [];
|
||||
$params = \array_merge($params, $optParams);
|
||||
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Analytics\AccountSummaries::class);
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementAccountSummaries::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Resource_ManagementAccountSummaries');
|
||||
@@ -0,0 +1,101 @@
|
||||
<?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\Analytics\Resource;
|
||||
|
||||
use Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLink;
|
||||
use Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLinks;
|
||||
/**
|
||||
* The "accountUserLinks" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $analyticsService = new Google\Service\Analytics(...);
|
||||
* $accountUserLinks = $analyticsService->management_accountUserLinks;
|
||||
* </code>
|
||||
*/
|
||||
class ManagementAccountUserLinks extends \Google\Site_Kit_Dependencies\Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* Removes a user from the given account. (accountUserLinks.delete)
|
||||
*
|
||||
* @param string $accountId Account ID to delete the user link for.
|
||||
* @param string $linkId Link ID to delete the user link for.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function delete($accountId, $linkId, $optParams = [])
|
||||
{
|
||||
$params = ['accountId' => $accountId, 'linkId' => $linkId];
|
||||
$params = \array_merge($params, $optParams);
|
||||
return $this->call('delete', [$params]);
|
||||
}
|
||||
/**
|
||||
* Adds a new user to the given account. (accountUserLinks.insert)
|
||||
*
|
||||
* @param string $accountId Account ID to create the user link for.
|
||||
* @param EntityUserLink $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return EntityUserLink
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function insert($accountId, \Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLink $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['accountId' => $accountId, 'postBody' => $postBody];
|
||||
$params = \array_merge($params, $optParams);
|
||||
return $this->call('insert', [$params], \Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLink::class);
|
||||
}
|
||||
/**
|
||||
* Lists account-user links for a given account.
|
||||
* (accountUserLinks.listManagementAccountUserLinks)
|
||||
*
|
||||
* @param string $accountId Account ID to retrieve the user links for.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int max-results The maximum number of account-user links to
|
||||
* include in this response.
|
||||
* @opt_param int start-index An index of the first account-user link to
|
||||
* retrieve. Use this parameter as a pagination mechanism along with the max-
|
||||
* results parameter.
|
||||
* @return EntityUserLinks
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function listManagementAccountUserLinks($accountId, $optParams = [])
|
||||
{
|
||||
$params = ['accountId' => $accountId];
|
||||
$params = \array_merge($params, $optParams);
|
||||
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLinks::class);
|
||||
}
|
||||
/**
|
||||
* Updates permissions for an existing user on the given account.
|
||||
* (accountUserLinks.update)
|
||||
*
|
||||
* @param string $accountId Account ID to update the account-user link for.
|
||||
* @param string $linkId Link ID to update the account-user link for.
|
||||
* @param EntityUserLink $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return EntityUserLink
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function update($accountId, $linkId, \Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLink $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['accountId' => $accountId, 'linkId' => $linkId, 'postBody' => $postBody];
|
||||
$params = \array_merge($params, $optParams);
|
||||
return $this->call('update', [$params], \Google\Site_Kit_Dependencies\Google\Service\Analytics\EntityUserLink::class);
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementAccountUserLinks::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Resource_ManagementAccountUserLinks');
|
||||
@@ -0,0 +1,53 @@
|
||||
<?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\Analytics\Resource;
|
||||
|
||||
use Google\Site_Kit_Dependencies\Google\Service\Analytics\Accounts;
|
||||
/**
|
||||
* The "accounts" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $analyticsService = new Google\Service\Analytics(...);
|
||||
* $accounts = $analyticsService->management_accounts;
|
||||
* </code>
|
||||
*/
|
||||
class ManagementAccounts extends \Google\Site_Kit_Dependencies\Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* Lists all accounts to which the user has access.
|
||||
* (accounts.listManagementAccounts)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int max-results The maximum number of accounts to include in this
|
||||
* response.
|
||||
* @opt_param int start-index An index of the first account to retrieve. Use
|
||||
* this parameter as a pagination mechanism along with the max-results
|
||||
* parameter.
|
||||
* @return Accounts
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function listManagementAccounts($optParams = [])
|
||||
{
|
||||
$params = [];
|
||||
$params = \array_merge($params, $optParams);
|
||||
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Analytics\Accounts::class);
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementAccounts::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Resource_ManagementAccounts');
|
||||
@@ -0,0 +1,48 @@
|
||||
<?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\Analytics\Resource;
|
||||
|
||||
use Google\Site_Kit_Dependencies\Google\Service\Analytics\HashClientIdRequest;
|
||||
use Google\Site_Kit_Dependencies\Google\Service\Analytics\HashClientIdResponse;
|
||||
/**
|
||||
* The "clientId" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $analyticsService = new Google\Service\Analytics(...);
|
||||
* $clientId = $analyticsService->management_clientId;
|
||||
* </code>
|
||||
*/
|
||||
class ManagementClientId extends \Google\Site_Kit_Dependencies\Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* Hashes the given Client ID. (clientId.hashClientId)
|
||||
*
|
||||
* @param HashClientIdRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return HashClientIdResponse
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function hashClientId(\Google\Site_Kit_Dependencies\Google\Service\Analytics\HashClientIdRequest $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['postBody' => $postBody];
|
||||
$params = \array_merge($params, $optParams);
|
||||
return $this->call('hashClientId', [$params], \Google\Site_Kit_Dependencies\Google\Service\Analytics\HashClientIdResponse::class);
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementClientId::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Resource_ManagementClientId');
|
||||
@@ -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\Analytics\Resource;
|
||||
|
||||
use Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDataSources;
|
||||
/**
|
||||
* The "customDataSources" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $analyticsService = new Google\Service\Analytics(...);
|
||||
* $customDataSources = $analyticsService->management_customDataSources;
|
||||
* </code>
|
||||
*/
|
||||
class ManagementCustomDataSources extends \Google\Site_Kit_Dependencies\Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* List custom data sources to which the user has access.
|
||||
* (customDataSources.listManagementCustomDataSources)
|
||||
*
|
||||
* @param string $accountId Account Id for the custom data sources to retrieve.
|
||||
* @param string $webPropertyId Web property Id for the custom data sources to
|
||||
* retrieve.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int max-results The maximum number of custom data sources to
|
||||
* include in this response.
|
||||
* @opt_param int start-index A 1-based index of the first custom data source to
|
||||
* retrieve. Use this parameter as a pagination mechanism along with the max-
|
||||
* results parameter.
|
||||
* @return CustomDataSources
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = [])
|
||||
{
|
||||
$params = ['accountId' => $accountId, 'webPropertyId' => $webPropertyId];
|
||||
$params = \array_merge($params, $optParams);
|
||||
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDataSources::class);
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementCustomDataSources::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Resource_ManagementCustomDataSources');
|
||||
@@ -0,0 +1,137 @@
|
||||
<?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\Analytics\Resource;
|
||||
|
||||
use Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimension;
|
||||
use Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimensions;
|
||||
/**
|
||||
* The "customDimensions" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $analyticsService = new Google\Service\Analytics(...);
|
||||
* $customDimensions = $analyticsService->management_customDimensions;
|
||||
* </code>
|
||||
*/
|
||||
class ManagementCustomDimensions extends \Google\Site_Kit_Dependencies\Google\Service\Resource
|
||||
{
|
||||
/**
|
||||
* Get a custom dimension to which the user has access. (customDimensions.get)
|
||||
*
|
||||
* @param string $accountId Account ID for the custom dimension to retrieve.
|
||||
* @param string $webPropertyId Web property ID for the custom dimension to
|
||||
* retrieve.
|
||||
* @param string $customDimensionId The ID of the custom dimension to retrieve.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return CustomDimension
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function get($accountId, $webPropertyId, $customDimensionId, $optParams = [])
|
||||
{
|
||||
$params = ['accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId];
|
||||
$params = \array_merge($params, $optParams);
|
||||
return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimension::class);
|
||||
}
|
||||
/**
|
||||
* Create a new custom dimension. (customDimensions.insert)
|
||||
*
|
||||
* @param string $accountId Account ID for the custom dimension to create.
|
||||
* @param string $webPropertyId Web property ID for the custom dimension to
|
||||
* create.
|
||||
* @param CustomDimension $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return CustomDimension
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function insert($accountId, $webPropertyId, \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimension $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody];
|
||||
$params = \array_merge($params, $optParams);
|
||||
return $this->call('insert', [$params], \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimension::class);
|
||||
}
|
||||
/**
|
||||
* Lists custom dimensions to which the user has access.
|
||||
* (customDimensions.listManagementCustomDimensions)
|
||||
*
|
||||
* @param string $accountId Account ID for the custom dimensions to retrieve.
|
||||
* @param string $webPropertyId Web property ID for the custom dimensions to
|
||||
* retrieve.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int max-results The maximum number of custom dimensions to include
|
||||
* in this response.
|
||||
* @opt_param int start-index An index of the first entity to retrieve. Use this
|
||||
* parameter as a pagination mechanism along with the max-results parameter.
|
||||
* @return CustomDimensions
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function listManagementCustomDimensions($accountId, $webPropertyId, $optParams = [])
|
||||
{
|
||||
$params = ['accountId' => $accountId, 'webPropertyId' => $webPropertyId];
|
||||
$params = \array_merge($params, $optParams);
|
||||
return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimensions::class);
|
||||
}
|
||||
/**
|
||||
* Updates an existing custom dimension. This method supports patch semantics.
|
||||
* (customDimensions.patch)
|
||||
*
|
||||
* @param string $accountId Account ID for the custom dimension to update.
|
||||
* @param string $webPropertyId Web property ID for the custom dimension to
|
||||
* update.
|
||||
* @param string $customDimensionId Custom dimension ID for the custom dimension
|
||||
* to update.
|
||||
* @param CustomDimension $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
|
||||
* warnings related to the custom dimension being linked to a custom data source
|
||||
* / data set.
|
||||
* @return CustomDimension
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function patch($accountId, $webPropertyId, $customDimensionId, \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimension $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody];
|
||||
$params = \array_merge($params, $optParams);
|
||||
return $this->call('patch', [$params], \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimension::class);
|
||||
}
|
||||
/**
|
||||
* Updates an existing custom dimension. (customDimensions.update)
|
||||
*
|
||||
* @param string $accountId Account ID for the custom dimension to update.
|
||||
* @param string $webPropertyId Web property ID for the custom dimension to
|
||||
* update.
|
||||
* @param string $customDimensionId Custom dimension ID for the custom dimension
|
||||
* to update.
|
||||
* @param CustomDimension $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
|
||||
* warnings related to the custom dimension being linked to a custom data source
|
||||
* / data set.
|
||||
* @return CustomDimension
|
||||
* @throws \Google\Service\Exception
|
||||
*/
|
||||
public function update($accountId, $webPropertyId, $customDimensionId, \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimension $postBody, $optParams = [])
|
||||
{
|
||||
$params = ['accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody];
|
||||
$params = \array_merge($params, $optParams);
|
||||
return $this->call('update', [$params], \Google\Site_Kit_Dependencies\Google\Service\Analytics\CustomDimension::class);
|
||||
}
|
||||
}
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\Analytics\Resource\ManagementCustomDimensions::class, 'Google\\Site_Kit_Dependencies\\Google_Service_Analytics_Resource_ManagementCustomDimensions');
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user