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
@@ -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\ChromeUXReport;
class Bin extends \Google\Model
{
/**
* @var array
*/
public $density;
/**
* @var array
*/
public $end;
/**
* @var array
*/
public $start;
/**
* @param array
*/
public function setDensity($density)
{
$this->density = $density;
}
/**
* @return array
*/
public function getDensity()
{
return $this->density;
}
/**
* @param array
*/
public function setEnd($end)
{
$this->end = $end;
}
/**
* @return array
*/
public function getEnd()
{
return $this->end;
}
/**
* @param array
*/
public function setStart($start)
{
$this->start = $start;
}
/**
* @return array
*/
public function getStart()
{
return $this->start;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Bin::class, 'Google_Service_ChromeUXReport_Bin');
@@ -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\ChromeUXReport;
class CollectionPeriod extends \Google\Model
{
protected $firstDateType = Date::class;
protected $firstDateDataType = '';
protected $lastDateType = Date::class;
protected $lastDateDataType = '';
/**
* @param Date
*/
public function setFirstDate(Date $firstDate)
{
$this->firstDate = $firstDate;
}
/**
* @return Date
*/
public function getFirstDate()
{
return $this->firstDate;
}
/**
* @param Date
*/
public function setLastDate(Date $lastDate)
{
$this->lastDate = $lastDate;
}
/**
* @return Date
*/
public function getLastDate()
{
return $this->lastDate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CollectionPeriod::class, 'Google_Service_ChromeUXReport_CollectionPeriod');
@@ -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\ChromeUXReport;
class Date extends \Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $month;
/**
* @var int
*/
public $year;
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @param int
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Date::class, 'Google_Service_ChromeUXReport_Date');
@@ -0,0 +1,36 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR 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\ChromeUXReport;
class FractionTimeseries extends \Google\Collection
{
protected $collection_key = 'fractions';
public $fractions;
public function setFractions($fractions)
{
$this->fractions = $fractions;
}
public function getFractions()
{
return $this->fractions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FractionTimeseries::class, 'Google_Service_ChromeUXReport_FractionTimeseries');
@@ -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\ChromeUXReport;
class HistoryKey extends \Google\Model
{
/**
* @var string
*/
public $formFactor;
/**
* @var string
*/
public $origin;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setFormFactor($formFactor)
{
$this->formFactor = $formFactor;
}
/**
* @return string
*/
public function getFormFactor()
{
return $this->formFactor;
}
/**
* @param string
*/
public function setOrigin($origin)
{
$this->origin = $origin;
}
/**
* @return string
*/
public function getOrigin()
{
return $this->origin;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HistoryKey::class, 'Google_Service_ChromeUXReport_HistoryKey');
@@ -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\ChromeUXReport;
class HistoryRecord extends \Google\Collection
{
protected $collection_key = 'collectionPeriods';
protected $collectionPeriodsType = CollectionPeriod::class;
protected $collectionPeriodsDataType = 'array';
protected $keyType = HistoryKey::class;
protected $keyDataType = '';
protected $metricsType = MetricTimeseries::class;
protected $metricsDataType = 'map';
/**
* @param CollectionPeriod[]
*/
public function setCollectionPeriods($collectionPeriods)
{
$this->collectionPeriods = $collectionPeriods;
}
/**
* @return CollectionPeriod[]
*/
public function getCollectionPeriods()
{
return $this->collectionPeriods;
}
/**
* @param HistoryKey
*/
public function setKey(HistoryKey $key)
{
$this->key = $key;
}
/**
* @return HistoryKey
*/
public function getKey()
{
return $this->key;
}
/**
* @param MetricTimeseries[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return MetricTimeseries[]
*/
public function getMetrics()
{
return $this->metrics;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HistoryRecord::class, 'Google_Service_ChromeUXReport_HistoryRecord');
@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromeUXReport;
class Key extends \Google\Model
{
/**
* @var string
*/
public $effectiveConnectionType;
/**
* @var string
*/
public $formFactor;
/**
* @var string
*/
public $origin;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setEffectiveConnectionType($effectiveConnectionType)
{
$this->effectiveConnectionType = $effectiveConnectionType;
}
/**
* @return string
*/
public function getEffectiveConnectionType()
{
return $this->effectiveConnectionType;
}
/**
* @param string
*/
public function setFormFactor($formFactor)
{
$this->formFactor = $formFactor;
}
/**
* @return string
*/
public function getFormFactor()
{
return $this->formFactor;
}
/**
* @param string
*/
public function setOrigin($origin)
{
$this->origin = $origin;
}
/**
* @return string
*/
public function getOrigin()
{
return $this->origin;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Key::class, 'Google_Service_ChromeUXReport_Key');
@@ -0,0 +1,68 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR 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\ChromeUXReport;
class Metric extends \Google\Collection
{
protected $collection_key = 'histogram';
public $fractions;
protected $histogramType = Bin::class;
protected $histogramDataType = 'array';
protected $percentilesType = Percentiles::class;
protected $percentilesDataType = '';
public function setFractions($fractions)
{
$this->fractions = $fractions;
}
public function getFractions()
{
return $this->fractions;
}
/**
* @param Bin[]
*/
public function setHistogram($histogram)
{
$this->histogram = $histogram;
}
/**
* @return Bin[]
*/
public function getHistogram()
{
return $this->histogram;
}
/**
* @param Percentiles
*/
public function setPercentiles(Percentiles $percentiles)
{
$this->percentiles = $percentiles;
}
/**
* @return Percentiles
*/
public function getPercentiles()
{
return $this->percentiles;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Metric::class, 'Google_Service_ChromeUXReport_Metric');
@@ -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\ChromeUXReport;
class MetricTimeseries extends \Google\Collection
{
protected $collection_key = 'histogramTimeseries';
protected $fractionTimeseriesType = FractionTimeseries::class;
protected $fractionTimeseriesDataType = 'map';
protected $histogramTimeseriesType = TimeseriesBin::class;
protected $histogramTimeseriesDataType = 'array';
protected $percentilesTimeseriesType = TimeseriesPercentiles::class;
protected $percentilesTimeseriesDataType = '';
/**
* @param FractionTimeseries[]
*/
public function setFractionTimeseries($fractionTimeseries)
{
$this->fractionTimeseries = $fractionTimeseries;
}
/**
* @return FractionTimeseries[]
*/
public function getFractionTimeseries()
{
return $this->fractionTimeseries;
}
/**
* @param TimeseriesBin[]
*/
public function setHistogramTimeseries($histogramTimeseries)
{
$this->histogramTimeseries = $histogramTimeseries;
}
/**
* @return TimeseriesBin[]
*/
public function getHistogramTimeseries()
{
return $this->histogramTimeseries;
}
/**
* @param TimeseriesPercentiles
*/
public function setPercentilesTimeseries(TimeseriesPercentiles $percentilesTimeseries)
{
$this->percentilesTimeseries = $percentilesTimeseries;
}
/**
* @return TimeseriesPercentiles
*/
public function getPercentilesTimeseries()
{
return $this->percentilesTimeseries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MetricTimeseries::class, 'Google_Service_ChromeUXReport_MetricTimeseries');
@@ -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\ChromeUXReport;
class Percentiles extends \Google\Model
{
/**
* @var array
*/
public $p75;
/**
* @param array
*/
public function setP75($p75)
{
$this->p75 = $p75;
}
/**
* @return array
*/
public function getP75()
{
return $this->p75;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Percentiles::class, 'Google_Service_ChromeUXReport_Percentiles');
@@ -0,0 +1,99 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR 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\ChromeUXReport;
class QueryHistoryRequest extends \Google\Collection
{
protected $collection_key = 'metrics';
/**
* @var string
*/
public $formFactor;
/**
* @var string[]
*/
public $metrics;
/**
* @var string
*/
public $origin;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setFormFactor($formFactor)
{
$this->formFactor = $formFactor;
}
/**
* @return string
*/
public function getFormFactor()
{
return $this->formFactor;
}
/**
* @param string[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return string[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param string
*/
public function setOrigin($origin)
{
$this->origin = $origin;
}
/**
* @return string
*/
public function getOrigin()
{
return $this->origin;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QueryHistoryRequest::class, 'Google_Service_ChromeUXReport_QueryHistoryRequest');
@@ -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\ChromeUXReport;
class QueryHistoryResponse extends \Google\Model
{
protected $recordType = HistoryRecord::class;
protected $recordDataType = '';
protected $urlNormalizationDetailsType = UrlNormalization::class;
protected $urlNormalizationDetailsDataType = '';
/**
* @param HistoryRecord
*/
public function setRecord(HistoryRecord $record)
{
$this->record = $record;
}
/**
* @return HistoryRecord
*/
public function getRecord()
{
return $this->record;
}
/**
* @param UrlNormalization
*/
public function setUrlNormalizationDetails(UrlNormalization $urlNormalizationDetails)
{
$this->urlNormalizationDetails = $urlNormalizationDetails;
}
/**
* @return UrlNormalization
*/
public function getUrlNormalizationDetails()
{
return $this->urlNormalizationDetails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QueryHistoryResponse::class, 'Google_Service_ChromeUXReport_QueryHistoryResponse');
@@ -0,0 +1,117 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromeUXReport;
class QueryRequest extends \Google\Collection
{
protected $collection_key = 'metrics';
/**
* @var string
*/
public $effectiveConnectionType;
/**
* @var string
*/
public $formFactor;
/**
* @var string[]
*/
public $metrics;
/**
* @var string
*/
public $origin;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setEffectiveConnectionType($effectiveConnectionType)
{
$this->effectiveConnectionType = $effectiveConnectionType;
}
/**
* @return string
*/
public function getEffectiveConnectionType()
{
return $this->effectiveConnectionType;
}
/**
* @param string
*/
public function setFormFactor($formFactor)
{
$this->formFactor = $formFactor;
}
/**
* @return string
*/
public function getFormFactor()
{
return $this->formFactor;
}
/**
* @param string[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return string[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param string
*/
public function setOrigin($origin)
{
$this->origin = $origin;
}
/**
* @return string
*/
public function getOrigin()
{
return $this->origin;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QueryRequest::class, 'Google_Service_ChromeUXReport_QueryRequest');
@@ -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\ChromeUXReport;
class QueryResponse extends \Google\Model
{
protected $recordType = Record::class;
protected $recordDataType = '';
protected $urlNormalizationDetailsType = UrlNormalization::class;
protected $urlNormalizationDetailsDataType = '';
/**
* @param Record
*/
public function setRecord(Record $record)
{
$this->record = $record;
}
/**
* @return Record
*/
public function getRecord()
{
return $this->record;
}
/**
* @param UrlNormalization
*/
public function setUrlNormalizationDetails(UrlNormalization $urlNormalizationDetails)
{
$this->urlNormalizationDetails = $urlNormalizationDetails;
}
/**
* @return UrlNormalization
*/
public function getUrlNormalizationDetails()
{
return $this->urlNormalizationDetails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QueryResponse::class, 'Google_Service_ChromeUXReport_QueryResponse');
@@ -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\ChromeUXReport;
class Record extends \Google\Model
{
protected $collectionPeriodType = CollectionPeriod::class;
protected $collectionPeriodDataType = '';
protected $keyType = Key::class;
protected $keyDataType = '';
protected $metricsType = Metric::class;
protected $metricsDataType = 'map';
/**
* @param CollectionPeriod
*/
public function setCollectionPeriod(CollectionPeriod $collectionPeriod)
{
$this->collectionPeriod = $collectionPeriod;
}
/**
* @return CollectionPeriod
*/
public function getCollectionPeriod()
{
return $this->collectionPeriod;
}
/**
* @param Key
*/
public function setKey(Key $key)
{
$this->key = $key;
}
/**
* @return Key
*/
public function getKey()
{
return $this->key;
}
/**
* @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(Record::class, 'Google_Service_ChromeUXReport_Record');
@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromeUXReport\Resource;
use Google\Service\ChromeUXReport\QueryHistoryRequest;
use Google\Service\ChromeUXReport\QueryHistoryResponse;
use Google\Service\ChromeUXReport\QueryRequest;
use Google\Service\ChromeUXReport\QueryResponse;
/**
* The "records" collection of methods.
* Typical usage is:
* <code>
* $chromeuxreportService = new Google\Service\ChromeUXReport(...);
* $records = $chromeuxreportService->records;
* </code>
*/
class Records extends \Google\Service\Resource
{
/**
* Queries the Chrome User Experience Report for a timeseries `history record`
* for a given site. Returns a `history record` that contains one or more
* `metric timeseries` corresponding to performance data about the requested
* site. (records.queryHistoryRecord)
*
* @param QueryHistoryRequest $postBody
* @param array $optParams Optional parameters.
* @return QueryHistoryResponse
* @throws \Google\Service\Exception
*/
public function queryHistoryRecord(QueryHistoryRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('queryHistoryRecord', [$params], QueryHistoryResponse::class);
}
/**
* Queries the Chrome User Experience for a single `record` for a given site.
* Returns a `record` that contains one or more `metrics` corresponding to
* performance data about the requested site. (records.queryRecord)
*
* @param QueryRequest $postBody
* @param array $optParams Optional parameters.
* @return QueryResponse
* @throws \Google\Service\Exception
*/
public function queryRecord(QueryRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('queryRecord', [$params], QueryResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Records::class, 'Google_Service_ChromeUXReport_Resource_Records');
@@ -0,0 +1,72 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromeUXReport;
class TimeseriesBin extends \Google\Collection
{
protected $collection_key = 'densities';
public $densities;
/**
* @var array
*/
public $end;
/**
* @var array
*/
public $start;
public function setDensities($densities)
{
$this->densities = $densities;
}
public function getDensities()
{
return $this->densities;
}
/**
* @param array
*/
public function setEnd($end)
{
$this->end = $end;
}
/**
* @return array
*/
public function getEnd()
{
return $this->end;
}
/**
* @param array
*/
public function setStart($start)
{
$this->start = $start;
}
/**
* @return array
*/
public function getStart()
{
return $this->start;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TimeseriesBin::class, 'Google_Service_ChromeUXReport_TimeseriesBin');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ChromeUXReport;
class TimeseriesPercentiles extends \Google\Collection
{
protected $collection_key = 'p75s';
/**
* @var array[]
*/
public $p75s;
/**
* @param array[]
*/
public function setP75s($p75s)
{
$this->p75s = $p75s;
}
/**
* @return array[]
*/
public function getP75s()
{
return $this->p75s;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TimeseriesPercentiles::class, 'Google_Service_ChromeUXReport_TimeseriesPercentiles');
@@ -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\ChromeUXReport;
class UrlNormalization extends \Google\Model
{
/**
* @var string
*/
public $normalizedUrl;
/**
* @var string
*/
public $originalUrl;
/**
* @param string
*/
public function setNormalizedUrl($normalizedUrl)
{
$this->normalizedUrl = $normalizedUrl;
}
/**
* @return string
*/
public function getNormalizedUrl()
{
return $this->normalizedUrl;
}
/**
* @param string
*/
public function setOriginalUrl($originalUrl)
{
$this->originalUrl = $originalUrl;
}
/**
* @return string
*/
public function getOriginalUrl()
{
return $this->originalUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UrlNormalization::class, 'Google_Service_ChromeUXReport_UrlNormalization');