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,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');