Initial commit

This commit is contained in:
Caribana
2017-05-26 11:41:26 +02:00
commit 61c24500af
6264 changed files with 645934 additions and 0 deletions

View File

@@ -0,0 +1,104 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_Account extends Google_Model
{
protected $childLinkType = 'Google_Service_Analytics_AccountChildLink';
protected $childLinkDataType = '';
public $created;
public $id;
public $kind;
public $name;
protected $permissionsType = 'Google_Service_Analytics_AccountPermissions';
protected $permissionsDataType = '';
public $selfLink;
public $starred;
public $updated;
public function setChildLink(Google_Service_Analytics_AccountChildLink $childLink)
{
$this->childLink = $childLink;
}
public function getChildLink()
{
return $this->childLink;
}
public function setCreated($created)
{
$this->created = $created;
}
public function getCreated()
{
return $this->created;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setPermissions(Google_Service_Analytics_AccountPermissions $permissions)
{
$this->permissions = $permissions;
}
public function getPermissions()
{
return $this->permissions;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
public function setStarred($starred)
{
$this->starred = $starred;
}
public function getStarred()
{
return $this->starred;
}
public function setUpdated($updated)
{
$this->updated = $updated;
}
public function getUpdated()
{
return $this->updated;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_AccountChildLink extends Google_Model
{
public $href;
public $type;
public function setHref($href)
{
$this->href = $href;
}
public function getHref()
{
return $this->href;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,31 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_AccountPermissions extends Google_Collection
{
protected $collection_key = 'effective';
public $effective;
public function setEffective($effective)
{
$this->effective = $effective;
}
public function getEffective()
{
return $this->effective;
}
}

View File

@@ -0,0 +1,57 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_AccountRef extends Google_Model
{
public $href;
public $id;
public $kind;
public $name;
public function setHref($href)
{
$this->href = $href;
}
public function getHref()
{
return $this->href;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_AccountSummaries extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_AccountSummary';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
public $nextLink;
public $previousLink;
public $startIndex;
public $totalResults;
public $username;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
public function getNextLink()
{
return $this->nextLink;
}
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
public function getPreviousLink()
{
return $this->previousLink;
}
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
public function getStartIndex()
{
return $this->startIndex;
}
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
public function getTotalResults()
{
return $this->totalResults;
}
public function setUsername($username)
{
$this->username = $username;
}
public function getUsername()
{
return $this->username;
}
}

View File

@@ -0,0 +1,68 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_AccountSummary extends Google_Collection
{
protected $collection_key = 'webProperties';
public $id;
public $kind;
public $name;
public $starred;
protected $webPropertiesType = 'Google_Service_Analytics_WebPropertySummary';
protected $webPropertiesDataType = 'array';
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setStarred($starred)
{
$this->starred = $starred;
}
public function getStarred()
{
return $this->starred;
}
public function setWebProperties($webProperties)
{
$this->webProperties = $webProperties;
}
public function getWebProperties()
{
return $this->webProperties;
}
}

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_AccountTicket extends Google_Model
{
protected $accountType = 'Google_Service_Analytics_Account';
protected $accountDataType = '';
public $id;
public $kind;
protected $profileType = 'Google_Service_Analytics_Profile';
protected $profileDataType = '';
public $redirectUri;
protected $webpropertyType = 'Google_Service_Analytics_Webproperty';
protected $webpropertyDataType = '';
public function setAccount(Google_Service_Analytics_Account $account)
{
$this->account = $account;
}
public function getAccount()
{
return $this->account;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setProfile(Google_Service_Analytics_Profile $profile)
{
$this->profile = $profile;
}
public function getProfile()
{
return $this->profile;
}
public function setRedirectUri($redirectUri)
{
$this->redirectUri = $redirectUri;
}
public function getRedirectUri()
{
return $this->redirectUri;
}
public function setWebproperty(Google_Service_Analytics_Webproperty $webproperty)
{
$this->webproperty = $webproperty;
}
public function getWebproperty()
{
return $this->webproperty;
}
}

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_Accounts extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_Account';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
public $nextLink;
public $previousLink;
public $startIndex;
public $totalResults;
public $username;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
public function getNextLink()
{
return $this->nextLink;
}
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
public function getPreviousLink()
{
return $this->previousLink;
}
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
public function getStartIndex()
{
return $this->startIndex;
}
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
public function getTotalResults()
{
return $this->totalResults;
}
public function setUsername($username)
{
$this->username = $username;
}
public function getUsername()
{
return $this->username;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_AdWordsAccount extends Google_Model
{
public $autoTaggingEnabled;
public $customerId;
public $kind;
public function setAutoTaggingEnabled($autoTaggingEnabled)
{
$this->autoTaggingEnabled = $autoTaggingEnabled;
}
public function getAutoTaggingEnabled()
{
return $this->autoTaggingEnabled;
}
public function setCustomerId($customerId)
{
$this->customerId = $customerId;
}
public function getCustomerId()
{
return $this->customerId;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,31 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extends Google_Collection
{
protected $collection_key = 'customDataImportUids';
public $customDataImportUids;
public function setCustomDataImportUids($customDataImportUids)
{
$this->customDataImportUids = $customDataImportUids;
}
public function getCustomDataImportUids()
{
return $this->customDataImportUids;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_Column extends Google_Model
{
public $attributes;
public $id;
public $kind;
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
public function getAttributes()
{
return $this->attributes;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,68 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_Columns extends Google_Collection
{
protected $collection_key = 'items';
public $attributeNames;
public $etag;
protected $itemsType = 'Google_Service_Analytics_Column';
protected $itemsDataType = 'array';
public $kind;
public $totalResults;
public function setAttributeNames($attributeNames)
{
$this->attributeNames = $attributeNames;
}
public function getAttributeNames()
{
return $this->attributeNames;
}
public function setEtag($etag)
{
$this->etag = $etag;
}
public function getEtag()
{
return $this->etag;
}
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
public function getTotalResults()
{
return $this->totalResults;
}
}

View File

@@ -0,0 +1,159 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_CustomDataSource extends Google_Collection
{
protected $collection_key = 'profilesLinked';
public $accountId;
protected $childLinkType = 'Google_Service_Analytics_CustomDataSourceChildLink';
protected $childLinkDataType = '';
public $created;
public $description;
public $id;
public $importBehavior;
public $kind;
public $name;
protected $parentLinkType = 'Google_Service_Analytics_CustomDataSourceParentLink';
protected $parentLinkDataType = '';
public $profilesLinked;
public $selfLink;
public $type;
public $updated;
public $uploadType;
public $webPropertyId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setChildLink(Google_Service_Analytics_CustomDataSourceChildLink $childLink)
{
$this->childLink = $childLink;
}
public function getChildLink()
{
return $this->childLink;
}
public function setCreated($created)
{
$this->created = $created;
}
public function getCreated()
{
return $this->created;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setImportBehavior($importBehavior)
{
$this->importBehavior = $importBehavior;
}
public function getImportBehavior()
{
return $this->importBehavior;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setParentLink(Google_Service_Analytics_CustomDataSourceParentLink $parentLink)
{
$this->parentLink = $parentLink;
}
public function getParentLink()
{
return $this->parentLink;
}
public function setProfilesLinked($profilesLinked)
{
$this->profilesLinked = $profilesLinked;
}
public function getProfilesLinked()
{
return $this->profilesLinked;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setUpdated($updated)
{
$this->updated = $updated;
}
public function getUpdated()
{
return $this->updated;
}
public function setUploadType($uploadType)
{
$this->uploadType = $uploadType;
}
public function getUploadType()
{
return $this->uploadType;
}
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
public function getWebPropertyId()
{
return $this->webPropertyId;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_CustomDataSourceChildLink extends Google_Model
{
public $href;
public $type;
public function setHref($href)
{
$this->href = $href;
}
public function getHref()
{
return $this->href;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_CustomDataSourceParentLink extends Google_Model
{
public $href;
public $type;
public function setHref($href)
{
$this->href = $href;
}
public function getHref()
{
return $this->href;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_CustomDataSources extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_CustomDataSource';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
public $nextLink;
public $previousLink;
public $startIndex;
public $totalResults;
public $username;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
public function getNextLink()
{
return $this->nextLink;
}
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
public function getPreviousLink()
{
return $this->previousLink;
}
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
public function getStartIndex()
{
return $this->startIndex;
}
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
public function getTotalResults()
{
return $this->totalResults;
}
public function setUsername($username)
{
$this->username = $username;
}
public function getUsername()
{
return $this->username;
}
}

View File

@@ -0,0 +1,130 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_CustomDimension extends Google_Model
{
public $accountId;
public $active;
public $created;
public $id;
public $index;
public $kind;
public $name;
protected $parentLinkType = 'Google_Service_Analytics_CustomDimensionParentLink';
protected $parentLinkDataType = '';
public $scope;
public $selfLink;
public $updated;
public $webPropertyId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setActive($active)
{
$this->active = $active;
}
public function getActive()
{
return $this->active;
}
public function setCreated($created)
{
$this->created = $created;
}
public function getCreated()
{
return $this->created;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setIndex($index)
{
$this->index = $index;
}
public function getIndex()
{
return $this->index;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setParentLink(Google_Service_Analytics_CustomDimensionParentLink $parentLink)
{
$this->parentLink = $parentLink;
}
public function getParentLink()
{
return $this->parentLink;
}
public function setScope($scope)
{
$this->scope = $scope;
}
public function getScope()
{
return $this->scope;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
public function setUpdated($updated)
{
$this->updated = $updated;
}
public function getUpdated()
{
return $this->updated;
}
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
public function getWebPropertyId()
{
return $this->webPropertyId;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_CustomDimensionParentLink extends Google_Model
{
public $href;
public $type;
public function setHref($href)
{
$this->href = $href;
}
public function getHref()
{
return $this->href;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_CustomDimensions extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_CustomDimension';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
public $nextLink;
public $previousLink;
public $startIndex;
public $totalResults;
public $username;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
public function getNextLink()
{
return $this->nextLink;
}
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
public function getPreviousLink()
{
return $this->previousLink;
}
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
public function getStartIndex()
{
return $this->startIndex;
}
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
public function getTotalResults()
{
return $this->totalResults;
}
public function setUsername($username)
{
$this->username = $username;
}
public function getUsername()
{
return $this->username;
}
}

View File

@@ -0,0 +1,161 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_CustomMetric extends Google_Model
{
protected $internal_gapi_mappings = array(
"maxValue" => "max_value",
"minValue" => "min_value",
);
public $accountId;
public $active;
public $created;
public $id;
public $index;
public $kind;
public $maxValue;
public $minValue;
public $name;
protected $parentLinkType = 'Google_Service_Analytics_CustomMetricParentLink';
protected $parentLinkDataType = '';
public $scope;
public $selfLink;
public $type;
public $updated;
public $webPropertyId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setActive($active)
{
$this->active = $active;
}
public function getActive()
{
return $this->active;
}
public function setCreated($created)
{
$this->created = $created;
}
public function getCreated()
{
return $this->created;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setIndex($index)
{
$this->index = $index;
}
public function getIndex()
{
return $this->index;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setMaxValue($maxValue)
{
$this->maxValue = $maxValue;
}
public function getMaxValue()
{
return $this->maxValue;
}
public function setMinValue($minValue)
{
$this->minValue = $minValue;
}
public function getMinValue()
{
return $this->minValue;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setParentLink(Google_Service_Analytics_CustomMetricParentLink $parentLink)
{
$this->parentLink = $parentLink;
}
public function getParentLink()
{
return $this->parentLink;
}
public function setScope($scope)
{
$this->scope = $scope;
}
public function getScope()
{
return $this->scope;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setUpdated($updated)
{
$this->updated = $updated;
}
public function getUpdated()
{
return $this->updated;
}
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
public function getWebPropertyId()
{
return $this->webPropertyId;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_CustomMetricParentLink extends Google_Model
{
public $href;
public $type;
public function setHref($href)
{
$this->href = $href;
}
public function getHref()
{
return $this->href;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_CustomMetrics extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_CustomMetric';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
public $nextLink;
public $previousLink;
public $startIndex;
public $totalResults;
public $username;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
public function getNextLink()
{
return $this->nextLink;
}
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
public function getPreviousLink()
{
return $this->previousLink;
}
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
public function getStartIndex()
{
return $this->startIndex;
}
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
public function getTotalResults()
{
return $this->totalResults;
}
public function setUsername($username)
{
$this->username = $username;
}
public function getUsername()
{
return $this->username;
}
}

View File

@@ -0,0 +1,87 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_EntityAdWordsLink extends Google_Collection
{
protected $collection_key = 'profileIds';
protected $adWordsAccountsType = 'Google_Service_Analytics_AdWordsAccount';
protected $adWordsAccountsDataType = 'array';
protected $entityType = 'Google_Service_Analytics_EntityAdWordsLinkEntity';
protected $entityDataType = '';
public $id;
public $kind;
public $name;
public $profileIds;
public $selfLink;
public function setAdWordsAccounts($adWordsAccounts)
{
$this->adWordsAccounts = $adWordsAccounts;
}
public function getAdWordsAccounts()
{
return $this->adWordsAccounts;
}
public function setEntity(Google_Service_Analytics_EntityAdWordsLinkEntity $entity)
{
$this->entity = $entity;
}
public function getEntity()
{
return $this->entity;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setProfileIds($profileIds)
{
$this->profileIds = $profileIds;
}
public function getProfileIds()
{
return $this->profileIds;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
}

View File

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

View File

@@ -0,0 +1,86 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_EntityAdWordsLinks extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_EntityAdWordsLink';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
public $nextLink;
public $previousLink;
public $startIndex;
public $totalResults;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
public function getNextLink()
{
return $this->nextLink;
}
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
public function getPreviousLink()
{
return $this->previousLink;
}
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
public function getStartIndex()
{
return $this->startIndex;
}
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
public function getTotalResults()
{
return $this->totalResults;
}
}

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_EntityUserLink extends Google_Model
{
protected $entityType = 'Google_Service_Analytics_EntityUserLinkEntity';
protected $entityDataType = '';
public $id;
public $kind;
protected $permissionsType = 'Google_Service_Analytics_EntityUserLinkPermissions';
protected $permissionsDataType = '';
public $selfLink;
protected $userRefType = 'Google_Service_Analytics_UserRef';
protected $userRefDataType = '';
public function setEntity(Google_Service_Analytics_EntityUserLinkEntity $entity)
{
$this->entity = $entity;
}
public function getEntity()
{
return $this->entity;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setPermissions(Google_Service_Analytics_EntityUserLinkPermissions $permissions)
{
$this->permissions = $permissions;
}
public function getPermissions()
{
return $this->permissions;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
public function setUserRef(Google_Service_Analytics_UserRef $userRef)
{
$this->userRef = $userRef;
}
public function getUserRef()
{
return $this->userRef;
}
}

View File

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

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_EntityUserLinkPermissions extends Google_Collection
{
protected $collection_key = 'local';
public $effective;
public $local;
public function setEffective($effective)
{
$this->effective = $effective;
}
public function getEffective()
{
return $this->effective;
}
public function setLocal($local)
{
$this->local = $local;
}
public function getLocal()
{
return $this->local;
}
}

View File

@@ -0,0 +1,86 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_EntityUserLinks extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_EntityUserLink';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
public $nextLink;
public $previousLink;
public $startIndex;
public $totalResults;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
public function getNextLink()
{
return $this->nextLink;
}
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
public function getPreviousLink()
{
return $this->previousLink;
}
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
public function getStartIndex()
{
return $this->startIndex;
}
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
public function getTotalResults()
{
return $this->totalResults;
}
}

View File

@@ -0,0 +1,276 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_Experiment extends Google_Collection
{
protected $collection_key = 'variations';
public $accountId;
public $created;
public $description;
public $editableInGaUi;
public $endTime;
public $equalWeighting;
public $id;
public $internalWebPropertyId;
public $kind;
public $minimumExperimentLengthInDays;
public $name;
public $objectiveMetric;
public $optimizationType;
protected $parentLinkType = 'Google_Service_Analytics_ExperimentParentLink';
protected $parentLinkDataType = '';
public $profileId;
public $reasonExperimentEnded;
public $rewriteVariationUrlsAsOriginal;
public $selfLink;
public $servingFramework;
public $snippet;
public $startTime;
public $status;
public $trafficCoverage;
public $updated;
protected $variationsType = 'Google_Service_Analytics_ExperimentVariations';
protected $variationsDataType = 'array';
public $webPropertyId;
public $winnerConfidenceLevel;
public $winnerFound;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setCreated($created)
{
$this->created = $created;
}
public function getCreated()
{
return $this->created;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setEditableInGaUi($editableInGaUi)
{
$this->editableInGaUi = $editableInGaUi;
}
public function getEditableInGaUi()
{
return $this->editableInGaUi;
}
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
public function getEndTime()
{
return $this->endTime;
}
public function setEqualWeighting($equalWeighting)
{
$this->equalWeighting = $equalWeighting;
}
public function getEqualWeighting()
{
return $this->equalWeighting;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setInternalWebPropertyId($internalWebPropertyId)
{
$this->internalWebPropertyId = $internalWebPropertyId;
}
public function getInternalWebPropertyId()
{
return $this->internalWebPropertyId;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays)
{
$this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays;
}
public function getMinimumExperimentLengthInDays()
{
return $this->minimumExperimentLengthInDays;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setObjectiveMetric($objectiveMetric)
{
$this->objectiveMetric = $objectiveMetric;
}
public function getObjectiveMetric()
{
return $this->objectiveMetric;
}
public function setOptimizationType($optimizationType)
{
$this->optimizationType = $optimizationType;
}
public function getOptimizationType()
{
return $this->optimizationType;
}
public function setParentLink(Google_Service_Analytics_ExperimentParentLink $parentLink)
{
$this->parentLink = $parentLink;
}
public function getParentLink()
{
return $this->parentLink;
}
public function setProfileId($profileId)
{
$this->profileId = $profileId;
}
public function getProfileId()
{
return $this->profileId;
}
public function setReasonExperimentEnded($reasonExperimentEnded)
{
$this->reasonExperimentEnded = $reasonExperimentEnded;
}
public function getReasonExperimentEnded()
{
return $this->reasonExperimentEnded;
}
public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal)
{
$this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal;
}
public function getRewriteVariationUrlsAsOriginal()
{
return $this->rewriteVariationUrlsAsOriginal;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
public function setServingFramework($servingFramework)
{
$this->servingFramework = $servingFramework;
}
public function getServingFramework()
{
return $this->servingFramework;
}
public function setSnippet($snippet)
{
$this->snippet = $snippet;
}
public function getSnippet()
{
return $this->snippet;
}
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
public function getStartTime()
{
return $this->startTime;
}
public function setStatus($status)
{
$this->status = $status;
}
public function getStatus()
{
return $this->status;
}
public function setTrafficCoverage($trafficCoverage)
{
$this->trafficCoverage = $trafficCoverage;
}
public function getTrafficCoverage()
{
return $this->trafficCoverage;
}
public function setUpdated($updated)
{
$this->updated = $updated;
}
public function getUpdated()
{
return $this->updated;
}
public function setVariations($variations)
{
$this->variations = $variations;
}
public function getVariations()
{
return $this->variations;
}
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
public function getWebPropertyId()
{
return $this->webPropertyId;
}
public function setWinnerConfidenceLevel($winnerConfidenceLevel)
{
$this->winnerConfidenceLevel = $winnerConfidenceLevel;
}
public function getWinnerConfidenceLevel()
{
return $this->winnerConfidenceLevel;
}
public function setWinnerFound($winnerFound)
{
$this->winnerFound = $winnerFound;
}
public function getWinnerFound()
{
return $this->winnerFound;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_ExperimentParentLink extends Google_Model
{
public $href;
public $type;
public function setHref($href)
{
$this->href = $href;
}
public function getHref()
{
return $this->href;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_ExperimentVariations extends Google_Model
{
public $name;
public $status;
public $url;
public $weight;
public $won;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setStatus($status)
{
$this->status = $status;
}
public function getStatus()
{
return $this->status;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
public function setWeight($weight)
{
$this->weight = $weight;
}
public function getWeight()
{
return $this->weight;
}
public function setWon($won)
{
$this->won = $won;
}
public function getWon()
{
return $this->won;
}
}

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_Experiments extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_Experiment';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
public $nextLink;
public $previousLink;
public $startIndex;
public $totalResults;
public $username;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
public function getNextLink()
{
return $this->nextLink;
}
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
public function getPreviousLink()
{
return $this->previousLink;
}
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
public function getStartIndex()
{
return $this->startIndex;
}
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
public function getTotalResults()
{
return $this->totalResults;
}
public function setUsername($username)
{
$this->username = $username;
}
public function getUsername()
{
return $this->username;
}
}

View File

@@ -0,0 +1,163 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_Filter extends Google_Model
{
public $accountId;
protected $advancedDetailsType = 'Google_Service_Analytics_FilterAdvancedDetails';
protected $advancedDetailsDataType = '';
public $created;
protected $excludeDetailsType = 'Google_Service_Analytics_FilterExpression';
protected $excludeDetailsDataType = '';
public $id;
protected $includeDetailsType = 'Google_Service_Analytics_FilterExpression';
protected $includeDetailsDataType = '';
public $kind;
protected $lowercaseDetailsType = 'Google_Service_Analytics_FilterLowercaseDetails';
protected $lowercaseDetailsDataType = '';
public $name;
protected $parentLinkType = 'Google_Service_Analytics_FilterParentLink';
protected $parentLinkDataType = '';
protected $searchAndReplaceDetailsType = 'Google_Service_Analytics_FilterSearchAndReplaceDetails';
protected $searchAndReplaceDetailsDataType = '';
public $selfLink;
public $type;
public $updated;
protected $uppercaseDetailsType = 'Google_Service_Analytics_FilterUppercaseDetails';
protected $uppercaseDetailsDataType = '';
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setAdvancedDetails(Google_Service_Analytics_FilterAdvancedDetails $advancedDetails)
{
$this->advancedDetails = $advancedDetails;
}
public function getAdvancedDetails()
{
return $this->advancedDetails;
}
public function setCreated($created)
{
$this->created = $created;
}
public function getCreated()
{
return $this->created;
}
public function setExcludeDetails(Google_Service_Analytics_FilterExpression $excludeDetails)
{
$this->excludeDetails = $excludeDetails;
}
public function getExcludeDetails()
{
return $this->excludeDetails;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setIncludeDetails(Google_Service_Analytics_FilterExpression $includeDetails)
{
$this->includeDetails = $includeDetails;
}
public function getIncludeDetails()
{
return $this->includeDetails;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLowercaseDetails(Google_Service_Analytics_FilterLowercaseDetails $lowercaseDetails)
{
$this->lowercaseDetails = $lowercaseDetails;
}
public function getLowercaseDetails()
{
return $this->lowercaseDetails;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setParentLink(Google_Service_Analytics_FilterParentLink $parentLink)
{
$this->parentLink = $parentLink;
}
public function getParentLink()
{
return $this->parentLink;
}
public function setSearchAndReplaceDetails(Google_Service_Analytics_FilterSearchAndReplaceDetails $searchAndReplaceDetails)
{
$this->searchAndReplaceDetails = $searchAndReplaceDetails;
}
public function getSearchAndReplaceDetails()
{
return $this->searchAndReplaceDetails;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setUpdated($updated)
{
$this->updated = $updated;
}
public function getUpdated()
{
return $this->updated;
}
public function setUppercaseDetails(Google_Service_Analytics_FilterUppercaseDetails $uppercaseDetails)
{
$this->uppercaseDetails = $uppercaseDetails;
}
public function getUppercaseDetails()
{
return $this->uppercaseDetails;
}
}

View File

@@ -0,0 +1,138 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_FilterAdvancedDetails extends Google_Model
{
public $caseSensitive;
public $extractA;
public $extractB;
public $fieldA;
public $fieldAIndex;
public $fieldARequired;
public $fieldB;
public $fieldBIndex;
public $fieldBRequired;
public $outputConstructor;
public $outputToField;
public $outputToFieldIndex;
public $overrideOutputField;
public function setCaseSensitive($caseSensitive)
{
$this->caseSensitive = $caseSensitive;
}
public function getCaseSensitive()
{
return $this->caseSensitive;
}
public function setExtractA($extractA)
{
$this->extractA = $extractA;
}
public function getExtractA()
{
return $this->extractA;
}
public function setExtractB($extractB)
{
$this->extractB = $extractB;
}
public function getExtractB()
{
return $this->extractB;
}
public function setFieldA($fieldA)
{
$this->fieldA = $fieldA;
}
public function getFieldA()
{
return $this->fieldA;
}
public function setFieldAIndex($fieldAIndex)
{
$this->fieldAIndex = $fieldAIndex;
}
public function getFieldAIndex()
{
return $this->fieldAIndex;
}
public function setFieldARequired($fieldARequired)
{
$this->fieldARequired = $fieldARequired;
}
public function getFieldARequired()
{
return $this->fieldARequired;
}
public function setFieldB($fieldB)
{
$this->fieldB = $fieldB;
}
public function getFieldB()
{
return $this->fieldB;
}
public function setFieldBIndex($fieldBIndex)
{
$this->fieldBIndex = $fieldBIndex;
}
public function getFieldBIndex()
{
return $this->fieldBIndex;
}
public function setFieldBRequired($fieldBRequired)
{
$this->fieldBRequired = $fieldBRequired;
}
public function getFieldBRequired()
{
return $this->fieldBRequired;
}
public function setOutputConstructor($outputConstructor)
{
$this->outputConstructor = $outputConstructor;
}
public function getOutputConstructor()
{
return $this->outputConstructor;
}
public function setOutputToField($outputToField)
{
$this->outputToField = $outputToField;
}
public function getOutputToField()
{
return $this->outputToField;
}
public function setOutputToFieldIndex($outputToFieldIndex)
{
$this->outputToFieldIndex = $outputToFieldIndex;
}
public function getOutputToFieldIndex()
{
return $this->outputToFieldIndex;
}
public function setOverrideOutputField($overrideOutputField)
{
$this->overrideOutputField = $overrideOutputField;
}
public function getOverrideOutputField()
{
return $this->overrideOutputField;
}
}

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_FilterExpression extends Google_Model
{
public $caseSensitive;
public $expressionValue;
public $field;
public $fieldIndex;
public $kind;
public $matchType;
public function setCaseSensitive($caseSensitive)
{
$this->caseSensitive = $caseSensitive;
}
public function getCaseSensitive()
{
return $this->caseSensitive;
}
public function setExpressionValue($expressionValue)
{
$this->expressionValue = $expressionValue;
}
public function getExpressionValue()
{
return $this->expressionValue;
}
public function setField($field)
{
$this->field = $field;
}
public function getField()
{
return $this->field;
}
public function setFieldIndex($fieldIndex)
{
$this->fieldIndex = $fieldIndex;
}
public function getFieldIndex()
{
return $this->fieldIndex;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setMatchType($matchType)
{
$this->matchType = $matchType;
}
public function getMatchType()
{
return $this->matchType;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_FilterLowercaseDetails extends Google_Model
{
public $field;
public $fieldIndex;
public function setField($field)
{
$this->field = $field;
}
public function getField()
{
return $this->field;
}
public function setFieldIndex($fieldIndex)
{
$this->fieldIndex = $fieldIndex;
}
public function getFieldIndex()
{
return $this->fieldIndex;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_FilterParentLink extends Google_Model
{
public $href;
public $type;
public function setHref($href)
{
$this->href = $href;
}
public function getHref()
{
return $this->href;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_FilterRef extends Google_Model
{
public $accountId;
public $href;
public $id;
public $kind;
public $name;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setHref($href)
{
$this->href = $href;
}
public function getHref()
{
return $this->href;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_FilterSearchAndReplaceDetails extends Google_Model
{
public $caseSensitive;
public $field;
public $fieldIndex;
public $replaceString;
public $searchString;
public function setCaseSensitive($caseSensitive)
{
$this->caseSensitive = $caseSensitive;
}
public function getCaseSensitive()
{
return $this->caseSensitive;
}
public function setField($field)
{
$this->field = $field;
}
public function getField()
{
return $this->field;
}
public function setFieldIndex($fieldIndex)
{
$this->fieldIndex = $fieldIndex;
}
public function getFieldIndex()
{
return $this->fieldIndex;
}
public function setReplaceString($replaceString)
{
$this->replaceString = $replaceString;
}
public function getReplaceString()
{
return $this->replaceString;
}
public function setSearchString($searchString)
{
$this->searchString = $searchString;
}
public function getSearchString()
{
return $this->searchString;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_FilterUppercaseDetails extends Google_Model
{
public $field;
public $fieldIndex;
public function setField($field)
{
$this->field = $field;
}
public function getField()
{
return $this->field;
}
public function setFieldIndex($fieldIndex)
{
$this->fieldIndex = $fieldIndex;
}
public function getFieldIndex()
{
return $this->fieldIndex;
}
}

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_Filters extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_Filter';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
public $nextLink;
public $previousLink;
public $startIndex;
public $totalResults;
public $username;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
public function getNextLink()
{
return $this->nextLink;
}
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
public function getPreviousLink()
{
return $this->previousLink;
}
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
public function getStartIndex()
{
return $this->startIndex;
}
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
public function getTotalResults()
{
return $this->totalResults;
}
public function setUsername($username)
{
$this->username = $username;
}
public function getUsername()
{
return $this->username;
}
}

View File

@@ -0,0 +1,179 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_GaData extends Google_Collection
{
protected $collection_key = 'rows';
protected $columnHeadersType = 'Google_Service_Analytics_GaDataColumnHeaders';
protected $columnHeadersDataType = 'array';
public $containsSampledData;
public $dataLastRefreshed;
protected $dataTableType = 'Google_Service_Analytics_GaDataDataTable';
protected $dataTableDataType = '';
public $id;
public $itemsPerPage;
public $kind;
public $nextLink;
public $previousLink;
protected $profileInfoType = 'Google_Service_Analytics_GaDataProfileInfo';
protected $profileInfoDataType = '';
protected $queryType = 'Google_Service_Analytics_GaDataQuery';
protected $queryDataType = '';
public $rows;
public $sampleSize;
public $sampleSpace;
public $selfLink;
public $totalResults;
public $totalsForAllResults;
public function setColumnHeaders($columnHeaders)
{
$this->columnHeaders = $columnHeaders;
}
public function getColumnHeaders()
{
return $this->columnHeaders;
}
public function setContainsSampledData($containsSampledData)
{
$this->containsSampledData = $containsSampledData;
}
public function getContainsSampledData()
{
return $this->containsSampledData;
}
public function setDataLastRefreshed($dataLastRefreshed)
{
$this->dataLastRefreshed = $dataLastRefreshed;
}
public function getDataLastRefreshed()
{
return $this->dataLastRefreshed;
}
public function setDataTable(Google_Service_Analytics_GaDataDataTable $dataTable)
{
$this->dataTable = $dataTable;
}
public function getDataTable()
{
return $this->dataTable;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
public function getNextLink()
{
return $this->nextLink;
}
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
public function getPreviousLink()
{
return $this->previousLink;
}
public function setProfileInfo(Google_Service_Analytics_GaDataProfileInfo $profileInfo)
{
$this->profileInfo = $profileInfo;
}
public function getProfileInfo()
{
return $this->profileInfo;
}
public function setQuery(Google_Service_Analytics_GaDataQuery $query)
{
$this->query = $query;
}
public function getQuery()
{
return $this->query;
}
public function setRows($rows)
{
$this->rows = $rows;
}
public function getRows()
{
return $this->rows;
}
public function setSampleSize($sampleSize)
{
$this->sampleSize = $sampleSize;
}
public function getSampleSize()
{
return $this->sampleSize;
}
public function setSampleSpace($sampleSpace)
{
$this->sampleSpace = $sampleSpace;
}
public function getSampleSpace()
{
return $this->sampleSpace;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
public function getTotalResults()
{
return $this->totalResults;
}
public function setTotalsForAllResults($totalsForAllResults)
{
$this->totalsForAllResults = $totalsForAllResults;
}
public function getTotalsForAllResults()
{
return $this->totalsForAllResults;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_GaDataColumnHeaders extends Google_Model
{
public $columnType;
public $dataType;
public $name;
public function setColumnType($columnType)
{
$this->columnType = $columnType;
}
public function getColumnType()
{
return $this->columnType;
}
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
public function getDataType()
{
return $this->dataType;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_GaDataDataTable extends Google_Collection
{
protected $collection_key = 'rows';
protected $colsType = 'Google_Service_Analytics_GaDataDataTableCols';
protected $colsDataType = 'array';
protected $rowsType = 'Google_Service_Analytics_GaDataDataTableRows';
protected $rowsDataType = 'array';
public function setCols($cols)
{
$this->cols = $cols;
}
public function getCols()
{
return $this->cols;
}
public function setRows($rows)
{
$this->rows = $rows;
}
public function getRows()
{
return $this->rows;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_GaDataDataTableCols extends Google_Model
{
public $id;
public $label;
public $type;
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setLabel($label)
{
$this->label = $label;
}
public function getLabel()
{
return $this->label;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,32 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_GaDataDataTableRows extends Google_Collection
{
protected $collection_key = 'c';
protected $cType = 'Google_Service_Analytics_GaDataDataTableRowsC';
protected $cDataType = 'array';
public function setC($c)
{
$this->c = $c;
}
public function getC()
{
return $this->c;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_GaDataDataTableRowsC extends Google_Model
{
public $v;
public function setV($v)
{
$this->v = $v;
}
public function getV()
{
return $this->v;
}
}

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_GaDataProfileInfo extends Google_Model
{
public $accountId;
public $internalWebPropertyId;
public $profileId;
public $profileName;
public $tableId;
public $webPropertyId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setInternalWebPropertyId($internalWebPropertyId)
{
$this->internalWebPropertyId = $internalWebPropertyId;
}
public function getInternalWebPropertyId()
{
return $this->internalWebPropertyId;
}
public function setProfileId($profileId)
{
$this->profileId = $profileId;
}
public function getProfileId()
{
return $this->profileId;
}
public function setProfileName($profileName)
{
$this->profileName = $profileName;
}
public function getProfileName()
{
return $this->profileName;
}
public function setTableId($tableId)
{
$this->tableId = $tableId;
}
public function getTableId()
{
return $this->tableId;
}
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
public function getWebPropertyId()
{
return $this->webPropertyId;
}
}

View File

@@ -0,0 +1,127 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_GaDataQuery extends Google_Collection
{
protected $collection_key = 'sort';
protected $internal_gapi_mappings = array(
"endDate" => "end-date",
"maxResults" => "max-results",
"startDate" => "start-date",
"startIndex" => "start-index",
);
public $dimensions;
public $endDate;
public $filters;
public $ids;
public $maxResults;
public $metrics;
public $samplingLevel;
public $segment;
public $sort;
public $startDate;
public $startIndex;
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
public function getDimensions()
{
return $this->dimensions;
}
public function setEndDate($endDate)
{
$this->endDate = $endDate;
}
public function getEndDate()
{
return $this->endDate;
}
public function setFilters($filters)
{
$this->filters = $filters;
}
public function getFilters()
{
return $this->filters;
}
public function setIds($ids)
{
$this->ids = $ids;
}
public function getIds()
{
return $this->ids;
}
public function setMaxResults($maxResults)
{
$this->maxResults = $maxResults;
}
public function getMaxResults()
{
return $this->maxResults;
}
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
public function getMetrics()
{
return $this->metrics;
}
public function setSamplingLevel($samplingLevel)
{
$this->samplingLevel = $samplingLevel;
}
public function getSamplingLevel()
{
return $this->samplingLevel;
}
public function setSegment($segment)
{
$this->segment = $segment;
}
public function getSegment()
{
return $this->segment;
}
public function setSort($sort)
{
$this->sort = $sort;
}
public function getSort()
{
return $this->sort;
}
public function setStartDate($startDate)
{
$this->startDate = $startDate;
}
public function getStartDate()
{
return $this->startDate;
}
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
public function getStartIndex()
{
return $this->startIndex;
}
}

View File

@@ -0,0 +1,188 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_Goal extends Google_Model
{
public $accountId;
public $active;
public $created;
protected $eventDetailsType = 'Google_Service_Analytics_GoalEventDetails';
protected $eventDetailsDataType = '';
public $id;
public $internalWebPropertyId;
public $kind;
public $name;
protected $parentLinkType = 'Google_Service_Analytics_GoalParentLink';
protected $parentLinkDataType = '';
public $profileId;
public $selfLink;
public $type;
public $updated;
protected $urlDestinationDetailsType = 'Google_Service_Analytics_GoalUrlDestinationDetails';
protected $urlDestinationDetailsDataType = '';
public $value;
protected $visitNumPagesDetailsType = 'Google_Service_Analytics_GoalVisitNumPagesDetails';
protected $visitNumPagesDetailsDataType = '';
protected $visitTimeOnSiteDetailsType = 'Google_Service_Analytics_GoalVisitTimeOnSiteDetails';
protected $visitTimeOnSiteDetailsDataType = '';
public $webPropertyId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setActive($active)
{
$this->active = $active;
}
public function getActive()
{
return $this->active;
}
public function setCreated($created)
{
$this->created = $created;
}
public function getCreated()
{
return $this->created;
}
public function setEventDetails(Google_Service_Analytics_GoalEventDetails $eventDetails)
{
$this->eventDetails = $eventDetails;
}
public function getEventDetails()
{
return $this->eventDetails;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setInternalWebPropertyId($internalWebPropertyId)
{
$this->internalWebPropertyId = $internalWebPropertyId;
}
public function getInternalWebPropertyId()
{
return $this->internalWebPropertyId;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setParentLink(Google_Service_Analytics_GoalParentLink $parentLink)
{
$this->parentLink = $parentLink;
}
public function getParentLink()
{
return $this->parentLink;
}
public function setProfileId($profileId)
{
$this->profileId = $profileId;
}
public function getProfileId()
{
return $this->profileId;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setUpdated($updated)
{
$this->updated = $updated;
}
public function getUpdated()
{
return $this->updated;
}
public function setUrlDestinationDetails(Google_Service_Analytics_GoalUrlDestinationDetails $urlDestinationDetails)
{
$this->urlDestinationDetails = $urlDestinationDetails;
}
public function getUrlDestinationDetails()
{
return $this->urlDestinationDetails;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
public function setVisitNumPagesDetails(Google_Service_Analytics_GoalVisitNumPagesDetails $visitNumPagesDetails)
{
$this->visitNumPagesDetails = $visitNumPagesDetails;
}
public function getVisitNumPagesDetails()
{
return $this->visitNumPagesDetails;
}
public function setVisitTimeOnSiteDetails(Google_Service_Analytics_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails)
{
$this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
}
public function getVisitTimeOnSiteDetails()
{
return $this->visitTimeOnSiteDetails;
}
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
public function getWebPropertyId()
{
return $this->webPropertyId;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_GoalEventDetails extends Google_Collection
{
protected $collection_key = 'eventConditions';
protected $eventConditionsType = 'Google_Service_Analytics_GoalEventDetailsEventConditions';
protected $eventConditionsDataType = 'array';
public $useEventValue;
public function setEventConditions($eventConditions)
{
$this->eventConditions = $eventConditions;
}
public function getEventConditions()
{
return $this->eventConditions;
}
public function setUseEventValue($useEventValue)
{
$this->useEventValue = $useEventValue;
}
public function getUseEventValue()
{
return $this->useEventValue;
}
}

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_GoalEventDetailsEventConditions extends Google_Model
{
public $comparisonType;
public $comparisonValue;
public $expression;
public $matchType;
public $type;
public function setComparisonType($comparisonType)
{
$this->comparisonType = $comparisonType;
}
public function getComparisonType()
{
return $this->comparisonType;
}
public function setComparisonValue($comparisonValue)
{
$this->comparisonValue = $comparisonValue;
}
public function getComparisonValue()
{
return $this->comparisonValue;
}
public function setExpression($expression)
{
$this->expression = $expression;
}
public function getExpression()
{
return $this->expression;
}
public function setMatchType($matchType)
{
$this->matchType = $matchType;
}
public function getMatchType()
{
return $this->matchType;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_GoalParentLink extends Google_Model
{
public $href;
public $type;
public function setHref($href)
{
$this->href = $href;
}
public function getHref()
{
return $this->href;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,68 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_GoalUrlDestinationDetails extends Google_Collection
{
protected $collection_key = 'steps';
public $caseSensitive;
public $firstStepRequired;
public $matchType;
protected $stepsType = 'Google_Service_Analytics_GoalUrlDestinationDetailsSteps';
protected $stepsDataType = 'array';
public $url;
public function setCaseSensitive($caseSensitive)
{
$this->caseSensitive = $caseSensitive;
}
public function getCaseSensitive()
{
return $this->caseSensitive;
}
public function setFirstStepRequired($firstStepRequired)
{
$this->firstStepRequired = $firstStepRequired;
}
public function getFirstStepRequired()
{
return $this->firstStepRequired;
}
public function setMatchType($matchType)
{
$this->matchType = $matchType;
}
public function getMatchType()
{
return $this->matchType;
}
public function setSteps($steps)
{
$this->steps = $steps;
}
public function getSteps()
{
return $this->steps;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_GoalUrlDestinationDetailsSteps extends Google_Model
{
public $name;
public $number;
public $url;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setNumber($number)
{
$this->number = $number;
}
public function getNumber()
{
return $this->number;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_GoalVisitNumPagesDetails extends Google_Model
{
public $comparisonType;
public $comparisonValue;
public function setComparisonType($comparisonType)
{
$this->comparisonType = $comparisonType;
}
public function getComparisonType()
{
return $this->comparisonType;
}
public function setComparisonValue($comparisonValue)
{
$this->comparisonValue = $comparisonValue;
}
public function getComparisonValue()
{
return $this->comparisonValue;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_GoalVisitTimeOnSiteDetails extends Google_Model
{
public $comparisonType;
public $comparisonValue;
public function setComparisonType($comparisonType)
{
$this->comparisonType = $comparisonType;
}
public function getComparisonType()
{
return $this->comparisonType;
}
public function setComparisonValue($comparisonValue)
{
$this->comparisonValue = $comparisonValue;
}
public function getComparisonValue()
{
return $this->comparisonValue;
}
}

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_Goals extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_Goal';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
public $nextLink;
public $previousLink;
public $startIndex;
public $totalResults;
public $username;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
public function getNextLink()
{
return $this->nextLink;
}
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
public function getPreviousLink()
{
return $this->previousLink;
}
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
public function getStartIndex()
{
return $this->startIndex;
}
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
public function getTotalResults()
{
return $this->totalResults;
}
public function setUsername($username)
{
$this->username = $username;
}
public function getUsername()
{
return $this->username;
}
}

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_IncludeConditions extends Google_Model
{
public $daysToLookBack;
public $isSmartList;
public $kind;
public $membershipDurationDays;
public $segment;
public function setDaysToLookBack($daysToLookBack)
{
$this->daysToLookBack = $daysToLookBack;
}
public function getDaysToLookBack()
{
return $this->daysToLookBack;
}
public function setIsSmartList($isSmartList)
{
$this->isSmartList = $isSmartList;
}
public function getIsSmartList()
{
return $this->isSmartList;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setMembershipDurationDays($membershipDurationDays)
{
$this->membershipDurationDays = $membershipDurationDays;
}
public function getMembershipDurationDays()
{
return $this->membershipDurationDays;
}
public function setSegment($segment)
{
$this->segment = $segment;
}
public function getSegment()
{
return $this->segment;
}
}

View File

@@ -0,0 +1,111 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_LinkedForeignAccount extends Google_Model
{
public $accountId;
public $eligibleForSearch;
public $id;
public $internalWebPropertyId;
public $kind;
public $linkedAccountId;
public $remarketingAudienceId;
public $status;
public $type;
public $webPropertyId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setEligibleForSearch($eligibleForSearch)
{
$this->eligibleForSearch = $eligibleForSearch;
}
public function getEligibleForSearch()
{
return $this->eligibleForSearch;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setInternalWebPropertyId($internalWebPropertyId)
{
$this->internalWebPropertyId = $internalWebPropertyId;
}
public function getInternalWebPropertyId()
{
return $this->internalWebPropertyId;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLinkedAccountId($linkedAccountId)
{
$this->linkedAccountId = $linkedAccountId;
}
public function getLinkedAccountId()
{
return $this->linkedAccountId;
}
public function setRemarketingAudienceId($remarketingAudienceId)
{
$this->remarketingAudienceId = $remarketingAudienceId;
}
public function getRemarketingAudienceId()
{
return $this->remarketingAudienceId;
}
public function setStatus($status)
{
$this->status = $status;
}
public function getStatus()
{
return $this->status;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
public function getWebPropertyId()
{
return $this->webPropertyId;
}
}

View File

@@ -0,0 +1,161 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_McfData extends Google_Collection
{
protected $collection_key = 'rows';
protected $columnHeadersType = 'Google_Service_Analytics_McfDataColumnHeaders';
protected $columnHeadersDataType = 'array';
public $containsSampledData;
public $id;
public $itemsPerPage;
public $kind;
public $nextLink;
public $previousLink;
protected $profileInfoType = 'Google_Service_Analytics_McfDataProfileInfo';
protected $profileInfoDataType = '';
protected $queryType = 'Google_Service_Analytics_McfDataQuery';
protected $queryDataType = '';
protected $rowsType = 'Google_Service_Analytics_McfDataRows';
protected $rowsDataType = 'array';
public $sampleSize;
public $sampleSpace;
public $selfLink;
public $totalResults;
public $totalsForAllResults;
public function setColumnHeaders($columnHeaders)
{
$this->columnHeaders = $columnHeaders;
}
public function getColumnHeaders()
{
return $this->columnHeaders;
}
public function setContainsSampledData($containsSampledData)
{
$this->containsSampledData = $containsSampledData;
}
public function getContainsSampledData()
{
return $this->containsSampledData;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
public function getNextLink()
{
return $this->nextLink;
}
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
public function getPreviousLink()
{
return $this->previousLink;
}
public function setProfileInfo(Google_Service_Analytics_McfDataProfileInfo $profileInfo)
{
$this->profileInfo = $profileInfo;
}
public function getProfileInfo()
{
return $this->profileInfo;
}
public function setQuery(Google_Service_Analytics_McfDataQuery $query)
{
$this->query = $query;
}
public function getQuery()
{
return $this->query;
}
public function setRows($rows)
{
$this->rows = $rows;
}
public function getRows()
{
return $this->rows;
}
public function setSampleSize($sampleSize)
{
$this->sampleSize = $sampleSize;
}
public function getSampleSize()
{
return $this->sampleSize;
}
public function setSampleSpace($sampleSpace)
{
$this->sampleSpace = $sampleSpace;
}
public function getSampleSpace()
{
return $this->sampleSpace;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
public function getTotalResults()
{
return $this->totalResults;
}
public function setTotalsForAllResults($totalsForAllResults)
{
$this->totalsForAllResults = $totalsForAllResults;
}
public function getTotalsForAllResults()
{
return $this->totalsForAllResults;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_McfDataColumnHeaders extends Google_Model
{
public $columnType;
public $dataType;
public $name;
public function setColumnType($columnType)
{
$this->columnType = $columnType;
}
public function getColumnType()
{
return $this->columnType;
}
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
public function getDataType()
{
return $this->dataType;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_McfDataProfileInfo extends Google_Model
{
public $accountId;
public $internalWebPropertyId;
public $profileId;
public $profileName;
public $tableId;
public $webPropertyId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setInternalWebPropertyId($internalWebPropertyId)
{
$this->internalWebPropertyId = $internalWebPropertyId;
}
public function getInternalWebPropertyId()
{
return $this->internalWebPropertyId;
}
public function setProfileId($profileId)
{
$this->profileId = $profileId;
}
public function getProfileId()
{
return $this->profileId;
}
public function setProfileName($profileName)
{
$this->profileName = $profileName;
}
public function getProfileName()
{
return $this->profileName;
}
public function setTableId($tableId)
{
$this->tableId = $tableId;
}
public function getTableId()
{
return $this->tableId;
}
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
public function getWebPropertyId()
{
return $this->webPropertyId;
}
}

View File

@@ -0,0 +1,127 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_McfDataQuery extends Google_Collection
{
protected $collection_key = 'sort';
protected $internal_gapi_mappings = array(
"endDate" => "end-date",
"maxResults" => "max-results",
"startDate" => "start-date",
"startIndex" => "start-index",
);
public $dimensions;
public $endDate;
public $filters;
public $ids;
public $maxResults;
public $metrics;
public $samplingLevel;
public $segment;
public $sort;
public $startDate;
public $startIndex;
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
public function getDimensions()
{
return $this->dimensions;
}
public function setEndDate($endDate)
{
$this->endDate = $endDate;
}
public function getEndDate()
{
return $this->endDate;
}
public function setFilters($filters)
{
$this->filters = $filters;
}
public function getFilters()
{
return $this->filters;
}
public function setIds($ids)
{
$this->ids = $ids;
}
public function getIds()
{
return $this->ids;
}
public function setMaxResults($maxResults)
{
$this->maxResults = $maxResults;
}
public function getMaxResults()
{
return $this->maxResults;
}
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
public function getMetrics()
{
return $this->metrics;
}
public function setSamplingLevel($samplingLevel)
{
$this->samplingLevel = $samplingLevel;
}
public function getSamplingLevel()
{
return $this->samplingLevel;
}
public function setSegment($segment)
{
$this->segment = $segment;
}
public function getSegment()
{
return $this->segment;
}
public function setSort($sort)
{
$this->sort = $sort;
}
public function getSort()
{
return $this->sort;
}
public function setStartDate($startDate)
{
$this->startDate = $startDate;
}
public function getStartDate()
{
return $this->startDate;
}
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
public function getStartIndex()
{
return $this->startIndex;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_McfDataRows extends Google_Collection
{
protected $collection_key = 'conversionPathValue';
protected $conversionPathValueType = 'Google_Service_Analytics_McfDataRowsConversionPathValue';
protected $conversionPathValueDataType = 'array';
public $primitiveValue;
public function setConversionPathValue($conversionPathValue)
{
$this->conversionPathValue = $conversionPathValue;
}
public function getConversionPathValue()
{
return $this->conversionPathValue;
}
public function setPrimitiveValue($primitiveValue)
{
$this->primitiveValue = $primitiveValue;
}
public function getPrimitiveValue()
{
return $this->primitiveValue;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_McfDataRowsConversionPathValue extends Google_Model
{
public $interactionType;
public $nodeValue;
public function setInteractionType($interactionType)
{
$this->interactionType = $interactionType;
}
public function getInteractionType()
{
return $this->interactionType;
}
public function setNodeValue($nodeValue)
{
$this->nodeValue = $nodeValue;
}
public function getNodeValue()
{
return $this->nodeValue;
}
}

View File

@@ -0,0 +1,258 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_Profile extends Google_Model
{
public $accountId;
public $botFilteringEnabled;
protected $childLinkType = 'Google_Service_Analytics_ProfileChildLink';
protected $childLinkDataType = '';
public $created;
public $currency;
public $defaultPage;
public $eCommerceTracking;
public $enhancedECommerceTracking;
public $excludeQueryParameters;
public $id;
public $internalWebPropertyId;
public $kind;
public $name;
protected $parentLinkType = 'Google_Service_Analytics_ProfileParentLink';
protected $parentLinkDataType = '';
protected $permissionsType = 'Google_Service_Analytics_ProfilePermissions';
protected $permissionsDataType = '';
public $selfLink;
public $siteSearchCategoryParameters;
public $siteSearchQueryParameters;
public $starred;
public $stripSiteSearchCategoryParameters;
public $stripSiteSearchQueryParameters;
public $timezone;
public $type;
public $updated;
public $webPropertyId;
public $websiteUrl;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setBotFilteringEnabled($botFilteringEnabled)
{
$this->botFilteringEnabled = $botFilteringEnabled;
}
public function getBotFilteringEnabled()
{
return $this->botFilteringEnabled;
}
public function setChildLink(Google_Service_Analytics_ProfileChildLink $childLink)
{
$this->childLink = $childLink;
}
public function getChildLink()
{
return $this->childLink;
}
public function setCreated($created)
{
$this->created = $created;
}
public function getCreated()
{
return $this->created;
}
public function setCurrency($currency)
{
$this->currency = $currency;
}
public function getCurrency()
{
return $this->currency;
}
public function setDefaultPage($defaultPage)
{
$this->defaultPage = $defaultPage;
}
public function getDefaultPage()
{
return $this->defaultPage;
}
public function setECommerceTracking($eCommerceTracking)
{
$this->eCommerceTracking = $eCommerceTracking;
}
public function getECommerceTracking()
{
return $this->eCommerceTracking;
}
public function setEnhancedECommerceTracking($enhancedECommerceTracking)
{
$this->enhancedECommerceTracking = $enhancedECommerceTracking;
}
public function getEnhancedECommerceTracking()
{
return $this->enhancedECommerceTracking;
}
public function setExcludeQueryParameters($excludeQueryParameters)
{
$this->excludeQueryParameters = $excludeQueryParameters;
}
public function getExcludeQueryParameters()
{
return $this->excludeQueryParameters;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setInternalWebPropertyId($internalWebPropertyId)
{
$this->internalWebPropertyId = $internalWebPropertyId;
}
public function getInternalWebPropertyId()
{
return $this->internalWebPropertyId;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setParentLink(Google_Service_Analytics_ProfileParentLink $parentLink)
{
$this->parentLink = $parentLink;
}
public function getParentLink()
{
return $this->parentLink;
}
public function setPermissions(Google_Service_Analytics_ProfilePermissions $permissions)
{
$this->permissions = $permissions;
}
public function getPermissions()
{
return $this->permissions;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
public function setSiteSearchCategoryParameters($siteSearchCategoryParameters)
{
$this->siteSearchCategoryParameters = $siteSearchCategoryParameters;
}
public function getSiteSearchCategoryParameters()
{
return $this->siteSearchCategoryParameters;
}
public function setSiteSearchQueryParameters($siteSearchQueryParameters)
{
$this->siteSearchQueryParameters = $siteSearchQueryParameters;
}
public function getSiteSearchQueryParameters()
{
return $this->siteSearchQueryParameters;
}
public function setStarred($starred)
{
$this->starred = $starred;
}
public function getStarred()
{
return $this->starred;
}
public function setStripSiteSearchCategoryParameters($stripSiteSearchCategoryParameters)
{
$this->stripSiteSearchCategoryParameters = $stripSiteSearchCategoryParameters;
}
public function getStripSiteSearchCategoryParameters()
{
return $this->stripSiteSearchCategoryParameters;
}
public function setStripSiteSearchQueryParameters($stripSiteSearchQueryParameters)
{
$this->stripSiteSearchQueryParameters = $stripSiteSearchQueryParameters;
}
public function getStripSiteSearchQueryParameters()
{
return $this->stripSiteSearchQueryParameters;
}
public function setTimezone($timezone)
{
$this->timezone = $timezone;
}
public function getTimezone()
{
return $this->timezone;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setUpdated($updated)
{
$this->updated = $updated;
}
public function getUpdated()
{
return $this->updated;
}
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
public function getWebPropertyId()
{
return $this->webPropertyId;
}
public function setWebsiteUrl($websiteUrl)
{
$this->websiteUrl = $websiteUrl;
}
public function getWebsiteUrl()
{
return $this->websiteUrl;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_ProfileChildLink extends Google_Model
{
public $href;
public $type;
public function setHref($href)
{
$this->href = $href;
}
public function getHref()
{
return $this->href;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_ProfileFilterLink extends Google_Model
{
protected $filterRefType = 'Google_Service_Analytics_FilterRef';
protected $filterRefDataType = '';
public $id;
public $kind;
protected $profileRefType = 'Google_Service_Analytics_ProfileRef';
protected $profileRefDataType = '';
public $rank;
public $selfLink;
public function setFilterRef(Google_Service_Analytics_FilterRef $filterRef)
{
$this->filterRef = $filterRef;
}
public function getFilterRef()
{
return $this->filterRef;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef)
{
$this->profileRef = $profileRef;
}
public function getProfileRef()
{
return $this->profileRef;
}
public function setRank($rank)
{
$this->rank = $rank;
}
public function getRank()
{
return $this->rank;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
}

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_ProfileFilterLinks extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_ProfileFilterLink';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
public $nextLink;
public $previousLink;
public $startIndex;
public $totalResults;
public $username;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
public function getNextLink()
{
return $this->nextLink;
}
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
public function getPreviousLink()
{
return $this->previousLink;
}
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
public function getStartIndex()
{
return $this->startIndex;
}
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
public function getTotalResults()
{
return $this->totalResults;
}
public function setUsername($username)
{
$this->username = $username;
}
public function getUsername()
{
return $this->username;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_ProfileParentLink extends Google_Model
{
public $href;
public $type;
public function setHref($href)
{
$this->href = $href;
}
public function getHref()
{
return $this->href;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,31 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_ProfilePermissions extends Google_Collection
{
protected $collection_key = 'effective';
public $effective;
public function setEffective($effective)
{
$this->effective = $effective;
}
public function getEffective()
{
return $this->effective;
}
}

View File

@@ -0,0 +1,84 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_ProfileRef extends Google_Model
{
public $accountId;
public $href;
public $id;
public $internalWebPropertyId;
public $kind;
public $name;
public $webPropertyId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setHref($href)
{
$this->href = $href;
}
public function getHref()
{
return $this->href;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setInternalWebPropertyId($internalWebPropertyId)
{
$this->internalWebPropertyId = $internalWebPropertyId;
}
public function getInternalWebPropertyId()
{
return $this->internalWebPropertyId;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
public function getWebPropertyId()
{
return $this->webPropertyId;
}
}

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_ProfileSummary extends Google_Model
{
public $id;
public $kind;
public $name;
public $starred;
public $type;
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setStarred($starred)
{
$this->starred = $starred;
}
public function getStarred()
{
return $this->starred;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_Profiles extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_Profile';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
public $nextLink;
public $previousLink;
public $startIndex;
public $totalResults;
public $username;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
public function getNextLink()
{
return $this->nextLink;
}
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
public function getPreviousLink()
{
return $this->previousLink;
}
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
public function getStartIndex()
{
return $this->startIndex;
}
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
public function getTotalResults()
{
return $this->totalResults;
}
public function setUsername($username)
{
$this->username = $username;
}
public function getUsername()
{
return $this->username;
}
}

View File

@@ -0,0 +1,106 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_RealtimeData extends Google_Collection
{
protected $collection_key = 'rows';
protected $columnHeadersType = 'Google_Service_Analytics_RealtimeDataColumnHeaders';
protected $columnHeadersDataType = 'array';
public $id;
public $kind;
protected $profileInfoType = 'Google_Service_Analytics_RealtimeDataProfileInfo';
protected $profileInfoDataType = '';
protected $queryType = 'Google_Service_Analytics_RealtimeDataQuery';
protected $queryDataType = '';
public $rows;
public $selfLink;
public $totalResults;
public $totalsForAllResults;
public function setColumnHeaders($columnHeaders)
{
$this->columnHeaders = $columnHeaders;
}
public function getColumnHeaders()
{
return $this->columnHeaders;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setProfileInfo(Google_Service_Analytics_RealtimeDataProfileInfo $profileInfo)
{
$this->profileInfo = $profileInfo;
}
public function getProfileInfo()
{
return $this->profileInfo;
}
public function setQuery(Google_Service_Analytics_RealtimeDataQuery $query)
{
$this->query = $query;
}
public function getQuery()
{
return $this->query;
}
public function setRows($rows)
{
$this->rows = $rows;
}
public function getRows()
{
return $this->rows;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
public function getTotalResults()
{
return $this->totalResults;
}
public function setTotalsForAllResults($totalsForAllResults)
{
$this->totalsForAllResults = $totalsForAllResults;
}
public function getTotalsForAllResults()
{
return $this->totalsForAllResults;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_RealtimeDataColumnHeaders extends Google_Model
{
public $columnType;
public $dataType;
public $name;
public function setColumnType($columnType)
{
$this->columnType = $columnType;
}
public function getColumnType()
{
return $this->columnType;
}
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
public function getDataType()
{
return $this->dataType;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_RealtimeDataProfileInfo extends Google_Model
{
public $accountId;
public $internalWebPropertyId;
public $profileId;
public $profileName;
public $tableId;
public $webPropertyId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setInternalWebPropertyId($internalWebPropertyId)
{
$this->internalWebPropertyId = $internalWebPropertyId;
}
public function getInternalWebPropertyId()
{
return $this->internalWebPropertyId;
}
public function setProfileId($profileId)
{
$this->profileId = $profileId;
}
public function getProfileId()
{
return $this->profileId;
}
public function setProfileName($profileName)
{
$this->profileName = $profileName;
}
public function getProfileName()
{
return $this->profileName;
}
public function setTableId($tableId)
{
$this->tableId = $tableId;
}
public function getTableId()
{
return $this->tableId;
}
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
public function getWebPropertyId()
{
return $this->webPropertyId;
}
}

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_RealtimeDataQuery extends Google_Collection
{
protected $collection_key = 'sort';
protected $internal_gapi_mappings = array(
"maxResults" => "max-results",
);
public $dimensions;
public $filters;
public $ids;
public $maxResults;
public $metrics;
public $sort;
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
public function getDimensions()
{
return $this->dimensions;
}
public function setFilters($filters)
{
$this->filters = $filters;
}
public function getFilters()
{
return $this->filters;
}
public function setIds($ids)
{
$this->ids = $ids;
}
public function getIds()
{
return $this->ids;
}
public function setMaxResults($maxResults)
{
$this->maxResults = $maxResults;
}
public function getMaxResults()
{
return $this->maxResults;
}
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
public function getMetrics()
{
return $this->metrics;
}
public function setSort($sort)
{
$this->sort = $sort;
}
public function getSort()
{
return $this->sort;
}
}

View File

@@ -0,0 +1,151 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_RemarketingAudience extends Google_Collection
{
protected $collection_key = 'linkedViews';
public $accountId;
protected $audienceDefinitionType = 'Google_Service_Analytics_RemarketingAudienceAudienceDefinition';
protected $audienceDefinitionDataType = '';
public $audienceType;
public $created;
public $description;
public $id;
public $internalWebPropertyId;
public $kind;
protected $linkedAdAccountsType = 'Google_Service_Analytics_LinkedForeignAccount';
protected $linkedAdAccountsDataType = 'array';
public $linkedViews;
public $name;
protected $stateBasedAudienceDefinitionType = 'Google_Service_Analytics_RemarketingAudienceStateBasedAudienceDefinition';
protected $stateBasedAudienceDefinitionDataType = '';
public $updated;
public $webPropertyId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setAudienceDefinition(Google_Service_Analytics_RemarketingAudienceAudienceDefinition $audienceDefinition)
{
$this->audienceDefinition = $audienceDefinition;
}
public function getAudienceDefinition()
{
return $this->audienceDefinition;
}
public function setAudienceType($audienceType)
{
$this->audienceType = $audienceType;
}
public function getAudienceType()
{
return $this->audienceType;
}
public function setCreated($created)
{
$this->created = $created;
}
public function getCreated()
{
return $this->created;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setInternalWebPropertyId($internalWebPropertyId)
{
$this->internalWebPropertyId = $internalWebPropertyId;
}
public function getInternalWebPropertyId()
{
return $this->internalWebPropertyId;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLinkedAdAccounts($linkedAdAccounts)
{
$this->linkedAdAccounts = $linkedAdAccounts;
}
public function getLinkedAdAccounts()
{
return $this->linkedAdAccounts;
}
public function setLinkedViews($linkedViews)
{
$this->linkedViews = $linkedViews;
}
public function getLinkedViews()
{
return $this->linkedViews;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setStateBasedAudienceDefinition(Google_Service_Analytics_RemarketingAudienceStateBasedAudienceDefinition $stateBasedAudienceDefinition)
{
$this->stateBasedAudienceDefinition = $stateBasedAudienceDefinition;
}
public function getStateBasedAudienceDefinition()
{
return $this->stateBasedAudienceDefinition;
}
public function setUpdated($updated)
{
$this->updated = $updated;
}
public function getUpdated()
{
return $this->updated;
}
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
public function getWebPropertyId()
{
return $this->webPropertyId;
}
}

View File

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

View File

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

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_RemarketingAudienceStateBasedAudienceDefinitionExcludeConditions extends Google_Model
{
public $exclusionDuration;
public $segment;
public function setExclusionDuration($exclusionDuration)
{
$this->exclusionDuration = $exclusionDuration;
}
public function getExclusionDuration()
{
return $this->exclusionDuration;
}
public function setSegment($segment)
{
$this->segment = $segment;
}
public function getSegment()
{
return $this->segment;
}
}

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Analytics_RemarketingAudiences extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_RemarketingAudience';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
public $nextLink;
public $previousLink;
public $startIndex;
public $totalResults;
public $username;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setItemsPerPage($itemsPerPage)
{
$this->itemsPerPage = $itemsPerPage;
}
public function getItemsPerPage()
{
return $this->itemsPerPage;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextLink($nextLink)
{
$this->nextLink = $nextLink;
}
public function getNextLink()
{
return $this->nextLink;
}
public function setPreviousLink($previousLink)
{
$this->previousLink = $previousLink;
}
public function getPreviousLink()
{
return $this->previousLink;
}
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
public function getStartIndex()
{
return $this->startIndex;
}
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
public function getTotalResults()
{
return $this->totalResults;
}
public function setUsername($username)
{
$this->username = $username;
}
public function getUsername()
{
return $this->username;
}
}

View File

@@ -0,0 +1,28 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "data" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google_Service_Analytics(...);
* $data = $analyticsService->data;
* </code>
*/
class Google_Service_Analytics_Resource_Data extends Google_Service_Resource
{
}

View File

@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "ga" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google_Service_Analytics(...);
* $ga = $analyticsService->ga;
* </code>
*/
class Google_Service_Analytics_Resource_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 Google_Service_Analytics_GaData
*/
public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
{
$params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Analytics_GaData");
}
}

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "mcf" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google_Service_Analytics(...);
* $mcf = $analyticsService->mcf;
* </code>
*/
class Google_Service_Analytics_Resource_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 Google_Service_Analytics_McfData
*/
public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
{
$params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Analytics_McfData");
}
}

View File

@@ -0,0 +1,53 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "realtime" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google_Service_Analytics(...);
* $realtime = $analyticsService->realtime;
* </code>
*/
class Google_Service_Analytics_Resource_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 Google_Service_Analytics_RealtimeData
*/
public function get($ids, $metrics, $optParams = array())
{
$params = array('ids' => $ids, 'metrics' => $metrics);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Analytics_RealtimeData");
}
}

View File

@@ -0,0 +1,28 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "management" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google_Service_Analytics(...);
* $management = $analyticsService->management;
* </code>
*/
class Google_Service_Analytics_Resource_Management extends Google_Service_Resource
{
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "accountSummaries" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google_Service_Analytics(...);
* $accountSummaries = $analyticsService->accountSummaries;
* </code>
*/
class Google_Service_Analytics_Resource_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 Google_Service_Analytics_AccountSummaries
*/
public function listManagementAccountSummaries($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Analytics_AccountSummaries");
}
}

View File

@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "accountUserLinks" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google_Service_Analytics(...);
* $accountUserLinks = $analyticsService->accountUserLinks;
* </code>
*/
class Google_Service_Analytics_Resource_ManagementAccountUserLinks extends Google_Service_Resource
{
/**
* Removes a user from the given account. (accountUserLinks.delete)
*
* @param string $accountId Account ID to delete the user link for.
* @param string $linkId Link ID to delete the user link for.
* @param array $optParams Optional parameters.
*/
public function delete($accountId, $linkId, $optParams = array())
{
$params = array('accountId' => $accountId, 'linkId' => $linkId);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params));
}
/**
* Adds a new user to the given account. (accountUserLinks.insert)
*
* @param string $accountId Account ID to create the user link for.
* @param Google_Service_Analytics_EntityUserLink $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_EntityUserLink
*/
public function insert($accountId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
}
/**
* 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 Google_Service_Analytics_EntityUserLinks
*/
public function listManagementAccountUserLinks($accountId, $optParams = array())
{
$params = array('accountId' => $accountId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
}
/**
* 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 Google_Service_Analytics_EntityUserLink $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_EntityUserLink
*/
public function update($accountId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'linkId' => $linkId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "accounts" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google_Service_Analytics(...);
* $accounts = $analyticsService->accounts;
* </code>
*/
class Google_Service_Analytics_Resource_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 Google_Service_Analytics_Accounts
*/
public function listManagementAccounts($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Analytics_Accounts");
}
}

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "customDataSources" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google_Service_Analytics(...);
* $customDataSources = $analyticsService->customDataSources;
* </code>
*/
class Google_Service_Analytics_Resource_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 Google_Service_Analytics_CustomDataSources
*/
public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Analytics_CustomDataSources");
}
}

View File

@@ -0,0 +1,126 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "customDimensions" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google_Service_Analytics(...);
* $customDimensions = $analyticsService->customDimensions;
* </code>
*/
class Google_Service_Analytics_Resource_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 Google_Service_Analytics_CustomDimension
*/
public function get($accountId, $webPropertyId, $customDimensionId, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Analytics_CustomDimension");
}
/**
* 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 Google_Service_Analytics_CustomDimension $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_CustomDimension
*/
public function insert($accountId, $webPropertyId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('insert', array($params), "Google_Service_Analytics_CustomDimension");
}
/**
* 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 Google_Service_Analytics_CustomDimensions
*/
public function listManagementCustomDimensions($accountId, $webPropertyId, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Analytics_CustomDimensions");
}
/**
* 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 Google_Service_Analytics_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 Google_Service_Analytics_CustomDimension
*/
public function patch($accountId, $webPropertyId, $customDimensionId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Analytics_CustomDimension");
}
/**
* 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 Google_Service_Analytics_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 Google_Service_Analytics_CustomDimension
*/
public function update($accountId, $webPropertyId, $customDimensionId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_Analytics_CustomDimension");
}
}

View File

@@ -0,0 +1,124 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "customMetrics" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google_Service_Analytics(...);
* $customMetrics = $analyticsService->customMetrics;
* </code>
*/
class Google_Service_Analytics_Resource_ManagementCustomMetrics extends Google_Service_Resource
{
/**
* Get a custom metric to which the user has access. (customMetrics.get)
*
* @param string $accountId Account ID for the custom metric to retrieve.
* @param string $webPropertyId Web property ID for the custom metric to
* retrieve.
* @param string $customMetricId The ID of the custom metric to retrieve.
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_CustomMetric
*/
public function get($accountId, $webPropertyId, $customMetricId, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Analytics_CustomMetric");
}
/**
* Create a new custom metric. (customMetrics.insert)
*
* @param string $accountId Account ID for the custom metric to create.
* @param string $webPropertyId Web property ID for the custom dimension to
* create.
* @param Google_Service_Analytics_CustomMetric $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_CustomMetric
*/
public function insert($accountId, $webPropertyId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('insert', array($params), "Google_Service_Analytics_CustomMetric");
}
/**
* Lists custom metrics to which the user has access.
* (customMetrics.listManagementCustomMetrics)
*
* @param string $accountId Account ID for the custom metrics to retrieve.
* @param string $webPropertyId Web property ID for the custom metrics to
* retrieve.
* @param array $optParams Optional parameters.
*
* @opt_param int max-results The maximum number of custom metrics to include in
* this response.
* @opt_param int start-index An index of the first entity to retrieve. Use this
* parameter as a pagination mechanism along with the max-results parameter.
* @return Google_Service_Analytics_CustomMetrics
*/
public function listManagementCustomMetrics($accountId, $webPropertyId, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Analytics_CustomMetrics");
}
/**
* Updates an existing custom metric. This method supports patch semantics.
* (customMetrics.patch)
*
* @param string $accountId Account ID for the custom metric to update.
* @param string $webPropertyId Web property ID for the custom metric to update.
* @param string $customMetricId Custom metric ID for the custom metric to
* update.
* @param Google_Service_Analytics_CustomMetric $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
* warnings related to the custom metric being linked to a custom data source /
* data set.
* @return Google_Service_Analytics_CustomMetric
*/
public function patch($accountId, $webPropertyId, $customMetricId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Analytics_CustomMetric");
}
/**
* Updates an existing custom metric. (customMetrics.update)
*
* @param string $accountId Account ID for the custom metric to update.
* @param string $webPropertyId Web property ID for the custom metric to update.
* @param string $customMetricId Custom metric ID for the custom metric to
* update.
* @param Google_Service_Analytics_CustomMetric $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
* warnings related to the custom metric being linked to a custom data source /
* data set.
* @return Google_Service_Analytics_CustomMetric
*/
public function update($accountId, $webPropertyId, $customMetricId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_Analytics_CustomMetric");
}
}

View File

@@ -0,0 +1,132 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "experiments" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google_Service_Analytics(...);
* $experiments = $analyticsService->experiments;
* </code>
*/
class Google_Service_Analytics_Resource_ManagementExperiments extends Google_Service_Resource
{
/**
* Delete an experiment. (experiments.delete)
*
* @param string $accountId Account ID to which the experiment belongs
* @param string $webPropertyId Web property ID to which the experiment belongs
* @param string $profileId View (Profile) ID to which the experiment belongs
* @param string $experimentId ID of the experiment to delete
* @param array $optParams Optional parameters.
*/
public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params));
}
/**
* Returns an experiment to which the user has access. (experiments.get)
*
* @param string $accountId Account ID to retrieve the experiment for.
* @param string $webPropertyId Web property ID to retrieve the experiment for.
* @param string $profileId View (Profile) ID to retrieve the experiment for.
* @param string $experimentId Experiment ID to retrieve the experiment for.
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_Experiment
*/
public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Analytics_Experiment");
}
/**
* Create a new experiment. (experiments.insert)
*
* @param string $accountId Account ID to create the experiment for.
* @param string $webPropertyId Web property ID to create the experiment for.
* @param string $profileId View (Profile) ID to create the experiment for.
* @param Google_Service_Analytics_Experiment $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_Experiment
*/
public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('insert', array($params), "Google_Service_Analytics_Experiment");
}
/**
* Lists experiments to which the user has access.
* (experiments.listManagementExperiments)
*
* @param string $accountId Account ID to retrieve experiments for.
* @param string $webPropertyId Web property ID to retrieve experiments for.
* @param string $profileId View (Profile) ID to retrieve experiments for.
* @param array $optParams Optional parameters.
*
* @opt_param int max-results The maximum number of experiments to include in
* this response.
* @opt_param int start-index An index of the first experiment to retrieve. Use
* this parameter as a pagination mechanism along with the max-results
* parameter.
* @return Google_Service_Analytics_Experiments
*/
public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Analytics_Experiments");
}
/**
* Update an existing experiment. This method supports patch semantics.
* (experiments.patch)
*
* @param string $accountId Account ID of the experiment to update.
* @param string $webPropertyId Web property ID of the experiment to update.
* @param string $profileId View (Profile) ID of the experiment to update.
* @param string $experimentId Experiment ID of the experiment to update.
* @param Google_Service_Analytics_Experiment $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_Experiment
*/
public function patch($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Analytics_Experiment");
}
/**
* Update an existing experiment. (experiments.update)
*
* @param string $accountId Account ID of the experiment to update.
* @param string $webPropertyId Web property ID of the experiment to update.
* @param string $profileId View (Profile) ID of the experiment to update.
* @param string $experimentId Experiment ID of the experiment to update.
* @param Google_Service_Analytics_Experiment $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_Experiment
*/
public function update($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_Analytics_Experiment");
}
}

View File

@@ -0,0 +1,119 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "filters" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google_Service_Analytics(...);
* $filters = $analyticsService->filters;
* </code>
*/
class Google_Service_Analytics_Resource_ManagementFilters extends Google_Service_Resource
{
/**
* Delete a filter. (filters.delete)
*
* @param string $accountId Account ID to delete the filter for.
* @param string $filterId ID of the filter to be deleted.
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_Filter
*/
public function delete($accountId, $filterId, $optParams = array())
{
$params = array('accountId' => $accountId, 'filterId' => $filterId);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_Analytics_Filter");
}
/**
* Returns a filters to which the user has access. (filters.get)
*
* @param string $accountId Account ID to retrieve filters for.
* @param string $filterId Filter ID to retrieve filters for.
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_Filter
*/
public function get($accountId, $filterId, $optParams = array())
{
$params = array('accountId' => $accountId, 'filterId' => $filterId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Analytics_Filter");
}
/**
* Create a new filter. (filters.insert)
*
* @param string $accountId Account ID to create filter for.
* @param Google_Service_Analytics_Filter $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_Filter
*/
public function insert($accountId, Google_Service_Analytics_Filter $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('insert', array($params), "Google_Service_Analytics_Filter");
}
/**
* Lists all filters for an account (filters.listManagementFilters)
*
* @param string $accountId Account ID to retrieve filters for.
* @param array $optParams Optional parameters.
*
* @opt_param int max-results The maximum number of filters to include in this
* response.
* @opt_param int start-index An index of the first entity to retrieve. Use this
* parameter as a pagination mechanism along with the max-results parameter.
* @return Google_Service_Analytics_Filters
*/
public function listManagementFilters($accountId, $optParams = array())
{
$params = array('accountId' => $accountId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Analytics_Filters");
}
/**
* Updates an existing filter. This method supports patch semantics.
* (filters.patch)
*
* @param string $accountId Account ID to which the filter belongs.
* @param string $filterId ID of the filter to be updated.
* @param Google_Service_Analytics_Filter $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_Filter
*/
public function patch($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Analytics_Filter");
}
/**
* Updates an existing filter. (filters.update)
*
* @param string $accountId Account ID to which the filter belongs.
* @param string $filterId ID of the filter to be updated.
* @param Google_Service_Analytics_Filter $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_Filter
*/
public function update($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_Analytics_Filter");
}
}

View File

@@ -0,0 +1,120 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "goals" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google_Service_Analytics(...);
* $goals = $analyticsService->goals;
* </code>
*/
class Google_Service_Analytics_Resource_ManagementGoals extends Google_Service_Resource
{
/**
* Gets a goal to which the user has access. (goals.get)
*
* @param string $accountId Account ID to retrieve the goal for.
* @param string $webPropertyId Web property ID to retrieve the goal for.
* @param string $profileId View (Profile) ID to retrieve the goal for.
* @param string $goalId Goal ID to retrieve the goal for.
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_Goal
*/
public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Analytics_Goal");
}
/**
* Create a new goal. (goals.insert)
*
* @param string $accountId Account ID to create the goal for.
* @param string $webPropertyId Web property ID to create the goal for.
* @param string $profileId View (Profile) ID to create the goal for.
* @param Google_Service_Analytics_Goal $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_Goal
*/
public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Goal $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('insert', array($params), "Google_Service_Analytics_Goal");
}
/**
* Lists goals to which the user has access. (goals.listManagementGoals)
*
* @param string $accountId Account ID to retrieve goals for. Can either be a
* specific account ID or '~all', which refers to all the accounts that user has
* access to.
* @param string $webPropertyId Web property ID to retrieve goals for. Can
* either be a specific web property ID or '~all', which refers to all the web
* properties that user has access to.
* @param string $profileId View (Profile) ID to retrieve goals for. Can either
* be a specific view (profile) ID or '~all', which refers to all the views
* (profiles) that user has access to.
* @param array $optParams Optional parameters.
*
* @opt_param int max-results The maximum number of goals to include in this
* response.
* @opt_param int start-index An index of the first goal to retrieve. Use this
* parameter as a pagination mechanism along with the max-results parameter.
* @return Google_Service_Analytics_Goals
*/
public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Analytics_Goals");
}
/**
* Updates an existing goal. This method supports patch semantics. (goals.patch)
*
* @param string $accountId Account ID to update the goal.
* @param string $webPropertyId Web property ID to update the goal.
* @param string $profileId View (Profile) ID to update the goal.
* @param string $goalId Index of the goal to be updated.
* @param Google_Service_Analytics_Goal $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_Goal
*/
public function patch($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Analytics_Goal");
}
/**
* Updates an existing goal. (goals.update)
*
* @param string $accountId Account ID to update the goal.
* @param string $webPropertyId Web property ID to update the goal.
* @param string $profileId View (Profile) ID to update the goal.
* @param string $goalId Index of the goal to be updated.
* @param Google_Service_Analytics_Goal $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_Goal
*/
public function update($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_Analytics_Goal");
}
}

View File

@@ -0,0 +1,140 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "profileFilterLinks" collection of methods.
* Typical usage is:
* <code>
* $analyticsService = new Google_Service_Analytics(...);
* $profileFilterLinks = $analyticsService->profileFilterLinks;
* </code>
*/
class Google_Service_Analytics_Resource_ManagementProfileFilterLinks extends Google_Service_Resource
{
/**
* Delete a profile filter link. (profileFilterLinks.delete)
*
* @param string $accountId Account ID to which the profile filter link belongs.
* @param string $webPropertyId Web property Id to which the profile filter link
* belongs.
* @param string $profileId Profile ID to which the filter link belongs.
* @param string $linkId ID of the profile filter link to delete.
* @param array $optParams Optional parameters.
*/
public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params));
}
/**
* Returns a single profile filter link. (profileFilterLinks.get)
*
* @param string $accountId Account ID to retrieve profile filter link for.
* @param string $webPropertyId Web property Id to retrieve profile filter link
* for.
* @param string $profileId Profile ID to retrieve filter link for.
* @param string $linkId ID of the profile filter link.
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_ProfileFilterLink
*/
public function get($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Analytics_ProfileFilterLink");
}
/**
* Create a new profile filter link. (profileFilterLinks.insert)
*
* @param string $accountId Account ID to create profile filter link for.
* @param string $webPropertyId Web property Id to create profile filter link
* for.
* @param string $profileId Profile ID to create filter link for.
* @param Google_Service_Analytics_ProfileFilterLink $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_ProfileFilterLink
*/
public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('insert', array($params), "Google_Service_Analytics_ProfileFilterLink");
}
/**
* Lists all profile filter links for a profile.
* (profileFilterLinks.listManagementProfileFilterLinks)
*
* @param string $accountId Account ID to retrieve profile filter links for.
* @param string $webPropertyId Web property Id for profile filter links for.
* Can either be a specific web property ID or '~all', which refers to all the
* web properties that user has access to.
* @param string $profileId Profile ID to retrieve filter links for. Can either
* be a specific profile ID or '~all', which refers to all the profiles that
* user has access to.
* @param array $optParams Optional parameters.
*
* @opt_param int max-results The maximum number of profile filter links to
* include in this response.
* @opt_param int start-index An index of the first entity to retrieve. Use this
* parameter as a pagination mechanism along with the max-results parameter.
* @return Google_Service_Analytics_ProfileFilterLinks
*/
public function listManagementProfileFilterLinks($accountId, $webPropertyId, $profileId, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Analytics_ProfileFilterLinks");
}
/**
* Update an existing profile filter link. This method supports patch semantics.
* (profileFilterLinks.patch)
*
* @param string $accountId Account ID to which profile filter link belongs.
* @param string $webPropertyId Web property Id to which profile filter link
* belongs
* @param string $profileId Profile ID to which filter link belongs
* @param string $linkId ID of the profile filter link to be updated.
* @param Google_Service_Analytics_ProfileFilterLink $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_ProfileFilterLink
*/
public function patch($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Analytics_ProfileFilterLink");
}
/**
* Update an existing profile filter link. (profileFilterLinks.update)
*
* @param string $accountId Account ID to which profile filter link belongs.
* @param string $webPropertyId Web property Id to which profile filter link
* belongs
* @param string $profileId Profile ID to which filter link belongs
* @param string $linkId ID of the profile filter link to be updated.
* @param Google_Service_Analytics_ProfileFilterLink $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Analytics_ProfileFilterLink
*/
public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_Analytics_ProfileFilterLink");
}
}

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