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,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\AnalyticsData;
class ActiveMetricRestriction extends \Google\Collection
{
protected $collection_key = 'restrictedMetricTypes';
/**
* @var string
*/
public $metricName;
/**
* @var string[]
*/
public $restrictedMetricTypes;
/**
* @param string
*/
public function setMetricName($metricName)
{
$this->metricName = $metricName;
}
/**
* @return string
*/
public function getMetricName()
{
return $this->metricName;
}
/**
* @param string[]
*/
public function setRestrictedMetricTypes($restrictedMetricTypes)
{
$this->restrictedMetricTypes = $restrictedMetricTypes;
}
/**
* @return string[]
*/
public function getRestrictedMetricTypes()
{
return $this->restrictedMetricTypes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ActiveMetricRestriction::class, 'Google_Service_AnalyticsData_ActiveMetricRestriction');

View File

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

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR 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\AnalyticsData;
class AudienceListMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AudienceListMetadata::class, 'Google_Service_AnalyticsData_AudienceListMetadata');

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\AnalyticsData;
class BatchRunPivotReportsRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = RunPivotReportRequest::class;
protected $requestsDataType = 'array';
/**
* @param RunPivotReportRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return RunPivotReportRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchRunPivotReportsRequest::class, 'Google_Service_AnalyticsData_BatchRunPivotReportsRequest');

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\AnalyticsData;
class BatchRunPivotReportsResponse extends \Google\Collection
{
protected $collection_key = 'pivotReports';
/**
* @var string
*/
public $kind;
protected $pivotReportsType = RunPivotReportResponse::class;
protected $pivotReportsDataType = 'array';
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param RunPivotReportResponse[]
*/
public function setPivotReports($pivotReports)
{
$this->pivotReports = $pivotReports;
}
/**
* @return RunPivotReportResponse[]
*/
public function getPivotReports()
{
return $this->pivotReports;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchRunPivotReportsResponse::class, 'Google_Service_AnalyticsData_BatchRunPivotReportsResponse');

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\AnalyticsData;
class BatchRunReportsRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = RunReportRequest::class;
protected $requestsDataType = 'array';
/**
* @param RunReportRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return RunReportRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchRunReportsRequest::class, 'Google_Service_AnalyticsData_BatchRunReportsRequest');

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\AnalyticsData;
class BatchRunReportsResponse extends \Google\Collection
{
protected $collection_key = 'reports';
/**
* @var string
*/
public $kind;
protected $reportsType = RunReportResponse::class;
protected $reportsDataType = 'array';
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param RunReportResponse[]
*/
public function setReports($reports)
{
$this->reports = $reports;
}
/**
* @return RunReportResponse[]
*/
public function getReports()
{
return $this->reports;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchRunReportsResponse::class, 'Google_Service_AnalyticsData_BatchRunReportsResponse');

View File

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

View File

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

