@maxim_mazurok/gapi.client.playdeveloperreporting-v1alpha1 0.0.20220811

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts ADDED
@@ -0,0 +1,1127 @@
1
+ /* Type definitions for non-npm package Google Play Developer Reporting API v1alpha1 0.0 */
2
+ // Project: https://developers.google.com/play/developer/reporting
3
+ // Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
4
+ // Nick Amoscato <https://github.com/namoscato>
5
+ // Declan Vong <https://github.com/declanvong>
6
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
7
+ // TypeScript Version: 2.8
8
+
9
+ // IMPORTANT
10
+ // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
11
+ // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
12
+ // Generated from: https://playdeveloperreporting.googleapis.com/$discovery/rest?version=v1alpha1
13
+ // Revision: 20220811
14
+
15
+ /// <reference types="gapi.client" />
16
+
17
+ declare namespace gapi.client {
18
+ /** Load Google Play Developer Reporting API v1alpha1 */
19
+ function load(urlOrObject: "https://playdeveloperreporting.googleapis.com/$discovery/rest?version=v1alpha1"): Promise<void>;
20
+ /** @deprecated Please load APIs with discovery documents. */
21
+ function load(name: "playdeveloperreporting", version: "v1alpha1"): Promise<void>;
22
+ /** @deprecated Please load APIs with discovery documents. */
23
+ function load(name: "playdeveloperreporting", version: "v1alpha1", callback: () => any): void;
24
+
25
+ namespace playdeveloperreporting {
26
+ interface GooglePlayDeveloperReportingV1alpha1Anomaly {
27
+ /** Combination of dimensions in which the anomaly was detected. */
28
+ dimensions?: GooglePlayDeveloperReportingV1alpha1DimensionValue[];
29
+ /** Metric where the anomaly was detected, together with the anomalous value. */
30
+ metric?: GooglePlayDeveloperReportingV1alpha1MetricValue;
31
+ /** Metric set resource where the anomaly was detected. */
32
+ metricSet?: string;
33
+ /** Name of the anomaly. Format: apps/{app}/anomalies/{anomaly} */
34
+ name?: string;
35
+ /** Timeline specification that covers the anomaly period. */
36
+ timelineSpec?: GooglePlayDeveloperReportingV1alpha1TimelineSpec;
37
+ }
38
+ interface GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet {
39
+ /** Summary about data freshness in this resource. */
40
+ freshnessInfo?: GooglePlayDeveloperReportingV1alpha1FreshnessInfo;
41
+ /** The resource name. Format: apps/{app}/anrRateMetricSet */
42
+ name?: string;
43
+ }
44
+ interface GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet {
45
+ /** Summary about data freshness in this resource. */
46
+ freshnessInfo?: GooglePlayDeveloperReportingV1alpha1FreshnessInfo;
47
+ /** The resource name. Format: apps/{app}/crashRateMetricSet */
48
+ name?: string;
49
+ }
50
+ interface GooglePlayDeveloperReportingV1alpha1DimensionValue {
51
+ /** Name of the dimension. */
52
+ dimension?: string;
53
+ /** Actual value, represented as an int64. */
54
+ int64Value?: string;
55
+ /** Actual value, represented as a string. */
56
+ stringValue?: string;
57
+ /**
58
+ * 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
59
+ * 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'.
60
+ */
61
+ valueLabel?: string;
62
+ }
63
+ interface GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet {
64
+ /** Summary about data freshness in this resource. */
65
+ freshnessInfo?: GooglePlayDeveloperReportingV1alpha1FreshnessInfo;
66
+ /** The resource name. Format: apps/{app}/errorCountMetricSet */
67
+ name?: string;
68
+ }
69
+ interface GooglePlayDeveloperReportingV1alpha1ErrorIssue {
70
+ /**
71
+ * 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
72
+ * 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.
73
+ * SIGSEGV.
74
+ */
75
+ cause?: string;
76
+ /**
77
+ * 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
78
+ * likely method name that caused the error.
79
+ */
80
+ location?: string;
81
+ /** The resource name of the issue. Format: apps/{app}/errorIssues/{issue} */
82
+ name?: string;
83
+ /** Type of the errors grouped in this issue. */
84
+ type?: string;
85
+ }
86
+ interface GooglePlayDeveloperReportingV1alpha1ErrorReport {
87
+ /**
88
+ * 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
89
+ * recent error reports being assigned to a different issue.
90
+ */
91
+ issue?: string;
92
+ /** The resource name of the report. Format: apps/{app}/errorReports/{report} */
93
+ name?: string;
94
+ /**
95
+ * 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
96
+ * 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
97
+ * that may break systems trying to parse information out of the reports.
98
+ */
99
+ reportText?: string;
100
+ /** Type of the error for which this report was generated. */
101
+ type?: string;
102
+ }
103
+ interface GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet {
104
+ /** Summary about data freshness in this resource. */
105
+ freshnessInfo?: GooglePlayDeveloperReportingV1alpha1FreshnessInfo;
106
+ /** The resource name. Format: apps/{app}/excessiveWakeupRateMetricSet */
107
+ name?: string;
108
+ }
109
+ interface GooglePlayDeveloperReportingV1alpha1FreshnessInfo {
110
+ /** Information about data freshness for every supported aggregation period. This field has set semantics, keyed by the `aggregation_period` field. */
111
+ freshnesses?: GooglePlayDeveloperReportingV1alpha1FreshnessInfoFreshness[];
112
+ }
113
+ interface GooglePlayDeveloperReportingV1alpha1FreshnessInfoFreshness {
114
+ /** Aggregation period for which data is available. */
115
+ aggregationPeriod?: string;
116
+ /**
117
+ * 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
118
+ * 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
119
+ * 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.
120
+ */
121
+ latestEndTime?: GoogleTypeDateTime;
122
+ }
123
+ interface GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse {
124
+ /** Anomalies that were found. */
125
+ anomalies?: GooglePlayDeveloperReportingV1alpha1Anomaly[];
126
+ /** Continuation token to fetch the next page of data. */
127
+ nextPageToken?: string;
128
+ }
129
+ interface GooglePlayDeveloperReportingV1alpha1MetricsRow {
130
+ /** Granularity of the aggregation period of the row. */
131
+ aggregationPeriod?: string;
132
+ /** Dimension columns in the row. */
133
+ dimensions?: GooglePlayDeveloperReportingV1alpha1DimensionValue[];
134
+ /** Metric columns in the row. */
135
+ metrics?: GooglePlayDeveloperReportingV1alpha1MetricValue[];
136
+ /** Starting date (and time for hourly aggregation) of the period covered by this row. */
137
+ startTime?: GoogleTypeDateTime;
138
+ }
139
+ interface GooglePlayDeveloperReportingV1alpha1MetricValue {
140
+ /** Actual value, represented as a decimal number. */
141
+ decimalValue?: GoogleTypeDecimal;
142
+ /** Name of the metric. */
143
+ metric?: string;
144
+ }
145
+ interface GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest {
146
+ /**
147
+ * Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version
148
+ * of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form
149
+ * factor) of the user's device. * `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
150
+ * 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,
151
+ * e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip,
152
+ * e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. *
153
+ * `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
154
+ * 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". *
155
+ * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi`
156
+ * (string): Screen density of the device, e.g., mdpi, hdpi.
157
+ */
158
+ dimensions?: string[];
159
+ /** 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. */
160
+ filter?: string;
161
+ /**
162
+ * Metrics to aggregate. **Supported metrics:** * `anrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one ANR. If your
163
+ * app exhibits an ANR rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `anrRate7dUserWeighted`
164
+ * (`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. * `anrRate28dUserWeighted`
165
+ * (`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. * `distinctUsers`
166
+ * (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `anrRate` metric. A user is counted in this metric if they
167
+ * 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.
168
+ */
169
+ metrics?: string[];
170
+ /** 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. */
171
+ pageSize?: number;
172
+ /**
173
+ * 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
174
+ * provided the page token.
175
+ */
176
+ pageToken?: string;
177
+ /**
178
+ * Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints,
179
+ * the default and only supported timezone is `America/Los_Angeles`.
180
+ */
181
+ timelineSpec?: GooglePlayDeveloperReportingV1alpha1TimelineSpec;
182
+ }
183
+ interface GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse {
184
+ /** Continuation token to fetch the next page of data. */
185
+ nextPageToken?: string;
186
+ /** Returned rows of data. */
187
+ rows?: GooglePlayDeveloperReportingV1alpha1MetricsRow[];
188
+ }
189
+ interface GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest {
190
+ /**
191
+ * Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version
192
+ * of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form
193
+ * factor) of the user's device. * `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
194
+ * 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,
195
+ * e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip,
196
+ * e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. *
197
+ * `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
198
+ * 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". *
199
+ * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi`
200
+ * (string): Screen density of the device, e.g., mdpi, hdpi.
201
+ */
202
+ dimensions?: string[];
203
+ /** 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. */
204
+ filter?: string;
205
+ /**
206
+ * Metrics to aggregate. **Supported metrics:** * `crashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash. If
207
+ * your app exhibits a crash rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). *
208
+ * `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.
209
+ * * `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
210
+ * day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `crashRate` metric. A user is counted
211
+ * 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
212
+ * multiple times.
213
+ */
214
+ metrics?: string[];
215
+ /** 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. */
216
+ pageSize?: number;
217
+ /**
218
+ * 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
219
+ * provided the page token.
220
+ */
221
+ pageToken?: string;
222
+ /**
223
+ * Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints,
224
+ * the default and only supported timezone is `America/Los_Angeles`.
225
+ */
226
+ timelineSpec?: GooglePlayDeveloperReportingV1alpha1TimelineSpec;
227
+ }
228
+ interface GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse {
229
+ /** Continuation token to fetch the next page of data. */
230
+ nextPageToken?: string;
231
+ /** Returned rows of data. */
232
+ rows?: GooglePlayDeveloperReportingV1alpha1MetricsRow[];
233
+ }
234
+ interface GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest {
235
+ /**
236
+ * Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of
237
+ * the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form
238
+ * 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
239
+ * 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.). *
240
+ * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) *
241
+ * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) *
242
+ * `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
243
+ * 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. *
244
+ * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize`
245
+ * (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.
246
+ */
247
+ dimensions?: string[];
248
+ /** 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. */
249
+ filter?: string;
250
+ /**
251
+ * Metrics to aggregate. **Supported metrics:** * `errorReportCount` (`google.type.Decimal`): Absolute count of individual error reports that have been received for an app. *
252
+ * `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
253
+ * users being counted multiple times.
254
+ */
255
+ metrics?: string[];
256
+ /** 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. */
257
+ pageSize?: number;
258
+ /**
259
+ * 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
260
+ * provided the page token.
261
+ */
262
+ pageToken?: string;
263
+ /**
264
+ * Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. The default and only supported
265
+ * timezone is `America/Los_Angeles`.
266
+ */
267
+ timelineSpec?: GooglePlayDeveloperReportingV1alpha1TimelineSpec;
268
+ }
269
+ interface GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse {
270
+ /** Continuation token to fetch the next page of data. */
271
+ nextPageToken?: string;
272
+ /** Returned rows. */
273
+ rows?: GooglePlayDeveloperReportingV1alpha1MetricsRow[];
274
+ }
275
+ interface GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRequest {
276
+ /**
277
+ * Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of
278
+ * the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor)
279
+ * of the user's device. * `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
280
+ * 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.
281
+ * [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., "Exynos
282
+ * 2100". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel`
283
+ * (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.,
284
+ * Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". * `deviceGlEsVersion`
285
+ * (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen
286
+ * density of the device, e.g., mdpi, hdpi.
287
+ */
288
+ dimensions?: string[];
289
+ /** 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. */
290
+ filter?: string;
291
+ /**
292
+ * Metrics to aggregate. **Supported metrics:** * `excessiveWakeupRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had more than 10 wakeups
293
+ * per hour. If your app exhibits an excessive wakeup rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). *
294
+ * `excessiveWakeupRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 7 days. The daily values are weighted by the count of
295
+ * distinct users for the day. * `excessiveWakeupRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 28 days. The daily values are
296
+ * 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
297
+ * 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
298
+ * work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times.
299
+ */
300
+ metrics?: string[];
301
+ /** 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. */
302
+ pageSize?: number;
303
+ /**
304
+ * 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
305
+ * provided the page token.
306
+ */
307
+ pageToken?: string;
308
+ /**
309
+ * Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints,
310
+ * the only supported timezone is `America/Los_Angeles`.
311
+ */
312
+ timelineSpec?: GooglePlayDeveloperReportingV1alpha1TimelineSpec;
313
+ }
314
+ interface GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse {
315
+ /** Continuation token to fetch the next page of data. */
316
+ nextPageToken?: string;
317
+ /** Returned rows of data. */
318
+ rows?: GooglePlayDeveloperReportingV1alpha1MetricsRow[];
319
+ }
320
+ interface GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetRequest {
321
+ /**
322
+ * Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of
323
+ * the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form factor)
324
+ * of the user's device. * `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
325
+ * 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.
326
+ * [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., "Exynos
327
+ * 2100". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel`
328
+ * (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.,
329
+ * Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". * `deviceGlEsVersion`
330
+ * (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen
331
+ * density of the device, e.g., mdpi, hdpi.
332
+ */
333
+ dimensions?: string[];
334
+ /** 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. */
335
+ filter?: string;
336
+ /**
337
+ * Metrics to aggregate. **Supported metrics:** * `stuckBgWakelockRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a wakelock held in the
338
+ * background for longer than 1 hour. If your app exhibits a stuck background wakelock rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on
339
+ * Google Play (by number of installs). * `stuckBgWakelockRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 7 days. The daily
340
+ * values are weighted by the count of distinct users for the day. * `stuckBgWakelockRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the
341
+ * 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
342
+ * 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
343
+ * 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.
344
+ */
345
+ metrics?: string[];
346
+ /** 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. */
347
+ pageSize?: number;
348
+ /**
349
+ * 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
350
+ * provided the page token.
351
+ */
352
+ pageToken?: string;
353
+ /**
354
+ * Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints,
355
+ * the only supported timezone is `America/Los_Angeles`.
356
+ */
357
+ timelineSpec?: GooglePlayDeveloperReportingV1alpha1TimelineSpec;
358
+ }
359
+ interface GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetResponse {
360
+ /** Continuation token to fetch the next page of data. */
361
+ nextPageToken?: string;
362
+ /** Returned rows of data. */
363
+ rows?: GooglePlayDeveloperReportingV1alpha1MetricsRow[];
364
+ }
365
+ interface GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse {
366
+ /** ErrorIssues that were found. */
367
+ errorIssues?: GooglePlayDeveloperReportingV1alpha1ErrorIssue[];
368
+ /** Continuation token to fetch the next page of data. */
369
+ nextPageToken?: string;
370
+ }
371
+ interface GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse {
372
+ /** Error reports that were found. */
373
+ errorReports?: GooglePlayDeveloperReportingV1alpha1ErrorReport[];
374
+ /** Page token to fetch the next page of reports. */
375
+ nextPageToken?: string;
376
+ }
377
+ interface GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet {
378
+ /** Summary about data freshness in this resource. */
379
+ freshnessInfo?: GooglePlayDeveloperReportingV1alpha1FreshnessInfo;
380
+ /** The resource name. Format: apps/{app}/stuckBackgroundWakelockRateMetricSet */
381
+ name?: string;
382
+ }
383
+ interface GooglePlayDeveloperReportingV1alpha1TimelineSpec {
384
+ /** 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. */
385
+ aggregationPeriod?: string;
386
+ /** 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. */
387
+ endTime?: GoogleTypeDateTime;
388
+ /**
389
+ * 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
390
+ * 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',
391
+ * '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
392
+ * set. The timezone of the end point must match the timezone of the start point.
393
+ */
394
+ startTime?: GoogleTypeDateTime;
395
+ }
396
+ interface GoogleTypeDateTime {
397
+ /** 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. */
398
+ day?: number;
399
+ /** 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. */
400
+ hours?: number;
401
+ /** Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. */
402
+ minutes?: number;
403
+ /** Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month. */
404
+ month?: number;
405
+ /** Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0. */
406
+ nanos?: number;
407
+ /** 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. */
408
+ seconds?: number;
409
+ /** Time zone. */
410
+ timeZone?: GoogleTypeTimeZone;
411
+ /** 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 }. */
412
+ utcOffset?: string;
413
+ /** Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. */
414
+ year?: number;
415
+ }
416
+ interface GoogleTypeDecimal {
417
+ /**
418
+ * 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
419
+ * integer"), optionally followed by a fraction, optionally followed by an exponent. The fraction consists of a decimal point followed by zero or more decimal digits. The string must
420
+ * 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
421
+ * 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
422
+ * explicitly-provided `+` sign (`+2.5` -> `2.5`). - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - Coercing the exponent character to lower-case (`2.5E8` ->
423
+ * `2.5e8`). - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). Services **may** perform additional normalization based on its own needs and the internal decimal
424
+ * 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
425
+ * 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**
426
+ * 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:
427
+ * DecimalString = [Sign] Significand [Exponent]; Sign = '+' | '-'; Significand = Digits '.' | [Digits] '.' Digits; Exponent = ('e' | 'E') [Sign] Digits; Digits = { '0' | '1' | '2' |
428
+ * '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
429
+ * 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
430
+ * 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**
431
+ * 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
432
+ * receives a value outside of the supported range.
433
+ */
434
+ value?: string;
435
+ }
436
+ interface GoogleTypeTimeZone {
437
+ /** IANA Time Zone Database time zone, e.g. "America/New_York". */
438
+ id?: string;
439
+ /** Optional. IANA Time Zone Database version number, e.g. "2019a". */
440
+ version?: string;
441
+ }
442
+ interface AnomaliesResource {
443
+ /** Lists anomalies in any of the datasets. */
444
+ list(request?: {
445
+ /** V1 error format. */
446
+ "$.xgafv"?: string;
447
+ /** OAuth access token. */
448
+ access_token?: string;
449
+ /** Data format for response. */
450
+ alt?: string;
451
+ /** JSONP */
452
+ callback?: string;
453
+ /** Selector specifying which fields to include in a partial response. */
454
+ fields?: string;
455
+ /**
456
+ * Filtering criteria for anomalies. For basic filter guidance, please check: https://google.aip.dev/160. **Supported functions:** * `activeBetween(startTime, endTime)`: If
457
+ * 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
458
+ * 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
459
+ * upper bound, respectively. Examples: * `activeBetween("2021-04-21T11:30:00Z", "2021-07-21T00:00:00Z")` * `activeBetween(UNBOUNDED, "2021-11-21T00:00:00-04:00")` *
460
+ * `activeBetween("2021-07-21T00:00:00-04:00", UNBOUNDED)`
461
+ */
462
+ filter?: string;
463
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
464
+ key?: string;
465
+ /** OAuth 2.0 token for the current user. */
466
+ oauth_token?: string;
467
+ /** 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. */
468
+ pageSize?: number;
469
+ /**
470
+ * A page token, received from a previous `ListErrorReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
471
+ * `ListErrorReports` must match the call that provided the page token.
472
+ */
473
+ pageToken?: string;
474
+ /** Required. Parent app for which anomalies were detected. Format: apps/{app} */
475
+ parent: string;
476
+ /** Returns response with indentations and line breaks. */
477
+ prettyPrint?: boolean;
478
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
479
+ quotaUser?: string;
480
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
481
+ upload_protocol?: string;
482
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
483
+ uploadType?: string;
484
+ }): Request<GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse>;
485
+ }
486
+ interface AnrrateResource {
487
+ /** Describes the properties of the metric set. */
488
+ get(request?: {
489
+ /** V1 error format. */
490
+ "$.xgafv"?: string;
491
+ /** OAuth access token. */
492
+ access_token?: string;
493
+ /** Data format for response. */
494
+ alt?: string;
495
+ /** JSONP */
496
+ callback?: string;
497
+ /** Selector specifying which fields to include in a partial response. */
498
+ fields?: string;
499
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
500
+ key?: string;
501
+ /** Required. The resource name. Format: apps/{app}/anrRateMetricSet */
502
+ name: string;
503
+ /** OAuth 2.0 token for the current user. */
504
+ oauth_token?: string;
505
+ /** Returns response with indentations and line breaks. */
506
+ prettyPrint?: boolean;
507
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
508
+ quotaUser?: string;
509
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
510
+ upload_protocol?: string;
511
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
512
+ uploadType?: string;
513
+ }): Request<GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet>;
514
+ /** Queries the metrics in the metric set. */
515
+ query(request: {
516
+ /** V1 error format. */
517
+ "$.xgafv"?: string;
518
+ /** OAuth access token. */
519
+ access_token?: string;
520
+ /** Data format for response. */
521
+ alt?: string;
522
+ /** JSONP */
523
+ callback?: string;
524
+ /** Selector specifying which fields to include in a partial response. */
525
+ fields?: string;
526
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
527
+ key?: string;
528
+ /** Required. The resource name. Format: apps/{app}/anrRateMetricSet */
529
+ name: string;
530
+ /** OAuth 2.0 token for the current user. */
531
+ oauth_token?: string;
532
+ /** Returns response with indentations and line breaks. */
533
+ prettyPrint?: boolean;
534
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
535
+ quotaUser?: string;
536
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
537
+ upload_protocol?: string;
538
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
539
+ uploadType?: string;
540
+ /** Request body */
541
+ resource: GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest;
542
+ }): Request<GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse>;
543
+ query(request: {
544
+ /** V1 error format. */
545
+ "$.xgafv"?: string;
546
+ /** OAuth access token. */
547
+ access_token?: string;
548
+ /** Data format for response. */
549
+ alt?: string;
550
+ /** JSONP */
551
+ callback?: string;
552
+ /** Selector specifying which fields to include in a partial response. */
553
+ fields?: string;
554
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
555
+ key?: string;
556
+ /** Required. The resource name. Format: apps/{app}/anrRateMetricSet */
557
+ name: string;
558
+ /** OAuth 2.0 token for the current user. */
559
+ oauth_token?: string;
560
+ /** Returns response with indentations and line breaks. */
561
+ prettyPrint?: boolean;
562
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
563
+ quotaUser?: string;
564
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
565
+ upload_protocol?: string;
566
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
567
+ uploadType?: string;
568
+ },
569
+ body: GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest): Request<GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse>;
570
+ }
571
+ interface CrashrateResource {
572
+ /** Describes the properties of the metric set. */
573
+ get(request?: {
574
+ /** V1 error format. */
575
+ "$.xgafv"?: string;
576
+ /** OAuth access token. */
577
+ access_token?: string;
578
+ /** Data format for response. */
579
+ alt?: string;
580
+ /** JSONP */
581
+ callback?: string;
582
+ /** Selector specifying which fields to include in a partial response. */
583
+ fields?: string;
584
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
585
+ key?: string;
586
+ /** Required. The resource name. Format: apps/{app}/crashRateMetricSet */
587
+ name: string;
588
+ /** OAuth 2.0 token for the current user. */
589
+ oauth_token?: string;
590
+ /** Returns response with indentations and line breaks. */
591
+ prettyPrint?: boolean;
592
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
593
+ quotaUser?: string;
594
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
595
+ upload_protocol?: string;
596
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
597
+ uploadType?: string;
598
+ }): Request<GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet>;
599
+ /** Queries the metrics in the metric set. */
600
+ query(request: {
601
+ /** V1 error format. */
602
+ "$.xgafv"?: string;
603
+ /** OAuth access token. */
604
+ access_token?: string;
605
+ /** Data format for response. */
606
+ alt?: string;
607
+ /** JSONP */
608
+ callback?: string;
609
+ /** Selector specifying which fields to include in a partial response. */
610
+ fields?: string;
611
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
612
+ key?: string;
613
+ /** Required. The resource name. Format: apps/{app}/crashRateMetricSet */
614
+ name: string;
615
+ /** OAuth 2.0 token for the current user. */
616
+ oauth_token?: string;
617
+ /** Returns response with indentations and line breaks. */
618
+ prettyPrint?: boolean;
619
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
620
+ quotaUser?: string;
621
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
622
+ upload_protocol?: string;
623
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
624
+ uploadType?: string;
625
+ /** Request body */
626
+ resource: GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest;
627
+ }): Request<GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse>;
628
+ query(request: {
629
+ /** V1 error format. */
630
+ "$.xgafv"?: string;
631
+ /** OAuth access token. */
632
+ access_token?: string;
633
+ /** Data format for response. */
634
+ alt?: string;
635
+ /** JSONP */
636
+ callback?: string;
637
+ /** Selector specifying which fields to include in a partial response. */
638
+ fields?: string;
639
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
640
+ key?: string;
641
+ /** Required. The resource name. Format: apps/{app}/crashRateMetricSet */
642
+ name: string;
643
+ /** OAuth 2.0 token for the current user. */
644
+ oauth_token?: string;
645
+ /** Returns response with indentations and line breaks. */
646
+ prettyPrint?: boolean;
647
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
648
+ quotaUser?: string;
649
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
650
+ upload_protocol?: string;
651
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
652
+ uploadType?: string;
653
+ },
654
+ body: GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest): Request<GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse>;
655
+ }
656
+ interface CountsResource {
657
+ /** Describes the properties of the metrics set. */
658
+ get(request?: {
659
+ /** V1 error format. */
660
+ "$.xgafv"?: string;
661
+ /** OAuth access token. */
662
+ access_token?: string;
663
+ /** Data format for response. */
664
+ alt?: string;
665
+ /** JSONP */
666
+ callback?: string;
667
+ /** Selector specifying which fields to include in a partial response. */
668
+ fields?: string;
669
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
670
+ key?: string;
671
+ /** Required. Name of the errors metric set. Format: apps/{app}/errorCountMetricSet */
672
+ name: string;
673
+ /** OAuth 2.0 token for the current user. */
674
+ oauth_token?: string;
675
+ /** Returns response with indentations and line breaks. */
676
+ prettyPrint?: boolean;
677
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
678
+ quotaUser?: string;
679
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
680
+ upload_protocol?: string;
681
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
682
+ uploadType?: string;
683
+ }): Request<GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet>;
684
+ /** Queries the metrics in the metrics set. */
685
+ query(request: {
686
+ /** V1 error format. */
687
+ "$.xgafv"?: string;
688
+ /** OAuth access token. */
689
+ access_token?: string;
690
+ /** Data format for response. */
691
+ alt?: string;
692
+ /** JSONP */
693
+ callback?: string;
694
+ /** Selector specifying which fields to include in a partial response. */
695
+ fields?: string;
696
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
697
+ key?: string;
698
+ /** Required. The resource name. Format: apps/{app}/errorCountMetricSet */
699
+ name: string;
700
+ /** OAuth 2.0 token for the current user. */
701
+ oauth_token?: string;
702
+ /** Returns response with indentations and line breaks. */
703
+ prettyPrint?: boolean;
704
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
705
+ quotaUser?: string;
706
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
707
+ upload_protocol?: string;
708
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
709
+ uploadType?: string;
710
+ /** Request body */
711
+ resource: GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest;
712
+ }): Request<GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse>;
713
+ query(request: {
714
+ /** V1 error format. */
715
+ "$.xgafv"?: string;
716
+ /** OAuth access token. */
717
+ access_token?: string;
718
+ /** Data format for response. */
719
+ alt?: string;
720
+ /** JSONP */
721
+ callback?: string;
722
+ /** Selector specifying which fields to include in a partial response. */
723
+ fields?: string;
724
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
725
+ key?: string;
726
+ /** Required. The resource name. Format: apps/{app}/errorCountMetricSet */
727
+ name: string;
728
+ /** OAuth 2.0 token for the current user. */
729
+ oauth_token?: string;
730
+ /** Returns response with indentations and line breaks. */
731
+ prettyPrint?: boolean;
732
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
733
+ quotaUser?: string;
734
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
735
+ upload_protocol?: string;
736
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
737
+ uploadType?: string;
738
+ },
739
+ body: GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest): Request<GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse>;
740
+ }
741
+ interface IssuesResource {
742
+ /** Searches all error issues in which reports have been grouped. */
743
+ search(request?: {
744
+ /** V1 error format. */
745
+ "$.xgafv"?: string;
746
+ /** OAuth access token. */
747
+ access_token?: string;
748
+ /** Data format for response. */
749
+ alt?: string;
750
+ /** JSONP */
751
+ callback?: string;
752
+ /** Selector specifying which fields to include in a partial response. */
753
+ fields?: string;
754
+ /**
755
+ * 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,
756
+ * 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
757
+ * 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:
758
+ * `versionCode = 123 OR versionCode = 456`. * `deviceModel`: Matches error issues that occurred in the requested devices. Example: `deviceModel = "walleye" OR deviceModel =
759
+ * "marlin"`. * `deviceType`: Matches error issues that occurred in the requested device types. Example: `deviceType = "PHONE"`. * `errorIssueType`: Matches error issues of the
760
+ * requested types only. Valid candidates: `CRASH`, `ANR`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. ** Supported operators:** * Comparison operators: The only
761
+ * 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
762
+ * 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
763
+ * 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
764
+ * errorIssueType = ANR` is not a valid filter. ** Examples ** Some valid filtering expressions: * `versionCode = 123 AND errorIssueType = ANR` * `versionCode = 123 AND
765
+ * errorIssueType = OR errorIssueType = CRASH` * `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`
766
+ */
767
+ filter?: string;
768
+ /** 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. */
769
+ "interval.endTime.day"?: number;
770
+ /**
771
+ * 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
772
+ * time.
773
+ */
774
+ "interval.endTime.hours"?: number;
775
+ /** Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. */
776
+ "interval.endTime.minutes"?: number;
777
+ /** Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month. */
778
+ "interval.endTime.month"?: number;
779
+ /** Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0. */
780
+ "interval.endTime.nanos"?: number;
781
+ /** 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. */
782
+ "interval.endTime.seconds"?: number;
783
+ /** IANA Time Zone Database time zone, e.g. "America/New_York". */
784
+ "interval.endTime.timeZone.id"?: string;
785
+ /** Optional. IANA Time Zone Database version number, e.g. "2019a". */
786
+ "interval.endTime.timeZone.version"?: string;
787
+ /** 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 }. */
788
+ "interval.endTime.utcOffset"?: string;
789
+ /** Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. */
790
+ "interval.endTime.year"?: number;
791
+ /** 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. */
792
+ "interval.startTime.day"?: number;
793
+ /**
794
+ * 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
795
+ * time.
796
+ */
797
+ "interval.startTime.hours"?: number;
798
+ /** Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. */
799
+ "interval.startTime.minutes"?: number;
800
+ /** Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month. */
801
+ "interval.startTime.month"?: number;
802
+ /** Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0. */
803
+ "interval.startTime.nanos"?: number;
804
+ /** 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. */
805
+ "interval.startTime.seconds"?: number;
806
+ /** IANA Time Zone Database time zone, e.g. "America/New_York". */
807
+ "interval.startTime.timeZone.id"?: string;
808
+ /** Optional. IANA Time Zone Database version number, e.g. "2019a". */
809
+ "interval.startTime.timeZone.version"?: string;
810
+ /** 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 }. */
811
+ "interval.startTime.utcOffset"?: string;
812
+ /** Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. */
813
+ "interval.startTime.year"?: number;
814
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
815
+ key?: string;
816
+ /** OAuth 2.0 token for the current user. */
817
+ oauth_token?: string;
818
+ /**
819
+ * 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;
820
+ * values above 1000 will be coerced to 1000.
821
+ */
822
+ pageSize?: number;
823
+ /**
824
+ * 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
825
+ * provided the page token.
826
+ */
827
+ pageToken?: string;
828
+ /** Required. Parent resource of the error issues, indicating the application for which they were received. Format: apps/{app} */
829
+ parent: string;
830
+ /** Returns response with indentations and line breaks. */
831
+ prettyPrint?: boolean;
832
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
833
+ quotaUser?: string;
834
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
835
+ upload_protocol?: string;
836
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
837
+ uploadType?: string;
838
+ }): Request<GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse>;
839
+ }
840
+ interface ReportsResource {
841
+ /** Searches all error reports received for an app. */
842
+ search(request?: {
843
+ /** V1 error format. */
844
+ "$.xgafv"?: string;
845
+ /** OAuth access token. */
846
+ access_token?: string;
847
+ /** Data format for response. */
848
+ alt?: string;
849
+ /** JSONP */
850
+ callback?: string;
851
+ /** Selector specifying which fields to include in a partial response. */
852
+ fields?: string;
853
+ /**
854
+ * 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:** *
855
+ * `apiLevel`: Matches error reports that occurred in the requested Android versions (specified as the numeric API level) only. Example: `apiLevel = 28 OR apiLevel = 29`. *
856
+ * `versionCode`: Matches error reports that occurred in the requested app version codes only. Example: `versionCode = 123 OR versionCode = 456`. * `deviceModel`: Matches error
857
+ * reports that occurred in the requested devices. Example: `deviceModel = "walleye" OR deviceModel = "marlin"`. * `deviceType`: Matches error reports that occurred in the
858
+ * requested device types. Example: `deviceType = "PHONE"`. * `errorIssueType`: Matches error reports of the requested types only. Valid candidates: `JAVA_CRASH`, `NATIVE_CRASH`,
859
+ * `ANR`. Example: `errorIssueType = JAVA_CRASH OR errorIssueType = NATIVE_CRASH`. * `errorIssueId`: Matches error reports belonging to the requested error issue ids only. Example:
860
+ * `errorIssueId = 1234 OR errorIssueId = 4567`. ** Supported operators:** * Comparison operators: The only supported comparison operator is equality. The filtered field must
861
+ * 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
862
+ * (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
863
+ * 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`
864
+ * is not valid. ** Examples ** Some valid filtering expressions: * `versionCode = 123 AND errorIssueType = ANR` * `versionCode = 123 AND errorIssueType = OR errorIssueType =
865
+ * CRASH` * `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`
866
+ */
867
+ filter?: string;
868
+ /** 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. */
869
+ "interval.endTime.day"?: number;
870
+ /**
871
+ * 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
872
+ * time.
873
+ */
874
+ "interval.endTime.hours"?: number;
875
+ /** Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. */
876
+ "interval.endTime.minutes"?: number;
877
+ /** Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month. */
878
+ "interval.endTime.month"?: number;
879
+ /** Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0. */
880
+ "interval.endTime.nanos"?: number;
881
+ /** 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. */
882
+ "interval.endTime.seconds"?: number;
883
+ /** IANA Time Zone Database time zone, e.g. "America/New_York". */
884
+ "interval.endTime.timeZone.id"?: string;
885
+ /** Optional. IANA Time Zone Database version number, e.g. "2019a". */
886
+ "interval.endTime.timeZone.version"?: string;
887
+ /** 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 }. */
888
+ "interval.endTime.utcOffset"?: string;
889
+ /** Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. */
890
+ "interval.endTime.year"?: number;
891
+ /** 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. */
892
+ "interval.startTime.day"?: number;
893
+ /**
894
+ * 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
895
+ * time.
896
+ */
897
+ "interval.startTime.hours"?: number;
898
+ /** Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. */
899
+ "interval.startTime.minutes"?: number;
900
+ /** Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month. */
901
+ "interval.startTime.month"?: number;
902
+ /** Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0. */
903
+ "interval.startTime.nanos"?: number;
904
+ /** 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. */
905
+ "interval.startTime.seconds"?: number;
906
+ /** IANA Time Zone Database time zone, e.g. "America/New_York". */
907
+ "interval.startTime.timeZone.id"?: string;
908
+ /** Optional. IANA Time Zone Database version number, e.g. "2019a". */
909
+ "interval.startTime.timeZone.version"?: string;
910
+ /** 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 }. */
911
+ "interval.startTime.utcOffset"?: string;
912
+ /** Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. */
913
+ "interval.startTime.year"?: number;
914
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
915
+ key?: string;
916
+ /** OAuth 2.0 token for the current user. */
917
+ oauth_token?: string;
918
+ /**
919
+ * 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 1000; values
920
+ * above 1000 will be coerced to 1000.
921
+ */
922
+ pageSize?: number;
923
+ /**
924
+ * A page token, received from a previous `SearchErrorReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
925
+ * `SearchErrorReports` must match the call that provided the page token.
926
+ */
927
+ pageToken?: string;
928
+ /** Required. Parent resource of the reports, indicating the application for which they were received. Format: apps/{app} */
929
+ parent: string;
930
+ /** Returns response with indentations and line breaks. */
931
+ prettyPrint?: boolean;
932
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
933
+ quotaUser?: string;
934
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
935
+ upload_protocol?: string;
936
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
937
+ uploadType?: string;
938
+ }): Request<GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse>;
939
+ }
940
+ interface ErrorsResource {
941
+ counts: CountsResource;
942
+ issues: IssuesResource;
943
+ reports: ReportsResource;
944
+ }
945
+ interface ExcessivewakeuprateResource {
946
+ /** Describes the properties of the metric set. */
947
+ get(request?: {
948
+ /** V1 error format. */
949
+ "$.xgafv"?: string;
950
+ /** OAuth access token. */
951
+ access_token?: string;
952
+ /** Data format for response. */
953
+ alt?: string;
954
+ /** JSONP */
955
+ callback?: string;
956
+ /** Selector specifying which fields to include in a partial response. */
957
+ fields?: string;
958
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
959
+ key?: string;
960
+ /** Required. The resource name. Format: apps/{app}/excessiveWakeupRateMetricSet */
961
+ name: string;
962
+ /** OAuth 2.0 token for the current user. */
963
+ oauth_token?: string;
964
+ /** Returns response with indentations and line breaks. */
965
+ prettyPrint?: boolean;
966
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
967
+ quotaUser?: string;
968
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
969
+ upload_protocol?: string;
970
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
971
+ uploadType?: string;
972
+ }): Request<GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet>;
973
+ /** Queries the metrics in the metric set. */
974
+ query(request: {
975
+ /** V1 error format. */
976
+ "$.xgafv"?: string;
977
+ /** OAuth access token. */
978
+ access_token?: string;
979
+ /** Data format for response. */
980
+ alt?: string;
981
+ /** JSONP */
982
+ callback?: string;
983
+ /** Selector specifying which fields to include in a partial response. */
984
+ fields?: string;
985
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
986
+ key?: string;
987
+ /** Required. The resource name. Format: apps/{app}/excessiveWakeupRateMetricSet */
988
+ name: string;
989
+ /** OAuth 2.0 token for the current user. */
990
+ oauth_token?: string;
991
+ /** Returns response with indentations and line breaks. */
992
+ prettyPrint?: boolean;
993
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
994
+ quotaUser?: string;
995
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
996
+ upload_protocol?: string;
997
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
998
+ uploadType?: string;
999
+ /** Request body */
1000
+ resource: GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRequest;
1001
+ }): Request<GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse>;
1002
+ query(request: {
1003
+ /** V1 error format. */
1004
+ "$.xgafv"?: string;
1005
+ /** OAuth access token. */
1006
+ access_token?: string;
1007
+ /** Data format for response. */
1008
+ alt?: string;
1009
+ /** JSONP */
1010
+ callback?: string;
1011
+ /** Selector specifying which fields to include in a partial response. */
1012
+ fields?: string;
1013
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1014
+ key?: string;
1015
+ /** Required. The resource name. Format: apps/{app}/excessiveWakeupRateMetricSet */
1016
+ name: string;
1017
+ /** OAuth 2.0 token for the current user. */
1018
+ oauth_token?: string;
1019
+ /** Returns response with indentations and line breaks. */
1020
+ prettyPrint?: boolean;
1021
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1022
+ quotaUser?: string;
1023
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1024
+ upload_protocol?: string;
1025
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1026
+ uploadType?: string;
1027
+ },
1028
+ body: GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRequest): Request<GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse>;
1029
+ }
1030
+ interface StuckbackgroundwakelockrateResource {
1031
+ /** Describes the properties of the metric set. */
1032
+ get(request?: {
1033
+ /** V1 error format. */
1034
+ "$.xgafv"?: string;
1035
+ /** OAuth access token. */
1036
+ access_token?: string;
1037
+ /** Data format for response. */
1038
+ alt?: string;
1039
+ /** JSONP */
1040
+ callback?: string;
1041
+ /** Selector specifying which fields to include in a partial response. */
1042
+ fields?: string;
1043
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1044
+ key?: string;
1045
+ /** Required. The resource name. Format: apps/{app}/stuckBackgroundWakelockRateMetricSet */
1046
+ name: string;
1047
+ /** OAuth 2.0 token for the current user. */
1048
+ oauth_token?: string;
1049
+ /** Returns response with indentations and line breaks. */
1050
+ prettyPrint?: boolean;
1051
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1052
+ quotaUser?: string;
1053
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1054
+ upload_protocol?: string;
1055
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1056
+ uploadType?: string;
1057
+ }): Request<GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet>;
1058
+ /** Queries the metrics in the metric set. */
1059
+ query(request: {
1060
+ /** V1 error format. */
1061
+ "$.xgafv"?: string;
1062
+ /** OAuth access token. */
1063
+ access_token?: string;
1064
+ /** Data format for response. */
1065
+ alt?: string;
1066
+ /** JSONP */
1067
+ callback?: string;
1068
+ /** Selector specifying which fields to include in a partial response. */
1069
+ fields?: string;
1070
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1071
+ key?: string;
1072
+ /** Required. The resource name. Format: apps/{app}/stuckBackgroundWakelockRateMetricSet */
1073
+ name: string;
1074
+ /** OAuth 2.0 token for the current user. */
1075
+ oauth_token?: string;
1076
+ /** Returns response with indentations and line breaks. */
1077
+ prettyPrint?: boolean;
1078
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1079
+ quotaUser?: string;
1080
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1081
+ upload_protocol?: string;
1082
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1083
+ uploadType?: string;
1084
+ /** Request body */
1085
+ resource: GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetRequest;
1086
+ }): Request<GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetResponse>;
1087
+ query(request: {
1088
+ /** V1 error format. */
1089
+ "$.xgafv"?: string;
1090
+ /** OAuth access token. */
1091
+ access_token?: string;
1092
+ /** Data format for response. */
1093
+ alt?: string;
1094
+ /** JSONP */
1095
+ callback?: string;
1096
+ /** Selector specifying which fields to include in a partial response. */
1097
+ fields?: string;
1098
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1099
+ key?: string;
1100
+ /** Required. The resource name. Format: apps/{app}/stuckBackgroundWakelockRateMetricSet */
1101
+ name: string;
1102
+ /** OAuth 2.0 token for the current user. */
1103
+ oauth_token?: string;
1104
+ /** Returns response with indentations and line breaks. */
1105
+ prettyPrint?: boolean;
1106
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1107
+ quotaUser?: string;
1108
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1109
+ upload_protocol?: string;
1110
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1111
+ uploadType?: string;
1112
+ },
1113
+ body: GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetRequest): Request<GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetResponse>;
1114
+ }
1115
+ interface VitalsResource {
1116
+ anrrate: AnrrateResource;
1117
+ crashrate: CrashrateResource;
1118
+ errors: ErrorsResource;
1119
+ excessivewakeuprate: ExcessivewakeuprateResource;
1120
+ stuckbackgroundwakelockrate: StuckbackgroundwakelockrateResource;
1121
+ }
1122
+
1123
+ const anomalies: AnomaliesResource;
1124
+
1125
+ const vitals: VitalsResource;
1126
+ }
1127
+ }