gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,136 @@
<?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\Playdeveloperreporting;
class ApiservingMcpMcpToolDataHandlingProfile extends \Google\Model
{
/**
* The default value. This value is unused.
*/
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_UNSPECIFIED = 'DATA_ACCESS_LEVEL_UNSPECIFIED';
/**
* Public data.
*/
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_PUBLIC = 'DATA_ACCESS_LEVEL_PUBLIC';
/**
* Confidential data.
*/
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_CONFIDENTIAL = 'DATA_ACCESS_LEVEL_CONFIDENTIAL';
/**
* Need-to-know data.
*/
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_NEED_TO_KNOW = 'DATA_ACCESS_LEVEL_NEED_TO_KNOW';
/**
* Personally Identifiable Information (PII) data.
*/
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_PII = 'DATA_ACCESS_LEVEL_PII';
/**
* User data.
*/
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_USER = 'DATA_ACCESS_LEVEL_USER';
/**
* The tool does not access any data.
*/
public const INPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_NO_DATA_ACCESS = 'DATA_ACCESS_LEVEL_NO_DATA_ACCESS';
/**
* The default value. This value is unused.
*/
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_UNSPECIFIED = 'DATA_ACCESS_LEVEL_UNSPECIFIED';
/**
* Public data.
*/
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_PUBLIC = 'DATA_ACCESS_LEVEL_PUBLIC';
/**
* Confidential data.
*/
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_CONFIDENTIAL = 'DATA_ACCESS_LEVEL_CONFIDENTIAL';
/**
* Need-to-know data.
*/
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_NEED_TO_KNOW = 'DATA_ACCESS_LEVEL_NEED_TO_KNOW';
/**
* Personally Identifiable Information (PII) data.
*/
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_PII = 'DATA_ACCESS_LEVEL_PII';
/**
* User data.
*/
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_USER = 'DATA_ACCESS_LEVEL_USER';
/**
* The tool does not access any data.
*/
public const OUTPUT_DATA_ACCESS_LEVEL_DATA_ACCESS_LEVEL_NO_DATA_ACCESS = 'DATA_ACCESS_LEVEL_NO_DATA_ACCESS';
/**
* // The data access level of the tool's inputs.
*
* @var string
*/
public $inputDataAccessLevel;
/**
* The data access level of the tool's outputs.
*
* @var string
*/
public $outputDataAccessLevel;
/**
* // The data access level of the tool's inputs.
*
* Accepted values: DATA_ACCESS_LEVEL_UNSPECIFIED, DATA_ACCESS_LEVEL_PUBLIC,
* DATA_ACCESS_LEVEL_CONFIDENTIAL, DATA_ACCESS_LEVEL_NEED_TO_KNOW,
* DATA_ACCESS_LEVEL_PII, DATA_ACCESS_LEVEL_USER,
* DATA_ACCESS_LEVEL_NO_DATA_ACCESS
*
* @param self::INPUT_DATA_ACCESS_LEVEL_* $inputDataAccessLevel
*/
public function setInputDataAccessLevel($inputDataAccessLevel)
{
$this->inputDataAccessLevel = $inputDataAccessLevel;
}
/**
* @return self::INPUT_DATA_ACCESS_LEVEL_*
*/
public function getInputDataAccessLevel()
{
return $this->inputDataAccessLevel;
}
/**
* The data access level of the tool's outputs.
*
* Accepted values: DATA_ACCESS_LEVEL_UNSPECIFIED, DATA_ACCESS_LEVEL_PUBLIC,
* DATA_ACCESS_LEVEL_CONFIDENTIAL, DATA_ACCESS_LEVEL_NEED_TO_KNOW,
* DATA_ACCESS_LEVEL_PII, DATA_ACCESS_LEVEL_USER,
* DATA_ACCESS_LEVEL_NO_DATA_ACCESS
*
* @param self::OUTPUT_DATA_ACCESS_LEVEL_* $outputDataAccessLevel
*/
public function setOutputDataAccessLevel($outputDataAccessLevel)
{
$this->outputDataAccessLevel = $outputDataAccessLevel;
}
/**
* @return self::OUTPUT_DATA_ACCESS_LEVEL_*
*/
public function getOutputDataAccessLevel()
{
return $this->outputDataAccessLevel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApiservingMcpMcpToolDataHandlingProfile::class, 'Google_Service_Playdeveloperreporting_ApiservingMcpMcpToolDataHandlingProfile');
@@ -0,0 +1,125 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1Anomaly extends \Google\Collection
{
protected $collection_key = 'dimensions';
protected $dimensionsType = GooglePlayDeveloperReportingV1beta1DimensionValue::class;
protected $dimensionsDataType = 'array';
protected $metricType = GooglePlayDeveloperReportingV1beta1MetricValue::class;
protected $metricDataType = '';
/**
* Metric set resource where the anomaly was detected.
*
* @var string
*/
public $metricSet;
/**
* Identifier. Name of the anomaly. Format: apps/{app}/anomalies/{anomaly}
*
* @var string
*/
public $name;
protected $timelineSpecType = GooglePlayDeveloperReportingV1beta1TimelineSpec::class;
protected $timelineSpecDataType = '';
/**
* Combination of dimensions in which the anomaly was detected.
*
* @param GooglePlayDeveloperReportingV1beta1DimensionValue[] $dimensions
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return GooglePlayDeveloperReportingV1beta1DimensionValue[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* Metric where the anomaly was detected, together with the anomalous value.
*
* @param GooglePlayDeveloperReportingV1beta1MetricValue $metric
*/
public function setMetric(GooglePlayDeveloperReportingV1beta1MetricValue $metric)
{
$this->metric = $metric;
}
/**
* @return GooglePlayDeveloperReportingV1beta1MetricValue
*/
public function getMetric()
{
return $this->metric;
}
/**
* Metric set resource where the anomaly was detected.
*
* @param string $metricSet
*/
public function setMetricSet($metricSet)
{
$this->metricSet = $metricSet;
}
/**
* @return string
*/
public function getMetricSet()
{
return $this->metricSet;
}
/**
* Identifier. Name of the anomaly. Format: apps/{app}/anomalies/{anomaly}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Timeline specification that covers the anomaly period.
*
* @param GooglePlayDeveloperReportingV1beta1TimelineSpec $timelineSpec
*/
public function setTimelineSpec(GooglePlayDeveloperReportingV1beta1TimelineSpec $timelineSpec)
{
$this->timelineSpec = $timelineSpec;
}
/**
* @return GooglePlayDeveloperReportingV1beta1TimelineSpec
*/
public function getTimelineSpec()
{
return $this->timelineSpec;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1Anomaly::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1Anomaly');
@@ -0,0 +1,66 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1AnrRateMetricSet extends \Google\Model
{
protected $freshnessInfoType = GooglePlayDeveloperReportingV1beta1FreshnessInfo::class;
protected $freshnessInfoDataType = '';
/**
* Identifier. The resource name. Format: apps/{app}/anrRateMetricSet
*
* @var string
*/
public $name;
/**
* Summary about data freshness in this resource.
*
* @param GooglePlayDeveloperReportingV1beta1FreshnessInfo $freshnessInfo
*/
public function setFreshnessInfo(GooglePlayDeveloperReportingV1beta1FreshnessInfo $freshnessInfo)
{
$this->freshnessInfo = $freshnessInfo;
}
/**
* @return GooglePlayDeveloperReportingV1beta1FreshnessInfo
*/
public function getFreshnessInfo()
{
return $this->freshnessInfo;
}
/**
* Identifier. The resource name. Format: apps/{app}/anrRateMetricSet
*
* @param string $name
*/
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(GooglePlayDeveloperReportingV1beta1AnrRateMetricSet::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1AnrRateMetricSet');
@@ -0,0 +1,96 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1App extends \Google\Model
{
/**
* Title of the app. This is the latest title as set in the Play Console and
* may not yet have been reviewed, so might not match the Play Store. Example:
* `Google Maps`.
*
* @var string
*/
public $displayName;
/**
* Identifier. The resource name. Format: apps/{app}
*
* @var string
*/
public $name;
/**
* Package name of the app. Example: `com.example.app123`.
*
* @var string
*/
public $packageName;
/**
* Title of the app. This is the latest title as set in the Play Console and
* may not yet have been reviewed, so might not match the Play Store. Example:
* `Google Maps`.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Identifier. The resource name. Format: apps/{app}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Package name of the app. Example: `com.example.app123`.
*
* @param string $packageName
*/
public function setPackageName($packageName)
{
$this->packageName = $packageName;
}
/**
* @return string
*/
public function getPackageName()
{
return $this->packageName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1App::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1App');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1AppVersion extends \Google\Model
{
/**
* Optional. Numeric version code of the app version (set by the app's
* developer).
*
* @var string
*/
public $versionCode;
/**
* Optional. Numeric version code of the app version (set by the app's
* developer).
*
* @param string $versionCode
*/
public function setVersionCode($versionCode)
{
$this->versionCode = $versionCode;
}
/**
* @return string
*/
public function getVersionCode()
{
return $this->versionCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1AppVersion::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1AppVersion');
@@ -0,0 +1,66 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1CrashRateMetricSet extends \Google\Model
{
protected $freshnessInfoType = GooglePlayDeveloperReportingV1beta1FreshnessInfo::class;
protected $freshnessInfoDataType = '';
/**
* Identifier. The resource name. Format: apps/{app}/crashRateMetricSet
*
* @var string
*/
public $name;
/**
* Summary about data freshness in this resource.
*
* @param GooglePlayDeveloperReportingV1beta1FreshnessInfo $freshnessInfo
*/
public function setFreshnessInfo(GooglePlayDeveloperReportingV1beta1FreshnessInfo $freshnessInfo)
{
$this->freshnessInfo = $freshnessInfo;
}
/**
* @return GooglePlayDeveloperReportingV1beta1FreshnessInfo
*/
public function getFreshnessInfo()
{
return $this->freshnessInfo;
}
/**
* Identifier. The resource name. Format: apps/{app}/crashRateMetricSet
*
* @param string $name
*/
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(GooglePlayDeveloperReportingV1beta1CrashRateMetricSet::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1CrashRateMetricSet');
@@ -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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1DecimalConfidenceInterval extends \Google\Model
{
protected $lowerBoundType = GoogleTypeDecimal::class;
protected $lowerBoundDataType = '';
protected $upperBoundType = GoogleTypeDecimal::class;
protected $upperBoundDataType = '';
/**
* The confidence interval's lower bound.
*
* @param GoogleTypeDecimal $lowerBound
*/
public function setLowerBound(GoogleTypeDecimal $lowerBound)
{
$this->lowerBound = $lowerBound;
}
/**
* @return GoogleTypeDecimal
*/
public function getLowerBound()
{
return $this->lowerBound;
}
/**
* The confidence interval's upper bound.
*
* @param GoogleTypeDecimal $upperBound
*/
public function setUpperBound(GoogleTypeDecimal $upperBound)
{
$this->upperBound = $upperBound;
}
/**
* @return GoogleTypeDecimal
*/
public function getUpperBound()
{
return $this->upperBound;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1DecimalConfidenceInterval::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1DecimalConfidenceInterval');
@@ -0,0 +1,70 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1DeviceId extends \Google\Model
{
/**
* Value of Build.BRAND.
*
* @var string
*/
public $buildBrand;
/**
* Value of Build.DEVICE.
*
* @var string
*/
public $buildDevice;
/**
* Value of Build.BRAND.
*
* @param string $buildBrand
*/
public function setBuildBrand($buildBrand)
{
$this->buildBrand = $buildBrand;
}
/**
* @return string
*/
public function getBuildBrand()
{
return $this->buildBrand;
}
/**
* Value of Build.DEVICE.
*
* @param string $buildDevice
*/
public function setBuildDevice($buildDevice)
{
$this->buildDevice = $buildDevice;
}
/**
* @return string
*/
public function getBuildDevice()
{
return $this->buildDevice;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1DeviceId::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1DeviceId');
@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1DeviceModelSummary extends \Google\Model
{
protected $deviceIdType = GooglePlayDeveloperReportingV1beta1DeviceId::class;
protected $deviceIdDataType = '';
/**
* Link to the device in Play Device Catalog.
*
* @var string
*/
public $deviceUri;
/**
* Display name of the device.
*
* @var string
*/
public $marketingName;
/**
* Identifier of the device.
*
* @param GooglePlayDeveloperReportingV1beta1DeviceId $deviceId
*/
public function setDeviceId(GooglePlayDeveloperReportingV1beta1DeviceId $deviceId)
{
$this->deviceId = $deviceId;
}
/**
* @return GooglePlayDeveloperReportingV1beta1DeviceId
*/
public function getDeviceId()
{
return $this->deviceId;
}
/**
* Link to the device in Play Device Catalog.
*
* @param string $deviceUri
*/
public function setDeviceUri($deviceUri)
{
$this->deviceUri = $deviceUri;
}
/**
* @return string
*/
public function getDeviceUri()
{
return $this->deviceUri;
}
/**
* Display name of the device.
*
* @param string $marketingName
*/
public function setMarketingName($marketingName)
{
$this->marketingName = $marketingName;
}
/**
* @return string
*/
public function getMarketingName()
{
return $this->marketingName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1DeviceModelSummary::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1DeviceModelSummary');
@@ -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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1DimensionValue extends \Google\Model
{
/**
* Name of the dimension.
*
* @var string
*/
public $dimension;
/**
* Actual value, represented as an int64.
*
* @var string
*/
public $int64Value;
/**
* Actual value, represented as a string.
*
* @var string
*/
public $stringValue;
/**
* Optional. Human-friendly label for the value, always in English. For
* example, 'Spain' for the 'ES' country code. Whereas the dimension value is
* stable, this value label is subject to change. Do not assume that the
* (value, value_label) relationship is stable. For example, the ISO country
* code 'MK' changed its name recently to 'North Macedonia'.
*
* @var string
*/
public $valueLabel;
/**
* Name of the dimension.
*
* @param string $dimension
*/
public function setDimension($dimension)
{
$this->dimension = $dimension;
}
/**
* @return string
*/
public function getDimension()
{
return $this->dimension;
}
/**
* Actual value, represented as an int64.
*
* @param string $int64Value
*/
public function setInt64Value($int64Value)
{
$this->int64Value = $int64Value;
}
/**
* @return string
*/
public function getInt64Value()
{
return $this->int64Value;
}
/**
* Actual value, represented as a string.
*
* @param string $stringValue
*/
public function setStringValue($stringValue)
{
$this->stringValue = $stringValue;
}
/**
* @return string
*/
public function getStringValue()
{
return $this->stringValue;
}
/**
* Optional. Human-friendly label for the value, always in English. For
* example, 'Spain' for the 'ES' country code. Whereas the dimension value is
* stable, this value label is subject to change. Do not assume that the
* (value, value_label) relationship is stable. For example, the ISO country
* code 'MK' changed its name recently to 'North Macedonia'.
*
* @param string $valueLabel
*/
public function setValueLabel($valueLabel)
{
$this->valueLabel = $valueLabel;
}
/**
* @return string
*/
public function getValueLabel()
{
return $this->valueLabel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1DimensionValue::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1DimensionValue');
@@ -0,0 +1,66 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet extends \Google\Model
{
protected $freshnessInfoType = GooglePlayDeveloperReportingV1beta1FreshnessInfo::class;
protected $freshnessInfoDataType = '';
/**
* Identifier. The resource name. Format: apps/{app}/errorCountMetricSet
*
* @var string
*/
public $name;
/**
* Summary about data freshness in this resource.
*
* @param GooglePlayDeveloperReportingV1beta1FreshnessInfo $freshnessInfo
*/
public function setFreshnessInfo(GooglePlayDeveloperReportingV1beta1FreshnessInfo $freshnessInfo)
{
$this->freshnessInfo = $freshnessInfo;
}
/**
* @return GooglePlayDeveloperReportingV1beta1FreshnessInfo
*/
public function getFreshnessInfo()
{
return $this->freshnessInfo;
}
/**
* Identifier. The resource name. Format: apps/{app}/errorCountMetricSet
*
* @param string $name
*/
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(GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet');
@@ -0,0 +1,392 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1ErrorIssue extends \Google\Collection
{
/**
* Unspecified error type.
*/
public const TYPE_ERROR_TYPE_UNSPECIFIED = 'ERROR_TYPE_UNSPECIFIED';
/**
* Application Not Responding (ANR) error. To learn more about this type of
* errors visit the corresponding Android Developers documentation.
*/
public const TYPE_APPLICATION_NOT_RESPONDING = 'APPLICATION_NOT_RESPONDING';
/**
* Crash caused by an unhandled exception in Java (or Kotlin or any other JVM
* language) or a signal in native code such as SIGSEGV.
*/
public const TYPE_CRASH = 'CRASH';
/**
* Non-fatal caused by events that do not immediately cause crashes, but is
* likely to lead to one.
*/
public const TYPE_NON_FATAL = 'NON_FATAL';
protected $collection_key = 'sampleErrorReports';
protected $annotationsType = GooglePlayDeveloperReportingV1beta1IssueAnnotation::class;
protected $annotationsDataType = 'array';
/**
* Cause of the issue. Depending on the type this can be either: *
* APPLICATION_NOT_RESPONDING: the type of ANR that occurred, e.g., 'Input
* dispatching timed out'. * CRASH: for Java unhandled exception errors, the
* type of the innermost exception that was thrown, e.g.,
* IllegalArgumentException. For signals in native code, the signal that was
* raised, e.g. SIGSEGV.
*
* @var string
*/
public $cause;
/**
* An estimate of the number of unique users who have experienced this issue
* (only considering occurrences matching the filters and within the requested
* time period).
*
* @var string
*/
public $distinctUsers;
protected $distinctUsersPercentType = GoogleTypeDecimal::class;
protected $distinctUsersPercentDataType = '';
/**
* The total number of error reports in this issue (only considering
* occurrences matching the filters and within the requested time period).
*
* @var string
*/
public $errorReportCount;
protected $firstAppVersionType = GooglePlayDeveloperReportingV1beta1AppVersion::class;
protected $firstAppVersionDataType = '';
protected $firstOsVersionType = GooglePlayDeveloperReportingV1beta1OsVersion::class;
protected $firstOsVersionDataType = '';
/**
* Link to the issue in Android vitals in the Play Console.
*
* @var string
*/
public $issueUri;
protected $lastAppVersionType = GooglePlayDeveloperReportingV1beta1AppVersion::class;
protected $lastAppVersionDataType = '';
/**
* Start of the hour during which the last error report in this issue
* occurred.
*
* @var string
*/
public $lastErrorReportTime;
protected $lastOsVersionType = GooglePlayDeveloperReportingV1beta1OsVersion::class;
protected $lastOsVersionDataType = '';
/**
* Location where the issue happened. Depending on the type this can be
* either: * APPLICATION_NOT_RESPONDING: the name of the activity or service
* that stopped responding. * CRASH: the likely method name that caused the
* error.
*
* @var string
*/
public $location;
/**
* Identifier. The resource name of the issue. Format: apps/{app}/{issue}
*
* @var string
*/
public $name;
/**
* Output only. Sample error reports which belong to this ErrorIssue. *Note:*
* currently a maximum of 1 per ErrorIssue is supported. Format:
* "apps/{app}/{report}"
*
* @var string[]
*/
public $sampleErrorReports;
/**
* Type of the errors grouped in this issue.
*
* @var string
*/
public $type;
/**
* List of annotations for an issue. Annotations provide additional
* information that may help in diagnosing and fixing the issue.
*
* @param GooglePlayDeveloperReportingV1beta1IssueAnnotation[] $annotations
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return GooglePlayDeveloperReportingV1beta1IssueAnnotation[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* Cause of the issue. Depending on the type this can be either: *
* APPLICATION_NOT_RESPONDING: the type of ANR that occurred, e.g., 'Input
* dispatching timed out'. * CRASH: for Java unhandled exception errors, the
* type of the innermost exception that was thrown, e.g.,
* IllegalArgumentException. For signals in native code, the signal that was
* raised, e.g. SIGSEGV.
*
* @param string $cause
*/
public function setCause($cause)
{
$this->cause = $cause;
}
/**
* @return string
*/
public function getCause()
{
return $this->cause;
}
/**
* An estimate of the number of unique users who have experienced this issue
* (only considering occurrences matching the filters and within the requested
* time period).
*
* @param string $distinctUsers
*/
public function setDistinctUsers($distinctUsers)
{
$this->distinctUsers = $distinctUsers;
}
/**
* @return string
*/
public function getDistinctUsers()
{
return $this->distinctUsers;
}
/**
* An estimated percentage of users affected by any issue that are affected by
* this issue (only considering occurrences matching the filters and within
* the requested time period).
*
* @param GoogleTypeDecimal $distinctUsersPercent
*/
public function setDistinctUsersPercent(GoogleTypeDecimal $distinctUsersPercent)
{
$this->distinctUsersPercent = $distinctUsersPercent;
}
/**
* @return GoogleTypeDecimal
*/
public function getDistinctUsersPercent()
{
return $this->distinctUsersPercent;
}
/**
* The total number of error reports in this issue (only considering
* occurrences matching the filters and within the requested time period).
*
* @param string $errorReportCount
*/
public function setErrorReportCount($errorReportCount)
{
$this->errorReportCount = $errorReportCount;
}
/**
* @return string
*/
public function getErrorReportCount()
{
return $this->errorReportCount;
}
/**
* The earliest (inclusive) app version appearing in this ErrorIssue in the
* requested time period (only considering occurrences matching the filters).
*
* @param GooglePlayDeveloperReportingV1beta1AppVersion $firstAppVersion
*/
public function setFirstAppVersion(GooglePlayDeveloperReportingV1beta1AppVersion $firstAppVersion)
{
$this->firstAppVersion = $firstAppVersion;
}
/**
* @return GooglePlayDeveloperReportingV1beta1AppVersion
*/
public function getFirstAppVersion()
{
return $this->firstAppVersion;
}
/**
* The smallest OS version in which this error cluster has occurred in the
* requested time period (only considering occurrences matching the filters
* and within the requested time period).
*
* @param GooglePlayDeveloperReportingV1beta1OsVersion $firstOsVersion
*/
public function setFirstOsVersion(GooglePlayDeveloperReportingV1beta1OsVersion $firstOsVersion)
{
$this->firstOsVersion = $firstOsVersion;
}
/**
* @return GooglePlayDeveloperReportingV1beta1OsVersion
*/
public function getFirstOsVersion()
{
return $this->firstOsVersion;
}
/**
* Link to the issue in Android vitals in the Play Console.
*
* @param string $issueUri
*/
public function setIssueUri($issueUri)
{
$this->issueUri = $issueUri;
}
/**
* @return string
*/
public function getIssueUri()
{
return $this->issueUri;
}
/**
* The latest (inclusive) app version appearing in this ErrorIssue in the
* requested time period (only considering occurrences matching the filters).
*
* @param GooglePlayDeveloperReportingV1beta1AppVersion $lastAppVersion
*/
public function setLastAppVersion(GooglePlayDeveloperReportingV1beta1AppVersion $lastAppVersion)
{
$this->lastAppVersion = $lastAppVersion;
}
/**
* @return GooglePlayDeveloperReportingV1beta1AppVersion
*/
public function getLastAppVersion()
{
return $this->lastAppVersion;
}
/**
* Start of the hour during which the last error report in this issue
* occurred.
*
* @param string $lastErrorReportTime
*/
public function setLastErrorReportTime($lastErrorReportTime)
{
$this->lastErrorReportTime = $lastErrorReportTime;
}
/**
* @return string
*/
public function getLastErrorReportTime()
{
return $this->lastErrorReportTime;
}
/**
* The latest OS version in which this error cluster has occurred in the
* requested time period (only considering occurrences matching the filters
* and within the requested time period).
*
* @param GooglePlayDeveloperReportingV1beta1OsVersion $lastOsVersion
*/
public function setLastOsVersion(GooglePlayDeveloperReportingV1beta1OsVersion $lastOsVersion)
{
$this->lastOsVersion = $lastOsVersion;
}
/**
* @return GooglePlayDeveloperReportingV1beta1OsVersion
*/
public function getLastOsVersion()
{
return $this->lastOsVersion;
}
/**
* Location where the issue happened. Depending on the type this can be
* either: * APPLICATION_NOT_RESPONDING: the name of the activity or service
* that stopped responding. * CRASH: the likely method name that caused the
* error.
*
* @param string $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* Identifier. The resource name of the issue. Format: apps/{app}/{issue}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Sample error reports which belong to this ErrorIssue. *Note:*
* currently a maximum of 1 per ErrorIssue is supported. Format:
* "apps/{app}/{report}"
*
* @param string[] $sampleErrorReports
*/
public function setSampleErrorReports($sampleErrorReports)
{
$this->sampleErrorReports = $sampleErrorReports;
}
/**
* @return string[]
*/
public function getSampleErrorReports()
{
return $this->sampleErrorReports;
}
/**
* Type of the errors grouped in this issue.
*
* Accepted values: ERROR_TYPE_UNSPECIFIED, APPLICATION_NOT_RESPONDING, CRASH,
* NON_FATAL
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1ErrorIssue::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1ErrorIssue');
@@ -0,0 +1,256 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1ErrorReport extends \Google\Model
{
/**
* Unspecified error type.
*/
public const TYPE_ERROR_TYPE_UNSPECIFIED = 'ERROR_TYPE_UNSPECIFIED';
/**
* Application Not Responding (ANR) error. To learn more about this type of
* errors visit the corresponding Android Developers documentation.
*/
public const TYPE_APPLICATION_NOT_RESPONDING = 'APPLICATION_NOT_RESPONDING';
/**
* Crash caused by an unhandled exception in Java (or Kotlin or any other JVM
* language) or a signal in native code such as SIGSEGV.
*/
public const TYPE_CRASH = 'CRASH';
/**
* Non-fatal caused by events that do not immediately cause crashes, but is
* likely to lead to one.
*/
public const TYPE_NON_FATAL = 'NON_FATAL';
protected $appVersionType = GooglePlayDeveloperReportingV1beta1AppVersion::class;
protected $appVersionDataType = '';
protected $deviceModelType = GooglePlayDeveloperReportingV1beta1DeviceModelSummary::class;
protected $deviceModelDataType = '';
/**
* Start of the hour during which the latest event in this error report
* occurred.
*
* @var string
*/
public $eventTime;
/**
* The issue this report was associated with. **Please note:** this resource
* is currently in Alpha. There could be changes to the issue grouping that
* would result in similar but more recent error reports being assigned to a
* different issue.
*
* @var string
*/
public $issue;
/**
* Identifier. The resource name of the report. Format: apps/{app}/{report}
*
* @var string
*/
public $name;
protected $osVersionType = GooglePlayDeveloperReportingV1beta1OsVersion::class;
protected $osVersionDataType = '';
/**
* Textual representation of the error report. These textual reports are
* produced by the platform. The reports are then sanitized and filtered to
* remove any potentially sensitive information. Although their format is
* fairly stable, they are not entirely meant for machine consumption and we
* cannot guarantee that there won't be subtle changes to the formatting that
* may break systems trying to parse information out of the reports.
*
* @var string
*/
public $reportText;
/**
* Type of the error for which this report was generated.
*
* @var string
*/
public $type;
/**
* Version control system information from BUNDLE-METADATA/version-control-
* info.textproto or META-INF/version-control-info.textproto of the app bundle
* or APK, respectively.
*
* @var string
*/
public $vcsInformation;
/**
* The app version on which an event in this error report occurred on.
*
* @param GooglePlayDeveloperReportingV1beta1AppVersion $appVersion
*/
public function setAppVersion(GooglePlayDeveloperReportingV1beta1AppVersion $appVersion)
{
$this->appVersion = $appVersion;
}
/**
* @return GooglePlayDeveloperReportingV1beta1AppVersion
*/
public function getAppVersion()
{
return $this->appVersion;
}
/**
* A device model on which an event in this error report occurred on.
*
* @param GooglePlayDeveloperReportingV1beta1DeviceModelSummary $deviceModel
*/
public function setDeviceModel(GooglePlayDeveloperReportingV1beta1DeviceModelSummary $deviceModel)
{
$this->deviceModel = $deviceModel;
}
/**
* @return GooglePlayDeveloperReportingV1beta1DeviceModelSummary
*/
public function getDeviceModel()
{
return $this->deviceModel;
}
/**
* Start of the hour during which the latest event in this error report
* occurred.
*
* @param string $eventTime
*/
public function setEventTime($eventTime)
{
$this->eventTime = $eventTime;
}
/**
* @return string
*/
public function getEventTime()
{
return $this->eventTime;
}
/**
* The issue this report was associated with. **Please note:** this resource
* is currently in Alpha. There could be changes to the issue grouping that
* would result in similar but more recent error reports being assigned to a
* different issue.
*
* @param string $issue
*/
public function setIssue($issue)
{
$this->issue = $issue;
}
/**
* @return string
*/
public function getIssue()
{
return $this->issue;
}
/**
* Identifier. The resource name of the report. Format: apps/{app}/{report}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The OS version on which an event in this error report occurred on.
*
* @param GooglePlayDeveloperReportingV1beta1OsVersion $osVersion
*/
public function setOsVersion(GooglePlayDeveloperReportingV1beta1OsVersion $osVersion)
{
$this->osVersion = $osVersion;
}
/**
* @return GooglePlayDeveloperReportingV1beta1OsVersion
*/
public function getOsVersion()
{
return $this->osVersion;
}
/**
* Textual representation of the error report. These textual reports are
* produced by the platform. The reports are then sanitized and filtered to
* remove any potentially sensitive information. Although their format is
* fairly stable, they are not entirely meant for machine consumption and we
* cannot guarantee that there won't be subtle changes to the formatting that
* may break systems trying to parse information out of the reports.
*
* @param string $reportText
*/
public function setReportText($reportText)
{
$this->reportText = $reportText;
}
/**
* @return string
*/
public function getReportText()
{
return $this->reportText;
}
/**
* Type of the error for which this report was generated.
*
* Accepted values: ERROR_TYPE_UNSPECIFIED, APPLICATION_NOT_RESPONDING, CRASH,
* NON_FATAL
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
/**
* Version control system information from BUNDLE-METADATA/version-control-
* info.textproto or META-INF/version-control-info.textproto of the app bundle
* or APK, respectively.
*
* @param string $vcsInformation
*/
public function setVcsInformation($vcsInformation)
{
$this->vcsInformation = $vcsInformation;
}
/**
* @return string
*/
public function getVcsInformation()
{
return $this->vcsInformation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1ErrorReport::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1ErrorReport');
@@ -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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet extends \Google\Model
{
protected $freshnessInfoType = GooglePlayDeveloperReportingV1beta1FreshnessInfo::class;
protected $freshnessInfoDataType = '';
/**
* Identifier. The resource name. Format:
* apps/{app}/excessiveWakeupRateMetricSet
*
* @var string
*/
public $name;
/**
* Summary about data freshness in this resource.
*
* @param GooglePlayDeveloperReportingV1beta1FreshnessInfo $freshnessInfo
*/
public function setFreshnessInfo(GooglePlayDeveloperReportingV1beta1FreshnessInfo $freshnessInfo)
{
$this->freshnessInfo = $freshnessInfo;
}
/**
* @return GooglePlayDeveloperReportingV1beta1FreshnessInfo
*/
public function getFreshnessInfo()
{
return $this->freshnessInfo;
}
/**
* Identifier. The resource name. Format:
* apps/{app}/excessiveWakeupRateMetricSet
*
* @param string $name
*/
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(GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet');
@@ -0,0 +1,46 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1FreshnessInfo extends \Google\Collection
{
protected $collection_key = 'freshnesses';
protected $freshnessesType = GooglePlayDeveloperReportingV1beta1FreshnessInfoFreshness::class;
protected $freshnessesDataType = 'array';
/**
* Information about data freshness for every supported aggregation period.
* This field has set semantics, keyed by the `aggregation_period` field.
*
* @param GooglePlayDeveloperReportingV1beta1FreshnessInfoFreshness[] $freshnesses
*/
public function setFreshnesses($freshnesses)
{
$this->freshnesses = $freshnesses;
}
/**
* @return GooglePlayDeveloperReportingV1beta1FreshnessInfoFreshness[]
*/
public function getFreshnesses()
{
return $this->freshnesses;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1FreshnessInfo::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1FreshnessInfo');
@@ -0,0 +1,91 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1FreshnessInfoFreshness extends \Google\Model
{
/**
* Unspecified granularity.
*/
public const AGGREGATION_PERIOD_AGGREGATION_PERIOD_UNSPECIFIED = 'AGGREGATION_PERIOD_UNSPECIFIED';
/**
* Data is aggregated in hourly intervals.
*/
public const AGGREGATION_PERIOD_HOURLY = 'HOURLY';
/**
* Data is aggregated in daily intervals.
*/
public const AGGREGATION_PERIOD_DAILY = 'DAILY';
/**
* Data is aggregated over the full timeline range. Effectively this produces
* a single value rather than a timeline.
*/
public const AGGREGATION_PERIOD_FULL_RANGE = 'FULL_RANGE';
/**
* Aggregation period for which data is available.
*
* @var string
*/
public $aggregationPeriod;
protected $latestEndTimeType = GoogleTypeDateTime::class;
protected $latestEndTimeDataType = '';
/**
* Aggregation period for which data is available.
*
* Accepted values: AGGREGATION_PERIOD_UNSPECIFIED, HOURLY, DAILY, FULL_RANGE
*
* @param self::AGGREGATION_PERIOD_* $aggregationPeriod
*/
public function setAggregationPeriod($aggregationPeriod)
{
$this->aggregationPeriod = $aggregationPeriod;
}
/**
* @return self::AGGREGATION_PERIOD_*
*/
public function getAggregationPeriod()
{
return $this->aggregationPeriod;
}
/**
* Latest end time for which data is available, for the aggregation period.
* The time is specified in the metric set's default timezone. *Note:* time
* ranges in TimelineSpec are represented as `start_time, end_time)`. For
* example, if the latest available timeline data point for a `DAILY`
* aggregation period is `2021-06-23 00:00:00 America/Los_Angeles`, the value
* of this field would be `2021-06-24 00:00:00 America/Los_Angeles` so it can
* be easily reused in [TimelineSpec.end_time.
*
* @param GoogleTypeDateTime $latestEndTime
*/
public function setLatestEndTime(GoogleTypeDateTime $latestEndTime)
{
$this->latestEndTime = $latestEndTime;
}
/**
* @return GoogleTypeDateTime
*/
public function getLatestEndTime()
{
return $this->latestEndTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1FreshnessInfoFreshness::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1FreshnessInfoFreshness');
@@ -0,0 +1,94 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1IssueAnnotation extends \Google\Model
{
/**
* Contains the contents of the annotation message.
*
* @var string
*/
public $body;
/**
* Category that the annotation belongs to. An annotation will belong to a
* single category. Example categories: "Potential fix", "Insight".
*
* @var string
*/
public $category;
/**
* Title for the annotation.
*
* @var string
*/
public $title;
/**
* Contains the contents of the annotation message.
*
* @param string $body
*/
public function setBody($body)
{
$this->body = $body;
}
/**
* @return string
*/
public function getBody()
{
return $this->body;
}
/**
* Category that the annotation belongs to. An annotation will belong to a
* single category. Example categories: "Potential fix", "Insight".
*
* @param string $category
*/
public function setCategory($category)
{
$this->category = $category;
}
/**
* @return string
*/
public function getCategory()
{
return $this->category;
}
/**
* Title for the annotation.
*
* @param string $title
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1IssueAnnotation::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1IssueAnnotation');
@@ -0,0 +1,67 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse extends \Google\Collection
{
protected $collection_key = 'anomalies';
protected $anomaliesType = GooglePlayDeveloperReportingV1beta1Anomaly::class;
protected $anomaliesDataType = 'array';
/**
* Continuation token to fetch the next page of data.
*
* @var string
*/
public $nextPageToken;
/**
* Anomalies that were found.
*
* @param GooglePlayDeveloperReportingV1beta1Anomaly[] $anomalies
*/
public function setAnomalies($anomalies)
{
$this->anomalies = $anomalies;
}
/**
* @return GooglePlayDeveloperReportingV1beta1Anomaly[]
*/
public function getAnomalies()
{
return $this->anomalies;
}
/**
* Continuation token to fetch the next page of data.
*
* @param string $nextPageToken
*/
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(GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse');
@@ -0,0 +1,66 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1LmkRateMetricSet extends \Google\Model
{
protected $freshnessInfoType = GooglePlayDeveloperReportingV1beta1FreshnessInfo::class;
protected $freshnessInfoDataType = '';
/**
* Identifier. The resource name. Format: apps/{app}/lmkRateMetricSet
*
* @var string
*/
public $name;
/**
* Summary about data freshness in this resource.
*
* @param GooglePlayDeveloperReportingV1beta1FreshnessInfo $freshnessInfo
*/
public function setFreshnessInfo(GooglePlayDeveloperReportingV1beta1FreshnessInfo $freshnessInfo)
{
$this->freshnessInfo = $freshnessInfo;
}
/**
* @return GooglePlayDeveloperReportingV1beta1FreshnessInfo
*/
public function getFreshnessInfo()
{
return $this->freshnessInfo;
}
/**
* Identifier. The resource name. Format: apps/{app}/lmkRateMetricSet
*
* @param string $name
*/
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(GooglePlayDeveloperReportingV1beta1LmkRateMetricSet::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1LmkRateMetricSet');
@@ -0,0 +1,84 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1MetricValue extends \Google\Model
{
protected $decimalValueType = GoogleTypeDecimal::class;
protected $decimalValueDataType = '';
protected $decimalValueConfidenceIntervalType = GooglePlayDeveloperReportingV1beta1DecimalConfidenceInterval::class;
protected $decimalValueConfidenceIntervalDataType = '';
/**
* Name of the metric.
*
* @var string
*/
public $metric;
/**
* Actual value, represented as a decimal number.
*
* @param GoogleTypeDecimal $decimalValue
*/
public function setDecimalValue(GoogleTypeDecimal $decimalValue)
{
$this->decimalValue = $decimalValue;
}
/**
* @return GoogleTypeDecimal
*/
public function getDecimalValue()
{
return $this->decimalValue;
}
/**
* Confidence interval of a value that is of type `type.Decimal`.
*
* @param GooglePlayDeveloperReportingV1beta1DecimalConfidenceInterval $decimalValueConfidenceInterval
*/
public function setDecimalValueConfidenceInterval(GooglePlayDeveloperReportingV1beta1DecimalConfidenceInterval $decimalValueConfidenceInterval)
{
$this->decimalValueConfidenceInterval = $decimalValueConfidenceInterval;
}
/**
* @return GooglePlayDeveloperReportingV1beta1DecimalConfidenceInterval
*/
public function getDecimalValueConfidenceInterval()
{
return $this->decimalValueConfidenceInterval;
}
/**
* Name of the metric.
*
* @param string $metric
*/
public function setMetric($metric)
{
$this->metric = $metric;
}
/**
* @return string
*/
public function getMetric()
{
return $this->metric;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1MetricValue::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1MetricValue');
@@ -0,0 +1,123 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1MetricsRow extends \Google\Collection
{
/**
* Unspecified granularity.
*/
public const AGGREGATION_PERIOD_AGGREGATION_PERIOD_UNSPECIFIED = 'AGGREGATION_PERIOD_UNSPECIFIED';
/**
* Data is aggregated in hourly intervals.
*/
public const AGGREGATION_PERIOD_HOURLY = 'HOURLY';
/**
* Data is aggregated in daily intervals.
*/
public const AGGREGATION_PERIOD_DAILY = 'DAILY';
/**
* Data is aggregated over the full timeline range. Effectively this produces
* a single value rather than a timeline.
*/
public const AGGREGATION_PERIOD_FULL_RANGE = 'FULL_RANGE';
protected $collection_key = 'metrics';
/**
* Optional. Granularity of the aggregation period of the row.
*
* @var string
*/
public $aggregationPeriod;
protected $dimensionsType = GooglePlayDeveloperReportingV1beta1DimensionValue::class;
protected $dimensionsDataType = 'array';
protected $metricsType = GooglePlayDeveloperReportingV1beta1MetricValue::class;
protected $metricsDataType = 'array';
protected $startTimeType = GoogleTypeDateTime::class;
protected $startTimeDataType = '';
/**
* Optional. Granularity of the aggregation period of the row.
*
* Accepted values: AGGREGATION_PERIOD_UNSPECIFIED, HOURLY, DAILY, FULL_RANGE
*
* @param self::AGGREGATION_PERIOD_* $aggregationPeriod
*/
public function setAggregationPeriod($aggregationPeriod)
{
$this->aggregationPeriod = $aggregationPeriod;
}
/**
* @return self::AGGREGATION_PERIOD_*
*/
public function getAggregationPeriod()
{
return $this->aggregationPeriod;
}
/**
* Optional. Dimension columns in the row.
*
* @param GooglePlayDeveloperReportingV1beta1DimensionValue[] $dimensions
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return GooglePlayDeveloperReportingV1beta1DimensionValue[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* Optional. Metric columns in the row.
*
* @param GooglePlayDeveloperReportingV1beta1MetricValue[] $metrics
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return GooglePlayDeveloperReportingV1beta1MetricValue[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* Optional. Starting date (and time for hourly aggregation) of the period
* covered by this row.
*
* @param GoogleTypeDateTime $startTime
*/
public function setStartTime(GoogleTypeDateTime $startTime)
{
$this->startTime = $startTime;
}
/**
* @return GoogleTypeDateTime
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1MetricsRow::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1MetricsRow');
@@ -0,0 +1,48 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1OsVersion extends \Google\Model
{
/**
* Optional. Numeric version code of the OS - API level
*
* @var string
*/
public $apiLevel;
/**
* Optional. Numeric version code of the OS - API level
*
* @param string $apiLevel
*/
public function setApiLevel($apiLevel)
{
$this->apiLevel = $apiLevel;
}
/**
* @return string
*/
public function getApiLevel()
{
return $this->apiLevel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1OsVersion::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1OsVersion');
@@ -0,0 +1,332 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest extends \Google\Collection
{
/**
* Unspecified User cohort. This will automatically choose the default value.
*/
public const USER_COHORT_USER_COHORT_UNSPECIFIED = 'USER_COHORT_UNSPECIFIED';
/**
* This is default view. Contains data from public released android versions
* only.
*/
public const USER_COHORT_OS_PUBLIC = 'OS_PUBLIC';
/**
* This is the view with just android beta data excluding released OS version
* data.
*/
public const USER_COHORT_OS_BETA = 'OS_BETA';
/**
* This is the view with data only from users who have opted in to be testers
* for a given app, excluding OS beta data.
*/
public const USER_COHORT_APP_TESTERS = 'APP_TESTERS';
protected $collection_key = 'metrics';
/**
* Optional. Dimensions to slice the metrics by. **Supported dimensions:** *
* `apiLevel` (string): the API level of Android that was running on the
* user's device, e.g., 26. * `versionCode` (int64): version of the app that
* was running on the user's device. * `deviceModel` (string): unique
* identifier of the user's device model. The form of the identifier is
* 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and
* device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand`
* (string): unique identifier of the user's device brand, e.g., google. *
* `deviceType` (string): the type (also known as form factor) of the user's
* device, e.g., PHONE. * `countryCode` (string): the country or region of the
* user's device based on their IP address, represented as a 2-letter ISO-3166
* code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of
* the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string):
* Make of the device's primary system-on-chip, e.g., Samsung. [Reference](htt
* ps://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) *
* `deviceSocModel` (string): Model of the device's primary system-on-chip,
* e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/an
* droid/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's
* CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's
* CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the device's
* GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU,
* e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU,
* e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device,
* e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the
* device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the
* device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density
* of the device, e.g., mdpi, hdpi.
*
* @var string[]
*/
public $dimensions;
/**
* Optional. Filters to apply to data. The filtering expression follows
* [AIP-160](https://google.aip.dev/160) standard and supports filtering by
* equality of all breakdown dimensions.
*
* @var string
*/
public $filter;
/**
* Optional. Metrics to aggregate. **Supported metrics:** * `anrRate`
* (`google.type.Decimal`): Percentage of distinct users in the aggregation
* period that experienced at least one ANR. * `anrRate7dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `anrRate` in the last 7
* days. The daily values are weighted by the count of distinct users for the
* day. Not supported in HOURLY granularity. * `anrRate28dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `anrRate` in the last 28
* days. The daily values are weighted by the count of distinct users for the
* day. Not supported in HOURLY granularity. * `userPerceivedAnrRate`
* (`google.type.Decimal`): Percentage of distinct users in the aggregation
* period that experienced at least one user-perceived ANR. User-perceived
* ANRs are currently those of 'Input dispatching' type. *
* `userPerceivedAnrRate7dUserWeighted` (`google.type.Decimal`): Rolling
* average value of `userPerceivedAnrRate` in the last 7 days. The daily
* values are weighted by the count of distinct users for the day. Not
* supported in HOURLY granularity. * `userPerceivedAnrRate28dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `userPerceivedAnrRate` in
* the last 28 days. The daily values are weighted by the count of distinct
* users for the day. Not . supported in HOURLY granularity. * `distinctUsers`
* (`google.type.Decimal`): Count of distinct users in the aggregation period
* that were used as normalization value for the `anrRate` and
* `userPerceivedAnrRate` metrics. A user is counted in this metric if they
* used the app in the foreground during the aggregation period. Care must be
* taken not to aggregate this count further, as it may result in users being
* counted multiple times. The value is rounded to the nearest multiple of 10,
* 100, 1,000 or 1,000,000, depending on the magnitude of the value.
*
* @var string[]
*/
public $metrics;
/**
* Optional. Maximum size of the returned data. If unspecified, at most 1000
* rows will be returned. The maximum value is 100,000; values above 100,000
* will be coerced to 100,000.
*
* @var int
*/
public $pageSize;
/**
* Optional. A page token, received from a previous call. Provide this to
* retrieve the subsequent page. When paginating, all other parameters
* provided to the request must match the call that provided the page token.
*
* @var string
*/
public $pageToken;
protected $timelineSpecType = GooglePlayDeveloperReportingV1beta1TimelineSpec::class;
protected $timelineSpecDataType = '';
/**
* Optional. User view to select. The output data will correspond to the
* selected view. **Supported values:** * `OS_PUBLIC` To select data from all
* publicly released Android versions. This is the default. Supports all the
* above dimensions. * `APP_TESTERS` To select data from users who have opted
* in to be testers. Supports all the above dimensions. * `OS_BETA` To select
* data from beta android versions only, excluding data from released android
* versions. Only the following dimensions are supported: * `versionCode`
* (int64): version of the app that was running on the user's device. *
* `osBuild` (string): OS build of the user's device, e.g., "T1B2.220916.004".
*
* @var string
*/
public $userCohort;
/**
* Optional. Dimensions to slice the metrics by. **Supported dimensions:** *
* `apiLevel` (string): the API level of Android that was running on the
* user's device, e.g., 26. * `versionCode` (int64): version of the app that
* was running on the user's device. * `deviceModel` (string): unique
* identifier of the user's device model. The form of the identifier is
* 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and
* device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand`
* (string): unique identifier of the user's device brand, e.g., google. *
* `deviceType` (string): the type (also known as form factor) of the user's
* device, e.g., PHONE. * `countryCode` (string): the country or region of the
* user's device based on their IP address, represented as a 2-letter ISO-3166
* code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of
* the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string):
* Make of the device's primary system-on-chip, e.g., Samsung. [Reference](htt
* ps://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) *
* `deviceSocModel` (string): Model of the device's primary system-on-chip,
* e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/an
* droid/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's
* CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's
* CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the device's
* GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU,
* e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU,
* e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device,
* e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the
* device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the
* device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density
* of the device, e.g., mdpi, hdpi.
*
* @param string[] $dimensions
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return string[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* Optional. Filters to apply to data. The filtering expression follows
* [AIP-160](https://google.aip.dev/160) standard and supports filtering by
* equality of all breakdown dimensions.
*
* @param string $filter
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* Optional. Metrics to aggregate. **Supported metrics:** * `anrRate`
* (`google.type.Decimal`): Percentage of distinct users in the aggregation
* period that experienced at least one ANR. * `anrRate7dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `anrRate` in the last 7
* days. The daily values are weighted by the count of distinct users for the
* day. Not supported in HOURLY granularity. * `anrRate28dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `anrRate` in the last 28
* days. The daily values are weighted by the count of distinct users for the
* day. Not supported in HOURLY granularity. * `userPerceivedAnrRate`
* (`google.type.Decimal`): Percentage of distinct users in the aggregation
* period that experienced at least one user-perceived ANR. User-perceived
* ANRs are currently those of 'Input dispatching' type. *
* `userPerceivedAnrRate7dUserWeighted` (`google.type.Decimal`): Rolling
* average value of `userPerceivedAnrRate` in the last 7 days. The daily
* values are weighted by the count of distinct users for the day. Not
* supported in HOURLY granularity. * `userPerceivedAnrRate28dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `userPerceivedAnrRate` in
* the last 28 days. The daily values are weighted by the count of distinct
* users for the day. Not . supported in HOURLY granularity. * `distinctUsers`
* (`google.type.Decimal`): Count of distinct users in the aggregation period
* that were used as normalization value for the `anrRate` and
* `userPerceivedAnrRate` metrics. A user is counted in this metric if they
* used the app in the foreground during the aggregation period. Care must be
* taken not to aggregate this count further, as it may result in users being
* counted multiple times. The value is rounded to the nearest multiple of 10,
* 100, 1,000 or 1,000,000, depending on the magnitude of the value.
*
* @param string[] $metrics
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return string[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* Optional. Maximum size of the returned data. If unspecified, at most 1000
* rows will be returned. The maximum value is 100,000; values above 100,000
* will be coerced to 100,000.
*
* @param int $pageSize
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* Optional. A page token, received from a previous call. Provide this to
* retrieve the subsequent page. When paginating, all other parameters
* provided to the request must match the call that provided the page token.
*
* @param string $pageToken
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* Optional. Specification of the timeline aggregation parameters. **Supported
* aggregation periods:** * DAILY: metrics are aggregated in calendar date
* intervals. Due to historical constraints, the default and only supported
* timezone is `America/Los_Angeles`. * HOURLY: metrics are aggregated in
* hourly intervals. The default and only supported timezone is `UTC`.
*
* @param GooglePlayDeveloperReportingV1beta1TimelineSpec $timelineSpec
*/
public function setTimelineSpec(GooglePlayDeveloperReportingV1beta1TimelineSpec $timelineSpec)
{
$this->timelineSpec = $timelineSpec;
}
/**
* @return GooglePlayDeveloperReportingV1beta1TimelineSpec
*/
public function getTimelineSpec()
{
return $this->timelineSpec;
}
/**
* Optional. User view to select. The output data will correspond to the
* selected view. **Supported values:** * `OS_PUBLIC` To select data from all
* publicly released Android versions. This is the default. Supports all the
* above dimensions. * `APP_TESTERS` To select data from users who have opted
* in to be testers. Supports all the above dimensions. * `OS_BETA` To select
* data from beta android versions only, excluding data from released android
* versions. Only the following dimensions are supported: * `versionCode`
* (int64): version of the app that was running on the user's device. *
* `osBuild` (string): OS build of the user's device, e.g., "T1B2.220916.004".
*
* Accepted values: USER_COHORT_UNSPECIFIED, OS_PUBLIC, OS_BETA, APP_TESTERS
*
* @param self::USER_COHORT_* $userCohort
*/
public function setUserCohort($userCohort)
{
$this->userCohort = $userCohort;
}
/**
* @return self::USER_COHORT_*
*/
public function getUserCohort()
{
return $this->userCohort;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest');
@@ -0,0 +1,67 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse extends \Google\Collection
{
protected $collection_key = 'rows';
/**
* Continuation token to fetch the next page of data.
*
* @var string
*/
public $nextPageToken;
protected $rowsType = GooglePlayDeveloperReportingV1beta1MetricsRow::class;
protected $rowsDataType = 'array';
/**
* Continuation token to fetch the next page of data.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Returned rows of data.
*
* @param GooglePlayDeveloperReportingV1beta1MetricsRow[] $rows
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return GooglePlayDeveloperReportingV1beta1MetricsRow[]
*/
public function getRows()
{
return $this->rows;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse');
@@ -0,0 +1,338 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest extends \Google\Collection
{
/**
* Unspecified User cohort. This will automatically choose the default value.
*/
public const USER_COHORT_USER_COHORT_UNSPECIFIED = 'USER_COHORT_UNSPECIFIED';
/**
* This is default view. Contains data from public released android versions
* only.
*/
public const USER_COHORT_OS_PUBLIC = 'OS_PUBLIC';
/**
* This is the view with just android beta data excluding released OS version
* data.
*/
public const USER_COHORT_OS_BETA = 'OS_BETA';
/**
* This is the view with data only from users who have opted in to be testers
* for a given app, excluding OS beta data.
*/
public const USER_COHORT_APP_TESTERS = 'APP_TESTERS';
protected $collection_key = 'metrics';
/**
* Optional. Dimensions to slice the metrics by. **Supported dimensions:** *
* `apiLevel` (string): the API level of Android that was running on the
* user's device, e.g., 26. * `versionCode` (int64): version of the app that
* was running on the user's device. * `deviceModel` (string): unique
* identifier of the user's device model. The form of the identifier is
* 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and
* device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand`
* (string): unique identifier of the user's device brand, e.g., google. *
* `deviceType` (string): the type (also known as form factor) of the user's
* device, e.g., PHONE. * `countryCode` (string): the country or region of the
* user's device based on their IP address, represented as a 2-letter ISO-3166
* code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of
* the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string):
* Make of the device's primary system-on-chip, e.g., Samsung. [Reference](htt
* ps://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) *
* `deviceSocModel` (string): Model of the device's primary system-on-chip,
* e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/an
* droid/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's
* CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's
* CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the device's
* GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU,
* e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU,
* e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device,
* e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the
* device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the
* device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density
* of the device, e.g., mdpi, hdpi.
*
* @var string[]
*/
public $dimensions;
/**
* Optional. Filters to apply to data. The filtering expression follows
* [AIP-160](https://google.aip.dev/160) standard and supports filtering by
* equality of all breakdown dimensions.
*
* @var string
*/
public $filter;
/**
* Optional. Metrics to aggregate. **Supported metrics:** * `crashRate`
* (`google.type.Decimal`): Percentage of distinct users in the aggregation
* period that experienced at least one crash. * `crashRate7dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `crashRate` in the last 7
* days. The daily values are weighted by the count of distinct users for the
* day. * `crashRate28dUserWeighted` (`google.type.Decimal`): Rolling average
* value of `crashRate` in the last 28 days. The daily values are weighted by
* the count of distinct users for the day. Not supported in HOURLY
* granularity. * `userPerceivedCrashRate` (`google.type.Decimal`): Percentage
* of distinct users in the aggregation period that experienced at least one
* crash while they were actively using your app (a user-perceived crash). An
* app is considered to be in active use if it is displaying any activity or
* executing any foreground service. * `userPerceivedCrashRate7dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `userPerceivedCrashRate`
* in the last 7 days. The daily values are weighted by the count of distinct
* users for the day. Not supported in HOURLY granularity. *
* `userPerceivedCrashRate28dUserWeighted` (`google.type.Decimal`): Rolling
* average value of `userPerceivedCrashRate` in the last 28 days. The daily
* values are weighted by the count of distinct users for the day. Not
* supported in HOURLY granularity. * `distinctUsers` (`google.type.Decimal`):
* Count of distinct users in the aggregation period that were used as
* normalization value for the `crashRate` and `userPerceivedCrashRate`
* metrics. A user is counted in this metric if they used the app actively
* during the aggregation period. An app is considered to be in active use if
* it is displaying any activity or executing any foreground service. Care
* must be taken not to aggregate this count further, as it may result in
* users being counted multiple times. The value is rounded to the nearest
* multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the
* value.
*
* @var string[]
*/
public $metrics;
/**
* Optional. Maximum size of the returned data. If unspecified, at most 1000
* rows will be returned. The maximum value is 100,000; values above 100,000
* will be coerced to 100,000.
*
* @var int
*/
public $pageSize;
/**
* Optional. A page token, received from a previous call. Provide this to
* retrieve the subsequent page. When paginating, all other parameters
* provided to the request must match the call that provided the page token.
*
* @var string
*/
public $pageToken;
protected $timelineSpecType = GooglePlayDeveloperReportingV1beta1TimelineSpec::class;
protected $timelineSpecDataType = '';
/**
* Optional. User view to select. The output data will correspond to the
* selected view. **Supported values:** * `OS_PUBLIC` To select data from all
* publicly released Android versions. This is the default. Supports all the
* above dimensions. * `APP_TESTERS` To select data from users who have opted
* in to be testers. Supports all the above dimensions. * `OS_BETA` To select
* data from beta android versions only, excluding data from released android
* versions. Only the following dimensions are supported: * `versionCode`
* (int64): version of the app that was running on the user's device. *
* `osBuild` (string): OS build of the user's device, e.g., "T1B2.220916.004".
*
* @var string
*/
public $userCohort;
/**
* Optional. Dimensions to slice the metrics by. **Supported dimensions:** *
* `apiLevel` (string): the API level of Android that was running on the
* user's device, e.g., 26. * `versionCode` (int64): version of the app that
* was running on the user's device. * `deviceModel` (string): unique
* identifier of the user's device model. The form of the identifier is
* 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and
* device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand`
* (string): unique identifier of the user's device brand, e.g., google. *
* `deviceType` (string): the type (also known as form factor) of the user's
* device, e.g., PHONE. * `countryCode` (string): the country or region of the
* user's device based on their IP address, represented as a 2-letter ISO-3166
* code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of
* the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string):
* Make of the device's primary system-on-chip, e.g., Samsung. [Reference](htt
* ps://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) *
* `deviceSocModel` (string): Model of the device's primary system-on-chip,
* e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/an
* droid/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's
* CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's
* CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the device's
* GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU,
* e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU,
* e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device,
* e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the
* device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the
* device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density
* of the device, e.g., mdpi, hdpi.
*
* @param string[] $dimensions
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return string[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* Optional. Filters to apply to data. The filtering expression follows
* [AIP-160](https://google.aip.dev/160) standard and supports filtering by
* equality of all breakdown dimensions.
*
* @param string $filter
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* Optional. Metrics to aggregate. **Supported metrics:** * `crashRate`
* (`google.type.Decimal`): Percentage of distinct users in the aggregation
* period that experienced at least one crash. * `crashRate7dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `crashRate` in the last 7
* days. The daily values are weighted by the count of distinct users for the
* day. * `crashRate28dUserWeighted` (`google.type.Decimal`): Rolling average
* value of `crashRate` in the last 28 days. The daily values are weighted by
* the count of distinct users for the day. Not supported in HOURLY
* granularity. * `userPerceivedCrashRate` (`google.type.Decimal`): Percentage
* of distinct users in the aggregation period that experienced at least one
* crash while they were actively using your app (a user-perceived crash). An
* app is considered to be in active use if it is displaying any activity or
* executing any foreground service. * `userPerceivedCrashRate7dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `userPerceivedCrashRate`
* in the last 7 days. The daily values are weighted by the count of distinct
* users for the day. Not supported in HOURLY granularity. *
* `userPerceivedCrashRate28dUserWeighted` (`google.type.Decimal`): Rolling
* average value of `userPerceivedCrashRate` in the last 28 days. The daily
* values are weighted by the count of distinct users for the day. Not
* supported in HOURLY granularity. * `distinctUsers` (`google.type.Decimal`):
* Count of distinct users in the aggregation period that were used as
* normalization value for the `crashRate` and `userPerceivedCrashRate`
* metrics. A user is counted in this metric if they used the app actively
* during the aggregation period. An app is considered to be in active use if
* it is displaying any activity or executing any foreground service. Care
* must be taken not to aggregate this count further, as it may result in
* users being counted multiple times. The value is rounded to the nearest
* multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the
* value.
*
* @param string[] $metrics
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return string[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* Optional. Maximum size of the returned data. If unspecified, at most 1000
* rows will be returned. The maximum value is 100,000; values above 100,000
* will be coerced to 100,000.
*
* @param int $pageSize
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* Optional. A page token, received from a previous call. Provide this to
* retrieve the subsequent page. When paginating, all other parameters
* provided to the request must match the call that provided the page token.
*
* @param string $pageToken
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* Optional. Specification of the timeline aggregation parameters. **Supported
* aggregation periods:** * DAILY: metrics are aggregated in calendar date
* intervals. Due to historical constraints, the default and only supported
* timezone is `America/Los_Angeles`. * HOURLY: metrics are aggregated in
* hourly intervals. The default and only supported timezone is `UTC`.
*
* @param GooglePlayDeveloperReportingV1beta1TimelineSpec $timelineSpec
*/
public function setTimelineSpec(GooglePlayDeveloperReportingV1beta1TimelineSpec $timelineSpec)
{
$this->timelineSpec = $timelineSpec;
}
/**
* @return GooglePlayDeveloperReportingV1beta1TimelineSpec
*/
public function getTimelineSpec()
{
return $this->timelineSpec;
}
/**
* Optional. User view to select. The output data will correspond to the
* selected view. **Supported values:** * `OS_PUBLIC` To select data from all
* publicly released Android versions. This is the default. Supports all the
* above dimensions. * `APP_TESTERS` To select data from users who have opted
* in to be testers. Supports all the above dimensions. * `OS_BETA` To select
* data from beta android versions only, excluding data from released android
* versions. Only the following dimensions are supported: * `versionCode`
* (int64): version of the app that was running on the user's device. *
* `osBuild` (string): OS build of the user's device, e.g., "T1B2.220916.004".
*
* Accepted values: USER_COHORT_UNSPECIFIED, OS_PUBLIC, OS_BETA, APP_TESTERS
*
* @param self::USER_COHORT_* $userCohort
*/
public function setUserCohort($userCohort)
{
$this->userCohort = $userCohort;
}
/**
* @return self::USER_COHORT_*
*/
public function getUserCohort()
{
return $this->userCohort;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest');
@@ -0,0 +1,67 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse extends \Google\Collection
{
protected $collection_key = 'rows';
/**
* Continuation token to fetch the next page of data.
*
* @var string
*/
public $nextPageToken;
protected $rowsType = GooglePlayDeveloperReportingV1beta1MetricsRow::class;
protected $rowsDataType = 'array';
/**
* Continuation token to fetch the next page of data.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Returned rows of data.
*
* @param GooglePlayDeveloperReportingV1beta1MetricsRow[] $rows
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return GooglePlayDeveloperReportingV1beta1MetricsRow[]
*/
public function getRows()
{
return $this->rows;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse');
@@ -0,0 +1,238 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest extends \Google\Collection
{
protected $collection_key = 'metrics';
/**
* Optional. Dimensions to slice the data by. **Supported dimensions:** *
* `apiLevel` (string): the API level of Android that was running on the
* user's device, e.g., 26. * `versionCode` (int64): unique identifier of the
* user's device model. The form of the identifier is 'deviceBrand/device',
* where deviceBrand corresponds to Build.BRAND and device corresponds to
* Build.DEVICE, e.g., google/coral. * `deviceModel` (string): unique
* identifier of the user's device model. * `deviceType` (string): identifier
* of the device's form factor, e.g., PHONE. * `reportType` (string): the type
* of error. The value should correspond to one of the possible values in
* ErrorType. * `issueId` (string): the id an error was assigned to. The value
* should correspond to the `{issue}` component of the issue name. *
* `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB,
* etc.). * `deviceSocMake` (string): Make of the device's primary system-on-
* chip, e.g., Samsung. [Reference](https://developer.android.com/reference/an
* droid/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the
* device's primary system-on-chip, e.g., "Exynos 2100". [Reference](https://d
* eveloper.android.com/reference/android/os/Build#SOC_MODEL) *
* `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. *
* `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo 240". *
* `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. *
* `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. *
* `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. *
* `deviceVulkanVersion` (string): Vulkan version of the device, e.g.,
* "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the device,
* e.g., "196610". * `deviceScreenSize` (string): Screen size of the device,
* e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the
* device, e.g., mdpi, hdpi.
*
* @var string[]
*/
public $dimensions;
/**
* Optional. Filters to apply to data. The filtering expression follows
* [AIP-160](https://google.aip.dev/160) standard and supports filtering by
* equality of all breakdown dimensions and: * `isUserPerceived` (string):
* denotes whether error is user perceived or not, USER_PERCEIVED or
* NOT_USER_PERCEIVED.
*
* @var string
*/
public $filter;
/**
* Optional. Metrics to aggregate. **Supported metrics:** * `errorReportCount`
* (`google.type.Decimal`): Absolute count of individual error reports that
* have been received for an app. * `distinctUsers` (`google.type.Decimal`):
* Count of distinct users for which reports have been received. Care must be
* taken not to aggregate this count further, as it may result in users being
* counted multiple times. This value is not rounded, however it may be an
* approximation.
*
* @var string[]
*/
public $metrics;
/**
* Optional. Maximum size of the returned data. If unspecified, at most 1000
* rows will be returned. The maximum value is 100000; values above 100000
* will be coerced to 100000.
*
* @var int
*/
public $pageSize;
/**
* Optional. A page token, received from a previous call. Provide this to
* retrieve the subsequent page. When paginating, all other parameters
* provided to the request must match the call that provided the page token.
*
* @var string
*/
public $pageToken;
protected $timelineSpecType = GooglePlayDeveloperReportingV1beta1TimelineSpec::class;
protected $timelineSpecDataType = '';
/**
* Optional. Dimensions to slice the data by. **Supported dimensions:** *
* `apiLevel` (string): the API level of Android that was running on the
* user's device, e.g., 26. * `versionCode` (int64): unique identifier of the
* user's device model. The form of the identifier is 'deviceBrand/device',
* where deviceBrand corresponds to Build.BRAND and device corresponds to
* Build.DEVICE, e.g., google/coral. * `deviceModel` (string): unique
* identifier of the user's device model. * `deviceType` (string): identifier
* of the device's form factor, e.g., PHONE. * `reportType` (string): the type
* of error. The value should correspond to one of the possible values in
* ErrorType. * `issueId` (string): the id an error was assigned to. The value
* should correspond to the `{issue}` component of the issue name. *
* `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB,
* etc.). * `deviceSocMake` (string): Make of the device's primary system-on-
* chip, e.g., Samsung. [Reference](https://developer.android.com/reference/an
* droid/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the
* device's primary system-on-chip, e.g., "Exynos 2100". [Reference](https://d
* eveloper.android.com/reference/android/os/Build#SOC_MODEL) *
* `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. *
* `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo 240". *
* `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. *
* `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. *
* `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. *
* `deviceVulkanVersion` (string): Vulkan version of the device, e.g.,
* "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the device,
* e.g., "196610". * `deviceScreenSize` (string): Screen size of the device,
* e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the
* device, e.g., mdpi, hdpi.
*
* @param string[] $dimensions
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return string[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* Optional. Filters to apply to data. The filtering expression follows
* [AIP-160](https://google.aip.dev/160) standard and supports filtering by
* equality of all breakdown dimensions and: * `isUserPerceived` (string):
* denotes whether error is user perceived or not, USER_PERCEIVED or
* NOT_USER_PERCEIVED.
*
* @param string $filter
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* Optional. Metrics to aggregate. **Supported metrics:** * `errorReportCount`
* (`google.type.Decimal`): Absolute count of individual error reports that
* have been received for an app. * `distinctUsers` (`google.type.Decimal`):
* Count of distinct users for which reports have been received. Care must be
* taken not to aggregate this count further, as it may result in users being
* counted multiple times. This value is not rounded, however it may be an
* approximation.
*
* @param string[] $metrics
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return string[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* Optional. Maximum size of the returned data. If unspecified, at most 1000
* rows will be returned. The maximum value is 100000; values above 100000
* will be coerced to 100000.
*
* @param int $pageSize
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* Optional. A page token, received from a previous call. Provide this to
* retrieve the subsequent page. When paginating, all other parameters
* provided to the request must match the call that provided the page token.
*
* @param string $pageToken
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* Optional. Specification of the timeline aggregation parameters. **Supported
* aggregation periods:** * DAILY: metrics are aggregated in calendar date
* intervals. The default and only supported timezone is
* `America/Los_Angeles`.
*
* @param GooglePlayDeveloperReportingV1beta1TimelineSpec $timelineSpec
*/
public function setTimelineSpec(GooglePlayDeveloperReportingV1beta1TimelineSpec $timelineSpec)
{
$this->timelineSpec = $timelineSpec;
}
/**
* @return GooglePlayDeveloperReportingV1beta1TimelineSpec
*/
public function getTimelineSpec()
{
return $this->timelineSpec;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest');
@@ -0,0 +1,67 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse extends \Google\Collection
{
protected $collection_key = 'rows';
/**
* Continuation token to fetch the next page of data.
*
* @var string
*/
public $nextPageToken;
protected $rowsType = GooglePlayDeveloperReportingV1beta1MetricsRow::class;
protected $rowsDataType = 'array';
/**
* Continuation token to fetch the next page of data.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Returned rows.
*
* @param GooglePlayDeveloperReportingV1beta1MetricsRow[] $rows
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return GooglePlayDeveloperReportingV1beta1MetricsRow[]
*/
public function getRows()
{
return $this->rows;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse');
@@ -0,0 +1,299 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest extends \Google\Collection
{
/**
* Unspecified User cohort. This will automatically choose the default value.
*/
public const USER_COHORT_USER_COHORT_UNSPECIFIED = 'USER_COHORT_UNSPECIFIED';
/**
* This is default view. Contains data from public released android versions
* only.
*/
public const USER_COHORT_OS_PUBLIC = 'OS_PUBLIC';
/**
* This is the view with just android beta data excluding released OS version
* data.
*/
public const USER_COHORT_OS_BETA = 'OS_BETA';
/**
* This is the view with data only from users who have opted in to be testers
* for a given app, excluding OS beta data.
*/
public const USER_COHORT_APP_TESTERS = 'APP_TESTERS';
protected $collection_key = 'metrics';
/**
* Optional. Dimensions to slice the data by. **Supported dimensions:** *
* `apiLevel` (string): the API level of Android that was running on the
* user's device, e.g., 26. * `versionCode` (int64): version of the app that
* was running on the user's device. * `deviceModel` (string): unique
* identifier of the user's device model. The form of the identifier is
* 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and
* device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand`
* (string): unique identifier of the user's device brand, e.g., google. *
* `deviceType` (string): the type (also known as form factor) of the user's
* device, e.g., PHONE. * `countryCode` (string): the country or region of the
* user's device based on their IP address, represented as a 2-letter ISO-3166
* code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of
* the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string):
* Make of the device's primary system-on-chip, e.g., Samsung. [Reference](htt
* ps://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) *
* `deviceSocModel` (string): Model of the device's primary system-on-chip,
* e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/an
* droid/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's
* CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's
* CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the device's
* GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU,
* e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU,
* e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device,
* e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the
* device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the
* device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density
* of the device, e.g., mdpi, hdpi.
*
* @var string[]
*/
public $dimensions;
/**
* Optional. Filters to apply to data. The filtering expression follows
* [AIP-160](https://google.aip.dev/160) standard and supports filtering by
* equality of all breakdown dimensions.
*
* @var string
*/
public $filter;
/**
* Optional. Metrics to aggregate. **Supported metrics:** *
* `excessiveWakeupRate` (`google.type.Decimal`): Percentage of distinct users
* in the aggregation period that had more than 10 wakeups per hour. *
* `excessiveWakeupRate7dUserWeighted` (`google.type.Decimal`): Rolling
* average value of `excessiveWakeupRate` in the last 7 days. The daily values
* are weighted by the count of distinct users for the day. *
* `excessiveWakeupRate28dUserWeighted` (`google.type.Decimal`): Rolling
* average value of `excessiveWakeupRate` in the last 28 days. The daily
* values are weighted by the count of distinct users for the day. *
* `distinctUsers` (`google.type.Decimal`): Count of distinct users in the
* aggregation period that were used as normalization value for the
* `excessiveWakeupRate` metric. A user is counted in this metric if they app
* was doing any work on the device, i.e., not just active foreground usage
* but also background work. Care must be taken not to aggregate this count
* further, as it may result in users being counted multiple times. The value
* is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000,
* depending on the magnitude of the value.
*
* @var string[]
*/
public $metrics;
/**
* Optional. Maximum size of the returned data. If unspecified, at most 1000
* rows will be returned. The maximum value is 100000; values above 100000
* will be coerced to 100000.
*
* @var int
*/
public $pageSize;
/**
* Optional. A page token, received from a previous call. Provide this to
* retrieve the subsequent page. When paginating, all other parameters
* provided to the request must match the call that provided the page token.
*
* @var string
*/
public $pageToken;
protected $timelineSpecType = GooglePlayDeveloperReportingV1beta1TimelineSpec::class;
protected $timelineSpecDataType = '';
/**
* Optional. User view to select. The output data will correspond to the
* selected view. The only supported value is `OS_PUBLIC`.
*
* @var string
*/
public $userCohort;
/**
* Optional. Dimensions to slice the data by. **Supported dimensions:** *
* `apiLevel` (string): the API level of Android that was running on the
* user's device, e.g., 26. * `versionCode` (int64): version of the app that
* was running on the user's device. * `deviceModel` (string): unique
* identifier of the user's device model. The form of the identifier is
* 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and
* device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand`
* (string): unique identifier of the user's device brand, e.g., google. *
* `deviceType` (string): the type (also known as form factor) of the user's
* device, e.g., PHONE. * `countryCode` (string): the country or region of the
* user's device based on their IP address, represented as a 2-letter ISO-3166
* code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of
* the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string):
* Make of the device's primary system-on-chip, e.g., Samsung. [Reference](htt
* ps://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) *
* `deviceSocModel` (string): Model of the device's primary system-on-chip,
* e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/an
* droid/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's
* CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's
* CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the device's
* GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU,
* e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU,
* e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device,
* e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the
* device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the
* device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density
* of the device, e.g., mdpi, hdpi.
*
* @param string[] $dimensions
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return string[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* Optional. Filters to apply to data. The filtering expression follows
* [AIP-160](https://google.aip.dev/160) standard and supports filtering by
* equality of all breakdown dimensions.
*
* @param string $filter
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* Optional. Metrics to aggregate. **Supported metrics:** *
* `excessiveWakeupRate` (`google.type.Decimal`): Percentage of distinct users
* in the aggregation period that had more than 10 wakeups per hour. *
* `excessiveWakeupRate7dUserWeighted` (`google.type.Decimal`): Rolling
* average value of `excessiveWakeupRate` in the last 7 days. The daily values
* are weighted by the count of distinct users for the day. *
* `excessiveWakeupRate28dUserWeighted` (`google.type.Decimal`): Rolling
* average value of `excessiveWakeupRate` in the last 28 days. The daily
* values are weighted by the count of distinct users for the day. *
* `distinctUsers` (`google.type.Decimal`): Count of distinct users in the
* aggregation period that were used as normalization value for the
* `excessiveWakeupRate` metric. A user is counted in this metric if they app
* was doing any work on the device, i.e., not just active foreground usage
* but also background work. Care must be taken not to aggregate this count
* further, as it may result in users being counted multiple times. The value
* is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000,
* depending on the magnitude of the value.
*
* @param string[] $metrics
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return string[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* Optional. Maximum size of the returned data. If unspecified, at most 1000
* rows will be returned. The maximum value is 100000; values above 100000
* will be coerced to 100000.
*
* @param int $pageSize
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* Optional. A page token, received from a previous call. Provide this to
* retrieve the subsequent page. When paginating, all other parameters
* provided to the request must match the call that provided the page token.
*
* @param string $pageToken
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* Optional. Specification of the timeline aggregation parameters. **Supported
* aggregation periods:** * DAILY: metrics are aggregated in calendar date
* intervals. Due to historical constraints, the only supported timezone is
* `America/Los_Angeles`.
*
* @param GooglePlayDeveloperReportingV1beta1TimelineSpec $timelineSpec
*/
public function setTimelineSpec(GooglePlayDeveloperReportingV1beta1TimelineSpec $timelineSpec)
{
$this->timelineSpec = $timelineSpec;
}
/**
* @return GooglePlayDeveloperReportingV1beta1TimelineSpec
*/
public function getTimelineSpec()
{
return $this->timelineSpec;
}
/**
* Optional. User view to select. The output data will correspond to the
* selected view. The only supported value is `OS_PUBLIC`.
*
* Accepted values: USER_COHORT_UNSPECIFIED, OS_PUBLIC, OS_BETA, APP_TESTERS
*
* @param self::USER_COHORT_* $userCohort
*/
public function setUserCohort($userCohort)
{
$this->userCohort = $userCohort;
}
/**
* @return self::USER_COHORT_*
*/
public function getUserCohort()
{
return $this->userCohort;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest');
@@ -0,0 +1,67 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse extends \Google\Collection
{
protected $collection_key = 'rows';
/**
* Continuation token to fetch the next page of data.
*
* @var string
*/
public $nextPageToken;
protected $rowsType = GooglePlayDeveloperReportingV1beta1MetricsRow::class;
protected $rowsDataType = 'array';
/**
* Continuation token to fetch the next page of data.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Returned rows of data.
*
* @param GooglePlayDeveloperReportingV1beta1MetricsRow[] $rows
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return GooglePlayDeveloperReportingV1beta1MetricsRow[]
*/
public function getRows()
{
return $this->rows;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse');
@@ -0,0 +1,317 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetRequest extends \Google\Collection
{
/**
* Unspecified User cohort. This will automatically choose the default value.
*/
public const USER_COHORT_USER_COHORT_UNSPECIFIED = 'USER_COHORT_UNSPECIFIED';
/**
* This is default view. Contains data from public released android versions
* only.
*/
public const USER_COHORT_OS_PUBLIC = 'OS_PUBLIC';
/**
* This is the view with just android beta data excluding released OS version
* data.
*/
public const USER_COHORT_OS_BETA = 'OS_BETA';
/**
* This is the view with data only from users who have opted in to be testers
* for a given app, excluding OS beta data.
*/
public const USER_COHORT_APP_TESTERS = 'APP_TESTERS';
protected $collection_key = 'metrics';
/**
* Optional. Dimensions to slice the metrics by. **Supported dimensions:** *
* `apiLevel` (string): the API level of Android that was running on the
* user's device, e.g., 26. * `versionCode` (int64): version of the app that
* was running on the user's device. * `deviceModel` (string): unique
* identifier of the user's device model. The form of the identifier is
* 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and
* device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand`
* (string): unique identifier of the user's device brand, e.g., google. *
* `deviceType` (string): the type (also known as form factor) of the user's
* device, e.g., PHONE. * `countryCode` (string): the country or region of the
* user's device based on their IP address, represented as a 2-letter ISO-3166
* code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of
* the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string):
* Make of the device's primary system-on-chip, e.g., Samsung. [Reference](htt
* ps://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) *
* `deviceSocModel` (string): Model of the device's primary system-on-chip,
* e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/an
* droid/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's
* CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's
* CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the device's
* GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU,
* e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU,
* e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device,
* e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the
* device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the
* device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density
* of the device, e.g., mdpi, hdpi.
*
* @var string[]
*/
public $dimensions;
/**
* Optional. Filters to apply to data. The filtering expression follows
* [AIP-160](https://google.aip.dev/160) standard and supports filtering by
* equality of all breakdown dimensions.
*
* @var string
*/
public $filter;
/**
* Optional. Metrics to aggregate. **Supported metrics:** *
* `userPerceivedLmkRate` (`google.type.Decimal`): Percentage of distinct
* users in the aggregation period that experienced at least one LMK while
* they were actively using your app (a user-perceived LMK). An app is
* considered to be in active use if it is displaying any activity or
* executing any foreground service. * `userPerceivedLmkRate7dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `userPerceivedLmkRate` in
* the last 7 days. The daily values are weighted by the count of distinct
* users for the day. * `userPerceivedLmkRate28dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `userPerceivedLmkRate` in
* the last 28 days. The daily values are weighted by the count of distinct
* users for the day. * `distinctUsers` (`google.type.Decimal`): Count of
* distinct users in the aggregation period that were used as normalization
* value for the `userPerceivedLmkRate` metrics. A user is counted in this
* metric if they used the app in the foreground during the aggregation
* period. Care must be taken not to aggregate this count further, as it may
* result in users being counted multiple times. The value is rounded to the
* nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude
* of the value.
*
* @var string[]
*/
public $metrics;
/**
* Optional. Maximum size of the returned data. If unspecified, at most 1000
* rows will be returned. The maximum value is 100,000; values above 100,000
* will be coerced to 100,000.
*
* @var int
*/
public $pageSize;
/**
* Optional. A page token, received from a previous call. Provide this to
* retrieve the subsequent page. When paginating, all other parameters
* provided to the request must match the call that provided the page token.
*
* @var string
*/
public $pageToken;
protected $timelineSpecType = GooglePlayDeveloperReportingV1beta1TimelineSpec::class;
protected $timelineSpecDataType = '';
/**
* Optional. User view to select. The output data will correspond to the
* selected view. **Supported values:** * `OS_PUBLIC` To select data from all
* publicly released Android versions. This is the default. Supports all the
* above dimensions. * `APP_TESTERS` To select data from users who have opted
* in to be testers. Supports all the above dimensions. * `OS_BETA` To select
* data from beta android versions only, excluding data from released android
* versions. Only the following dimensions are supported: * `versionCode`
* (int64): version of the app that was running on the user's device. *
* `osBuild` (string): OS build of the user's device, e.g., "T1B2.220916.004".
*
* @var string
*/
public $userCohort;
/**
* Optional. Dimensions to slice the metrics by. **Supported dimensions:** *
* `apiLevel` (string): the API level of Android that was running on the
* user's device, e.g., 26. * `versionCode` (int64): version of the app that
* was running on the user's device. * `deviceModel` (string): unique
* identifier of the user's device model. The form of the identifier is
* 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and
* device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand`
* (string): unique identifier of the user's device brand, e.g., google. *
* `deviceType` (string): the type (also known as form factor) of the user's
* device, e.g., PHONE. * `countryCode` (string): the country or region of the
* user's device based on their IP address, represented as a 2-letter ISO-3166
* code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of
* the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string):
* Make of the device's primary system-on-chip, e.g., Samsung. [Reference](htt
* ps://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) *
* `deviceSocModel` (string): Model of the device's primary system-on-chip,
* e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/an
* droid/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's
* CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's
* CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the device's
* GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU,
* e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU,
* e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device,
* e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the
* device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the
* device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density
* of the device, e.g., mdpi, hdpi.
*
* @param string[] $dimensions
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return string[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* Optional. Filters to apply to data. The filtering expression follows
* [AIP-160](https://google.aip.dev/160) standard and supports filtering by
* equality of all breakdown dimensions.
*
* @param string $filter
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* Optional. Metrics to aggregate. **Supported metrics:** *
* `userPerceivedLmkRate` (`google.type.Decimal`): Percentage of distinct
* users in the aggregation period that experienced at least one LMK while
* they were actively using your app (a user-perceived LMK). An app is
* considered to be in active use if it is displaying any activity or
* executing any foreground service. * `userPerceivedLmkRate7dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `userPerceivedLmkRate` in
* the last 7 days. The daily values are weighted by the count of distinct
* users for the day. * `userPerceivedLmkRate28dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `userPerceivedLmkRate` in
* the last 28 days. The daily values are weighted by the count of distinct
* users for the day. * `distinctUsers` (`google.type.Decimal`): Count of
* distinct users in the aggregation period that were used as normalization
* value for the `userPerceivedLmkRate` metrics. A user is counted in this
* metric if they used the app in the foreground during the aggregation
* period. Care must be taken not to aggregate this count further, as it may
* result in users being counted multiple times. The value is rounded to the
* nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude
* of the value.
*
* @param string[] $metrics
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return string[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* Optional. Maximum size of the returned data. If unspecified, at most 1000
* rows will be returned. The maximum value is 100,000; values above 100,000
* will be coerced to 100,000.
*
* @param int $pageSize
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* Optional. A page token, received from a previous call. Provide this to
* retrieve the subsequent page. When paginating, all other parameters
* provided to the request must match the call that provided the page token.
*
* @param string $pageToken
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* Optional. Specification of the timeline aggregation parameters. **Supported
* aggregation periods:** * DAILY: metrics are aggregated in calendar date
* intervals. Due to historical constraints, the default and only supported
* timezone is `America/Los_Angeles`.
*
* @param GooglePlayDeveloperReportingV1beta1TimelineSpec $timelineSpec
*/
public function setTimelineSpec(GooglePlayDeveloperReportingV1beta1TimelineSpec $timelineSpec)
{
$this->timelineSpec = $timelineSpec;
}
/**
* @return GooglePlayDeveloperReportingV1beta1TimelineSpec
*/
public function getTimelineSpec()
{
return $this->timelineSpec;
}
/**
* Optional. User view to select. The output data will correspond to the
* selected view. **Supported values:** * `OS_PUBLIC` To select data from all
* publicly released Android versions. This is the default. Supports all the
* above dimensions. * `APP_TESTERS` To select data from users who have opted
* in to be testers. Supports all the above dimensions. * `OS_BETA` To select
* data from beta android versions only, excluding data from released android
* versions. Only the following dimensions are supported: * `versionCode`
* (int64): version of the app that was running on the user's device. *
* `osBuild` (string): OS build of the user's device, e.g., "T1B2.220916.004".
*
* Accepted values: USER_COHORT_UNSPECIFIED, OS_PUBLIC, OS_BETA, APP_TESTERS
*
* @param self::USER_COHORT_* $userCohort
*/
public function setUserCohort($userCohort)
{
$this->userCohort = $userCohort;
}
/**
* @return self::USER_COHORT_*
*/
public function getUserCohort()
{
return $this->userCohort;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetRequest::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetRequest');
@@ -0,0 +1,67 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetResponse extends \Google\Collection
{
protected $collection_key = 'rows';
/**
* Continuation token to fetch the next page of data.
*
* @var string
*/
public $nextPageToken;
protected $rowsType = GooglePlayDeveloperReportingV1beta1MetricsRow::class;
protected $rowsDataType = 'array';
/**
* Continuation token to fetch the next page of data.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Returned rows of data.
*
* @param GooglePlayDeveloperReportingV1beta1MetricsRow[] $rows
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return GooglePlayDeveloperReportingV1beta1MetricsRow[]
*/
public function getRows()
{
return $this->rows;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetResponse::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetResponse');
@@ -0,0 +1,313 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest extends \Google\Collection
{
/**
* Unspecified User cohort. This will automatically choose the default value.
*/
public const USER_COHORT_USER_COHORT_UNSPECIFIED = 'USER_COHORT_UNSPECIFIED';
/**
* This is default view. Contains data from public released android versions
* only.
*/
public const USER_COHORT_OS_PUBLIC = 'OS_PUBLIC';
/**
* This is the view with just android beta data excluding released OS version
* data.
*/
public const USER_COHORT_OS_BETA = 'OS_BETA';
/**
* This is the view with data only from users who have opted in to be testers
* for a given app, excluding OS beta data.
*/
public const USER_COHORT_APP_TESTERS = 'APP_TESTERS';
protected $collection_key = 'metrics';
/**
* Optional. Dimensions to slice the data by. **Supported dimensions:** *
* `apiLevel` (string): the API level of Android that was running on the
* user's device, e.g., 26. * `versionCode` (int64): version of the app that
* was running on the user's device. * `deviceModel` (string): unique
* identifier of the user's device model. The form of the identifier is
* 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and
* device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand`
* (string): unique identifier of the user's device brand, e.g., google. *
* `deviceType` (string): the type (also known as form factor) of the user's
* device, e.g., PHONE. * `countryCode` (string): the country or region of the
* user's device based on their IP address, represented as a 2-letter ISO-3166
* code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of
* the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string):
* Make of the device's primary system-on-chip, e.g., Samsung. [Reference](htt
* ps://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) *
* `deviceSocModel` (string): Model of the device's primary system-on-chip,
* e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/an
* droid/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's
* CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's
* CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the device's
* GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU,
* e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU,
* e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device,
* e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the
* device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the
* device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density
* of the device, e.g., mdpi, hdpi.
*
* @var string[]
*/
public $dimensions;
/**
* Optional. Filters to apply to data. The filtering expression follows
* [AIP-160](https://google.aip.dev/160) standard and supports filtering by
* equality of all breakdown dimensions.
*
* @var string
*/
public $filter;
/**
* Optional. Metrics to aggregate. **Supported metrics:** *
* `slowRenderingRate20Fps` (`google.type.Decimal`): Percentage of distinct
* users in the aggregation period that had a slow rendering. *
* `slowRenderingRate20Fps7dUserWeighted` (`google.type.Decimal`): Rolling
* average value of `slowRenderingRate20Fps` in the last 7 days. The daily
* values are weighted by the count of distinct users for the day. *
* `slowRenderingRate20Fps28dUserWeighted` (`google.type.Decimal`): Rolling
* average value of `slowRenderingRate20Fps` in the last 28 days. The daily
* values are weighted by the count of distinct users for the day. *
* `slowRenderingRate30Fps` (`google.type.Decimal`): Percentage of distinct
* users in the aggregation period that had a slow rendering. *
* `slowRenderingRate30Fps7dUserWeighted` (`google.type.Decimal`): Rolling
* average value of `slowRenderingRate30Fps` in the last 7 days. The daily
* values are weighted by the count of distinct users for the day. *
* `slowRenderingRate30Fps28dUserWeighted` (`google.type.Decimal`): Rolling
* average value of `slowRenderingRate30Fps` in the last 28 days. The daily
* values are weighted by the count of distinct users for the day. *
* `distinctUsers` (`google.type.Decimal`): Count of distinct users in the
* aggregation period that were used as normalization value for the
* `slowRenderingRate20Fps`/`slowRenderingRate30Fps` metric. A user is counted
* in this metric if their app was launched in the device. Care must be taken
* not to aggregate this count further, as it may result in users being
* counted multiple times. The value is rounded to the nearest multiple of 10,
* 100, 1,000 or 1,000,000, depending on the magnitude of the value.
*
* @var string[]
*/
public $metrics;
/**
* Optional. Maximum size of the returned data. If unspecified, at most 1000
* rows will be returned. The maximum value is 100000; values above 100000
* will be coerced to 100000.
*
* @var int
*/
public $pageSize;
/**
* Optional. A page token, received from a previous call. Provide this to
* retrieve the subsequent page. When paginating, all other parameters
* provided to the request must match the call that provided the page token.
*
* @var string
*/
public $pageToken;
protected $timelineSpecType = GooglePlayDeveloperReportingV1beta1TimelineSpec::class;
protected $timelineSpecDataType = '';
/**
* Optional. User view to select. The output data will correspond to the
* selected view. The only supported value is `OS_PUBLIC`.
*
* @var string
*/
public $userCohort;
/**
* Optional. Dimensions to slice the data by. **Supported dimensions:** *
* `apiLevel` (string): the API level of Android that was running on the
* user's device, e.g., 26. * `versionCode` (int64): version of the app that
* was running on the user's device. * `deviceModel` (string): unique
* identifier of the user's device model. The form of the identifier is
* 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and
* device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand`
* (string): unique identifier of the user's device brand, e.g., google. *
* `deviceType` (string): the type (also known as form factor) of the user's
* device, e.g., PHONE. * `countryCode` (string): the country or region of the
* user's device based on their IP address, represented as a 2-letter ISO-3166
* code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of
* the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string):
* Make of the device's primary system-on-chip, e.g., Samsung. [Reference](htt
* ps://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) *
* `deviceSocModel` (string): Model of the device's primary system-on-chip,
* e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/an
* droid/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's
* CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's
* CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the device's
* GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU,
* e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU,
* e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device,
* e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the
* device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the
* device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density
* of the device, e.g., mdpi, hdpi.
*
* @param string[] $dimensions
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return string[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* Optional. Filters to apply to data. The filtering expression follows
* [AIP-160](https://google.aip.dev/160) standard and supports filtering by
* equality of all breakdown dimensions.
*
* @param string $filter
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* Optional. Metrics to aggregate. **Supported metrics:** *
* `slowRenderingRate20Fps` (`google.type.Decimal`): Percentage of distinct
* users in the aggregation period that had a slow rendering. *
* `slowRenderingRate20Fps7dUserWeighted` (`google.type.Decimal`): Rolling
* average value of `slowRenderingRate20Fps` in the last 7 days. The daily
* values are weighted by the count of distinct users for the day. *
* `slowRenderingRate20Fps28dUserWeighted` (`google.type.Decimal`): Rolling
* average value of `slowRenderingRate20Fps` in the last 28 days. The daily
* values are weighted by the count of distinct users for the day. *
* `slowRenderingRate30Fps` (`google.type.Decimal`): Percentage of distinct
* users in the aggregation period that had a slow rendering. *
* `slowRenderingRate30Fps7dUserWeighted` (`google.type.Decimal`): Rolling
* average value of `slowRenderingRate30Fps` in the last 7 days. The daily
* values are weighted by the count of distinct users for the day. *
* `slowRenderingRate30Fps28dUserWeighted` (`google.type.Decimal`): Rolling
* average value of `slowRenderingRate30Fps` in the last 28 days. The daily
* values are weighted by the count of distinct users for the day. *
* `distinctUsers` (`google.type.Decimal`): Count of distinct users in the
* aggregation period that were used as normalization value for the
* `slowRenderingRate20Fps`/`slowRenderingRate30Fps` metric. A user is counted
* in this metric if their app was launched in the device. Care must be taken
* not to aggregate this count further, as it may result in users being
* counted multiple times. The value is rounded to the nearest multiple of 10,
* 100, 1,000 or 1,000,000, depending on the magnitude of the value.
*
* @param string[] $metrics
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return string[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* Optional. Maximum size of the returned data. If unspecified, at most 1000
* rows will be returned. The maximum value is 100000; values above 100000
* will be coerced to 100000.
*
* @param int $pageSize
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* Optional. A page token, received from a previous call. Provide this to
* retrieve the subsequent page. When paginating, all other parameters
* provided to the request must match the call that provided the page token.
*
* @param string $pageToken
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* Optional. Specification of the timeline aggregation parameters. **Supported
* aggregation periods:** * DAILY: metrics are aggregated in calendar date
* intervals. Due to historical constraints, the only supported timezone is
* `America/Los_Angeles`.
*
* @param GooglePlayDeveloperReportingV1beta1TimelineSpec $timelineSpec
*/
public function setTimelineSpec(GooglePlayDeveloperReportingV1beta1TimelineSpec $timelineSpec)
{
$this->timelineSpec = $timelineSpec;
}
/**
* @return GooglePlayDeveloperReportingV1beta1TimelineSpec
*/
public function getTimelineSpec()
{
return $this->timelineSpec;
}
/**
* Optional. User view to select. The output data will correspond to the
* selected view. The only supported value is `OS_PUBLIC`.
*
* Accepted values: USER_COHORT_UNSPECIFIED, OS_PUBLIC, OS_BETA, APP_TESTERS
*
* @param self::USER_COHORT_* $userCohort
*/
public function setUserCohort($userCohort)
{
$this->userCohort = $userCohort;
}
/**
* @return self::USER_COHORT_*
*/
public function getUserCohort()
{
return $this->userCohort;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest');
@@ -0,0 +1,67 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse extends \Google\Collection
{
protected $collection_key = 'rows';
/**
* Continuation token to fetch the next page of data.
*
* @var string
*/
public $nextPageToken;
protected $rowsType = GooglePlayDeveloperReportingV1beta1MetricsRow::class;
protected $rowsDataType = 'array';
/**
* Continuation token to fetch the next page of data.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Returned rows of data.
*
* @param GooglePlayDeveloperReportingV1beta1MetricsRow[] $rows
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return GooglePlayDeveloperReportingV1beta1MetricsRow[]
*/
public function getRows()
{
return $this->rows;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse');
@@ -0,0 +1,295 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest extends \Google\Collection
{
/**
* Unspecified User cohort. This will automatically choose the default value.
*/
public const USER_COHORT_USER_COHORT_UNSPECIFIED = 'USER_COHORT_UNSPECIFIED';
/**
* This is default view. Contains data from public released android versions
* only.
*/
public const USER_COHORT_OS_PUBLIC = 'OS_PUBLIC';
/**
* This is the view with just android beta data excluding released OS version
* data.
*/
public const USER_COHORT_OS_BETA = 'OS_BETA';
/**
* This is the view with data only from users who have opted in to be testers
* for a given app, excluding OS beta data.
*/
public const USER_COHORT_APP_TESTERS = 'APP_TESTERS';
protected $collection_key = 'metrics';
/**
* Optional. Dimensions to slice the data by. **Supported dimensions:** *
* `apiLevel` (string): the API level of Android that was running on the
* user's device, e.g., 26. * `versionCode` (int64): version of the app that
* was running on the user's device. * `deviceModel` (string): unique
* identifier of the user's device model. The form of the identifier is
* 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and
* device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand`
* (string): unique identifier of the user's device brand, e.g., google. *
* `deviceType` (string): the type (also known as form factor) of the user's
* device, e.g., PHONE. * `countryCode` (string): the country or region of the
* user's device based on their IP address, represented as a 2-letter ISO-3166
* code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of
* the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string):
* Make of the device's primary system-on-chip, e.g., Samsung. [Reference](htt
* ps://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) *
* `deviceSocModel` (string): Model of the device's primary system-on-chip,
* e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/an
* droid/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's
* CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's
* CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the device's
* GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU,
* e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU,
* e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device,
* e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the
* device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the
* device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density
* of the device, e.g., mdpi, hdpi.
*
* @var string[]
*/
public $dimensions;
/**
* Optional. Filters to apply to data. The filtering expression follows
* [AIP-160](https://google.aip.dev/160) standard and supports filtering by
* equality of all breakdown dimensions.
*
* @var string
*/
public $filter;
/**
* Optional. Metrics to aggregate. **Supported metrics:** * `slowStartRate`
* (`google.type.Decimal`): Percentage of distinct users in the aggregation
* period that had a slow start. * `slowStartRate7dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `slowStartRate` in the
* last 7 days. The daily values are weighted by the count of distinct users
* for the day. * `slowStartRate28dUserWeighted` (`google.type.Decimal`):
* Rolling average value of `slowStartRate` in the last 28 days. The daily
* values are weighted by the count of distinct users for the day. *
* `distinctUsers` (`google.type.Decimal`): Count of distinct users in the
* aggregation period that were used as normalization value for the
* `slowStartRate` metric. A user is counted in this metric if their app was
* launched in the device. Care must be taken not to aggregate this count
* further, as it may result in users being counted multiple times. The value
* is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000,
* depending on the magnitude of the value.
*
* @var string[]
*/
public $metrics;
/**
* Optional. Maximum size of the returned data. If unspecified, at most 1000
* rows will be returned. The maximum value is 100000; values above 100000
* will be coerced to 100000.
*
* @var int
*/
public $pageSize;
/**
* Optional. A page token, received from a previous call. Provide this to
* retrieve the subsequent page. When paginating, all other parameters
* provided to the request must match the call that provided the page token.
*
* @var string
*/
public $pageToken;
protected $timelineSpecType = GooglePlayDeveloperReportingV1beta1TimelineSpec::class;
protected $timelineSpecDataType = '';
/**
* Optional. User view to select. The output data will correspond to the
* selected view. The only supported value is `OS_PUBLIC`.
*
* @var string
*/
public $userCohort;
/**
* Optional. Dimensions to slice the data by. **Supported dimensions:** *
* `apiLevel` (string): the API level of Android that was running on the
* user's device, e.g., 26. * `versionCode` (int64): version of the app that
* was running on the user's device. * `deviceModel` (string): unique
* identifier of the user's device model. The form of the identifier is
* 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and
* device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand`
* (string): unique identifier of the user's device brand, e.g., google. *
* `deviceType` (string): the type (also known as form factor) of the user's
* device, e.g., PHONE. * `countryCode` (string): the country or region of the
* user's device based on their IP address, represented as a 2-letter ISO-3166
* code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of
* the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string):
* Make of the device's primary system-on-chip, e.g., Samsung. [Reference](htt
* ps://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) *
* `deviceSocModel` (string): Model of the device's primary system-on-chip,
* e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/an
* droid/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's
* CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's
* CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the device's
* GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU,
* e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU,
* e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device,
* e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the
* device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the
* device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density
* of the device, e.g., mdpi, hdpi.
*
* @param string[] $dimensions
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return string[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* Optional. Filters to apply to data. The filtering expression follows
* [AIP-160](https://google.aip.dev/160) standard and supports filtering by
* equality of all breakdown dimensions.
*
* @param string $filter
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* Optional. Metrics to aggregate. **Supported metrics:** * `slowStartRate`
* (`google.type.Decimal`): Percentage of distinct users in the aggregation
* period that had a slow start. * `slowStartRate7dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `slowStartRate` in the
* last 7 days. The daily values are weighted by the count of distinct users
* for the day. * `slowStartRate28dUserWeighted` (`google.type.Decimal`):
* Rolling average value of `slowStartRate` in the last 28 days. The daily
* values are weighted by the count of distinct users for the day. *
* `distinctUsers` (`google.type.Decimal`): Count of distinct users in the
* aggregation period that were used as normalization value for the
* `slowStartRate` metric. A user is counted in this metric if their app was
* launched in the device. Care must be taken not to aggregate this count
* further, as it may result in users being counted multiple times. The value
* is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000,
* depending on the magnitude of the value.
*
* @param string[] $metrics
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return string[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* Optional. Maximum size of the returned data. If unspecified, at most 1000
* rows will be returned. The maximum value is 100000; values above 100000
* will be coerced to 100000.
*
* @param int $pageSize
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* Optional. A page token, received from a previous call. Provide this to
* retrieve the subsequent page. When paginating, all other parameters
* provided to the request must match the call that provided the page token.
*
* @param string $pageToken
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* Optional. Specification of the timeline aggregation parameters. **Supported
* aggregation periods:** * DAILY: metrics are aggregated in calendar date
* intervals. Due to historical constraints, the only supported timezone is
* `America/Los_Angeles`.
*
* @param GooglePlayDeveloperReportingV1beta1TimelineSpec $timelineSpec
*/
public function setTimelineSpec(GooglePlayDeveloperReportingV1beta1TimelineSpec $timelineSpec)
{
$this->timelineSpec = $timelineSpec;
}
/**
* @return GooglePlayDeveloperReportingV1beta1TimelineSpec
*/
public function getTimelineSpec()
{
return $this->timelineSpec;
}
/**
* Optional. User view to select. The output data will correspond to the
* selected view. The only supported value is `OS_PUBLIC`.
*
* Accepted values: USER_COHORT_UNSPECIFIED, OS_PUBLIC, OS_BETA, APP_TESTERS
*
* @param self::USER_COHORT_* $userCohort
*/
public function setUserCohort($userCohort)
{
$this->userCohort = $userCohort;
}
/**
* @return self::USER_COHORT_*
*/
public function getUserCohort()
{
return $this->userCohort;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest');
@@ -0,0 +1,67 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse extends \Google\Collection
{
protected $collection_key = 'rows';
/**
* Continuation token to fetch the next page of data.
*
* @var string
*/
public $nextPageToken;
protected $rowsType = GooglePlayDeveloperReportingV1beta1MetricsRow::class;
protected $rowsDataType = 'array';
/**
* Continuation token to fetch the next page of data.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Returned rows of data.
*
* @param GooglePlayDeveloperReportingV1beta1MetricsRow[] $rows
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return GooglePlayDeveloperReportingV1beta1MetricsRow[]
*/
public function getRows()
{
return $this->rows;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse');
@@ -0,0 +1,299 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest extends \Google\Collection
{
/**
* Unspecified User cohort. This will automatically choose the default value.
*/
public const USER_COHORT_USER_COHORT_UNSPECIFIED = 'USER_COHORT_UNSPECIFIED';
/**
* This is default view. Contains data from public released android versions
* only.
*/
public const USER_COHORT_OS_PUBLIC = 'OS_PUBLIC';
/**
* This is the view with just android beta data excluding released OS version
* data.
*/
public const USER_COHORT_OS_BETA = 'OS_BETA';
/**
* This is the view with data only from users who have opted in to be testers
* for a given app, excluding OS beta data.
*/
public const USER_COHORT_APP_TESTERS = 'APP_TESTERS';
protected $collection_key = 'metrics';
/**
* Optional. Dimensions to slice the data by. **Supported dimensions:** *
* `apiLevel` (string): the API level of Android that was running on the
* user's device, e.g., 26. * `versionCode` (int64): version of the app that
* was running on the user's device. * `deviceModel` (string): unique
* identifier of the user's device model. The form of the identifier is
* 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and
* device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand`
* (string): unique identifier of the user's device brand, e.g., google. *
* `deviceType` (string): the type (also known as form factor) of the user's
* device, e.g., PHONE. * `countryCode` (string): the country or region of the
* user's device based on their IP address, represented as a 2-letter ISO-3166
* code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of
* the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string):
* Make of the device's primary system-on-chip, e.g., Samsung. [Reference](htt
* ps://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) *
* `deviceSocModel` (string): Model of the device's primary system-on-chip,
* e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/an
* droid/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's
* CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's
* CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the device's
* GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU,
* e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU,
* e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device,
* e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the
* device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the
* device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density
* of the device, e.g., mdpi, hdpi.
*
* @var string[]
*/
public $dimensions;
/**
* Optional. Filters to apply to data. The filtering expression follows
* [AIP-160](https://google.aip.dev/160) standard and supports filtering by
* equality of all breakdown dimensions.
*
* @var string
*/
public $filter;
/**
* Optional. Metrics to aggregate. **Supported metrics:** *
* `stuckBgWakelockRate` (`google.type.Decimal`): Percentage of distinct users
* in the aggregation period that had a wakelock held in the background for
* longer than 1 hour. * `stuckBgWakelockRate7dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in
* the last 7 days. The daily values are weighted by the count of distinct
* users for the day. * `stuckBgWakelockRate28dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in
* the last 28 days. The daily values are weighted by the count of distinct
* users for the day. * `distinctUsers` (`google.type.Decimal`): Count of
* distinct users in the aggregation period that were used as normalization
* value for the `stuckBgWakelockRate` metric. A user is counted in this
* metric if they app was doing any work on the device, i.e., not just active
* foreground usage but also background work. Care must be taken not to
* aggregate this count further, as it may result in users being counted
* multiple times. The value is rounded to the nearest multiple of 10, 100,
* 1,000 or 1,000,000, depending on the magnitude of the value.
*
* @var string[]
*/
public $metrics;
/**
* Optional. Maximum size of the returned data. If unspecified, at most 1000
* rows will be returned. The maximum value is 100000; values above 100000
* will be coerced to 100000.
*
* @var int
*/
public $pageSize;
/**
* Optional. A page token, received from a previous call. Provide this to
* retrieve the subsequent page. When paginating, all other parameters
* provided to the request must match the call that provided the page token.
*
* @var string
*/
public $pageToken;
protected $timelineSpecType = GooglePlayDeveloperReportingV1beta1TimelineSpec::class;
protected $timelineSpecDataType = '';
/**
* Optional. User view to select. The output data will correspond to the
* selected view. The only supported value is `OS_PUBLIC`.
*
* @var string
*/
public $userCohort;
/**
* Optional. Dimensions to slice the data by. **Supported dimensions:** *
* `apiLevel` (string): the API level of Android that was running on the
* user's device, e.g., 26. * `versionCode` (int64): version of the app that
* was running on the user's device. * `deviceModel` (string): unique
* identifier of the user's device model. The form of the identifier is
* 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and
* device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand`
* (string): unique identifier of the user's device brand, e.g., google. *
* `deviceType` (string): the type (also known as form factor) of the user's
* device, e.g., PHONE. * `countryCode` (string): the country or region of the
* user's device based on their IP address, represented as a 2-letter ISO-3166
* code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of
* the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string):
* Make of the device's primary system-on-chip, e.g., Samsung. [Reference](htt
* ps://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) *
* `deviceSocModel` (string): Model of the device's primary system-on-chip,
* e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/an
* droid/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's
* CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's
* CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the device's
* GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU,
* e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU,
* e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device,
* e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the
* device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the
* device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density
* of the device, e.g., mdpi, hdpi.
*
* @param string[] $dimensions
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return string[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* Optional. Filters to apply to data. The filtering expression follows
* [AIP-160](https://google.aip.dev/160) standard and supports filtering by
* equality of all breakdown dimensions.
*
* @param string $filter
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* Optional. Metrics to aggregate. **Supported metrics:** *
* `stuckBgWakelockRate` (`google.type.Decimal`): Percentage of distinct users
* in the aggregation period that had a wakelock held in the background for
* longer than 1 hour. * `stuckBgWakelockRate7dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in
* the last 7 days. The daily values are weighted by the count of distinct
* users for the day. * `stuckBgWakelockRate28dUserWeighted`
* (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in
* the last 28 days. The daily values are weighted by the count of distinct
* users for the day. * `distinctUsers` (`google.type.Decimal`): Count of
* distinct users in the aggregation period that were used as normalization
* value for the `stuckBgWakelockRate` metric. A user is counted in this
* metric if they app was doing any work on the device, i.e., not just active
* foreground usage but also background work. Care must be taken not to
* aggregate this count further, as it may result in users being counted
* multiple times. The value is rounded to the nearest multiple of 10, 100,
* 1,000 or 1,000,000, depending on the magnitude of the value.
*
* @param string[] $metrics
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return string[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* Optional. Maximum size of the returned data. If unspecified, at most 1000
* rows will be returned. The maximum value is 100000; values above 100000
* will be coerced to 100000.
*
* @param int $pageSize
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* Optional. A page token, received from a previous call. Provide this to
* retrieve the subsequent page. When paginating, all other parameters
* provided to the request must match the call that provided the page token.
*
* @param string $pageToken
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* Optional. Specification of the timeline aggregation parameters. **Supported
* aggregation periods:** * DAILY: metrics are aggregated in calendar date
* intervals. Due to historical constraints, the only supported timezone is
* `America/Los_Angeles`.
*
* @param GooglePlayDeveloperReportingV1beta1TimelineSpec $timelineSpec
*/
public function setTimelineSpec(GooglePlayDeveloperReportingV1beta1TimelineSpec $timelineSpec)
{
$this->timelineSpec = $timelineSpec;
}
/**
* @return GooglePlayDeveloperReportingV1beta1TimelineSpec
*/
public function getTimelineSpec()
{
return $this->timelineSpec;
}
/**
* Optional. User view to select. The output data will correspond to the
* selected view. The only supported value is `OS_PUBLIC`.
*
* Accepted values: USER_COHORT_UNSPECIFIED, OS_PUBLIC, OS_BETA, APP_TESTERS
*
* @param self::USER_COHORT_* $userCohort
*/
public function setUserCohort($userCohort)
{
$this->userCohort = $userCohort;
}
/**
* @return self::USER_COHORT_*
*/
public function getUserCohort()
{
return $this->userCohort;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest');
@@ -0,0 +1,67 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetResponse extends \Google\Collection
{
protected $collection_key = 'rows';
/**
* Continuation token to fetch the next page of data.
*
* @var string
*/
public $nextPageToken;
protected $rowsType = GooglePlayDeveloperReportingV1beta1MetricsRow::class;
protected $rowsDataType = 'array';
/**
* Continuation token to fetch the next page of data.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Returned rows of data.
*
* @param GooglePlayDeveloperReportingV1beta1MetricsRow[] $rows
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return GooglePlayDeveloperReportingV1beta1MetricsRow[]
*/
public function getRows()
{
return $this->rows;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetResponse::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetResponse');
@@ -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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1Release extends \Google\Collection
{
protected $collection_key = 'versionCodes';
/**
* Readable identifier of the release.
*
* @var string
*/
public $displayName;
/**
* The version codes contained in this release.
*
* @var string[]
*/
public $versionCodes;
/**
* Readable identifier of the release.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* The version codes contained in this release.
*
* @param string[] $versionCodes
*/
public function setVersionCodes($versionCodes)
{
$this->versionCodes = $versionCodes;
}
/**
* @return string[]
*/
public function getVersionCodes()
{
return $this->versionCodes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1Release::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1Release');
@@ -0,0 +1,46 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions extends \Google\Collection
{
protected $collection_key = 'tracks';
protected $tracksType = GooglePlayDeveloperReportingV1beta1Track::class;
protected $tracksDataType = 'array';
/**
* List of tracks to filter releases over. Provides the grouping of version
* codes under releases and tracks.
*
* @param GooglePlayDeveloperReportingV1beta1Track[] $tracks
*/
public function setTracks($tracks)
{
$this->tracks = $tracks;
}
/**
* @return GooglePlayDeveloperReportingV1beta1Track[]
*/
public function getTracks()
{
return $this->tracks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions');
@@ -0,0 +1,69 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse extends \Google\Collection
{
protected $collection_key = 'apps';
protected $appsType = GooglePlayDeveloperReportingV1beta1App::class;
protected $appsDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* The apps accessible to the user calling the endpoint.
*
* @param GooglePlayDeveloperReportingV1beta1App[] $apps
*/
public function setApps($apps)
{
$this->apps = $apps;
}
/**
* @return GooglePlayDeveloperReportingV1beta1App[]
*/
public function getApps()
{
return $this->apps;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
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(GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse');
@@ -0,0 +1,67 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse extends \Google\Collection
{
protected $collection_key = 'errorIssues';
protected $errorIssuesType = GooglePlayDeveloperReportingV1beta1ErrorIssue::class;
protected $errorIssuesDataType = 'array';
/**
* Continuation token to fetch the next page of data.
*
* @var string
*/
public $nextPageToken;
/**
* ErrorIssues that were found.
*
* @param GooglePlayDeveloperReportingV1beta1ErrorIssue[] $errorIssues
*/
public function setErrorIssues($errorIssues)
{
$this->errorIssues = $errorIssues;
}
/**
* @return GooglePlayDeveloperReportingV1beta1ErrorIssue[]
*/
public function getErrorIssues()
{
return $this->errorIssues;
}
/**
* Continuation token to fetch the next page of data.
*
* @param string $nextPageToken
*/
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(GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse');
@@ -0,0 +1,67 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse extends \Google\Collection
{
protected $collection_key = 'errorReports';
protected $errorReportsType = GooglePlayDeveloperReportingV1beta1ErrorReport::class;
protected $errorReportsDataType = 'array';
/**
* Page token to fetch the next page of reports.
*
* @var string
*/
public $nextPageToken;
/**
* Error reports that were found.
*
* @param GooglePlayDeveloperReportingV1beta1ErrorReport[] $errorReports
*/
public function setErrorReports($errorReports)
{
$this->errorReports = $errorReports;
}
/**
* @return GooglePlayDeveloperReportingV1beta1ErrorReport[]
*/
public function getErrorReports()
{
return $this->errorReports;
}
/**
* Page token to fetch the next page of reports.
*
* @param string $nextPageToken
*/
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(GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse');
@@ -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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet extends \Google\Model
{
protected $freshnessInfoType = GooglePlayDeveloperReportingV1beta1FreshnessInfo::class;
protected $freshnessInfoDataType = '';
/**
* Identifier. The resource name. Format:
* apps/{app}/slowRenderingRateMetricSet
*
* @var string
*/
public $name;
/**
* Summary about data freshness in this resource.
*
* @param GooglePlayDeveloperReportingV1beta1FreshnessInfo $freshnessInfo
*/
public function setFreshnessInfo(GooglePlayDeveloperReportingV1beta1FreshnessInfo $freshnessInfo)
{
$this->freshnessInfo = $freshnessInfo;
}
/**
* @return GooglePlayDeveloperReportingV1beta1FreshnessInfo
*/
public function getFreshnessInfo()
{
return $this->freshnessInfo;
}
/**
* Identifier. The resource name. Format:
* apps/{app}/slowRenderingRateMetricSet
*
* @param string $name
*/
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(GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet');
@@ -0,0 +1,66 @@
<?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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet extends \Google\Model
{
protected $freshnessInfoType = GooglePlayDeveloperReportingV1beta1FreshnessInfo::class;
protected $freshnessInfoDataType = '';
/**
* Identifier. The resource name. Format: apps/{app}/slowStartRateMetricSet
*
* @var string
*/
public $name;
/**
* Summary about data freshness in this resource.
*
* @param GooglePlayDeveloperReportingV1beta1FreshnessInfo $freshnessInfo
*/
public function setFreshnessInfo(GooglePlayDeveloperReportingV1beta1FreshnessInfo $freshnessInfo)
{
$this->freshnessInfo = $freshnessInfo;
}
/**
* @return GooglePlayDeveloperReportingV1beta1FreshnessInfo
*/
public function getFreshnessInfo()
{
return $this->freshnessInfo;
}
/**
* Identifier. The resource name. Format: apps/{app}/slowStartRateMetricSet
*
* @param string $name
*/
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(GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet');
@@ -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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet extends \Google\Model
{
protected $freshnessInfoType = GooglePlayDeveloperReportingV1beta1FreshnessInfo::class;
protected $freshnessInfoDataType = '';
/**
* Identifier. The resource name. Format:
* apps/{app}/stuckBackgroundWakelockRateMetricSet
*
* @var string
*/
public $name;
/**
* Summary about data freshness in this resource.
*
* @param GooglePlayDeveloperReportingV1beta1FreshnessInfo $freshnessInfo
*/
public function setFreshnessInfo(GooglePlayDeveloperReportingV1beta1FreshnessInfo $freshnessInfo)
{
$this->freshnessInfo = $freshnessInfo;
}
/**
* @return GooglePlayDeveloperReportingV1beta1FreshnessInfo
*/
public function getFreshnessInfo()
{
return $this->freshnessInfo;
}
/**
* Identifier. The resource name. Format:
* apps/{app}/stuckBackgroundWakelockRateMetricSet
*
* @param string $name
*/
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(GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet');
@@ -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\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1TimelineSpec extends \Google\Model
{
/**
* Unspecified granularity.
*/
public const AGGREGATION_PERIOD_AGGREGATION_PERIOD_UNSPECIFIED = 'AGGREGATION_PERIOD_UNSPECIFIED';
/**
* Data is aggregated in hourly intervals.
*/
public const AGGREGATION_PERIOD_HOURLY = 'HOURLY';
/**
* Data is aggregated in daily intervals.
*/
public const AGGREGATION_PERIOD_DAILY = 'DAILY';
/**
* Data is aggregated over the full timeline range. Effectively this produces
* a single value rather than a timeline.
*/
public const AGGREGATION_PERIOD_FULL_RANGE = 'FULL_RANGE';
/**
* Optional. Type of the aggregation period of the datapoints in the timeline.
* Intervals are identified by the date and time at the start of the interval.
*
* @var string
*/
public $aggregationPeriod;
protected $endTimeType = GoogleTypeDateTime::class;
protected $endTimeDataType = '';
protected $startTimeType = GoogleTypeDateTime::class;
protected $startTimeDataType = '';
/**
* Optional. Type of the aggregation period of the datapoints in the timeline.
* Intervals are identified by the date and time at the start of the interval.
*
* Accepted values: AGGREGATION_PERIOD_UNSPECIFIED, HOURLY, DAILY, FULL_RANGE
*
* @param self::AGGREGATION_PERIOD_* $aggregationPeriod
*/
public function setAggregationPeriod($aggregationPeriod)
{
$this->aggregationPeriod = $aggregationPeriod;
}
/**
* @return self::AGGREGATION_PERIOD_*
*/
public function getAggregationPeriod()
{
return $this->aggregationPeriod;
}
/**
* Optional. Ending datapoint of the timeline (exclusive). See start_time for
* restrictions. The timezone of the end point must match the timezone of the
* start point.
*
* @param GoogleTypeDateTime $endTime
*/
public function setEndTime(GoogleTypeDateTime $endTime)
{
$this->endTime = $endTime;
}
/**
* @return GoogleTypeDateTime
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Optional. Starting datapoint of the timeline (inclusive). Must be aligned
* to the aggregation period as follows: * HOURLY: the 'minutes', 'seconds'
* and 'nanos' fields must be unset. The time_zone can be left unset (defaults
* to UTC) or set explicitly to "UTC". Setting any other utc_offset or
* timezone id will result in a validation error. * DAILY: the 'hours',
* 'minutes', 'seconds' and 'nanos' fields must be unset. Different metric
* sets support different timezones. It can be left unset to use the default
* timezone specified by the metric set. The timezone of the end point must
* match the timezone of the start point.
*
* @param GoogleTypeDateTime $startTime
*/
public function setStartTime(GoogleTypeDateTime $startTime)
{
$this->startTime = $startTime;
}
/**
* @return GoogleTypeDateTime
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayDeveloperReportingV1beta1TimelineSpec::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1TimelineSpec');
@@ -0,0 +1,89 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Playdeveloperreporting;
class GooglePlayDeveloperReportingV1beta1Track extends \Google\Collection
{
protected $collection_key = 'servingReleases';
/**
* Readable identifier of the track.
*
* @var string
*/
public $displayName;
protected $servingReleasesType = GooglePlayDeveloperReportingV1beta1Release::class;
protected $servingReleasesDataType = 'array';
/**
* The type of the track.
*
* @var string
*/
public $type;
/**
* Readable identifier of the track.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Represents all active releases in the track.
*
* @param GooglePlayDeveloperReportingV1beta1Release[] $servingReleases
*/
public function setServingReleases($servingReleases)
{
$this->servingReleases = $servingReleases;
}
/**
* @return GooglePlayDeveloperReportingV1beta1Release[]
*/
public function getServingReleases()
{
return $this->servingReleases;
}
/**
* The type of the track.
*
* @param string $type
*/
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(GooglePlayDeveloperReportingV1beta1Track::class, 'Google_Service_Playdeveloperreporting_GooglePlayDeveloperReportingV1beta1Track');
@@ -0,0 +1,236 @@
<?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\Playdeveloperreporting;
class GoogleTypeDateTime extends \Google\Model
{
/**
* Optional. Day of month. Must be from 1 to 31 and valid for the year and
* month, or 0 if specifying a datetime without a day.
*
* @var int
*/
public $day;
/**
* Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults
* to 0 (midnight). An API may choose to allow the value "24:00:00" for
* scenarios like business closing time.
*
* @var int
*/
public $hours;
/**
* Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
*
* @var int
*/
public $minutes;
/**
* Optional. Month of year. Must be from 1 to 12, or 0 if specifying a
* datetime without a month.
*
* @var int
*/
public $month;
/**
* Optional. Fractions of seconds in nanoseconds. Must be from 0 to
* 999,999,999, defaults to 0.
*
* @var int
*/
public $nanos;
/**
* Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
* defaults to 0. An API may allow the value 60 if it allows leap-seconds.
*
* @var int
*/
public $seconds;
protected $timeZoneType = GoogleTypeTimeZone::class;
protected $timeZoneDataType = '';
/**
* UTC offset. Must be whole seconds, between -18 hours and +18 hours. For
* example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.
*
* @var string
*/
public $utcOffset;
/**
* Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a
* datetime without a year.
*
* @var int
*/
public $year;
/**
* Optional. Day of month. Must be from 1 to 31 and valid for the year and
* month, or 0 if specifying a datetime without a day.
*
* @param int $day
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults
* to 0 (midnight). An API may choose to allow the value "24:00:00" for
* scenarios like business closing time.
*
* @param int $hours
*/
public function setHours($hours)
{
$this->hours = $hours;
}
/**
* @return int
*/
public function getHours()
{
return $this->hours;
}
/**
* Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
*
* @param int $minutes
*/
public function setMinutes($minutes)
{
$this->minutes = $minutes;
}
/**
* @return int
*/
public function getMinutes()
{
return $this->minutes;
}
/**
* Optional. Month of year. Must be from 1 to 12, or 0 if specifying a
* datetime without a month.
*
* @param int $month
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* Optional. Fractions of seconds in nanoseconds. Must be from 0 to
* 999,999,999, defaults to 0.
*
* @param int $nanos
*/
public function setNanos($nanos)
{
$this->nanos = $nanos;
}
/**
* @return int
*/
public function getNanos()
{
return $this->nanos;
}
/**
* Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
* defaults to 0. An API may allow the value 60 if it allows leap-seconds.
*
* @param int $seconds
*/
public function setSeconds($seconds)
{
$this->seconds = $seconds;
}
/**
* @return int
*/
public function getSeconds()
{
return $this->seconds;
}
/**
* Time zone.
*
* @param GoogleTypeTimeZone $timeZone
*/
public function setTimeZone(GoogleTypeTimeZone $timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return GoogleTypeTimeZone
*/
public function getTimeZone()
{
return $this->timeZone;
}
/**
* UTC offset. Must be whole seconds, between -18 hours and +18 hours. For
* example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.
*
* @param string $utcOffset
*/
public function setUtcOffset($utcOffset)
{
$this->utcOffset = $utcOffset;
}
/**
* @return string
*/
public function getUtcOffset()
{
return $this->utcOffset;
}
/**
* Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a
* datetime without a year.
*
* @param int $year
*/
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(GoogleTypeDateTime::class, 'Google_Service_Playdeveloperreporting_GoogleTypeDateTime');
@@ -0,0 +1,118 @@
<?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\Playdeveloperreporting;
class GoogleTypeDecimal extends \Google\Model
{
/**
* The decimal value, as a string. The string representation consists of an
* optional sign, `+` (`U+002B`) or `-` (`U+002D`), followed by a sequence of
* zero or more decimal digits ("the integer"), optionally followed by a
* fraction, optionally followed by an exponent. An empty string **should** be
* interpreted as `0`. The fraction consists of a decimal point followed by
* zero or more decimal digits. The string must contain at least one digit in
* either the integer or the fraction. The number formed by the sign, the
* integer and the fraction is referred to as the significand. The exponent
* consists of the character `e` (`U+0065`) or `E` (`U+0045`) followed by one
* or more decimal digits. Services **should** normalize decimal values before
* storing them by: - Removing an explicitly-provided `+` sign (`+2.5` ->
* `2.5`). - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). -
* Coercing the exponent character to upper-case, with explicit sign (`2.5e8`
* -> `2.5E+8`). - Removing an explicitly-provided zero exponent (`2.5E0` ->
* `2.5`). Services **may** perform additional normalization based on its own
* needs and the internal decimal implementation selected, such as shifting
* the decimal point and exponent value together (example: `2.5E-1` <->
* `0.25`). Additionally, services **may** preserve trailing zeroes in the
* fraction to indicate increased precision, but are not required to do so.
* Note that only the `.` character is supported to divide the integer and the
* fraction; `,` **should not** be supported regardless of locale.
* Additionally, thousand separators **should not** be supported. If a service
* does support them, values **must** be normalized. The ENBF grammar is:
* DecimalString = '' | [Sign] Significand [Exponent]; Sign = '+' | '-';
* Significand = Digits '.' | [Digits] '.' Digits; Exponent = ('e' | 'E')
* [Sign] Digits; Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' |
* '8' | '9' }; Services **should** clearly document the range of supported
* values, the maximum supported precision (total number of digits), and, if
* applicable, the scale (number of digits after the decimal point), as well
* as how it behaves when receiving out-of-bounds values. Services **may**
* choose to accept values passed as input even when the value has a higher
* precision or scale than the service supports, and **should** round the
* value to fit the supported scale. Alternatively, the service **may** error
* with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be
* lost. Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT`
* in gRPC) if the service receives a value outside of the supported range.
*
* @var string
*/
public $value;
/**
* The decimal value, as a string. The string representation consists of an
* optional sign, `+` (`U+002B`) or `-` (`U+002D`), followed by a sequence of
* zero or more decimal digits ("the integer"), optionally followed by a
* fraction, optionally followed by an exponent. An empty string **should** be
* interpreted as `0`. The fraction consists of a decimal point followed by
* zero or more decimal digits. The string must contain at least one digit in
* either the integer or the fraction. The number formed by the sign, the
* integer and the fraction is referred to as the significand. The exponent
* consists of the character `e` (`U+0065`) or `E` (`U+0045`) followed by one
* or more decimal digits. Services **should** normalize decimal values before
* storing them by: - Removing an explicitly-provided `+` sign (`+2.5` ->
* `2.5`). - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). -
* Coercing the exponent character to upper-case, with explicit sign (`2.5e8`
* -> `2.5E+8`). - Removing an explicitly-provided zero exponent (`2.5E0` ->
* `2.5`). Services **may** perform additional normalization based on its own
* needs and the internal decimal implementation selected, such as shifting
* the decimal point and exponent value together (example: `2.5E-1` <->
* `0.25`). Additionally, services **may** preserve trailing zeroes in the
* fraction to indicate increased precision, but are not required to do so.
* Note that only the `.` character is supported to divide the integer and the
* fraction; `,` **should not** be supported regardless of locale.
* Additionally, thousand separators **should not** be supported. If a service
* does support them, values **must** be normalized. The ENBF grammar is:
* DecimalString = '' | [Sign] Significand [Exponent]; Sign = '+' | '-';
* Significand = Digits '.' | [Digits] '.' Digits; Exponent = ('e' | 'E')
* [Sign] Digits; Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' |
* '8' | '9' }; Services **should** clearly document the range of supported
* values, the maximum supported precision (total number of digits), and, if
* applicable, the scale (number of digits after the decimal point), as well
* as how it behaves when receiving out-of-bounds values. Services **may**
* choose to accept values passed as input even when the value has a higher
* precision or scale than the service supports, and **should** round the
* value to fit the supported scale. Alternatively, the service **may** error
* with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be
* lost. Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT`
* in gRPC) if the service receives a value outside of the supported range.
*
* @param string $value
*/
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(GoogleTypeDecimal::class, 'Google_Service_Playdeveloperreporting_GoogleTypeDecimal');
@@ -0,0 +1,70 @@
<?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\Playdeveloperreporting;
class GoogleTypeTimeZone extends \Google\Model
{
/**
* IANA Time Zone Database time zone. For example "America/New_York".
*
* @var string
*/
public $id;
/**
* Optional. IANA Time Zone Database version number. For example "2019a".
*
* @var string
*/
public $version;
/**
* IANA Time Zone Database time zone. For example "America/New_York".
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Optional. IANA Time Zone Database version number. For example "2019a".
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleTypeTimeZone::class, 'Google_Service_Playdeveloperreporting_GoogleTypeTimeZone');
@@ -0,0 +1,69 @@
<?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\Playdeveloperreporting\Resource;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse;
/**
* The "anomalies" collection of methods.
* Typical usage is:
* <code>
* $playdeveloperreportingService = new Google\Service\Playdeveloperreporting(...);
* $anomalies = $playdeveloperreportingService->anomalies;
* </code>
*/
class Anomalies extends \Google\Service\Resource
{
/**
* Lists anomalies in any of the datasets. (anomalies.listAnomalies)
*
* @param string $parent Required. Parent app for which anomalies were detected.
* Format: apps/{app}
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filtering criteria for anomalies. For
* basic filter guidance, please check: https://google.aip.dev/160. **Supported
* functions:** * `activeBetween(startTime, endTime)`: If specified, only list
* anomalies that were active in between `startTime` (inclusive) and `endTime`
* (exclusive). Both parameters are expected to conform to an RFC-3339 formatted
* string (e.g. `2012-04-21T11:30:00-04:00`). UTC offsets are supported. Both
* `startTime` and `endTime` accept the special value `UNBOUNDED`, to signify
* intervals with no lower or upper bound, respectively. Examples: *
* `activeBetween("2021-04-21T11:30:00Z", "2021-07-21T00:00:00Z")` *
* `activeBetween(UNBOUNDED, "2021-11-21T00:00:00-04:00")` *
* `activeBetween("2021-07-21T00:00:00-04:00", UNBOUNDED)`
* @opt_param int pageSize Optional. Maximum size of the returned data. If
* unspecified, at most 10 anomalies will be returned. The maximum value is 100;
* values above 100 will be coerced to 100.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListErrorReports` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListErrorReports` must match
* the call that provided the page token.
* @return GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse
* @throws \Google\Service\Exception
*/
public function listAnomalies($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Anomalies::class, 'Google_Service_Playdeveloperreporting_Resource_Anomalies');
@@ -0,0 +1,73 @@
<?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\Playdeveloperreporting\Resource;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse;
/**
* The "apps" collection of methods.
* Typical usage is:
* <code>
* $playdeveloperreportingService = new Google\Service\Playdeveloperreporting(...);
* $apps = $playdeveloperreportingService->apps;
* </code>
*/
class Apps extends \Google\Service\Resource
{
/**
* Describes filtering options for releases. (apps.fetchReleaseFilterOptions)
*
* @param string $name Required. Name of the resource, i.e. app the filtering
* options are for. Format: apps/{app}
* @param array $optParams Optional parameters.
* @return GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions
* @throws \Google\Service\Exception
*/
public function fetchReleaseFilterOptions($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('fetchReleaseFilterOptions', [$params], GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions::class);
}
/**
* Searches for Apps accessible by the user. (apps.search)
*
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of apps to return. The
* service may return fewer than this value. If unspecified, at most 50 apps
* will be returned. The maximum value is 1000; values above 1000 will be
* coerced to 1000.
* @opt_param string pageToken Optional. A page token, received from a previous
* `SearchAccessibleApps` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `SearchAccessibleApps` must
* match the call that provided the page token.
* @return GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse
* @throws \Google\Service\Exception
*/
public function search($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('search', [$params], GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Apps::class, 'Google_Service_Playdeveloperreporting_Resource_Apps');
@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Playdeveloperreporting\Resource;
/**
* The "vitals" collection of methods.
* Typical usage is:
* <code>
* $playdeveloperreportingService = new Google\Service\Playdeveloperreporting(...);
* $vitals = $playdeveloperreportingService->vitals;
* </code>
*/
class Vitals extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Vitals::class, 'Google_Service_Playdeveloperreporting_Resource_Vitals');
@@ -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\Playdeveloperreporting\Resource;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1AnrRateMetricSet;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse;
/**
* The "anrrate" collection of methods.
* Typical usage is:
* <code>
* $playdeveloperreportingService = new Google\Service\Playdeveloperreporting(...);
* $anrrate = $playdeveloperreportingService->vitals_anrrate;
* </code>
*/
class VitalsAnrrate extends \Google\Service\Resource
{
/**
* Describes the properties of the metric set. (anrrate.get)
*
* @param string $name Required. The resource name. Format:
* apps/{app}/anrRateMetricSet
* @param array $optParams Optional parameters.
* @return GooglePlayDeveloperReportingV1beta1AnrRateMetricSet
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GooglePlayDeveloperReportingV1beta1AnrRateMetricSet::class);
}
/**
* Queries the metrics in the metric set. (anrrate.query)
*
* @param string $name Required. The resource name. Format:
* apps/{app}/anrRateMetricSet
* @param GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest $postBody
* @param array $optParams Optional parameters.
* @return GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse
* @throws \Google\Service\Exception
*/
public function query($name, GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('query', [$params], GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VitalsAnrrate::class, 'Google_Service_Playdeveloperreporting_Resource_VitalsAnrrate');
@@ -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\Playdeveloperreporting\Resource;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1CrashRateMetricSet;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse;
/**
* The "crashrate" collection of methods.
* Typical usage is:
* <code>
* $playdeveloperreportingService = new Google\Service\Playdeveloperreporting(...);
* $crashrate = $playdeveloperreportingService->vitals_crashrate;
* </code>
*/
class VitalsCrashrate extends \Google\Service\Resource
{
/**
* Describes the properties of the metric set. (crashrate.get)
*
* @param string $name Required. The resource name. Format:
* apps/{app}/crashRateMetricSet
* @param array $optParams Optional parameters.
* @return GooglePlayDeveloperReportingV1beta1CrashRateMetricSet
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GooglePlayDeveloperReportingV1beta1CrashRateMetricSet::class);
}
/**
* Queries the metrics in the metric set. (crashrate.query)
*
* @param string $name Required. The resource name. Format:
* apps/{app}/crashRateMetricSet
* @param GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest $postBody
* @param array $optParams Optional parameters.
* @return GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse
* @throws \Google\Service\Exception
*/
public function query($name, GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('query', [$params], GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VitalsCrashrate::class, 'Google_Service_Playdeveloperreporting_Resource_VitalsCrashrate');
@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Playdeveloperreporting\Resource;
/**
* The "errors" collection of methods.
* Typical usage is:
* <code>
* $playdeveloperreportingService = new Google\Service\Playdeveloperreporting(...);
* $errors = $playdeveloperreportingService->vitals_errors;
* </code>
*/
class VitalsErrors extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VitalsErrors::class, 'Google_Service_Playdeveloperreporting_Resource_VitalsErrors');
@@ -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\Playdeveloperreporting\Resource;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse;
/**
* The "counts" collection of methods.
* Typical usage is:
* <code>
* $playdeveloperreportingService = new Google\Service\Playdeveloperreporting(...);
* $counts = $playdeveloperreportingService->vitals_errors_counts;
* </code>
*/
class VitalsErrorsCounts extends \Google\Service\Resource
{
/**
* Describes the properties of the metrics set. (counts.get)
*
* @param string $name Required. Name of the errors metric set. Format:
* apps/{app}/errorCountMetricSet
* @param array $optParams Optional parameters.
* @return GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet::class);
}
/**
* Queries the metrics in the metrics set. (counts.query)
*
* @param string $name Required. The resource name. Format:
* apps/{app}/errorCountMetricSet
* @param GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest $postBody
* @param array $optParams Optional parameters.
* @return GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse
* @throws \Google\Service\Exception
*/
public function query($name, GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('query', [$params], GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VitalsErrorsCounts::class, 'Google_Service_Playdeveloperreporting_Resource_VitalsErrorsCounts');
@@ -0,0 +1,150 @@
<?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\Playdeveloperreporting\Resource;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse;
/**
* The "issues" collection of methods.
* Typical usage is:
* <code>
* $playdeveloperreportingService = new Google\Service\Playdeveloperreporting(...);
* $issues = $playdeveloperreportingService->vitals_errors_issues;
* </code>
*/
class VitalsErrorsIssues extends \Google\Service\Resource
{
/**
* Searches all error issues in which reports have been grouped. (issues.search)
*
* @param string $parent Required. Parent resource of the error issues,
* indicating the application for which they were received. Format: apps/{app}
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. A selection predicate to retrieve only a
* subset of the issues. Counts in the returned error issues will only reflect
* occurrences that matched the filter. For filtering basics, please check
* [AIP-160](https://google.aip.dev/160). ** Supported field names:** *
* `apiLevel`: Matches error issues that occurred in the requested Android
* versions (specified as the numeric API level) only. Example: `apiLevel = 28
* OR apiLevel = 29`. * `versionCode`: Matches error issues that occurred in the
* requested app version codes only. Example: `versionCode = 123 OR versionCode
* = 456`. * `deviceModel`: Matches error issues that occurred in the requested
* devices. Example: `deviceModel = "google/walleye" OR deviceModel =
* "google/marlin"`. * `deviceBrand`: Matches error issues that occurred in the
* requested device brands. Example: `deviceBrand = "Google". * `deviceType`:
* Matches error issues that occurred in the requested device types. Example:
* `deviceType = "PHONE"`. * `errorIssueType`: Matches error issues of the
* requested types only. Valid candidates: `CRASH`, `ANR`, `NON_FATAL`. Example:
* `errorIssueType = CRASH OR errorIssueType = ANR`. * `appProcessState`:
* Matches error issues on the process state of an app, indicating whether an
* app runs in the foreground (user-visible) or background. Valid candidates:
* `FOREGROUND`, `BACKGROUND`. Example: `appProcessState = FOREGROUND`. *
* `isUserPerceived`: Matches error issues that are user-perceived. It is not
* accompanied by any operators. Example: `isUserPerceived`. ** Supported
* operators:** * Comparison operators: The only supported comparison operator
* is equality. The filtered field must appear on the left hand side of the
* comparison. * Logical Operators: Logical operators `AND` and `OR` can be used
* to build complex filters following a conjunctive normal form (CNF), i.e.,
* conjunctions of disjunctions. The `OR` operator takes precedence over `AND`
* so the use of parenthesis is not necessary when building CNF. The `OR`
* operator is only supported to build disjunctions that apply to the same
* field, e.g., `versionCode = 123 OR errorIssueType = ANR` is not a valid
* filter. ** Examples ** Some valid filtering expressions: * `versionCode = 123
* AND errorIssueType = ANR` * `versionCode = 123 AND errorIssueType = OR
* errorIssueType = CRASH` * `versionCode = 123 AND (errorIssueType = OR
* errorIssueType = CRASH)`
* @opt_param int interval.endTime.day Optional. Day of month. Must be from 1 to
* 31 and valid for the year and month, or 0 if specifying a datetime without a
* day.
* @opt_param int interval.endTime.hours Optional. Hours of day in 24 hour
* format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose
* to allow the value "24:00:00" for scenarios like business closing time.
* @opt_param int interval.endTime.minutes Optional. Minutes of hour of day.
* Must be from 0 to 59, defaults to 0.
* @opt_param int interval.endTime.month Optional. Month of year. Must be from 1
* to 12, or 0 if specifying a datetime without a month.
* @opt_param int interval.endTime.nanos Optional. Fractions of seconds in
* nanoseconds. Must be from 0 to 999,999,999, defaults to 0.
* @opt_param int interval.endTime.seconds Optional. Seconds of minutes of the
* time. Must normally be from 0 to 59, defaults to 0. An API may allow the
* value 60 if it allows leap-seconds.
* @opt_param string interval.endTime.timeZone.id IANA Time Zone Database time
* zone. For example "America/New_York".
* @opt_param string interval.endTime.timeZone.version Optional. IANA Time Zone
* Database version number. For example "2019a".
* @opt_param string interval.endTime.utcOffset UTC offset. Must be whole
* seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00
* would be represented as { seconds: -14400 }.
* @opt_param int interval.endTime.year Optional. Year of date. Must be from 1
* to 9999, or 0 if specifying a datetime without a year.
* @opt_param int interval.startTime.day Optional. Day of month. Must be from 1
* to 31 and valid for the year and month, or 0 if specifying a datetime without
* a day.
* @opt_param int interval.startTime.hours Optional. Hours of day in 24 hour
* format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose
* to allow the value "24:00:00" for scenarios like business closing time.
* @opt_param int interval.startTime.minutes Optional. Minutes of hour of day.
* Must be from 0 to 59, defaults to 0.
* @opt_param int interval.startTime.month Optional. Month of year. Must be from
* 1 to 12, or 0 if specifying a datetime without a month.
* @opt_param int interval.startTime.nanos Optional. Fractions of seconds in
* nanoseconds. Must be from 0 to 999,999,999, defaults to 0.
* @opt_param int interval.startTime.seconds Optional. Seconds of minutes of the
* time. Must normally be from 0 to 59, defaults to 0. An API may allow the
* value 60 if it allows leap-seconds.
* @opt_param string interval.startTime.timeZone.id IANA Time Zone Database time
* zone. For example "America/New_York".
* @opt_param string interval.startTime.timeZone.version Optional. IANA Time
* Zone Database version number. For example "2019a".
* @opt_param string interval.startTime.utcOffset UTC offset. Must be whole
* seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00
* would be represented as { seconds: -14400 }.
* @opt_param int interval.startTime.year Optional. Year of date. Must be from 1
* to 9999, or 0 if specifying a datetime without a year.
* @opt_param string orderBy Optional. Specifies a field that will be used to
* order the results. ** Supported dimensions:** * `errorReportCount`: Orders
* issues by number of error reports. * `distinctUsers`: Orders issues by number
* of unique affected users. ** Supported operations:** * `asc` for ascending
* order. * `desc` for descending order. Format: A field and an operation, e.g.,
* `errorReportCount desc` *Note:* currently only one field is supported at a
* time.
* @opt_param int pageSize Optional. The maximum number of error issues to
* return. The service may return fewer than this value. If unspecified, at most
* 50 error issues will be returned. The maximum value is 1000; values above
* 1000 will be coerced to 1000.
* @opt_param string pageToken Optional. A page token, received from a previous
* call. Provide this to retrieve the subsequent page. When paginating, all
* other parameters provided to the request must match the call that provided
* the page token.
* @opt_param int sampleErrorReportLimit Optional. Number of sample error
* reports to return per ErrorIssue. If unspecified, 0 will be used. *Note:*
* currently only 0 and 1 are supported.
* @return GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse
* @throws \Google\Service\Exception
*/
public function search($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('search', [$params], GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VitalsErrorsIssues::class, 'Google_Service_Playdeveloperreporting_Resource_VitalsErrorsIssues');
@@ -0,0 +1,143 @@
<?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\Playdeveloperreporting\Resource;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse;
/**
* The "reports" collection of methods.
* Typical usage is:
* <code>
* $playdeveloperreportingService = new Google\Service\Playdeveloperreporting(...);
* $reports = $playdeveloperreportingService->vitals_errors_reports;
* </code>
*/
class VitalsErrorsReports extends \Google\Service\Resource
{
/**
* Searches all error reports received for an app. (reports.search)
*
* @param string $parent Required. Parent resource of the reports, indicating
* the application for which they were received. Format: apps/{app}
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. A selection predicate to retrieve only a
* subset of the reports. For filtering basics, please check
* [AIP-160](https://google.aip.dev/160). ** Supported field names:** *
* `apiLevel`: Matches error reports that occurred in the requested Android
* versions (specified as the numeric API level) only. Example: `apiLevel = 28
* OR apiLevel = 29`. * `versionCode`: Matches error reports that occurred in
* the requested app version codes only. Example: `versionCode = 123 OR
* versionCode = 456`. * `deviceModel`: Matches error issues that occurred in
* the requested devices. Example: `deviceModel = "google/walleye" OR
* deviceModel = "google/marlin"`. * `deviceBrand`: Matches error issues that
* occurred in the requested device brands. Example: `deviceBrand = "Google". *
* `deviceType`: Matches error reports that occurred in the requested device
* types. Example: `deviceType = "PHONE"`. * `errorIssueType`: Matches error
* reports of the requested types only. Valid candidates: `CRASH`, `ANR`,
* `NON_FATAL`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. *
* `errorIssueId`: Matches error reports belonging to the requested error issue
* ids only. Example: `errorIssueId = 1234 OR errorIssueId = 4567`. *
* `errorReportId`: Matches error reports with the requested error report id.
* Example: `errorReportId = 1234 OR errorReportId = 4567`. * `appProcessState`:
* Matches error reports on the process state of an app, indicating whether an
* app runs in the foreground (user-visible) or background. Valid candidates:
* `FOREGROUND`, `BACKGROUND`. Example: `appProcessState = FOREGROUND`. *
* `isUserPerceived`: Matches error reports that are user-perceived. It is not
* accompanied by any operators. Example: `isUserPerceived`. ** Supported
* operators:** * Comparison operators: The only supported comparison operator
* is equality. The filtered field must appear on the left hand side of the
* comparison. * Logical Operators: Logical operators `AND` and `OR` can be used
* to build complex filters following a conjunctive normal form (CNF), i.e.,
* conjunctions of disjunctions. The `OR` operator takes precedence over `AND`
* so the use of parenthesis is not necessary when building CNF. The `OR`
* operator is only supported to build disjunctions that apply to the same
* field, e.g., `versionCode = 123 OR versionCode = ANR`. The filter expression
* `versionCode = 123 OR errorIssueType = ANR` is not valid. ** Examples ** Some
* valid filtering expressions: * `versionCode = 123 AND errorIssueType = ANR` *
* `versionCode = 123 AND errorIssueType = OR errorIssueType = CRASH` *
* `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`
* @opt_param int interval.endTime.day Optional. Day of month. Must be from 1 to
* 31 and valid for the year and month, or 0 if specifying a datetime without a
* day.
* @opt_param int interval.endTime.hours Optional. Hours of day in 24 hour
* format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose
* to allow the value "24:00:00" for scenarios like business closing time.
* @opt_param int interval.endTime.minutes Optional. Minutes of hour of day.
* Must be from 0 to 59, defaults to 0.
* @opt_param int interval.endTime.month Optional. Month of year. Must be from 1
* to 12, or 0 if specifying a datetime without a month.
* @opt_param int interval.endTime.nanos Optional. Fractions of seconds in
* nanoseconds. Must be from 0 to 999,999,999, defaults to 0.
* @opt_param int interval.endTime.seconds Optional. Seconds of minutes of the
* time. Must normally be from 0 to 59, defaults to 0. An API may allow the
* value 60 if it allows leap-seconds.
* @opt_param string interval.endTime.timeZone.id IANA Time Zone Database time
* zone. For example "America/New_York".
* @opt_param string interval.endTime.timeZone.version Optional. IANA Time Zone
* Database version number. For example "2019a".
* @opt_param string interval.endTime.utcOffset UTC offset. Must be whole
* seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00
* would be represented as { seconds: -14400 }.
* @opt_param int interval.endTime.year Optional. Year of date. Must be from 1
* to 9999, or 0 if specifying a datetime without a year.
* @opt_param int interval.startTime.day Optional. Day of month. Must be from 1
* to 31 and valid for the year and month, or 0 if specifying a datetime without
* a day.
* @opt_param int interval.startTime.hours Optional. Hours of day in 24 hour
* format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose
* to allow the value "24:00:00" for scenarios like business closing time.
* @opt_param int interval.startTime.minutes Optional. Minutes of hour of day.
* Must be from 0 to 59, defaults to 0.
* @opt_param int interval.startTime.month Optional. Month of year. Must be from
* 1 to 12, or 0 if specifying a datetime without a month.
* @opt_param int interval.startTime.nanos Optional. Fractions of seconds in
* nanoseconds. Must be from 0 to 999,999,999, defaults to 0.
* @opt_param int interval.startTime.seconds Optional. Seconds of minutes of the
* time. Must normally be from 0 to 59, defaults to 0. An API may allow the
* value 60 if it allows leap-seconds.
* @opt_param string interval.startTime.timeZone.id IANA Time Zone Database time
* zone. For example "America/New_York".
* @opt_param string interval.startTime.timeZone.version Optional. IANA Time
* Zone Database version number. For example "2019a".
* @opt_param string interval.startTime.utcOffset UTC offset. Must be whole
* seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00
* would be represented as { seconds: -14400 }.
* @opt_param int interval.startTime.year Optional. Year of date. Must be from 1
* to 9999, or 0 if specifying a datetime without a year.
* @opt_param int pageSize Optional. The maximum number of reports to return.
* The service may return fewer than this value. If unspecified, at most 50
* reports will be returned. The maximum value is 100; values above 100 will be
* coerced to 100.
* @opt_param string pageToken Optional. A page token, received from a previous
* `SearchErrorReports` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `SearchErrorReports` must match
* the call that provided the page token.
* @return GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse
* @throws \Google\Service\Exception
*/
public function search($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('search', [$params], GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VitalsErrorsReports::class, 'Google_Service_Playdeveloperreporting_Resource_VitalsErrorsReports');
@@ -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\Playdeveloperreporting\Resource;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse;
/**
* The "excessivewakeuprate" collection of methods.
* Typical usage is:
* <code>
* $playdeveloperreportingService = new Google\Service\Playdeveloperreporting(...);
* $excessivewakeuprate = $playdeveloperreportingService->vitals_excessivewakeuprate;
* </code>
*/
class VitalsExcessivewakeuprate extends \Google\Service\Resource
{
/**
* Describes the properties of the metric set. (excessivewakeuprate.get)
*
* @param string $name Required. The resource name. Format:
* apps/{app}/excessiveWakeupRateMetricSet
* @param array $optParams Optional parameters.
* @return GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet::class);
}
/**
* Queries the metrics in the metric set. (excessivewakeuprate.query)
*
* @param string $name Required. The resource name. Format:
* apps/{app}/excessiveWakeupRateMetricSet
* @param GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest $postBody
* @param array $optParams Optional parameters.
* @return GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse
* @throws \Google\Service\Exception
*/
public function query($name, GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('query', [$params], GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VitalsExcessivewakeuprate::class, 'Google_Service_Playdeveloperreporting_Resource_VitalsExcessivewakeuprate');
@@ -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\Playdeveloperreporting\Resource;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1LmkRateMetricSet;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetRequest;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetResponse;
/**
* The "lmkrate" collection of methods.
* Typical usage is:
* <code>
* $playdeveloperreportingService = new Google\Service\Playdeveloperreporting(...);
* $lmkrate = $playdeveloperreportingService->vitals_lmkrate;
* </code>
*/
class VitalsLmkrate extends \Google\Service\Resource
{
/**
* Describes the properties of the metric set. (lmkrate.get)
*
* @param string $name Required. The resource name. Format:
* apps/{app}/lmkRateMetricSet
* @param array $optParams Optional parameters.
* @return GooglePlayDeveloperReportingV1beta1LmkRateMetricSet
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GooglePlayDeveloperReportingV1beta1LmkRateMetricSet::class);
}
/**
* Queries the metrics in the metric set. (lmkrate.query)
*
* @param string $name Required. The resource name. Format:
* apps/{app}/lmkRateMetricSet
* @param GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetRequest $postBody
* @param array $optParams Optional parameters.
* @return GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetResponse
* @throws \Google\Service\Exception
*/
public function query($name, GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('query', [$params], GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VitalsLmkrate::class, 'Google_Service_Playdeveloperreporting_Resource_VitalsLmkrate');
@@ -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\Playdeveloperreporting\Resource;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet;
/**
* The "slowrenderingrate" collection of methods.
* Typical usage is:
* <code>
* $playdeveloperreportingService = new Google\Service\Playdeveloperreporting(...);
* $slowrenderingrate = $playdeveloperreportingService->vitals_slowrenderingrate;
* </code>
*/
class VitalsSlowrenderingrate extends \Google\Service\Resource
{
/**
* Describes the properties of the metric set. (slowrenderingrate.get)
*
* @param string $name Required. The resource name. Format:
* apps/{app}/slowRenderingRateMetricSet
* @param array $optParams Optional parameters.
* @return GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet::class);
}
/**
* Queries the metrics in the metric set. (slowrenderingrate.query)
*
* @param string $name Required. The resource name. Format:
* apps/{app}/slowRenderingRateMetricSet
* @param GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest $postBody
* @param array $optParams Optional parameters.
* @return GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse
* @throws \Google\Service\Exception
*/
public function query($name, GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('query', [$params], GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VitalsSlowrenderingrate::class, 'Google_Service_Playdeveloperreporting_Resource_VitalsSlowrenderingrate');
@@ -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\Playdeveloperreporting\Resource;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet;
/**
* The "slowstartrate" collection of methods.
* Typical usage is:
* <code>
* $playdeveloperreportingService = new Google\Service\Playdeveloperreporting(...);
* $slowstartrate = $playdeveloperreportingService->vitals_slowstartrate;
* </code>
*/
class VitalsSlowstartrate extends \Google\Service\Resource
{
/**
* Describes the properties of the metric set. (slowstartrate.get)
*
* @param string $name Required. The resource name. Format:
* apps/{app}/slowStartRateMetricSet
* @param array $optParams Optional parameters.
* @return GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet::class);
}
/**
* Queries the metrics in the metric set. (slowstartrate.query)
*
* @param string $name Required. The resource name. Format:
* apps/{app}/slowStartRateMetricSet
* @param GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest $postBody
* @param array $optParams Optional parameters.
* @return GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse
* @throws \Google\Service\Exception
*/
public function query($name, GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('query', [$params], GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VitalsSlowstartrate::class, 'Google_Service_Playdeveloperreporting_Resource_VitalsSlowstartrate');
@@ -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\Playdeveloperreporting\Resource;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetResponse;
use Google\Service\Playdeveloperreporting\GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet;
/**
* The "stuckbackgroundwakelockrate" collection of methods.
* Typical usage is:
* <code>
* $playdeveloperreportingService = new Google\Service\Playdeveloperreporting(...);
* $stuckbackgroundwakelockrate = $playdeveloperreportingService->vitals_stuckbackgroundwakelockrate;
* </code>
*/
class VitalsStuckbackgroundwakelockrate extends \Google\Service\Resource
{
/**
* Describes the properties of the metric set. (stuckbackgroundwakelockrate.get)
*
* @param string $name Required. The resource name. Format:
* apps/{app}/stuckBackgroundWakelockRateMetricSet
* @param array $optParams Optional parameters.
* @return GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet::class);
}
/**
* Queries the metrics in the metric set. (stuckbackgroundwakelockrate.query)
*
* @param string $name Required. The resource name. Format:
* apps/{app}/stuckBackgroundWakelockRateMetricSet
* @param GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest $postBody
* @param array $optParams Optional parameters.
* @return GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetResponse
* @throws \Google\Service\Exception
*/
public function query($name, GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('query', [$params], GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VitalsStuckbackgroundwakelockrate::class, 'Google_Service_Playdeveloperreporting_Resource_VitalsStuckbackgroundwakelockrate');