View File

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

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\AnalyticsData;
class CheckCompatibilityResponse extends \Google\Collection
{
protected $collection_key = 'metricCompatibilities';
protected $dimensionCompatibilitiesType = DimensionCompatibility::class;
protected $dimensionCompatibilitiesDataType = 'array';
protected $metricCompatibilitiesType = MetricCompatibility::class;
protected $metricCompatibilitiesDataType = 'array';
/**
* @param DimensionCompatibility[]
*/
public function setDimensionCompatibilities($dimensionCompatibilities)
{
$this->dimensionCompatibilities = $dimensionCompatibilities;
}
/**
* @return DimensionCompatibility[]
*/
public function getDimensionCompatibilities()
{
return $this->dimensionCompatibilities;
}
/**
* @param MetricCompatibility[]
*/
public function setMetricCompatibilities($metricCompatibilities)
{
$this->metricCompatibilities = $metricCompatibilities;
}
/**
* @return MetricCompatibility[]
*/
public function getMetricCompatibilities()
{
return $this->metricCompatibilities;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CheckCompatibilityResponse::class, 'Google_Service_AnalyticsData_CheckCompatibilityResponse');

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\AnalyticsData;
class Cohort extends \Google\Model
{
protected $dateRangeType = DateRange::class;
protected $dateRangeDataType = '';
/**
* @var string
*/
public $dimension;
/**
* @var string
*/
public $name;
/**
* @param DateRange
*/
public function setDateRange(DateRange $dateRange)
{
$this->dateRange = $dateRange;
}
/**
* @return DateRange
*/
public function getDateRange()
{
return $this->dateRange;
}
/**
* @param string
*/
public function setDimension($dimension)
{
$this->dimension = $dimension;
}
/**
* @return string
*/
public function getDimension()
{
return $this->dimension;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Cohort::class, 'Google_Service_AnalyticsData_Cohort');

View File

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

View File

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

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\AnalyticsData;
class CohortsRange extends \Google\Model
{
/**
* @var int
*/
public $endOffset;
/**
* @var string
*/
public $granularity;
/**
* @var int
*/
public $startOffset;
/**
* @param int
*/
public function setEndOffset($endOffset)
{
$this->endOffset = $endOffset;
}
/**
* @return int
*/
public function getEndOffset()
{
return $this->endOffset;
}
/**
* @param string
*/
public function setGranularity($granularity)
{
$this->granularity = $granularity;
}
/**
* @return string
*/
public function getGranularity()
{
return $this->granularity;
}
/**
* @param int
*/
public function setStartOffset($startOffset)
{
$this->startOffset = $startOffset;
}
/**
* @return int
*/
public function getStartOffset()
{
return $this->startOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CohortsRange::class, 'Google_Service_AnalyticsData_CohortsRange');

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\AnalyticsData;
class Comparison extends \Google\Model
{
/**
* @var string
*/
public $comparison;
protected $dimensionFilterType = FilterExpression::class;
protected $dimensionFilterDataType = '';
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setComparison($comparison)
{
$this->comparison = $comparison;
}
/**
* @return string
*/
public function getComparison()
{
return $this->comparison;
}
/**
* @param FilterExpression
*/
public function setDimensionFilter(FilterExpression $dimensionFilter)
{
$this->dimensionFilter = $dimensionFilter;
}
/**
* @return FilterExpression
*/
public function getDimensionFilter()
{
return $this->dimensionFilter;
}
/**
* @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(Comparison::class, 'Google_Service_AnalyticsData_Comparison');

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\AnalyticsData;
class ComparisonMetadata extends \Google\Model
{
/**
* @var string
*/
public $apiName;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $uiName;
/**
* @param string
*/
public function setApiName($apiName)
{
$this->apiName = $apiName;
}
/**
* @return string
*/
public function getApiName()
{
return $this->apiName;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setUiName($uiName)
{
$this->uiName = $uiName;
}
/**
* @return string
*/
public function getUiName()
{
return $this->uiName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ComparisonMetadata::class, 'Google_Service_AnalyticsData_ComparisonMetadata');

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\AnalyticsData;
class ConcatenateExpression extends \Google\Collection
{
protected $collection_key = 'dimensionNames';
/**
* @var string
*/
public $delimiter;
/**
* @var string[]
*/
public $dimensionNames;
/**
* @param string
*/
public function setDelimiter($delimiter)
{
$this->delimiter = $delimiter;
}
/**
* @return string
*/
public function getDelimiter()
{
return $this->delimiter;
}
/**
* @param string[]
*/
public function setDimensionNames($dimensionNames)
{
$this->dimensionNames = $dimensionNames;
}
/**
* @return string[]
*/
public function getDimensionNames()
{
return $this->dimensionNames;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConcatenateExpression::class, 'Google_Service_AnalyticsData_ConcatenateExpression');

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\AnalyticsData;
class DateRange extends \Google\Model
{
/**
* @var string
*/
public $endDate;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $startDate;
/**
* @param string
*/
public function setEndDate($endDate)
{
$this->endDate = $endDate;
}
/**
* @return string
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setStartDate($startDate)
{
$this->startDate = $startDate;
}
/**
* @return string
*/
public function getStartDate()
{
return $this->startDate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DateRange::class, 'Google_Service_AnalyticsData_DateRange');

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\AnalyticsData;
class Dimension extends \Google\Model
{
protected $dimensionExpressionType = DimensionExpression::class;
protected $dimensionExpressionDataType = '';
/**
* @var string
*/
public $name;
/**
* @param DimensionExpression
*/
public function setDimensionExpression(DimensionExpression $dimensionExpression)
{
$this->dimensionExpression = $dimensionExpression;
}
/**
* @return DimensionExpression
*/
public function getDimensionExpression()
{
return $this->dimensionExpression;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Dimension::class, 'Google_Service_AnalyticsData_Dimension');

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\AnalyticsData;
class DimensionCompatibility extends \Google\Model
{
/**
* @var string
*/
public $compatibility;
protected $dimensionMetadataType = DimensionMetadata::class;
protected $dimensionMetadataDataType = '';
/**
* @param string
*/
public function setCompatibility($compatibility)
{
$this->compatibility = $compatibility;
}
/**
* @return string
*/
public function getCompatibility()
{
return $this->compatibility;
}
/**
* @param DimensionMetadata
*/
public function setDimensionMetadata(DimensionMetadata $dimensionMetadata)
{
$this->dimensionMetadata = $dimensionMetadata;
}
/**
* @return DimensionMetadata
*/
public function getDimensionMetadata()
{
return $this->dimensionMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DimensionCompatibility::class, 'Google_Service_AnalyticsData_DimensionCompatibility');

View File

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

View File

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

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\AnalyticsData;
class DimensionMetadata extends \Google\Collection
{
protected $collection_key = 'deprecatedApiNames';
/**
* @var string
*/
public $apiName;
/**
* @var string
*/
public $category;
/**
* @var bool
*/
public $customDefinition;
/**
* @var string[]
*/
public $deprecatedApiNames;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $uiName;
/**
* @param string
*/
public function setApiName($apiName)
{
$this->apiName = $apiName;
}
/**
* @return string
*/
public function getApiName()
{
return $this->apiName;
}
/**
* @param string
*/
public function setCategory($category)
{
$this->category = $category;
}
/**
* @return string
*/
public function getCategory()
{
return $this->category;
}
/**
* @param bool
*/
public function setCustomDefinition($customDefinition)
{
$this->customDefinition = $customDefinition;
}
/**
* @return bool
*/
public function getCustomDefinition()
{
return $this->customDefinition;
}
/**
* @param string[]
*/
public function setDeprecatedApiNames($deprecatedApiNames)
{
$this->deprecatedApiNames = $deprecatedApiNames;
}
/**
* @return string[]
*/
public function getDeprecatedApiNames()
{
return $this->deprecatedApiNames;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setUiName($uiName)
{
$this->uiName = $uiName;
}
/**
* @return string
*/
public function getUiName()
{
return $this->uiName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DimensionMetadata::class, 'Google_Service_AnalyticsData_DimensionMetadata');

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\AnalyticsData;
class DimensionOrderBy extends \Google\Model
{
/**
* @var string
*/
public $dimensionName;
/**
* @var string
*/
public $orderType;
/**
* @param string
*/
public function setDimensionName($dimensionName)
{
$this->dimensionName = $dimensionName;
}
/**
* @return string
*/
public function getDimensionName()
{
return $this->dimensionName;
}
/**
* @param string
*/
public function setOrderType($orderType)
{
$this->orderType = $orderType;
}
/**
* @return string
*/
public function getOrderType()
{
return $this->orderType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DimensionOrderBy::class, 'Google_Service_AnalyticsData_DimensionOrderBy');

View File

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

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR 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\AnalyticsData;
class EmptyFilter extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EmptyFilter::class, 'Google_Service_AnalyticsData_EmptyFilter');

View File

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

View File

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

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\AnalyticsData;
class FilterExpressionList extends \Google\Collection
{
protected $collection_key = 'expressions';
protected $expressionsType = FilterExpression::class;
protected $expressionsDataType = 'array';
/**
* @param FilterExpression[]
*/
public function setExpressions($expressions)
{
$this->expressions = $expressions;
}
/**
* @return FilterExpression[]
*/
public function getExpressions()
{
return $this->expressions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FilterExpressionList::class, 'Google_Service_AnalyticsData_FilterExpressionList');

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\AnalyticsData;
class InListFilter extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var bool
*/
public $caseSensitive;
/**
* @var string[]
*/
public $values;
/**
* @param bool
*/
public function setCaseSensitive($caseSensitive)
{
$this->caseSensitive = $caseSensitive;
}
/**
* @return bool
*/
public function getCaseSensitive()
{
return $this->caseSensitive;
}
/**
* @param string[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return string[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InListFilter::class, 'Google_Service_AnalyticsData_InListFilter');

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\AnalyticsData;
class ListAudienceExportsResponse extends \Google\Collection
{
protected $collection_key = 'audienceExports';
protected $audienceExportsType = AudienceExport::class;
protected $audienceExportsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param AudienceExport[]
*/
public function setAudienceExports($audienceExports)
{
$this->audienceExports = $audienceExports;
}
/**
* @return AudienceExport[]
*/
public function getAudienceExports()
{
return $this->audienceExports;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListAudienceExportsResponse::class, 'Google_Service_AnalyticsData_ListAudienceExportsResponse');

View File

@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR 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\AnalyticsData;
class Metadata extends \Google\Collection
{
protected $collection_key = 'metrics';
protected $comparisonsType = ComparisonMetadata::class;
protected $comparisonsDataType = 'array';
protected $dimensionsType = DimensionMetadata::class;
protected $dimensionsDataType = 'array';
protected $metricsType = MetricMetadata::class;
protected $metricsDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @param ComparisonMetadata[]
*/
public function setComparisons($comparisons)
{
$this->comparisons = $comparisons;
}
/**
* @return ComparisonMetadata[]
*/
public function getComparisons()
{
return $this->comparisons;
}
/**
* @param DimensionMetadata[]
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return DimensionMetadata[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* @param MetricMetadata[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return MetricMetadata[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Metadata::class, 'Google_Service_AnalyticsData_Metadata');

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\AnalyticsData;
class Metric extends \Google\Model
{
/**
* @var string
*/
public $expression;
/**
* @var bool
*/
public $invisible;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* @param bool
*/
public function setInvisible($invisible)
{
$this->invisible = $invisible;
}
/**
* @return bool
*/
public function getInvisible()
{
return $this->invisible;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Metric::class, 'Google_Service_AnalyticsData_Metric');

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\AnalyticsData;
class MetricCompatibility extends \Google\Model
{
/**
* @var string
*/
public $compatibility;
protected $metricMetadataType = MetricMetadata::class;
protected $metricMetadataDataType = '';
/**
* @param string
*/
public function setCompatibility($compatibility)
{
$this->compatibility = $compatibility;
}
/**
* @return string
*/
public function getCompatibility()
{
return $this->compatibility;
}
/**
* @param MetricMetadata
*/
public function setMetricMetadata(MetricMetadata $metricMetadata)
{
$this->metricMetadata = $metricMetadata;
}
/**
* @return MetricMetadata
*/
public function getMetricMetadata()
{
return $this->metricMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MetricCompatibility::class, 'Google_Service_AnalyticsData_MetricCompatibility');

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\AnalyticsData;
class MetricHeader 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(MetricHeader::class, 'Google_Service_AnalyticsData_MetricHeader');

View File

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

View File

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

View File

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

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\AnalyticsData;
class MinuteRange extends \Google\Model
{
/**
* @var int
*/
public $endMinutesAgo;
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $startMinutesAgo;
/**
* @param int
*/
public function setEndMinutesAgo($endMinutesAgo)
{
$this->endMinutesAgo = $endMinutesAgo;
}
/**
* @return int
*/
public function getEndMinutesAgo()
{
return $this->endMinutesAgo;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setStartMinutesAgo($startMinutesAgo)
{
$this->startMinutesAgo = $startMinutesAgo;
}
/**
* @return int
*/
public function getStartMinutesAgo()
{
return $this->startMinutesAgo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MinuteRange::class, 'Google_Service_AnalyticsData_MinuteRange');

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\AnalyticsData;
class NumericFilter extends \Google\Model
{
/**
* @var string
*/
public $operation;
protected $valueType = NumericValue::class;
protected $valueDataType = '';
/**
* @param string
*/
public function setOperation($operation)
{
$this->operation = $operation;
}
/**
* @return string
*/
public function getOperation()
{
return $this->operation;
}
/**
* @param NumericValue
*/
public function setValue(NumericValue $value)
{
$this->value = $value;
}
/**
* @return NumericValue
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NumericFilter::class, 'Google_Service_AnalyticsData_NumericFilter');

View File

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

View File

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

View File

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

View File

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

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\AnalyticsData;
class PivotDimensionHeader extends \Google\Collection
{
protected $collection_key = 'dimensionValues';
protected $dimensionValuesType = DimensionValue::class;
protected $dimensionValuesDataType = 'array';
/**
* @param DimensionValue[]
*/
public function setDimensionValues($dimensionValues)
{
$this->dimensionValues = $dimensionValues;
}
/**
* @return DimensionValue[]
*/
public function getDimensionValues()
{
return $this->dimensionValues;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PivotDimensionHeader::class, 'Google_Service_AnalyticsData_PivotDimensionHeader');

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\AnalyticsData;
class PivotHeader extends \Google\Collection
{
protected $collection_key = 'pivotDimensionHeaders';
protected $pivotDimensionHeadersType = PivotDimensionHeader::class;
protected $pivotDimensionHeadersDataType = 'array';
/**
* @var int
*/
public $rowCount;
/**
* @param PivotDimensionHeader[]
*/
public function setPivotDimensionHeaders($pivotDimensionHeaders)
{
$this->pivotDimensionHeaders = $pivotDimensionHeaders;
}
/**
* @return PivotDimensionHeader[]
*/
public function getPivotDimensionHeaders()
{
return $this->pivotDimensionHeaders;
}
/**
* @param int
*/
public function setRowCount($rowCount)
{
$this->rowCount = $rowCount;
}
/**
* @return int
*/
public function getRowCount()
{
return $this->rowCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PivotHeader::class, 'Google_Service_AnalyticsData_PivotHeader');

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\AnalyticsData;
class PivotOrderBy extends \Google\Collection
{
protected $collection_key = 'pivotSelections';
/**
* @var string
*/
public $metricName;
protected $pivotSelectionsType = PivotSelection::class;
protected $pivotSelectionsDataType = 'array';
/**
* @param string
*/
public function setMetricName($metricName)
{
$this->metricName = $metricName;
}
/**
* @return string
*/
public function getMetricName()
{
return $this->metricName;
}
/**
* @param PivotSelection[]
*/
public function setPivotSelections($pivotSelections)
{
$this->pivotSelections = $pivotSelections;
}
/**
* @return PivotSelection[]
*/
public function getPivotSelections()
{
return $this->pivotSelections;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PivotOrderBy::class, 'Google_Service_AnalyticsData_PivotOrderBy');

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\AnalyticsData;
class PivotSelection extends \Google\Model
{
/**
* @var string
*/
public $dimensionName;
/**
* @var string
*/
public $dimensionValue;
/**
* @param string
*/
public function setDimensionName($dimensionName)
{
$this->dimensionName = $dimensionName;
}
/**
* @return string
*/
public function getDimensionName()
{
return $this->dimensionName;
}
/**
* @param string
*/
public function setDimensionValue($dimensionValue)
{
$this->dimensionValue = $dimensionValue;
}
/**
* @return string
*/
public function getDimensionValue()
{
return $this->dimensionValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PivotSelection::class, 'Google_Service_AnalyticsData_PivotSelection');

View File

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

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\AnalyticsData;
class QueryAudienceExportRequest extends \Google\Model
{
/**
* @var string
*/
public $limit;
/**
* @var string
*/
public $offset;
/**
* @param string
*/
public function setLimit($limit)
{
$this->limit = $limit;
}
/**
* @return string
*/
public function getLimit()
{
return $this->limit;
}
/**
* @param string
*/
public function setOffset($offset)
{
$this->offset = $offset;
}
/**
* @return string
*/
public function getOffset()
{
return $this->offset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QueryAudienceExportRequest::class, 'Google_Service_AnalyticsData_QueryAudienceExportRequest');

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\AnalyticsData;
class QueryAudienceExportResponse extends \Google\Collection
{
protected $collection_key = 'audienceRows';
protected $audienceExportType = AudienceExport::class;
protected $audienceExportDataType = '';
protected $audienceRowsType = V1betaAudienceRow::class;
protected $audienceRowsDataType = 'array';
/**
* @var int
*/
public $rowCount;
/**
* @param AudienceExport
*/
public function setAudienceExport(AudienceExport $audienceExport)
{
$this->audienceExport = $audienceExport;
}
/**
* @return AudienceExport
*/
public function getAudienceExport()
{
return $this->audienceExport;
}
/**
* @param V1betaAudienceRow[]
*/
public function setAudienceRows($audienceRows)
{
$this->audienceRows = $audienceRows;
}
/**
* @return V1betaAudienceRow[]
*/
public function getAudienceRows()
{
return $this->audienceRows;
}
/**
* @param int
*/
public function setRowCount($rowCount)
{
$this->rowCount = $rowCount;
}
/**
* @return int
*/
public function getRowCount()
{
return $this->rowCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QueryAudienceExportResponse::class, 'Google_Service_AnalyticsData_QueryAudienceExportResponse');

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\AnalyticsData;
class QuotaStatus extends \Google\Model
{
/**
* @var int
*/
public $consumed;
/**
* @var int
*/
public $remaining;
/**
* @param int
*/
public function setConsumed($consumed)
{
$this->consumed = $consumed;
}
/**
* @return int
*/
public function getConsumed()
{
return $this->consumed;
}
/**
* @param int
*/
public function setRemaining($remaining)
{
$this->remaining = $remaining;
}
/**
* @return int
*/
public function getRemaining()
{
return $this->remaining;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QuotaStatus::class, 'Google_Service_AnalyticsData_QuotaStatus');

View File

@@ -0,0 +1,220 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR 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\AnalyticsData\Resource;
use Google\Service\AnalyticsData\BatchRunPivotReportsRequest;
use Google\Service\AnalyticsData\BatchRunPivotReportsResponse;
use Google\Service\AnalyticsData\BatchRunReportsRequest;
use Google\Service\AnalyticsData\BatchRunReportsResponse;
use Google\Service\AnalyticsData\CheckCompatibilityRequest;
use Google\Service\AnalyticsData\CheckCompatibilityResponse;
use Google\Service\AnalyticsData\Metadata;
use Google\Service\AnalyticsData\RunPivotReportRequest;
use Google\Service\AnalyticsData\RunPivotReportResponse;
use Google\Service\AnalyticsData\RunRealtimeReportRequest;
use Google\Service\AnalyticsData\RunRealtimeReportResponse;
use Google\Service\AnalyticsData\RunReportRequest;
use Google\Service\AnalyticsData\RunReportResponse;
/**
* The "properties" collection of methods.
* Typical usage is:
* <code>
* $analyticsdataService = new Google\Service\AnalyticsData(...);
* $properties = $analyticsdataService->properties;
* </code>
*/
class Properties extends \Google\Service\Resource
{
/**
* Returns multiple pivot reports in a batch. All reports must be for the same
* Google Analytics property. (properties.batchRunPivotReports)
*
* @param string $property A Google Analytics property identifier whose events
* are tracked. Specified in the URL path and not the body. To learn more, see
* [where to find your Property ID](https://developers.google.com/analytics/devg
* uides/reporting/data/v1/property-id). This property must be specified for the
* batch. The property within RunPivotReportRequest may either be unspecified or
* consistent with this property. Example: properties/1234
* @param BatchRunPivotReportsRequest $postBody
* @param array $optParams Optional parameters.
* @return BatchRunPivotReportsResponse
* @throws \Google\Service\Exception
*/
public function batchRunPivotReports($property, BatchRunPivotReportsRequest $postBody, $optParams = [])
{
$params = ['property' => $property, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchRunPivotReports', [$params], BatchRunPivotReportsResponse::class);
}
/**
* Returns multiple reports in a batch. All reports must be for the same Google
* Analytics property. (properties.batchRunReports)
*
* @param string $property A Google Analytics property identifier whose events
* are tracked. Specified in the URL path and not the body. To learn more, see
* [where to find your Property ID](https://developers.google.com/analytics/devg
* uides/reporting/data/v1/property-id). This property must be specified for the
* batch. The property within RunReportRequest may either be unspecified or
* consistent with this property. Example: properties/1234
* @param BatchRunReportsRequest $postBody
* @param array $optParams Optional parameters.
* @return BatchRunReportsResponse
* @throws \Google\Service\Exception
*/
public function batchRunReports($property, BatchRunReportsRequest $postBody, $optParams = [])
{
$params = ['property' => $property, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchRunReports', [$params], BatchRunReportsResponse::class);
}
/**
* This compatibility method lists dimensions and metrics that can be added to a
* report request and maintain compatibility. This method fails if the request's
* dimensions and metrics are incompatible. In Google Analytics, reports fail if
* they request incompatible dimensions and/or metrics; in that case, you will
* need to remove dimensions and/or metrics from the incompatible report until
* the report is compatible. The Realtime and Core reports have different
* compatibility rules. This method checks compatibility for Core reports.
* (properties.checkCompatibility)
*
* @param string $property A Google Analytics property identifier whose events
* are tracked. To learn more, see [where to find your Property ID](https://deve
* lopers.google.com/analytics/devguides/reporting/data/v1/property-id).
* `property` should be the same value as in your `runReport` request. Example:
* properties/1234
* @param CheckCompatibilityRequest $postBody
* @param array $optParams Optional parameters.
* @return CheckCompatibilityResponse
* @throws \Google\Service\Exception
*/
public function checkCompatibility($property, CheckCompatibilityRequest $postBody, $optParams = [])
{
$params = ['property' => $property, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('checkCompatibility', [$params], CheckCompatibilityResponse::class);
}
/**
* Returns metadata for dimensions and metrics available in reporting methods.
* Used to explore the dimensions and metrics. In this method, a Google
* Analytics property identifier is specified in the request, and the metadata
* response includes Custom dimensions and metrics as well as Universal
* metadata. For example if a custom metric with parameter name
* `levels_unlocked` is registered to a property, the Metadata response will
* contain `customEvent:levels_unlocked`. Universal metadata are dimensions and
* metrics applicable to any property such as `country` and `totalUsers`.
* (properties.getMetadata)
*
* @param string $name Required. The resource name of the metadata to retrieve.
* This name field is specified in the URL path and not URL parameters. Property
* is a numeric Google Analytics property identifier. To learn more, see [where
* to find your Property ID](https://developers.google.com/analytics/devguides/r
* eporting/data/v1/property-id). Example: properties/1234/metadata Set the
* Property ID to 0 for dimensions and metrics common to all properties. In this
* special mode, this method will not return custom dimensions and metrics.
* @param array $optParams Optional parameters.
* @return Metadata
* @throws \Google\Service\Exception
*/
public function getMetadata($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getMetadata', [$params], Metadata::class);
}
/**
* Returns a customized pivot report of your Google Analytics event data. Pivot
* reports are more advanced and expressive formats than regular reports. In a
* pivot report, dimensions are only visible if they are included in a pivot.
* Multiple pivots can be specified to further dissect your data.
* (properties.runPivotReport)
*
* @param string $property A Google Analytics property identifier whose events
* are tracked. Specified in the URL path and not the body. To learn more, see
* [where to find your Property ID](https://developers.google.com/analytics/devg
* uides/reporting/data/v1/property-id). Within a batch request, this property
* should either be unspecified or consistent with the batch-level property.
* Example: properties/1234
* @param RunPivotReportRequest $postBody
* @param array $optParams Optional parameters.
* @return RunPivotReportResponse
* @throws \Google\Service\Exception
*/
public function runPivotReport($property, RunPivotReportRequest $postBody, $optParams = [])
{
$params = ['property' => $property, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('runPivotReport', [$params], RunPivotReportResponse::class);
}
/**
* Returns a customized report of realtime event data for your property. Events
* appear in realtime reports seconds after they have been sent to the Google
* Analytics. Realtime reports show events and usage data for the periods of
* time ranging from the present moment to 30 minutes ago (up to 60 minutes for
* Google Analytics 360 properties). For a guide to constructing realtime
* requests & understanding responses, see [Creating a Realtime Report](https://
* developers.google.com/analytics/devguides/reporting/data/v1/realtime-basics).
* (properties.runRealtimeReport)
*
* @param string $property A Google Analytics property identifier whose events
* are tracked. Specified in the URL path and not the body. To learn more, see
* [where to find your Property ID](https://developers.google.com/analytics/devg
* uides/reporting/data/v1/property-id). Example: properties/1234
* @param RunRealtimeReportRequest $postBody
* @param array $optParams Optional parameters.
* @return RunRealtimeReportResponse
* @throws \Google\Service\Exception
*/
public function runRealtimeReport($property, RunRealtimeReportRequest $postBody, $optParams = [])
{
$params = ['property' => $property, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('runRealtimeReport', [$params], RunRealtimeReportResponse::class);
}
/**
* Returns a customized report of your Google Analytics event data. Reports
* contain statistics derived from data collected by the Google Analytics
* tracking code. The data returned from the API is as a table with columns for
* the requested dimensions and metrics. Metrics are individual measurements of
* user activity on your property, such as active users or event count.
* Dimensions break down metrics across some common criteria, such as country or
* event name. For a guide to constructing requests & understanding responses,
* see [Creating a Report](https://developers.google.com/analytics/devguides/rep
* orting/data/v1/basics). (properties.runReport)
*
* @param string $property A Google Analytics property identifier whose events
* are tracked. Specified in the URL path and not the body. To learn more, see
* [where to find your Property ID](https://developers.google.com/analytics/devg
* uides/reporting/data/v1/property-id). Within a batch request, this property
* should either be unspecified or consistent with the batch-level property.
* Example: properties/1234
* @param RunReportRequest $postBody
* @param array $optParams Optional parameters.
* @return RunReportResponse
* @throws \Google\Service\Exception
*/
public function runReport($property, RunReportRequest $postBody, $optParams = [])
{
$params = ['property' => $property, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('runReport', [$params], RunReportResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Properties::class, 'Google_Service_AnalyticsData_Resource_Properties');

View File

@@ -0,0 +1,159 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR 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\AnalyticsData\Resource;
use Google\Service\AnalyticsData\AudienceExport;
use Google\Service\AnalyticsData\ListAudienceExportsResponse;
use Google\Service\AnalyticsData\Operation;
use Google\Service\AnalyticsData\QueryAudienceExportRequest;
use Google\Service\AnalyticsData\QueryAudienceExportResponse;
/**
* The "audienceExports" collection of methods.
* Typical usage is:
* <code>
* $analyticsdataService = new Google\Service\AnalyticsData(...);
* $audienceExports = $analyticsdataService->properties_audienceExports;
* </code>
*/
class PropertiesAudienceExports extends \Google\Service\Resource
{
/**
* Creates an audience export for later retrieval. This method quickly returns
* the audience export's resource name and initiates a long running asynchronous
* request to form an audience export. To export the users in an audience
* export, first create the audience export through this method and then send
* the audience resource name to the `QueryAudienceExport` method. See [Creating
* an Audience Export](https://developers.google.com/analytics/devguides/reporti
* ng/data/v1/audience-list-basics) for an introduction to Audience Exports with
* examples. An audience export is a snapshot of the users currently in the
* audience at the time of audience export creation. Creating audience exports
* for one audience on different days will return different results as users
* enter and exit the audience. Audiences in Google Analytics 4 allow you to
* segment your users in the ways that are important to your business. To learn
* more, see https://support.google.com/analytics/answer/9267572. Audience
* exports contain the users in each audience. Audience Export APIs have some
* methods at alpha and other methods at beta stability. The intention is to
* advance methods to beta stability after some feedback and adoption. To give
* your feedback on this API, complete the [Google Analytics Audience Export API
* Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. (audienceExports.create)
*
* @param string $parent Required. The parent resource where this audience
* export will be created. Format: `properties/{property}`
* @param AudienceExport $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, AudienceExport $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Gets configuration metadata about a specific audience export. This method can
* be used to understand an audience export after it has been created. See
* [Creating an Audience Export](https://developers.google.com/analytics/devguid
* es/reporting/data/v1/audience-list-basics) for an introduction to Audience
* Exports with examples. Audience Export APIs have some methods at alpha and
* other methods at beta stability. The intention is to advance methods to beta
* stability after some feedback and adoption. To give your feedback on this
* API, complete the [Google Analytics Audience Export API
* Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. (audienceExports.get)
*
* @param string $name Required. The audience export resource name. Format:
* `properties/{property}/audienceExports/{audience_export}`
* @param array $optParams Optional parameters.
* @return AudienceExport
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], AudienceExport::class);
}
/**
* Lists all audience exports for a property. This method can be used for you to
* find and reuse existing audience exports rather than creating unnecessary new
* audience exports. The same audience can have multiple audience exports that
* represent the export of users that were in an audience on different days. See
* [Creating an Audience Export](https://developers.google.com/analytics/devguid
* es/reporting/data/v1/audience-list-basics) for an introduction to Audience
* Exports with examples. Audience Export APIs have some methods at alpha and
* other methods at beta stability. The intention is to advance methods to beta
* stability after some feedback and adoption. To give your feedback on this
* API, complete the [Google Analytics Audience Export API
* Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
* (audienceExports.listPropertiesAudienceExports)
*
* @param string $parent Required. All audience exports for this property will
* be listed in the response. Format: `properties/{property}`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of audience exports to
* return. The service may return fewer than this value. If unspecified, at most
* 200 audience exports will be returned. The maximum value is 1000 (higher
* values will be coerced to the maximum).
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListAudienceExports` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListAudienceExports` must
* match the call that provided the page token.
* @return ListAudienceExportsResponse
* @throws \Google\Service\Exception
*/
public function listPropertiesAudienceExports($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListAudienceExportsResponse::class);
}
/**
* Retrieves an audience export of users. After creating an audience, the users
* are not immediately available for exporting. First, a request to
* `CreateAudienceExport` is necessary to create an audience export of users,
* and then second, this method is used to retrieve the users in the audience
* export. See [Creating an Audience Export](https://developers.google.com/analy
* tics/devguides/reporting/data/v1/audience-list-basics) for an introduction to
* Audience Exports with examples. Audiences in Google Analytics 4 allow you to
* segment your users in the ways that are important to your business. To learn
* more, see https://support.google.com/analytics/answer/9267572. Audience
* Export APIs have some methods at alpha and other methods at beta stability.
* The intention is to advance methods to beta stability after some feedback and
* adoption. To give your feedback on this API, complete the [Google Analytics
* Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
* (audienceExports.query)
*
* @param string $name Required. The name of the audience export to retrieve
* users from. Format: `properties/{property}/audienceExports/{audience_export}`
* @param QueryAudienceExportRequest $postBody
* @param array $optParams Optional parameters.
* @return QueryAudienceExportResponse
* @throws \Google\Service\Exception
*/
public function query($name, QueryAudienceExportRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('query', [$params], QueryAudienceExportResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PropertiesAudienceExports::class, 'Google_Service_AnalyticsData_Resource_PropertiesAudienceExports');

View File

@@ -0,0 +1,149 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsData;
class ResponseMetaData extends \Google\Collection
{
protected $collection_key = 'samplingMetadatas';
/**
* @var string
*/
public $currencyCode;
/**
* @var bool
*/
public $dataLossFromOtherRow;
/**
* @var string
*/
public $emptyReason;
protected $samplingMetadatasType = SamplingMetadata::class;
protected $samplingMetadatasDataType = 'array';
protected $schemaRestrictionResponseType = SchemaRestrictionResponse::class;
protected $schemaRestrictionResponseDataType = '';
/**
* @var bool
*/
public $subjectToThresholding;
/**
* @var string
*/
public $timeZone;
/**
* @param string
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param bool
*/
public function setDataLossFromOtherRow($dataLossFromOtherRow)
{
$this->dataLossFromOtherRow = $dataLossFromOtherRow;
}
/**
* @return bool
*/
public function getDataLossFromOtherRow()
{
return $this->dataLossFromOtherRow;
}
/**
* @param string
*/
public function setEmptyReason($emptyReason)
{
$this->emptyReason = $emptyReason;
}
/**
* @return string
*/
public function getEmptyReason()
{
return $this->emptyReason;
}
/**
* @param SamplingMetadata[]
*/
public function setSamplingMetadatas($samplingMetadatas)
{
$this->samplingMetadatas = $samplingMetadatas;
}
/**
* @return SamplingMetadata[]
*/
public function getSamplingMetadatas()
{
return $this->samplingMetadatas;
}
/**
* @param SchemaRestrictionResponse
*/
public function setSchemaRestrictionResponse(SchemaRestrictionResponse $schemaRestrictionResponse)
{
$this->schemaRestrictionResponse = $schemaRestrictionResponse;
}
/**
* @return SchemaRestrictionResponse
*/
public function getSchemaRestrictionResponse()
{
return $this->schemaRestrictionResponse;
}
/**
* @param bool
*/
public function setSubjectToThresholding($subjectToThresholding)
{
$this->subjectToThresholding = $subjectToThresholding;
}
/**
* @return bool
*/
public function getSubjectToThresholding()
{
return $this->subjectToThresholding;
}
/**
* @param string
*/
public function setTimeZone($timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return string
*/
public function getTimeZone()
{
return $this->timeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResponseMetaData::class, 'Google_Service_AnalyticsData_ResponseMetaData');

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\AnalyticsData;
class Row extends \Google\Collection
{
protected $collection_key = 'metricValues';
protected $dimensionValuesType = DimensionValue::class;
protected $dimensionValuesDataType = 'array';
protected $metricValuesType = MetricValue::class;
protected $metricValuesDataType = 'array';
/**
* @param DimensionValue[]
*/
public function setDimensionValues($dimensionValues)
{
$this->dimensionValues = $dimensionValues;
}
/**
* @return DimensionValue[]
*/
public function getDimensionValues()
{
return $this->dimensionValues;
}
/**
* @param MetricValue[]
*/
public function setMetricValues($metricValues)
{
$this->metricValues = $metricValues;
}
/**
* @return MetricValue[]
*/
public function getMetricValues()
{
return $this->metricValues;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Row::class, 'Google_Service_AnalyticsData_Row');

View File

@@ -0,0 +1,227 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR 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\AnalyticsData;
class RunPivotReportRequest extends \Google\Collection
{
protected $collection_key = 'pivots';
protected $cohortSpecType = CohortSpec::class;
protected $cohortSpecDataType = '';
protected $comparisonsType = Comparison::class;
protected $comparisonsDataType = 'array';
/**
* @var string
*/
public $currencyCode;
protected $dateRangesType = DateRange::class;
protected $dateRangesDataType = 'array';
protected $dimensionFilterType = FilterExpression::class;
protected $dimensionFilterDataType = '';
protected $dimensionsType = Dimension::class;
protected $dimensionsDataType = 'array';
/**
* @var bool
*/
public $keepEmptyRows;
protected $metricFilterType = FilterExpression::class;
protected $metricFilterDataType = '';
protected $metricsType = Metric::class;
protected $metricsDataType = 'array';
protected $pivotsType = Pivot::class;
protected $pivotsDataType = 'array';
/**
* @var string
*/
public $property;
/**
* @var bool
*/
public $returnPropertyQuota;
/**
* @param CohortSpec
*/
public function setCohortSpec(CohortSpec $cohortSpec)
{
$this->cohortSpec = $cohortSpec;
}
/**
* @return CohortSpec
*/
public function getCohortSpec()
{
return $this->cohortSpec;
}
/**
* @param Comparison[]
*/
public function setComparisons($comparisons)
{
$this->comparisons = $comparisons;
}
/**
* @return Comparison[]
*/
public function getComparisons()
{
return $this->comparisons;
}
/**
* @param string
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param DateRange[]
*/
public function setDateRanges($dateRanges)
{
$this->dateRanges = $dateRanges;
}
/**
* @return DateRange[]
*/
public function getDateRanges()
{
return $this->dateRanges;
}
/**
* @param FilterExpression
*/
public function setDimensionFilter(FilterExpression $dimensionFilter)
{
$this->dimensionFilter = $dimensionFilter;
}
/**
* @return FilterExpression
*/
public function getDimensionFilter()
{
return $this->dimensionFilter;
}
/**
* @param Dimension[]
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return Dimension[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* @param bool
*/
public function setKeepEmptyRows($keepEmptyRows)
{
$this->keepEmptyRows = $keepEmptyRows;
}
/**
* @return bool
*/
public function getKeepEmptyRows()
{
return $this->keepEmptyRows;
}
/**
* @param FilterExpression
*/
public function setMetricFilter(FilterExpression $metricFilter)
{
$this->metricFilter = $metricFilter;
}
/**
* @return FilterExpression
*/
public function getMetricFilter()
{
return $this->metricFilter;
}
/**
* @param Metric[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return Metric[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param Pivot[]
*/
public function setPivots($pivots)
{
$this->pivots = $pivots;
}
/**
* @return Pivot[]
*/
public function getPivots()
{
return $this->pivots;
}
/**
* @param string
*/
public function setProperty($property)
{
$this->property = $property;
}
/**
* @return string
*/
public function getProperty()
{
return $this->property;
}
/**
* @param bool
*/
public function setReturnPropertyQuota($returnPropertyQuota)
{
$this->returnPropertyQuota = $returnPropertyQuota;
}
/**
* @return bool
*/
public function getReturnPropertyQuota()
{
return $this->returnPropertyQuota;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RunPivotReportRequest::class, 'Google_Service_AnalyticsData_RunPivotReportRequest');

View File

@@ -0,0 +1,157 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\AnalyticsData;
class RunPivotReportResponse extends \Google\Collection
{
protected $collection_key = 'rows';
protected $aggregatesType = Row::class;
protected $aggregatesDataType = 'array';
protected $dimensionHeadersType = DimensionHeader::class;
protected $dimensionHeadersDataType = 'array';
/**
* @var string
*/
public $kind;
protected $metadataType = ResponseMetaData::class;
protected $metadataDataType = '';
protected $metricHeadersType = MetricHeader::class;
protected $metricHeadersDataType = 'array';
protected $pivotHeadersType = PivotHeader::class;
protected $pivotHeadersDataType = 'array';
protected $propertyQuotaType = PropertyQuota::class;
protected $propertyQuotaDataType = '';
protected $rowsType = Row::class;
protected $rowsDataType = 'array';
/**
* @param Row[]
*/
public function setAggregates($aggregates)
{
$this->aggregates = $aggregates;
}
/**
* @return Row[]
*/
public function getAggregates()
{
return $this->aggregates;
}
/**
* @param DimensionHeader[]
*/
public function setDimensionHeaders($dimensionHeaders)
{
$this->dimensionHeaders = $dimensionHeaders;
}
/**
* @return DimensionHeader[]
*/
public function getDimensionHeaders()
{
return $this->dimensionHeaders;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param ResponseMetaData
*/
public function setMetadata(ResponseMetaData $metadata)
{
$this->metadata = $metadata;
}
/**
* @return ResponseMetaData
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param MetricHeader[]
*/
public function setMetricHeaders($metricHeaders)
{
$this->metricHeaders = $metricHeaders;
}
/**
* @return MetricHeader[]
*/
public function getMetricHeaders()
{
return $this->metricHeaders;
}
/**
* @param PivotHeader[]
*/
public function setPivotHeaders($pivotHeaders)
{
$this->pivotHeaders = $pivotHeaders;
}
/**
* @return PivotHeader[]
*/
public function getPivotHeaders()
{
return $this->pivotHeaders;
}
/**
* @param PropertyQuota
*/
public function setPropertyQuota(PropertyQuota $propertyQuota)
{
$this->propertyQuota = $propertyQuota;
}
/**
* @return PropertyQuota
*/
public function getPropertyQuota()
{
return $this->propertyQuota;
}
/**
* @param Row[]
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return Row[]
*/
public function getRows()
{
return $this->rows;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RunPivotReportResponse::class, 'Google_Service_AnalyticsData_RunPivotReportResponse');

View File

@@ -0,0 +1,177 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR 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\AnalyticsData;
class RunRealtimeReportRequest extends \Google\Collection
{
protected $collection_key = 'orderBys';
protected $dimensionFilterType = FilterExpression::class;
protected $dimensionFilterDataType = '';
protected $dimensionsType = Dimension::class;
protected $dimensionsDataType = 'array';
/**
* @var string
*/
public $limit;
/**
* @var string[]
*/
public $metricAggregations;
protected $metricFilterType = FilterExpression::class;
protected $metricFilterDataType = '';
protected $metricsType = Metric::class;
protected $metricsDataType = 'array';
protected $minuteRangesType = MinuteRange::class;
protected $minuteRangesDataType = 'array';
protected $orderBysType = OrderBy::class;
protected $orderBysDataType = 'array';
/**
* @var bool
*/
public $returnPropertyQuota;
/**
* @param FilterExpression
*/
public function setDimensionFilter(FilterExpression $dimensionFilter)
{
$this->dimensionFilter = $dimensionFilter;
}
/**
* @return FilterExpression
*/
public function getDimensionFilter()
{
return $this->dimensionFilter;
}
/**
* @param Dimension[]
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return Dimension[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* @param string
*/
public function setLimit($limit)
{
$this->limit = $limit;
}
/**
* @return string
*/
public function getLimit()
{
return $this->limit;
}
/**
* @param string[]
*/
public function setMetricAggregations($metricAggregations)
{
$this->metricAggregations = $metricAggregations;
}
/**
* @return string[]
*/
public function getMetricAggregations()
{
return $this->metricAggregations;
}
/**
* @param FilterExpression
*/
public function setMetricFilter(FilterExpression $metricFilter)
{
$this->metricFilter = $metricFilter;
}
/**
* @return FilterExpression
*/
public function getMetricFilter()
{
return $this->metricFilter;
}
/**
* @param Metric[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return Metric[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param MinuteRange[]
*/
public function setMinuteRanges($minuteRanges)
{
$this->minuteRanges = $minuteRanges;
}
/**
* @return MinuteRange[]
*/
public function getMinuteRanges()
{
return $this->minuteRanges;
}
/**
* @param OrderBy[]
*/
public function setOrderBys($orderBys)
{
$this->orderBys = $orderBys;
}
/**
* @return OrderBy[]
*/
public function getOrderBys()
{
return $this->orderBys;
}
/**
* @param bool
*/
public function setReturnPropertyQuota($returnPropertyQuota)
{
$this->returnPropertyQuota = $returnPropertyQuota;
}
/**
* @return bool
*/
public function getReturnPropertyQuota()
{
return $this->returnPropertyQuota;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RunRealtimeReportRequest::class, 'Google_Service_AnalyticsData_RunRealtimeReportRequest');

View File

@@ -0,0 +1,175 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR 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\AnalyticsData;
class RunRealtimeReportResponse extends \Google\Collection
{
protected $collection_key = 'totals';
protected $dimensionHeadersType = DimensionHeader::class;
protected $dimensionHeadersDataType = 'array';
/**
* @var string
*/
public $kind;
protected $maximumsType = Row::class;
protected $maximumsDataType = 'array';
protected $metricHeadersType = MetricHeader::class;
protected $metricHeadersDataType = 'array';
protected $minimumsType = Row::class;
protected $minimumsDataType = 'array';
protected $propertyQuotaType = PropertyQuota::class;
protected $propertyQuotaDataType = '';
/**
* @var int
*/
public $rowCount;
protected $rowsType = Row::class;
protected $rowsDataType = 'array';
protected $totalsType = Row::class;
protected $totalsDataType = 'array';
/**
* @param DimensionHeader[]
*/
public function setDimensionHeaders($dimensionHeaders)
{
$this->dimensionHeaders = $dimensionHeaders;
}
/**
* @return DimensionHeader[]
*/
public function getDimensionHeaders()
{
return $this->dimensionHeaders;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param Row[]
*/
public function setMaximums($maximums)
{
$this->maximums = $maximums;
}
/**
* @return Row[]
*/
public function getMaximums()
{
return $this->maximums;
}
/**
* @param MetricHeader[]
*/
public function setMetricHeaders($metricHeaders)
{
$this->metricHeaders = $metricHeaders;
}
/**
* @return MetricHeader[]
*/
public function getMetricHeaders()
{
return $this->metricHeaders;
}
/**
* @param Row[]
*/
public function setMinimums($minimums)
{
$this->minimums = $minimums;
}
/**
* @return Row[]
*/
public function getMinimums()
{
return $this->minimums;
}
/**
* @param PropertyQuota
*/
public function setPropertyQuota(PropertyQuota $propertyQuota)
{
$this->propertyQuota = $propertyQuota;
}
/**
* @return PropertyQuota
*/
public function getPropertyQuota()
{
return $this->propertyQuota;
}
/**
* @param int
*/
public function setRowCount($rowCount)
{
$this->rowCount = $rowCount;
}
/**
* @return int
*/
public function getRowCount()
{
return $this->rowCount;
}
/**
* @param Row[]
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return Row[]
*/
public function getRows()
{
return $this->rows;
}
/**
* @param Row[]
*/
public function setTotals($totals)
{
$this->totals = $totals;
}
/**
* @return Row[]
*/
public function getTotals()
{
return $this->totals;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RunRealtimeReportResponse::class, 'Google_Service_AnalyticsData_RunRealtimeReportResponse');

View File

@@ -0,0 +1,281 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR 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\AnalyticsData;
class RunReportRequest extends \Google\Collection
{
protected $collection_key = 'orderBys';
protected $cohortSpecType = CohortSpec::class;
protected $cohortSpecDataType = '';
protected $comparisonsType = Comparison::class;
protected $comparisonsDataType = 'array';
/**
* @var string
*/
public $currencyCode;
protected $dateRangesType = DateRange::class;
protected $dateRangesDataType = 'array';
protected $dimensionFilterType = FilterExpression::class;
protected $dimensionFilterDataType = '';
protected $dimensionsType = Dimension::class;
protected $dimensionsDataType = 'array';
/**
* @var bool
*/
public $keepEmptyRows;
/**
* @var string
*/
public $limit;
/**
* @var string[]
*/
public $metricAggregations;
protected $metricFilterType = FilterExpression::class;
protected $metricFilterDataType = '';
protected $metricsType = Metric::class;
protected $metricsDataType = 'array';
/**
* @var string
*/
public $offset;
protected $orderBysType = OrderBy::class;
protected $orderBysDataType = 'array';
/**
* @var string
*/
public $property;
/**
* @var bool
*/
public $returnPropertyQuota;
/**
* @param CohortSpec
*/
public function setCohortSpec(CohortSpec $cohortSpec)
{
$this->cohortSpec = $cohortSpec;
}
/**
* @return CohortSpec
*/
public function getCohortSpec()
{
return $this->cohortSpec;
}
/**
* @param Comparison[]
*/
public function setComparisons($comparisons)
{
$this->comparisons = $comparisons;
}
/**
* @return Comparison[]
*/
public function getComparisons()
{
return $this->comparisons;
}
/**
* @param string
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param DateRange[]
*/
public function setDateRanges($dateRanges)
{
$this->dateRanges = $dateRanges;
}
/**
* @return DateRange[]
*/
public function getDateRanges()
{
return $this->dateRanges;
}
/**
* @param FilterExpression
*/
public function setDimensionFilter(FilterExpression $dimensionFilter)
{
$this->dimensionFilter = $dimensionFilter;
}
/**
* @return FilterExpression
*/
public function getDimensionFilter()
{
return $this->dimensionFilter;
}
/**
* @param Dimension[]
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return Dimension[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* @param bool
*/
public function setKeepEmptyRows($keepEmptyRows)
{
$this->keepEmptyRows = $keepEmptyRows;
}
/**
* @return bool
*/
public function getKeepEmptyRows()
{
return $this->keepEmptyRows;
}
/**
* @param string
*/
public function setLimit($limit)
{
$this->limit = $limit;
}
/**
* @return string
*/
public function getLimit()
{
return $this->limit;
}
/**
* @param string[]
*/
public function setMetricAggregations($metricAggregations)
{
$this->metricAggregations = $metricAggregations;
}
/**
* @return string[]
*/
public function getMetricAggregations()
{
return $this->metricAggregations;
}
/**
* @param FilterExpression
*/
public function setMetricFilter(FilterExpression $metricFilter)
{
$this->metricFilter = $metricFilter;
}
/**
* @return FilterExpression
*/
public function getMetricFilter()
{
return $this->metricFilter;
}
/**
* @param Metric[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return Metric[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param string
*/
public function setOffset($offset)
{
$this->offset = $offset;
}
/**
* @return string
*/
public function getOffset()
{
return $this->offset;
}
/**
* @param OrderBy[]
*/
public function setOrderBys($orderBys)
{
$this->orderBys = $orderBys;
}
/**
* @return OrderBy[]
*/
public function getOrderBys()
{
return $this->orderBys;
}
/**
* @param string
*/
public function setProperty($property)
{
$this->property = $property;
}
/**
* @return string
*/
public function getProperty()
{
return $this->property;
}
/**
* @param bool
*/
public function setReturnPropertyQuota($returnPropertyQuota)
{
$this->returnPropertyQuota = $returnPropertyQuota;
}
/**
* @return bool
*/
public function getReturnPropertyQuota()
{
return $this->returnPropertyQuota;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RunReportRequest::class, 'Google_Service_AnalyticsData_RunReportRequest');

View File

@@ -0,0 +1,191 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR 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\AnalyticsData;
class RunReportResponse extends \Google\Collection
{
protected $collection_key = 'totals';
protected $dimensionHeadersType = DimensionHeader::class;
protected $dimensionHeadersDataType = 'array';
/**
* @var string
*/
public $kind;
protected $maximumsType = Row::class;
protected $maximumsDataType = 'array';
protected $metadataType = ResponseMetaData::class;
protected $metadataDataType = '';
protected $metricHeadersType = MetricHeader::class;
protected $metricHeadersDataType = 'array';
protected $minimumsType = Row::class;
protected $minimumsDataType = 'array';
protected $propertyQuotaType = PropertyQuota::class;
protected $propertyQuotaDataType = '';
/**
* @var int
*/
public $rowCount;
protected $rowsType = Row::class;
protected $rowsDataType = 'array';
protected $totalsType = Row::class;
protected $totalsDataType = 'array';
/**
* @param DimensionHeader[]
*/
public function setDimensionHeaders($dimensionHeaders)
{
$this->dimensionHeaders = $dimensionHeaders;
}
/**
* @return DimensionHeader[]
*/
public function getDimensionHeaders()
{
return $this->dimensionHeaders;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param Row[]
*/
public function setMaximums($maximums)
{
$this->maximums = $maximums;
}
/**
* @return Row[]
*/
public function getMaximums()
{
return $this->maximums;
}
/**
* @param ResponseMetaData
*/
public function setMetadata(ResponseMetaData $metadata)
{
$this->metadata = $metadata;
}
/**
* @return ResponseMetaData
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param MetricHeader[]
*/
public function setMetricHeaders($metricHeaders)
{
$this->metricHeaders = $metricHeaders;
}
/**
* @return MetricHeader[]
*/
public function getMetricHeaders()
{
return $this->metricHeaders;
}
/**
* @param Row[]
*/
public function setMinimums($minimums)
{
$this->minimums = $minimums;
}
/**
* @return Row[]
*/
public function getMinimums()
{
return $this->minimums;
}
/**
* @param PropertyQuota
*/
public function setPropertyQuota(PropertyQuota $propertyQuota)
{
$this->propertyQuota = $propertyQuota;
}
/**
* @return PropertyQuota
*/
public function getPropertyQuota()
{
return $this->propertyQuota;
}
/**
* @param int
*/
public function setRowCount($rowCount)
{
$this->rowCount = $rowCount;
}
/**
* @return int
*/
public function getRowCount()
{
return $this->rowCount;
}
/**
* @param Row[]
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return Row[]
*/
public function getRows()
{
return $this->rows;
}
/**
* @param Row[]
*/
public function setTotals($totals)
{
$this->totals = $totals;
}
/**
* @return Row[]
*/
public function getTotals()
{
return $this->totals;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RunReportResponse::class, 'Google_Service_AnalyticsData_RunReportResponse');

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\AnalyticsData;
class SamplingMetadata extends \Google\Model
{
/**
* @var string
*/
public $samplesReadCount;
/**
* @var string
*/
public $samplingSpaceSize;
/**
* @param string
*/
public function setSamplesReadCount($samplesReadCount)
{
$this->samplesReadCount = $samplesReadCount;
}
/**
* @return string
*/
public function getSamplesReadCount()
{
return $this->samplesReadCount;
}
/**
* @param string
*/
public function setSamplingSpaceSize($samplingSpaceSize)
{
$this->samplingSpaceSize = $samplingSpaceSize;
}
/**
* @return string
*/
public function getSamplingSpaceSize()
{
return $this->samplingSpaceSize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SamplingMetadata::class, 'Google_Service_AnalyticsData_SamplingMetadata');

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\AnalyticsData;
class SchemaRestrictionResponse extends \Google\Collection
{
protected $collection_key = 'activeMetricRestrictions';
protected $activeMetricRestrictionsType = ActiveMetricRestriction::class;
protected $activeMetricRestrictionsDataType = 'array';
/**
* @param ActiveMetricRestriction[]
*/
public function setActiveMetricRestrictions($activeMetricRestrictions)
{
$this->activeMetricRestrictions = $activeMetricRestrictions;
}
/**
* @return ActiveMetricRestriction[]
*/
public function getActiveMetricRestrictions()
{
return $this->activeMetricRestrictions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SchemaRestrictionResponse::class, 'Google_Service_AnalyticsData_SchemaRestrictionResponse');

View File

@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR 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\AnalyticsData;
class Status extends \Google\Collection
{
protected $collection_key = 'details';
/**
* @var int
*/
public $code;
/**
* @var array[]
*/
public $details;
/**
* @var string
*/
public $message;
/**
* @param int
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* @param array[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Status::class, 'Google_Service_AnalyticsData_Status');

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\AnalyticsData;
class StringFilter extends \Google\Model
{
/**
* @var bool
*/
public $caseSensitive;
/**
* @var string
*/
public $matchType;
/**
* @var string
*/
public $value;
/**
* @param bool
*/
public function setCaseSensitive($caseSensitive)
{
$this->caseSensitive = $caseSensitive;
}
/**
* @return bool
*/
public function getCaseSensitive()
{
return $this->caseSensitive;
}
/**
* @param string
*/
public function setMatchType($matchType)
{
$this->matchType = $matchType;
}
/**
* @return string
*/
public function getMatchType()
{
return $this->matchType;
}
/**
* @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(StringFilter::class, 'Google_Service_AnalyticsData_StringFilter');

View File

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

View File

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

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\AnalyticsData;
class V1betaAudienceRow extends \Google\Collection
{
protected $collection_key = 'dimensionValues';
protected $dimensionValuesType = V1betaAudienceDimensionValue::class;
protected $dimensionValuesDataType = 'array';
/**
* @param V1betaAudienceDimensionValue[]
*/
public function setDimensionValues($dimensionValues)
{
$this->dimensionValues = $dimensionValues;
}
/**
* @return V1betaAudienceDimensionValue[]
*/
public function getDimensionValues()
{
return $this->dimensionValues;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(V1betaAudienceRow::class, 'Google_Service_AnalyticsData_V1betaAudienceRow');