Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,184 @@
<?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\Service\Analytics;
class Account extends \Google\Model
{
protected $childLinkType = AccountChildLink::class;
protected $childLinkDataType = '';
/**
* @var string
*/
public $created;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
protected $permissionsType = AccountPermissions::class;
protected $permissionsDataType = '';
/**
* @var string
*/
public $selfLink;
/**
* @var bool
*/
public $starred;
/**
* @var string
*/
public $updated;
/**
* @param AccountChildLink
*/
public function setChildLink(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(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(Account::class, 'Google_Service_Analytics_Account');

View File

@@ -0,0 +1,62 @@
<?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\Service\Analytics;
class AccountChildLink extends \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(AccountChildLink::class, 'Google_Service_Analytics_AccountChildLink');

View File

@@ -0,0 +1,45 @@
<?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\Service\Analytics;
class AccountPermissions extends \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(AccountPermissions::class, 'Google_Service_Analytics_AccountPermissions');

View File

@@ -0,0 +1,98 @@
<?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\Service\Analytics;
class AccountRef extends \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(AccountRef::class, 'Google_Service_Analytics_AccountRef');

View File

@@ -0,0 +1,169 @@
<?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\Service\Analytics;
class AccountSummaries extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = 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(AccountSummaries::class, 'Google_Service_Analytics_AccountSummaries');

View File

@@ -0,0 +1,115 @@
<?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\Service\Analytics;
class AccountSummary extends \Google\Collection
{
protected $collection_key = 'webProperties';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $starred;
protected $webPropertiesType = 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(AccountSummary::class, 'Google_Service_Analytics_AccountSummary');

View File

@@ -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\Service\Analytics;
class AccountTicket extends \Google\Model
{
protected $accountType = Account::class;
protected $accountDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
protected $profileType = Profile::class;
protected $profileDataType = '';
/**
* @var string
*/
public $redirectUri;
protected $webpropertyType = Webproperty::class;
protected $webpropertyDataType = '';
/**
* @param Account
*/
public function setAccount(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(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(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(AccountTicket::class, 'Google_Service_Analytics_AccountTicket');

View File

@@ -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\Service\Analytics;
class AccountTreeRequest extends \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(AccountTreeRequest::class, 'Google_Service_Analytics_AccountTreeRequest');

View File

@@ -0,0 +1,92 @@
<?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\Service\Analytics;
class AccountTreeResponse extends \Google\Model
{
protected $accountType = Account::class;
protected $accountDataType = '';
/**
* @var string
*/
public $kind;
protected $profileType = Profile::class;
protected $profileDataType = '';
protected $webpropertyType = Webproperty::class;
protected $webpropertyDataType = '';
/**
* @param Account
*/
public function setAccount(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(Profile $profile)
{
$this->profile = $profile;
}
/**
* @return Profile
*/
public function getProfile()
{
return $this->profile;
}
/**
* @param Webproperty
*/
public function setWebproperty(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(AccountTreeResponse::class, 'Google_Service_Analytics_AccountTreeResponse');

View File

@@ -0,0 +1,169 @@
<?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\Service\Analytics;
class Accounts extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = 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(Accounts::class, 'Google_Service_Analytics_Accounts');

View File

@@ -0,0 +1,80 @@
<?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\Service\Analytics;
class AdWordsAccount extends \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(AdWordsAccount::class, 'Google_Service_Analytics_AdWordsAccount');

View File

@@ -0,0 +1,45 @@
<?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\Service\Analytics;
class AnalyticsDataimportDeleteUploadDataRequest extends \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(AnalyticsDataimportDeleteUploadDataRequest::class, 'Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest');

View File

@@ -0,0 +1,80 @@
<?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\Service\Analytics;
class Column extends \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(Column::class, 'Google_Service_Analytics_Column');

View File

@@ -0,0 +1,115 @@
<?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\Service\Analytics;
class Columns extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var string[]
*/
public $attributeNames;
/**
* @var string
*/
public $etag;
protected $itemsType = 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(Columns::class, 'Google_Service_Analytics_Columns');

View File

@@ -0,0 +1,311 @@
<?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\Service\Analytics;
class CustomDataSource extends \Google\Collection
{
protected $collection_key = 'schema';
/**
* @var string
*/
public $accountId;
protected $childLinkType = 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 = 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(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(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(CustomDataSource::class, 'Google_Service_Analytics_CustomDataSource');

View File

@@ -0,0 +1,62 @@
<?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\Service\Analytics;
class CustomDataSourceChildLink extends \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(CustomDataSourceChildLink::class, 'Google_Service_Analytics_CustomDataSourceChildLink');

View File

@@ -0,0 +1,62 @@
<?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\Service\Analytics;
class CustomDataSourceParentLink extends \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(CustomDataSourceParentLink::class, 'Google_Service_Analytics_CustomDataSourceParentLink');

View File

@@ -0,0 +1,169 @@
<?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\Service\Analytics;
class CustomDataSources extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = 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(CustomDataSources::class, 'Google_Service_Analytics_CustomDataSources');

View File

@@ -0,0 +1,240 @@
<?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\Service\Analytics;
class CustomDimension extends \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 = 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(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(CustomDimension::class, 'Google_Service_Analytics_CustomDimension');

View File

@@ -0,0 +1,62 @@
<?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\Service\Analytics;
class CustomDimensionParentLink extends \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(CustomDimensionParentLink::class, 'Google_Service_Analytics_CustomDimensionParentLink');

View File

@@ -0,0 +1,169 @@
<?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\Service\Analytics;
class CustomDimensions extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = 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(CustomDimensions::class, 'Google_Service_Analytics_CustomDimensions');

View File

@@ -0,0 +1,298 @@
<?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\Service\Analytics;
class CustomMetric extends \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 = 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(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(CustomMetric::class, 'Google_Service_Analytics_CustomMetric');

View File

@@ -0,0 +1,62 @@
<?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\Service\Analytics;
class CustomMetricParentLink extends \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(CustomMetricParentLink::class, 'Google_Service_Analytics_CustomMetricParentLink');

View File

@@ -0,0 +1,169 @@
<?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\Service\Analytics;
class CustomMetrics extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = 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(CustomMetrics::class, 'Google_Service_Analytics_CustomMetrics');

View File

@@ -0,0 +1,149 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Analytics;
class EntityAdWordsLink extends \Google\Collection
{
protected $collection_key = 'profileIds';
protected $adWordsAccountsType = AdWordsAccount::class;
protected $adWordsAccountsDataType = 'array';
protected $entityType = 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(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(EntityAdWordsLink::class, 'Google_Service_Analytics_EntityAdWordsLink');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Analytics;
class EntityAdWordsLinkEntity extends \Google\Model
{
protected $webPropertyRefType = WebPropertyRef::class;
protected $webPropertyRefDataType = '';
/**
* @param WebPropertyRef
*/
public function setWebPropertyRef(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(EntityAdWordsLinkEntity::class, 'Google_Service_Analytics_EntityAdWordsLinkEntity');

View File

@@ -0,0 +1,151 @@
<?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\Service\Analytics;
class EntityAdWordsLinks extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = 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(EntityAdWordsLinks::class, 'Google_Service_Analytics_EntityAdWordsLinks');

View File

@@ -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\Service\Analytics;
class EntityUserLink extends \Google\Model
{
protected $entityType = EntityUserLinkEntity::class;
protected $entityDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
protected $permissionsType = EntityUserLinkPermissions::class;
protected $permissionsDataType = '';
/**
* @var string
*/
public $selfLink;
protected $userRefType = UserRef::class;
protected $userRefDataType = '';
/**
* @param EntityUserLinkEntity
*/
public function setEntity(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(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(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(EntityUserLink::class, 'Google_Service_Analytics_EntityUserLink');

View File

@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Analytics;
class EntityUserLinkEntity extends \Google\Model
{
protected $accountRefType = AccountRef::class;
protected $accountRefDataType = '';
protected $profileRefType = ProfileRef::class;
protected $profileRefDataType = '';
protected $webPropertyRefType = WebPropertyRef::class;
protected $webPropertyRefDataType = '';
/**
* @param AccountRef
*/
public function setAccountRef(AccountRef $accountRef)
{
$this->accountRef = $accountRef;
}
/**
* @return AccountRef
*/
public function getAccountRef()
{
return $this->accountRef;
}
/**
* @param ProfileRef
*/
public function setProfileRef(ProfileRef $profileRef)
{
$this->profileRef = $profileRef;
}
/**
* @return ProfileRef
*/
public function getProfileRef()
{
return $this->profileRef;
}
/**
* @param WebPropertyRef
*/
public function setWebPropertyRef(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(EntityUserLinkEntity::class, 'Google_Service_Analytics_EntityUserLinkEntity');

View File

@@ -0,0 +1,63 @@
<?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\Service\Analytics;
class EntityUserLinkPermissions extends \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(EntityUserLinkPermissions::class, 'Google_Service_Analytics_EntityUserLinkPermissions');

View File

@@ -0,0 +1,151 @@
<?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\Service\Analytics;
class EntityUserLinks extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = 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(EntityUserLinks::class, 'Google_Service_Analytics_EntityUserLinks');

View File

@@ -0,0 +1,509 @@
<?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\Service\Analytics;
class Experiment extends \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 = 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 = 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(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(Experiment::class, 'Google_Service_Analytics_Experiment');

View File

@@ -0,0 +1,62 @@
<?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\Service\Analytics;
class ExperimentParentLink extends \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(ExperimentParentLink::class, 'Google_Service_Analytics_ExperimentParentLink');

View File

@@ -0,0 +1,107 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Analytics;
class ExperimentVariations extends \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(ExperimentVariations::class, 'Google_Service_Analytics_ExperimentVariations');

View File

@@ -0,0 +1,169 @@
<?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\Service\Analytics;
class Experiments extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = 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(Experiments::class, 'Google_Service_Analytics_Experiments');

View File

@@ -0,0 +1,282 @@
<?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\Service\Analytics;
class Filter extends \Google\Model
{
/**
* @var string
*/
public $accountId;
protected $advancedDetailsType = FilterAdvancedDetails::class;
protected $advancedDetailsDataType = '';
/**
* @var string
*/
public $created;
protected $excludeDetailsType = FilterExpression::class;
protected $excludeDetailsDataType = '';
/**
* @var string
*/
public $id;
protected $includeDetailsType = FilterExpression::class;
protected $includeDetailsDataType = '';
/**
* @var string
*/
public $kind;
protected $lowercaseDetailsType = FilterLowercaseDetails::class;
protected $lowercaseDetailsDataType = '';
/**
* @var string
*/
public $name;
protected $parentLinkType = FilterParentLink::class;
protected $parentLinkDataType = '';
protected $searchAndReplaceDetailsType = FilterSearchAndReplaceDetails::class;
protected $searchAndReplaceDetailsDataType = '';
/**
* @var string
*/
public $selfLink;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $updated;
protected $uppercaseDetailsType = 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(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(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(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(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(FilterParentLink $parentLink)
{
$this->parentLink = $parentLink;
}
/**
* @return FilterParentLink
*/
public function getParentLink()
{
return $this->parentLink;
}
/**
* @param FilterSearchAndReplaceDetails
*/
public function setSearchAndReplaceDetails(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(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(Filter::class, 'Google_Service_Analytics_Filter');

View File

@@ -0,0 +1,260 @@
<?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\Service\Analytics;
class FilterAdvancedDetails extends \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(FilterAdvancedDetails::class, 'Google_Service_Analytics_FilterAdvancedDetails');

View File

@@ -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\Service\Analytics;
class FilterExpression extends \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(FilterExpression::class, 'Google_Service_Analytics_FilterExpression');

View File

@@ -0,0 +1,62 @@
<?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\Service\Analytics;
class FilterLowercaseDetails extends \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(FilterLowercaseDetails::class, 'Google_Service_Analytics_FilterLowercaseDetails');

View File

@@ -0,0 +1,62 @@
<?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\Service\Analytics;
class FilterParentLink extends \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(FilterParentLink::class, 'Google_Service_Analytics_FilterParentLink');

View File

@@ -0,0 +1,116 @@
<?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\Service\Analytics;
class FilterRef extends \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(FilterRef::class, 'Google_Service_Analytics_FilterRef');

View File

@@ -0,0 +1,116 @@
<?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\Service\Analytics;
class FilterSearchAndReplaceDetails extends \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(FilterSearchAndReplaceDetails::class, 'Google_Service_Analytics_FilterSearchAndReplaceDetails');

View File

@@ -0,0 +1,62 @@
<?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\Service\Analytics;
class FilterUppercaseDetails extends \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(FilterUppercaseDetails::class, 'Google_Service_Analytics_FilterUppercaseDetails');

View File

@@ -0,0 +1,169 @@
<?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\Service\Analytics;
class Filters extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = 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(Filters::class, 'Google_Service_Analytics_Filters');

View File

@@ -0,0 +1,325 @@
<?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\Service\Analytics;
class GaData extends \Google\Collection
{
protected $collection_key = 'rows';
protected $columnHeadersType = GaDataColumnHeaders::class;
protected $columnHeadersDataType = 'array';
/**
* @var bool
*/
public $containsSampledData;
/**
* @var string
*/
public $dataLastRefreshed;
protected $dataTableType = 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 = GaDataProfileInfo::class;
protected $profileInfoDataType = '';
protected $queryType = 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(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(GaDataProfileInfo $profileInfo)
{
$this->profileInfo = $profileInfo;
}
/**
* @return GaDataProfileInfo
*/
public function getProfileInfo()
{
return $this->profileInfo;
}
/**
* @param GaDataQuery
*/
public function setQuery(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(GaData::class, 'Google_Service_Analytics_GaData');

View File

@@ -0,0 +1,80 @@
<?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\Service\Analytics;
class GaDataColumnHeaders extends \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(GaDataColumnHeaders::class, 'Google_Service_Analytics_GaDataColumnHeaders');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Analytics;
class GaDataDataTable extends \Google\Collection
{
protected $collection_key = 'rows';
protected $colsType = GaDataDataTableCols::class;
protected $colsDataType = 'array';
protected $rowsType = 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(GaDataDataTable::class, 'Google_Service_Analytics_GaDataDataTable');

View File

@@ -0,0 +1,80 @@
<?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\Service\Analytics;
class GaDataDataTableCols extends \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(GaDataDataTableCols::class, 'Google_Service_Analytics_GaDataDataTableCols');

View File

@@ -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\Service\Analytics;
class GaDataDataTableRows extends \Google\Collection
{
protected $collection_key = 'c';
protected $cType = 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(GaDataDataTableRows::class, 'Google_Service_Analytics_GaDataDataTableRows');

View File

@@ -0,0 +1,44 @@
<?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\Service\Analytics;
class GaDataDataTableRowsC extends \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(GaDataDataTableRowsC::class, 'Google_Service_Analytics_GaDataDataTableRowsC');

View File

@@ -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\Service\Analytics;
class GaDataProfileInfo extends \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(GaDataProfileInfo::class, 'Google_Service_Analytics_GaDataProfileInfo');

View File

@@ -0,0 +1,231 @@
<?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\Service\Analytics;
class GaDataQuery extends \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(GaDataQuery::class, 'Google_Service_Analytics_GaDataQuery');

View File

@@ -0,0 +1,340 @@
<?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\Service\Analytics;
class Goal extends \Google\Model
{
/**
* @var string
*/
public $accountId;
/**
* @var bool
*/
public $active;
/**
* @var string
*/
public $created;
protected $eventDetailsType = GoalEventDetails::class;
protected $eventDetailsDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $internalWebPropertyId;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
protected $parentLinkType = GoalParentLink::class;
protected $parentLinkDataType = '';
/**
* @var string
*/
public $profileId;
/**
* @var string
*/
public $selfLink;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $updated;
protected $urlDestinationDetailsType = GoalUrlDestinationDetails::class;
protected $urlDestinationDetailsDataType = '';
/**
* @var float
*/
public $value;
protected $visitNumPagesDetailsType = GoalVisitNumPagesDetails::class;
protected $visitNumPagesDetailsDataType = '';
protected $visitTimeOnSiteDetailsType = 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(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(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(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(GoalVisitNumPagesDetails $visitNumPagesDetails)
{
$this->visitNumPagesDetails = $visitNumPagesDetails;
}
/**
* @return GoalVisitNumPagesDetails
*/
public function getVisitNumPagesDetails()
{
return $this->visitNumPagesDetails;
}
/**
* @param GoalVisitTimeOnSiteDetails
*/
public function setVisitTimeOnSiteDetails(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(Goal::class, 'Google_Service_Analytics_Goal');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Analytics;
class GoalEventDetails extends \Google\Collection
{
protected $collection_key = 'eventConditions';
protected $eventConditionsType = 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(GoalEventDetails::class, 'Google_Service_Analytics_GoalEventDetails');

View File

@@ -0,0 +1,116 @@
<?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\Service\Analytics;
class GoalEventDetailsEventConditions extends \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(GoalEventDetailsEventConditions::class, 'Google_Service_Analytics_GoalEventDetailsEventConditions');

View File

@@ -0,0 +1,62 @@
<?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\Service\Analytics;
class GoalParentLink extends \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(GoalParentLink::class, 'Google_Service_Analytics_GoalParentLink');

View File

@@ -0,0 +1,115 @@
<?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\Service\Analytics;
class GoalUrlDestinationDetails extends \Google\Collection
{
protected $collection_key = 'steps';
/**
* @var bool
*/
public $caseSensitive;
/**
* @var bool
*/
public $firstStepRequired;
/**
* @var string
*/
public $matchType;
protected $stepsType = 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(GoalUrlDestinationDetails::class, 'Google_Service_Analytics_GoalUrlDestinationDetails');

View File

@@ -0,0 +1,80 @@
<?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\Service\Analytics;
class GoalUrlDestinationDetailsSteps extends \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(GoalUrlDestinationDetailsSteps::class, 'Google_Service_Analytics_GoalUrlDestinationDetailsSteps');

View File

@@ -0,0 +1,62 @@
<?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\Service\Analytics;
class GoalVisitNumPagesDetails extends \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(GoalVisitNumPagesDetails::class, 'Google_Service_Analytics_GoalVisitNumPagesDetails');

View File

@@ -0,0 +1,62 @@
<?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\Service\Analytics;
class GoalVisitTimeOnSiteDetails extends \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(GoalVisitTimeOnSiteDetails::class, 'Google_Service_Analytics_GoalVisitTimeOnSiteDetails');

View File

@@ -0,0 +1,169 @@
<?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\Service\Analytics;
class Goals extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = 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(Goals::class, 'Google_Service_Analytics_Goals');

View File

@@ -0,0 +1,80 @@
<?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\Service\Analytics;
class HashClientIdRequest extends \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(HashClientIdRequest::class, 'Google_Service_Analytics_HashClientIdRequest');

View File

@@ -0,0 +1,98 @@
<?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\Service\Analytics;
class HashClientIdResponse extends \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(HashClientIdResponse::class, 'Google_Service_Analytics_HashClientIdResponse');

View File

@@ -0,0 +1,116 @@
<?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\Service\Analytics;
class IncludeConditions extends \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(IncludeConditions::class, 'Google_Service_Analytics_IncludeConditions');

View File

@@ -0,0 +1,206 @@
<?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\Service\Analytics;
class LinkedForeignAccount extends \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(LinkedForeignAccount::class, 'Google_Service_Analytics_LinkedForeignAccount');

View File

@@ -0,0 +1,289 @@
<?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\Service\Analytics;
class McfData extends \Google\Collection
{
protected $collection_key = 'rows';
protected $columnHeadersType = 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 = McfDataProfileInfo::class;
protected $profileInfoDataType = '';
protected $queryType = McfDataQuery::class;
protected $queryDataType = '';
protected $rowsType = 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(McfDataProfileInfo $profileInfo)
{
$this->profileInfo = $profileInfo;
}
/**
* @return McfDataProfileInfo
*/
public function getProfileInfo()
{
return $this->profileInfo;
}
/**
* @param McfDataQuery
*/
public function setQuery(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(McfData::class, 'Google_Service_Analytics_McfData');

View File

@@ -0,0 +1,80 @@
<?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\Service\Analytics;
class McfDataColumnHeaders extends \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(McfDataColumnHeaders::class, 'Google_Service_Analytics_McfDataColumnHeaders');

View File

@@ -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\Service\Analytics;
class McfDataProfileInfo extends \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(McfDataProfileInfo::class, 'Google_Service_Analytics_McfDataProfileInfo');

View File

@@ -0,0 +1,231 @@
<?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\Service\Analytics;
class McfDataQuery extends \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(McfDataQuery::class, 'Google_Service_Analytics_McfDataQuery');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Analytics;
class McfDataRows extends \Google\Collection
{
protected $collection_key = 'conversionPathValue';
protected $conversionPathValueType = 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(McfDataRows::class, 'Google_Service_Analytics_McfDataRows');

View File

@@ -0,0 +1,62 @@
<?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\Service\Analytics;
class McfDataRowsConversionPathValue extends \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(McfDataRowsConversionPathValue::class, 'Google_Service_Analytics_McfDataRowsConversionPathValue');

View File

@@ -0,0 +1,488 @@
<?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\Service\Analytics;
class Profile extends \Google\Model
{
/**
* @var string
*/
public $accountId;
/**
* @var bool
*/
public $botFilteringEnabled;
protected $childLinkType = 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 = ProfileParentLink::class;
protected $parentLinkDataType = '';
protected $permissionsType = 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(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(ProfileParentLink $parentLink)
{
$this->parentLink = $parentLink;
}
/**
* @return ProfileParentLink
*/
public function getParentLink()
{
return $this->parentLink;
}
/**
* @param ProfilePermissions
*/
public function setPermissions(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(Profile::class, 'Google_Service_Analytics_Profile');

View File

@@ -0,0 +1,62 @@
<?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\Service\Analytics;
class ProfileChildLink extends \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(ProfileChildLink::class, 'Google_Service_Analytics_ProfileChildLink');

View File

@@ -0,0 +1,130 @@
<?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\Service\Analytics;
class ProfileFilterLink extends \Google\Model
{
protected $filterRefType = FilterRef::class;
protected $filterRefDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
protected $profileRefType = ProfileRef::class;
protected $profileRefDataType = '';
/**
* @var int
*/
public $rank;
/**
* @var string
*/
public $selfLink;
/**
* @param FilterRef
*/
public function setFilterRef(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(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(ProfileFilterLink::class, 'Google_Service_Analytics_ProfileFilterLink');

View File

@@ -0,0 +1,169 @@
<?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\Service\Analytics;
class ProfileFilterLinks extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = 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(ProfileFilterLinks::class, 'Google_Service_Analytics_ProfileFilterLinks');

View File

@@ -0,0 +1,62 @@
<?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\Service\Analytics;
class ProfileParentLink extends \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(ProfileParentLink::class, 'Google_Service_Analytics_ProfileParentLink');

View File

@@ -0,0 +1,45 @@
<?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\Service\Analytics;
class ProfilePermissions extends \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(ProfilePermissions::class, 'Google_Service_Analytics_ProfilePermissions');

View File

@@ -0,0 +1,152 @@
<?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\Service\Analytics;
class ProfileRef extends \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(ProfileRef::class, 'Google_Service_Analytics_ProfileRef');

View File

@@ -0,0 +1,116 @@
<?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\Service\Analytics;
class ProfileSummary extends \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(ProfileSummary::class, 'Google_Service_Analytics_ProfileSummary');

View File

@@ -0,0 +1,169 @@
<?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\Service\Analytics;
class Profiles extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = 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(Profiles::class, 'Google_Service_Analytics_Profiles');

View File

@@ -0,0 +1,183 @@
<?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\Service\Analytics;
class RealtimeData extends \Google\Collection
{
protected $collection_key = 'rows';
protected $columnHeadersType = RealtimeDataColumnHeaders::class;
protected $columnHeadersDataType = 'array';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
protected $profileInfoType = RealtimeDataProfileInfo::class;
protected $profileInfoDataType = '';
protected $queryType = 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(RealtimeDataProfileInfo $profileInfo)
{
$this->profileInfo = $profileInfo;
}
/**
* @return RealtimeDataProfileInfo
*/
public function getProfileInfo()
{
return $this->profileInfo;
}
/**
* @param RealtimeDataQuery
*/
public function setQuery(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(RealtimeData::class, 'Google_Service_Analytics_RealtimeData');

View File

@@ -0,0 +1,80 @@
<?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\Service\Analytics;
class RealtimeDataColumnHeaders extends \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(RealtimeDataColumnHeaders::class, 'Google_Service_Analytics_RealtimeDataColumnHeaders');

View File

@@ -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\Service\Analytics;
class RealtimeDataProfileInfo extends \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(RealtimeDataProfileInfo::class, 'Google_Service_Analytics_RealtimeDataProfileInfo');

View File

@@ -0,0 +1,138 @@
<?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\Service\Analytics;
class RealtimeDataQuery extends \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(RealtimeDataQuery::class, 'Google_Service_Analytics_RealtimeDataQuery');

View File

@@ -0,0 +1,273 @@
<?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\Service\Analytics;
class RemarketingAudience extends \Google\Collection
{
protected $collection_key = 'linkedViews';
/**
* @var string
*/
public $accountId;
protected $audienceDefinitionType = 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 = LinkedForeignAccount::class;
protected $linkedAdAccountsDataType = 'array';
/**
* @var string[]
*/
public $linkedViews;
/**
* @var string
*/
public $name;
protected $stateBasedAudienceDefinitionType = 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(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(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(RemarketingAudience::class, 'Google_Service_Analytics_RemarketingAudience');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Analytics;
class RemarketingAudienceAudienceDefinition extends \Google\Model
{
protected $includeConditionsType = IncludeConditions::class;
protected $includeConditionsDataType = '';
/**
* @param IncludeConditions
*/
public function setIncludeConditions(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(RemarketingAudienceAudienceDefinition::class, 'Google_Service_Analytics_RemarketingAudienceAudienceDefinition');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Analytics;
class RemarketingAudienceStateBasedAudienceDefinition extends \Google\Model
{
protected $excludeConditionsType = RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions::class;
protected $excludeConditionsDataType = '';
protected $includeConditionsType = IncludeConditions::class;
protected $includeConditionsDataType = '';
/**
* @param RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions
*/
public function setExcludeConditions(RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions $excludeConditions)
{
$this->excludeConditions = $excludeConditions;
}
/**
* @return RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions
*/
public function getExcludeConditions()
{
return $this->excludeConditions;
}
/**
* @param IncludeConditions
*/
public function setIncludeConditions(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(RemarketingAudienceStateBasedAudienceDefinition::class, 'Google_Service_Analytics_RemarketingAudienceStateBasedAudienceDefinition');

View File

@@ -0,0 +1,62 @@
<?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\Service\Analytics;
class RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions extends \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(RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions::class, 'Google_Service_Analytics_RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions');

View File

@@ -0,0 +1,169 @@
<?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\Service\Analytics;
class RemarketingAudiences extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = 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(RemarketingAudiences::class, 'Google_Service_Analytics_RemarketingAudiences');

View File

@@ -0,0 +1,33 @@
<?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\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\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Data::class, 'Google_Service_Analytics_Resource_Data');

View File

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

View File

@@ -0,0 +1,71 @@
<?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\Service\Analytics\Resource;
use 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\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], McfData::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataMcf::class, 'Google_Service_Analytics_Resource_DataMcf');

View File

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

View File

@@ -0,0 +1,33 @@
<?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\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\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Management::class, 'Google_Service_Analytics_Resource_Management');

View File

@@ -0,0 +1,55 @@
<?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\Service\Analytics\Resource;
use 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\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], AccountSummaries::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagementAccountSummaries::class, 'Google_Service_Analytics_Resource_ManagementAccountSummaries');

View File

@@ -0,0 +1,103 @@
<?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\Service\Analytics\Resource;
use Google\Service\Analytics\EntityUserLink;
use Google\Service\Analytics\EntityUserLinks;
/**
* The "accountUserLinks" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $accountUserLinks = $analyticsService->management_accountUserLinks;
* </code>
*/
class ManagementAccountUserLinks extends \Google\Service\Resource
{
/**
* Removes a user from the given account. (accountUserLinks.delete)
*
* @param string $accountId Account ID to delete the user link for.
* @param string $linkId Link ID to delete the user link for.
* @param array $optParams Optional parameters.
* @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, EntityUserLink $postBody, $optParams = [])
{
$params = ['accountId' => $accountId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], EntityUserLink::class);
}
/**
* Lists account-user links for a given account.
* (accountUserLinks.listManagementAccountUserLinks)
*
* @param string $accountId Account ID to retrieve the user links for.
* @param array $optParams Optional parameters.
*
* @opt_param int max-results The maximum number of account-user links to
* include in this response.
* @opt_param int start-index An index of the first account-user link to
* retrieve. Use this parameter as a pagination mechanism along with the max-
* results parameter.
* @return EntityUserLinks
* @throws \Google\Service\Exception
*/
public function listManagementAccountUserLinks($accountId, $optParams = [])
{
$params = ['accountId' => $accountId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], EntityUserLinks::class);
}
/**
* Updates permissions for an existing user on the given account.
* (accountUserLinks.update)
*
* @param string $accountId Account ID to update the account-user link for.
* @param string $linkId Link ID to update the account-user link for.
* @param EntityUserLink $postBody
* @param array $optParams Optional parameters.
* @return EntityUserLink
* @throws \Google\Service\Exception
*/
public function update($accountId, $linkId, EntityUserLink $postBody, $optParams = [])
{
$params = ['accountId' => $accountId, 'linkId' => $linkId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], EntityUserLink::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagementAccountUserLinks::class, 'Google_Service_Analytics_Resource_ManagementAccountUserLinks');

View File

@@ -0,0 +1,55 @@
<?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\Service\Analytics\Resource;
use 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\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], Accounts::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagementAccounts::class, 'Google_Service_Analytics_Resource_ManagementAccounts');

View File

@@ -0,0 +1,50 @@
<?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\Service\Analytics\Resource;
use Google\Service\Analytics\HashClientIdRequest;
use Google\Service\Analytics\HashClientIdResponse;
/**
* The "clientId" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $clientId = $analyticsService->management_clientId;
* </code>
*/
class ManagementClientId extends \Google\Service\Resource
{
/**
* Hashes the given Client ID. (clientId.hashClientId)
*
* @param HashClientIdRequest $postBody
* @param array $optParams Optional parameters.
* @return HashClientIdResponse
* @throws \Google\Service\Exception
*/
public function hashClientId(HashClientIdRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('hashClientId', [$params], HashClientIdResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagementClientId::class, 'Google_Service_Analytics_Resource_ManagementClientId');

View File

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

View File

@@ -0,0 +1,139 @@
<?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\Service\Analytics\Resource;
use Google\Service\Analytics\CustomDimension;
use Google\Service\Analytics\CustomDimensions;
/**
* The "customDimensions" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google\Service\Analytics(...);
* $customDimensions = $analyticsService->management_customDimensions;
* </code>
*/
class ManagementCustomDimensions extends \Google\Service\Resource
{
/**
* Get a custom dimension to which the user has access. (customDimensions.get)
*
* @param string $accountId Account ID for the custom dimension to retrieve.
* @param string $webPropertyId Web property ID for the custom dimension to
* retrieve.
* @param string $customDimensionId The ID of the custom dimension to retrieve.
* @param array $optParams Optional parameters.
* @return CustomDimension
* @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], 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, CustomDimension $postBody, $optParams = [])
{
$params = ['accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], CustomDimension::class);
}
/**
* Lists custom dimensions to which the user has access.
* (customDimensions.listManagementCustomDimensions)
*
* @param string $accountId Account ID for the custom dimensions to retrieve.
* @param string $webPropertyId Web property ID for the custom dimensions to
* retrieve.
* @param array $optParams Optional parameters.
*
* @opt_param int max-results The maximum number of custom dimensions to include
* in this response.
* @opt_param int start-index An index of the first entity to retrieve. Use this
* parameter as a pagination mechanism along with the max-results parameter.
* @return CustomDimensions
* @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], 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, CustomDimension $postBody, $optParams = [])
{
$params = ['accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], CustomDimension::class);
}
/**
* Updates an existing custom dimension. (customDimensions.update)
*
* @param string $accountId Account ID for the custom dimension to update.
* @param string $webPropertyId Web property ID for the custom dimension to
* update.
* @param string $customDimensionId Custom dimension ID for the custom dimension
* to update.
* @param CustomDimension $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
* warnings related to the custom dimension being linked to a custom data source
* / data set.
* @return CustomDimension
* @throws \Google\Service\Exception
*/
public function update($accountId, $webPropertyId, $customDimensionId, CustomDimension $postBody, $optParams = [])
{
$params = ['accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], CustomDimension::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagementCustomDimensions::class, 'Google_Service_Analytics_Resource_ManagementCustomDimensions');

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