Initial commit

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

View File

@@ -0,0 +1,285 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsReporting;
class Activity extends \Google\Collection
{
protected $collection_key = 'customDimension';
/**
* @var string
*/
public $activityTime;
/**
* @var string
*/
public $activityType;
protected $appviewType = ScreenviewData::class;
protected $appviewDataType = '';
/**
* @var string
*/
public $campaign;
/**
* @var string
*/
public $channelGrouping;
protected $customDimensionType = CustomDimension::class;
protected $customDimensionDataType = 'array';
protected $ecommerceType = EcommerceData::class;
protected $ecommerceDataType = '';
protected $eventType = EventData::class;
protected $eventDataType = '';
protected $goalsType = GoalSetData::class;
protected $goalsDataType = '';
/**
* @var string
*/
public $hostname;
/**
* @var string
*/
public $keyword;
/**
* @var string
*/
public $landingPagePath;
/**
* @var string
*/
public $medium;
protected $pageviewType = PageviewData::class;
protected $pageviewDataType = '';
/**
* @var string
*/
public $source;
/**
* @param string
*/
public function setActivityTime($activityTime)
{
$this->activityTime = $activityTime;
}
/**
* @return string
*/
public function getActivityTime()
{
return $this->activityTime;
}
/**
* @param string
*/
public function setActivityType($activityType)
{
$this->activityType = $activityType;
}
/**
* @return string
*/
public function getActivityType()
{
return $this->activityType;
}
/**
* @param ScreenviewData
*/
public function setAppview(ScreenviewData $appview)
{
$this->appview = $appview;
}
/**
* @return ScreenviewData
*/
public function getAppview()
{
return $this->appview;
}
/**
* @param string
*/
public function setCampaign($campaign)
{
$this->campaign = $campaign;
}
/**
* @return string
*/
public function getCampaign()
{
return $this->campaign;
}
/**
* @param string
*/
public function setChannelGrouping($channelGrouping)
{
$this->channelGrouping = $channelGrouping;
}
/**
* @return string
*/
public function getChannelGrouping()
{
return $this->channelGrouping;
}
/**
* @param CustomDimension[]
*/
public function setCustomDimension($customDimension)
{
$this->customDimension = $customDimension;
}
/**
* @return CustomDimension[]
*/
public function getCustomDimension()
{
return $this->customDimension;
}
/**
* @param EcommerceData
*/
public function setEcommerce(EcommerceData $ecommerce)
{
$this->ecommerce = $ecommerce;
}
/**
* @return EcommerceData
*/
public function getEcommerce()
{
return $this->ecommerce;
}
/**
* @param EventData
*/
public function setEvent(EventData $event)
{
$this->event = $event;
}
/**
* @return EventData
*/
public function getEvent()
{
return $this->event;
}
/**
* @param GoalSetData
*/
public function setGoals(GoalSetData $goals)
{
$this->goals = $goals;
}
/**
* @return GoalSetData
*/
public function getGoals()
{
return $this->goals;
}
/**
* @param string
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* @param string
*/
public function setKeyword($keyword)
{
$this->keyword = $keyword;
}
/**
* @return string
*/
public function getKeyword()
{
return $this->keyword;
}
/**
* @param string
*/
public function setLandingPagePath($landingPagePath)
{
$this->landingPagePath = $landingPagePath;
}
/**
* @return string
*/
public function getLandingPagePath()
{
return $this->landingPagePath;
}
/**
* @param string
*/
public function setMedium($medium)
{
$this->medium = $medium;
}
/**
* @return string
*/
public function getMedium()
{
return $this->medium;
}
/**
* @param PageviewData
*/
public function setPageview(PageviewData $pageview)
{
$this->pageview = $pageview;
}
/**
* @return PageviewData
*/
public function getPageview()
{
return $this->pageview;
}
/**
* @param string
*/
public function setSource($source)
{
$this->source = $source;
}
/**
* @return string
*/
public function getSource()
{
return $this->source;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Activity::class, 'Google_Service_AnalyticsReporting_Activity');

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsReporting;
class EcommerceData extends \Google\Collection
{
protected $collection_key = 'products';
/**
* @var string
*/
public $actionType;
/**
* @var string
*/
public $ecommerceType;
protected $productsType = ProductData::class;
protected $productsDataType = 'array';
protected $transactionType = TransactionData::class;
protected $transactionDataType = '';
/**
* @param string
*/
public function setActionType($actionType)
{
$this->actionType = $actionType;
}
/**
* @return string
*/
public function getActionType()
{
return $this->actionType;
}
/**
* @param string
*/
public function setEcommerceType($ecommerceType)
{
$this->ecommerceType = $ecommerceType;
}
/**
* @return string
*/
public function getEcommerceType()
{
return $this->ecommerceType;
}
/**
* @param ProductData[]
*/
public function setProducts($products)
{
$this->products = $products;
}
/**
* @return ProductData[]
*/
public function getProducts()
{
return $this->products;
}
/**
* @param TransactionData
*/
public function setTransaction(TransactionData $transaction)
{
$this->transaction = $transaction;
}
/**
* @return TransactionData
*/
public function getTransaction()
{
return $this->transaction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EcommerceData::class, 'Google_Service_AnalyticsReporting_EcommerceData');

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,161 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsReporting;
class GoalData extends \Google\Model
{
/**
* @var string
*/
public $goalCompletionLocation;
/**
* @var string
*/
public $goalCompletions;
/**
* @var int
*/
public $goalIndex;
/**
* @var string
*/
public $goalName;
/**
* @var string
*/
public $goalPreviousStep1;
/**
* @var string
*/
public $goalPreviousStep2;
/**
* @var string
*/
public $goalPreviousStep3;
public $goalValue;
/**
* @param string
*/
public function setGoalCompletionLocation($goalCompletionLocation)
{
$this->goalCompletionLocation = $goalCompletionLocation;
}
/**
* @return string
*/
public function getGoalCompletionLocation()
{
return $this->goalCompletionLocation;
}
/**
* @param string
*/
public function setGoalCompletions($goalCompletions)
{
$this->goalCompletions = $goalCompletions;
}
/**
* @return string
*/
public function getGoalCompletions()
{
return $this->goalCompletions;
}
/**
* @param int
*/
public function setGoalIndex($goalIndex)
{
$this->goalIndex = $goalIndex;
}
/**
* @return int
*/
public function getGoalIndex()
{
return $this->goalIndex;
}
/**
* @param string
*/
public function setGoalName($goalName)
{
$this->goalName = $goalName;
}
/**
* @return string
*/
public function getGoalName()
{
return $this->goalName;
}
/**
* @param string
*/
public function setGoalPreviousStep1($goalPreviousStep1)
{
$this->goalPreviousStep1 = $goalPreviousStep1;
}
/**
* @return string
*/
public function getGoalPreviousStep1()
{
return $this->goalPreviousStep1;
}
/**
* @param string
*/
public function setGoalPreviousStep2($goalPreviousStep2)
{
$this->goalPreviousStep2 = $goalPreviousStep2;
}
/**
* @return string
*/
public function getGoalPreviousStep2()
{
return $this->goalPreviousStep2;
}
/**
* @param string
*/
public function setGoalPreviousStep3($goalPreviousStep3)
{
$this->goalPreviousStep3 = $goalPreviousStep3;
}
/**
* @return string
*/
public function getGoalPreviousStep3()
{
return $this->goalPreviousStep3;
}
public function setGoalValue($goalValue)
{
$this->goalValue = $goalValue;
}
public function getGoalValue()
{
return $this->goalValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoalData::class, 'Google_Service_AnalyticsReporting_GoalData');

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,199 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsReporting;
class ReportData extends \Google\Collection
{
protected $collection_key = 'totals';
/**
* @var string
*/
public $dataLastRefreshed;
/**
* @var string
*/
public $emptyReason;
/**
* @var bool
*/
public $isDataGolden;
protected $maximumsType = DateRangeValues::class;
protected $maximumsDataType = 'array';
protected $minimumsType = DateRangeValues::class;
protected $minimumsDataType = 'array';
/**
* @var int
*/
public $rowCount;
protected $rowsType = ReportRow::class;
protected $rowsDataType = 'array';
/**
* @var string[]
*/
public $samplesReadCounts;
/**
* @var string[]
*/
public $samplingSpaceSizes;
protected $totalsType = DateRangeValues::class;
protected $totalsDataType = 'array';
/**
* @param string
*/
public function setDataLastRefreshed($dataLastRefreshed)
{
$this->dataLastRefreshed = $dataLastRefreshed;
}
/**
* @return string
*/
public function getDataLastRefreshed()
{
return $this->dataLastRefreshed;
}
/**
* @param string
*/
public function setEmptyReason($emptyReason)
{
$this->emptyReason = $emptyReason;
}
/**
* @return string
*/
public function getEmptyReason()
{
return $this->emptyReason;
}
/**
* @param bool
*/
public function setIsDataGolden($isDataGolden)
{
$this->isDataGolden = $isDataGolden;
}
/**
* @return bool
*/
public function getIsDataGolden()
{
return $this->isDataGolden;
}
/**
* @param DateRangeValues[]
*/
public function setMaximums($maximums)
{
$this->maximums = $maximums;
}
/**
* @return DateRangeValues[]
*/
public function getMaximums()
{
return $this->maximums;
}
/**
* @param DateRangeValues[]
*/
public function setMinimums($minimums)
{
$this->minimums = $minimums;
}
/**
* @return DateRangeValues[]
*/
public function getMinimums()
{
return $this->minimums;
}
/**
* @param int
*/
public function setRowCount($rowCount)
{
$this->rowCount = $rowCount;
}
/**
* @return int
*/
public function getRowCount()
{
return $this->rowCount;
}
/**
* @param ReportRow[]
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return ReportRow[]
*/
public function getRows()
{
return $this->rows;
}
/**
* @param string[]
*/
public function setSamplesReadCounts($samplesReadCounts)
{
$this->samplesReadCounts = $samplesReadCounts;
}
/**
* @return string[]
*/
public function getSamplesReadCounts()
{
return $this->samplesReadCounts;
}
/**
* @param string[]
*/
public function setSamplingSpaceSizes($samplingSpaceSizes)
{
$this->samplingSpaceSizes = $samplingSpaceSizes;
}
/**
* @return string[]
*/
public function getSamplingSpaceSizes()
{
return $this->samplingSpaceSizes;
}
/**
* @param DateRangeValues[]
*/
public function setTotals($totals)
{
$this->totals = $totals;
}
/**
* @return DateRangeValues[]
*/
public function getTotals()
{
return $this->totals;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReportData::class, 'Google_Service_AnalyticsReporting_ReportData');

View File

@@ -0,0 +1,315 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsReporting;
class ReportRequest extends \Google\Collection
{
protected $collection_key = 'segments';
protected $cohortGroupType = CohortGroup::class;
protected $cohortGroupDataType = '';
protected $dateRangesType = DateRange::class;
protected $dateRangesDataType = 'array';
protected $dimensionFilterClausesType = DimensionFilterClause::class;
protected $dimensionFilterClausesDataType = 'array';
protected $dimensionsType = Dimension::class;
protected $dimensionsDataType = 'array';
/**
* @var string
*/
public $filtersExpression;
/**
* @var bool
*/
public $hideTotals;
/**
* @var bool
*/
public $hideValueRanges;
/**
* @var bool
*/
public $includeEmptyRows;
protected $metricFilterClausesType = MetricFilterClause::class;
protected $metricFilterClausesDataType = 'array';
protected $metricsType = Metric::class;
protected $metricsDataType = 'array';
protected $orderBysType = OrderBy::class;
protected $orderBysDataType = 'array';
/**
* @var int
*/
public $pageSize;
/**
* @var string
*/
public $pageToken;
protected $pivotsType = Pivot::class;
protected $pivotsDataType = 'array';
/**
* @var string
*/
public $samplingLevel;
protected $segmentsType = Segment::class;
protected $segmentsDataType = 'array';
/**
* @var string
*/
public $viewId;
/**
* @param CohortGroup
*/
public function setCohortGroup(CohortGroup $cohortGroup)
{
$this->cohortGroup = $cohortGroup;
}
/**
* @return CohortGroup
*/
public function getCohortGroup()
{
return $this->cohortGroup;
}
/**
* @param DateRange[]
*/
public function setDateRanges($dateRanges)
{
$this->dateRanges = $dateRanges;
}
/**
* @return DateRange[]
*/
public function getDateRanges()
{
return $this->dateRanges;
}
/**
* @param DimensionFilterClause[]
*/
public function setDimensionFilterClauses($dimensionFilterClauses)
{
$this->dimensionFilterClauses = $dimensionFilterClauses;
}
/**
* @return DimensionFilterClause[]
*/
public function getDimensionFilterClauses()
{
return $this->dimensionFilterClauses;
}
/**
* @param Dimension[]
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return Dimension[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* @param string
*/
public function setFiltersExpression($filtersExpression)
{
$this->filtersExpression = $filtersExpression;
}
/**
* @return string
*/
public function getFiltersExpression()
{
return $this->filtersExpression;
}
/**
* @param bool
*/
public function setHideTotals($hideTotals)
{
$this->hideTotals = $hideTotals;
}
/**
* @return bool
*/
public function getHideTotals()
{
return $this->hideTotals;
}
/**
* @param bool
*/
public function setHideValueRanges($hideValueRanges)
{
$this->hideValueRanges = $hideValueRanges;
}
/**
* @return bool
*/
public function getHideValueRanges()
{
return $this->hideValueRanges;
}
/**
* @param bool
*/
public function setIncludeEmptyRows($includeEmptyRows)
{
$this->includeEmptyRows = $includeEmptyRows;
}
/**
* @return bool
*/
public function getIncludeEmptyRows()
{
return $this->includeEmptyRows;
}
/**
* @param MetricFilterClause[]
*/
public function setMetricFilterClauses($metricFilterClauses)
{
$this->metricFilterClauses = $metricFilterClauses;
}
/**
* @return MetricFilterClause[]
*/
public function getMetricFilterClauses()
{
return $this->metricFilterClauses;
}
/**
* @param Metric[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return Metric[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param OrderBy[]
*/
public function setOrderBys($orderBys)
{
$this->orderBys = $orderBys;
}
/**
* @return OrderBy[]
*/
public function getOrderBys()
{
return $this->orderBys;
}
/**
* @param int
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* @param string
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* @param Pivot[]
*/
public function setPivots($pivots)
{
$this->pivots = $pivots;
}
/**
* @return Pivot[]
*/
public function getPivots()
{
return $this->pivots;
}
/**
* @param string
*/
public function setSamplingLevel($samplingLevel)
{
$this->samplingLevel = $samplingLevel;
}
/**
* @return string
*/
public function getSamplingLevel()
{
return $this->samplingLevel;
}
/**
* @param Segment[]
*/
public function setSegments($segments)
{
$this->segments = $segments;
}
/**
* @return Segment[]
*/
public function getSegments()
{
return $this->segments;
}
/**
* @param string
*/
public function setViewId($viewId)
{
$this->viewId = $viewId;
}
/**
* @return string
*/
public function getViewId()
{
return $this->viewId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReportRequest::class, 'Google_Service_AnalyticsReporting_ReportRequest');

View File

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

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsReporting\Resource;
use Google\Service\AnalyticsReporting\GetReportsRequest;
use Google\Service\AnalyticsReporting\GetReportsResponse;
/**
* The "reports" collection of methods.
* Typical usage is:
* <code>
* $analyticsreportingService = new Google\Service\AnalyticsReporting(...);
* $reports = $analyticsreportingService->reports;
* </code>
*/
class Reports extends \Google\Service\Resource
{
/**
* Returns the Analytics data. (reports.batchGet)
*
* @param GetReportsRequest $postBody
* @param array $optParams Optional parameters.
* @return GetReportsResponse
* @throws \Google\Service\Exception
*/
public function batchGet(GetReportsRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchGet', [$params], GetReportsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Reports::class, 'Google_Service_AnalyticsReporting_Resource_Reports');

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsReporting\Resource;
use Google\Service\AnalyticsReporting\SearchUserActivityRequest;
use Google\Service\AnalyticsReporting\SearchUserActivityResponse;
/**
* The "userActivity" collection of methods.
* Typical usage is:
* <code>
* $analyticsreportingService = new Google\Service\AnalyticsReporting(...);
* $userActivity = $analyticsreportingService->userActivity;
* </code>
*/
class UserActivity extends \Google\Service\Resource
{
/**
* Returns User Activity data. (userActivity.search)
*
* @param SearchUserActivityRequest $postBody
* @param array $optParams Optional parameters.
* @return SearchUserActivityResponse
* @throws \Google\Service\Exception
*/
public function search(SearchUserActivityRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('search', [$params], SearchUserActivityResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UserActivity::class, 'Google_Service_AnalyticsReporting_Resource_UserActivity');

View File

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

View File

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

View File

@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsReporting;
class SearchUserActivityRequest extends \Google\Collection
{
protected $collection_key = 'activityTypes';
/**
* @var string[]
*/
public $activityTypes;
protected $dateRangeType = DateRange::class;
protected $dateRangeDataType = '';
/**
* @var int
*/
public $pageSize;
/**
* @var string
*/
public $pageToken;
protected $userType = User::class;
protected $userDataType = '';
/**
* @var string
*/
public $viewId;
/**
* @param string[]
*/
public function setActivityTypes($activityTypes)
{
$this->activityTypes = $activityTypes;
}
/**
* @return string[]
*/
public function getActivityTypes()
{
return $this->activityTypes;
}
/**
* @param DateRange
*/
public function setDateRange(DateRange $dateRange)
{
$this->dateRange = $dateRange;
}
/**
* @return DateRange
*/
public function getDateRange()
{
return $this->dateRange;
}
/**
* @param int
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* @param string
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* @param User
*/
public function setUser(User $user)
{
$this->user = $user;
}
/**
* @return User
*/
public function getUser()
{
return $this->user;
}
/**
* @param string
*/
public function setViewId($viewId)
{
$this->viewId = $viewId;
}
/**
* @return string
*/
public function getViewId()
{
return $this->viewId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SearchUserActivityRequest::class, 'Google_Service_AnalyticsReporting_SearchUserActivityRequest');

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,133 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsReporting;
class UserActivitySession extends \Google\Collection
{
protected $collection_key = 'activities';
protected $activitiesType = Activity::class;
protected $activitiesDataType = 'array';
/**
* @var string
*/
public $dataSource;
/**
* @var string
*/
public $deviceCategory;
/**
* @var string
*/
public $platform;
/**
* @var string
*/
public $sessionDate;
/**
* @var string
*/
public $sessionId;
/**
* @param Activity[]
*/
public function setActivities($activities)
{
$this->activities = $activities;
}
/**
* @return Activity[]
*/
public function getActivities()
{
return $this->activities;
}
/**
* @param string
*/
public function setDataSource($dataSource)
{
$this->dataSource = $dataSource;
}
/**
* @return string
*/
public function getDataSource()
{
return $this->dataSource;
}
/**
* @param string
*/
public function setDeviceCategory($deviceCategory)
{
$this->deviceCategory = $deviceCategory;
}
/**
* @return string
*/
public function getDeviceCategory()
{
return $this->deviceCategory;
}
/**
* @param string
*/
public function setPlatform($platform)
{
$this->platform = $platform;
}
/**
* @return string
*/
public function getPlatform()
{
return $this->platform;
}
/**
* @param string
*/
public function setSessionDate($sessionDate)
{
$this->sessionDate = $sessionDate;
}
/**
* @return string
*/
public function getSessionDate()
{
return $this->sessionDate;
}
/**
* @param string
*/
public function setSessionId($sessionId)
{
$this->sessionId = $sessionId;
}
/**
* @return string
*/
public function getSessionId()
{
return $this->sessionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UserActivitySession::class, 'Google_Service_AnalyticsReporting_UserActivitySession');