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