@maxim_mazurok/gapi.client.playdeveloperreporting-v1beta1 0.0.20230320 → 0.0.20230323
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 +677 -1
- package/package.json +1 -1
- package/tests.ts +204 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://playdeveloperreporting.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230323
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -59,6 +59,46 @@ declare namespace gapi.client {
|
|
|
59
59
|
*/
|
|
60
60
|
valueLabel?: string;
|
|
61
61
|
}
|
|
62
|
+
interface GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet {
|
|
63
|
+
/** Summary about data freshness in this resource. */
|
|
64
|
+
freshnessInfo?: GooglePlayDeveloperReportingV1beta1FreshnessInfo;
|
|
65
|
+
/** The resource name. Format: apps/{app}/errorCountMetricSet */
|
|
66
|
+
name?: string;
|
|
67
|
+
}
|
|
68
|
+
interface GooglePlayDeveloperReportingV1beta1ErrorIssue {
|
|
69
|
+
/**
|
|
70
|
+
* 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
|
|
71
|
+
* 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.
|
|
72
|
+
* SIGSEGV.
|
|
73
|
+
*/
|
|
74
|
+
cause?: string;
|
|
75
|
+
/**
|
|
76
|
+
* 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
|
|
77
|
+
* likely method name that caused the error.
|
|
78
|
+
*/
|
|
79
|
+
location?: string;
|
|
80
|
+
/** The resource name of the issue. Format: apps/{app}/errorIssues/{issue} */
|
|
81
|
+
name?: string;
|
|
82
|
+
/** Type of the errors grouped in this issue. */
|
|
83
|
+
type?: string;
|
|
84
|
+
}
|
|
85
|
+
interface GooglePlayDeveloperReportingV1beta1ErrorReport {
|
|
86
|
+
/**
|
|
87
|
+
* 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
|
|
88
|
+
* recent error reports being assigned to a different issue.
|
|
89
|
+
*/
|
|
90
|
+
issue?: string;
|
|
91
|
+
/** The resource name of the report. Format: apps/{app}/errorReports/{report} */
|
|
92
|
+
name?: string;
|
|
93
|
+
/**
|
|
94
|
+
* 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
|
|
95
|
+
* 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
|
|
96
|
+
* that may break systems trying to parse information out of the reports.
|
|
97
|
+
*/
|
|
98
|
+
reportText?: string;
|
|
99
|
+
/** Type of the error for which this report was generated. */
|
|
100
|
+
type?: string;
|
|
101
|
+
}
|
|
62
102
|
interface GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet {
|
|
63
103
|
/** Summary about data freshness in this resource. */
|
|
64
104
|
freshnessInfo?: GooglePlayDeveloperReportingV1beta1FreshnessInfo;
|
|
@@ -211,6 +251,47 @@ declare namespace gapi.client {
|
|
|
211
251
|
/** Returned rows of data. */
|
|
212
252
|
rows?: GooglePlayDeveloperReportingV1beta1MetricsRow[];
|
|
213
253
|
}
|
|
254
|
+
interface GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest {
|
|
255
|
+
/**
|
|
256
|
+
* 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
|
|
257
|
+
* 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
|
|
258
|
+
* 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
|
|
259
|
+
* 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.). *
|
|
260
|
+
* `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) *
|
|
261
|
+
* `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) *
|
|
262
|
+
* `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
|
|
263
|
+
* 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. *
|
|
264
|
+
* `deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize`
|
|
265
|
+
* (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.
|
|
266
|
+
*/
|
|
267
|
+
dimensions?: string[];
|
|
268
|
+
/** 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. */
|
|
269
|
+
filter?: string;
|
|
270
|
+
/**
|
|
271
|
+
* Metrics to aggregate. **Supported metrics:** * `errorReportCount` (`google.type.Decimal`): Absolute count of individual error reports that have been received for an app. *
|
|
272
|
+
* `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
|
|
273
|
+
* users being counted multiple times.
|
|
274
|
+
*/
|
|
275
|
+
metrics?: string[];
|
|
276
|
+
/** 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. */
|
|
277
|
+
pageSize?: number;
|
|
278
|
+
/**
|
|
279
|
+
* 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
|
|
280
|
+
* provided the page token.
|
|
281
|
+
*/
|
|
282
|
+
pageToken?: string;
|
|
283
|
+
/**
|
|
284
|
+
* Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. The default and only supported
|
|
285
|
+
* timezone is `America/Los_Angeles`.
|
|
286
|
+
*/
|
|
287
|
+
timelineSpec?: GooglePlayDeveloperReportingV1beta1TimelineSpec;
|
|
288
|
+
}
|
|
289
|
+
interface GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse {
|
|
290
|
+
/** Continuation token to fetch the next page of data. */
|
|
291
|
+
nextPageToken?: string;
|
|
292
|
+
/** Returned rows. */
|
|
293
|
+
rows?: GooglePlayDeveloperReportingV1beta1MetricsRow[];
|
|
294
|
+
}
|
|
214
295
|
interface GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest {
|
|
215
296
|
/**
|
|
216
297
|
* 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
|
|
@@ -262,6 +343,111 @@ declare namespace gapi.client {
|
|
|
262
343
|
/** Returned rows of data. */
|
|
263
344
|
rows?: GooglePlayDeveloperReportingV1beta1MetricsRow[];
|
|
264
345
|
}
|
|
346
|
+
interface GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest {
|
|
347
|
+
/**
|
|
348
|
+
* 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
|
|
349
|
+
* 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)
|
|
350
|
+
* 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
|
|
351
|
+
* 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.
|
|
352
|
+
* [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
|
|
353
|
+
* 2100". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel`
|
|
354
|
+
* (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.,
|
|
355
|
+
* Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". * `deviceGlEsVersion`
|
|
356
|
+
* (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen
|
|
357
|
+
* density of the device, e.g., mdpi, hdpi.
|
|
358
|
+
*/
|
|
359
|
+
dimensions?: string[];
|
|
360
|
+
/** 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. */
|
|
361
|
+
filter?: string;
|
|
362
|
+
/**
|
|
363
|
+
* Metrics to aggregate. **Supported metrics:** * `slowRenderingRate20Fps` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a slow rendering. *
|
|
364
|
+
* `slowRenderingRate20Fps7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate20Fps` in the last 7 days. The daily values are weighted by the count of
|
|
365
|
+
* distinct users for the day. * `slowRenderingRate20Fps28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate20Fps` in the last 28 days. The daily
|
|
366
|
+
* values are weighted by the count of distinct users for the day. * `slowRenderingRate30Fps` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a
|
|
367
|
+
* slow rendering. * `slowRenderingRate30Fps7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate30Fps` in the last 7 days. The daily values are weighted
|
|
368
|
+
* by the count of distinct users for the day. * `slowRenderingRate30Fps28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate30Fps` in the last 28 days.
|
|
369
|
+
* The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used
|
|
370
|
+
* as normalization value for the `slowRenderingRate20Fps`/`slowRenderingRate30Fps` metric. A user is counted in this metric if their app was launched in the device. Care must be taken
|
|
371
|
+
* not to aggregate this count further, as it may result in users being counted multiple times.
|
|
372
|
+
*/
|
|
373
|
+
metrics?: string[];
|
|
374
|
+
/** 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. */
|
|
375
|
+
pageSize?: number;
|
|
376
|
+
/**
|
|
377
|
+
* 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
|
|
378
|
+
* provided the page token.
|
|
379
|
+
*/
|
|
380
|
+
pageToken?: string;
|
|
381
|
+
/**
|
|
382
|
+
* Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints,
|
|
383
|
+
* the only supported timezone is `America/Los_Angeles`.
|
|
384
|
+
*/
|
|
385
|
+
timelineSpec?: GooglePlayDeveloperReportingV1beta1TimelineSpec;
|
|
386
|
+
/**
|
|
387
|
+
* 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
|
|
388
|
+
* 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
|
|
389
|
+
* 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
|
|
390
|
+
* was running on the user's device. * `osBuild` (string): OS build of the user's device, e.g., "T1B2.220916.004".
|
|
391
|
+
*/
|
|
392
|
+
userCohort?: string;
|
|
393
|
+
}
|
|
394
|
+
interface GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse {
|
|
395
|
+
/** Continuation token to fetch the next page of data. */
|
|
396
|
+
nextPageToken?: string;
|
|
397
|
+
/** Returned rows of data. */
|
|
398
|
+
rows?: GooglePlayDeveloperReportingV1beta1MetricsRow[];
|
|
399
|
+
}
|
|
400
|
+
interface GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest {
|
|
401
|
+
/**
|
|
402
|
+
* 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
|
|
403
|
+
* 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)
|
|
404
|
+
* 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
|
|
405
|
+
* 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.
|
|
406
|
+
* [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
|
|
407
|
+
* 2100". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel`
|
|
408
|
+
* (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.,
|
|
409
|
+
* Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". * `deviceGlEsVersion`
|
|
410
|
+
* (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen
|
|
411
|
+
* density of the device, e.g., mdpi, hdpi.
|
|
412
|
+
*/
|
|
413
|
+
dimensions?: string[];
|
|
414
|
+
/** 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. */
|
|
415
|
+
filter?: string;
|
|
416
|
+
/**
|
|
417
|
+
* Metrics to aggregate. **Supported metrics:** * `slowStartRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a slow start. *
|
|
418
|
+
* `slowStartRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowStartRate` in the last 7 days. The daily values are weighted by the count of distinct users for
|
|
419
|
+
* the day. * `slowStartRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowStartRate` in the last 28 days. The daily values are weighted by the count of
|
|
420
|
+
* distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the
|
|
421
|
+
* `slowStartRate` metric. A user is counted in this metric if their app was launched in the device. Care must be taken not to aggregate this count further, as it may result in users
|
|
422
|
+
* being counted multiple times.
|
|
423
|
+
*/
|
|
424
|
+
metrics?: string[];
|
|
425
|
+
/** 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. */
|
|
426
|
+
pageSize?: number;
|
|
427
|
+
/**
|
|
428
|
+
* 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
|
|
429
|
+
* provided the page token.
|
|
430
|
+
*/
|
|
431
|
+
pageToken?: string;
|
|
432
|
+
/**
|
|
433
|
+
* Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints,
|
|
434
|
+
* the only supported timezone is `America/Los_Angeles`.
|
|
435
|
+
*/
|
|
436
|
+
timelineSpec?: GooglePlayDeveloperReportingV1beta1TimelineSpec;
|
|
437
|
+
/**
|
|
438
|
+
* 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
|
|
439
|
+
* 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
|
|
440
|
+
* 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
|
|
441
|
+
* was running on the user's device. * `osBuild` (string): OS build of the user's device, e.g., "T1B2.220916.004".
|
|
442
|
+
*/
|
|
443
|
+
userCohort?: string;
|
|
444
|
+
}
|
|
445
|
+
interface GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse {
|
|
446
|
+
/** Continuation token to fetch the next page of data. */
|
|
447
|
+
nextPageToken?: string;
|
|
448
|
+
/** Returned rows of data. */
|
|
449
|
+
rows?: GooglePlayDeveloperReportingV1beta1MetricsRow[];
|
|
450
|
+
}
|
|
265
451
|
interface GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest {
|
|
266
452
|
/**
|
|
267
453
|
* 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
|
|
@@ -313,6 +499,30 @@ declare namespace gapi.client {
|
|
|
313
499
|
/** Returned rows of data. */
|
|
314
500
|
rows?: GooglePlayDeveloperReportingV1beta1MetricsRow[];
|
|
315
501
|
}
|
|
502
|
+
interface GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse {
|
|
503
|
+
/** ErrorIssues that were found. */
|
|
504
|
+
errorIssues?: GooglePlayDeveloperReportingV1beta1ErrorIssue[];
|
|
505
|
+
/** Continuation token to fetch the next page of data. */
|
|
506
|
+
nextPageToken?: string;
|
|
507
|
+
}
|
|
508
|
+
interface GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse {
|
|
509
|
+
/** Error reports that were found. */
|
|
510
|
+
errorReports?: GooglePlayDeveloperReportingV1beta1ErrorReport[];
|
|
511
|
+
/** Page token to fetch the next page of reports. */
|
|
512
|
+
nextPageToken?: string;
|
|
513
|
+
}
|
|
514
|
+
interface GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet {
|
|
515
|
+
/** Summary about data freshness in this resource. */
|
|
516
|
+
freshnessInfo?: GooglePlayDeveloperReportingV1beta1FreshnessInfo;
|
|
517
|
+
/** The resource name. Format: apps/{app}/slowRenderingRateMetricSet */
|
|
518
|
+
name?: string;
|
|
519
|
+
}
|
|
520
|
+
interface GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet {
|
|
521
|
+
/** Summary about data freshness in this resource. */
|
|
522
|
+
freshnessInfo?: GooglePlayDeveloperReportingV1beta1FreshnessInfo;
|
|
523
|
+
/** The resource name. Format: apps/{app}/slowStartRateMetricSet */
|
|
524
|
+
name?: string;
|
|
525
|
+
}
|
|
316
526
|
interface GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet {
|
|
317
527
|
/** Summary about data freshness in this resource. */
|
|
318
528
|
freshnessInfo?: GooglePlayDeveloperReportingV1beta1FreshnessInfo;
|
|
@@ -592,6 +802,299 @@ declare namespace gapi.client {
|
|
|
592
802
|
},
|
|
593
803
|
body: GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest): Request<GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse>;
|
|
594
804
|
}
|
|
805
|
+
interface CountsResource {
|
|
806
|
+
/** Describes the properties of the metrics set. */
|
|
807
|
+
get(request?: {
|
|
808
|
+
/** V1 error format. */
|
|
809
|
+
"$.xgafv"?: string;
|
|
810
|
+
/** OAuth access token. */
|
|
811
|
+
access_token?: string;
|
|
812
|
+
/** Data format for response. */
|
|
813
|
+
alt?: string;
|
|
814
|
+
/** JSONP */
|
|
815
|
+
callback?: string;
|
|
816
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
817
|
+
fields?: string;
|
|
818
|
+
/** 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. */
|
|
819
|
+
key?: string;
|
|
820
|
+
/** Required. Name of the errors metric set. Format: apps/{app}/errorCountMetricSet */
|
|
821
|
+
name: string;
|
|
822
|
+
/** OAuth 2.0 token for the current user. */
|
|
823
|
+
oauth_token?: string;
|
|
824
|
+
/** Returns response with indentations and line breaks. */
|
|
825
|
+
prettyPrint?: boolean;
|
|
826
|
+
/** 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. */
|
|
827
|
+
quotaUser?: string;
|
|
828
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
829
|
+
upload_protocol?: string;
|
|
830
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
831
|
+
uploadType?: string;
|
|
832
|
+
}): Request<GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet>;
|
|
833
|
+
/** Queries the metrics in the metrics set. */
|
|
834
|
+
query(request: {
|
|
835
|
+
/** V1 error format. */
|
|
836
|
+
"$.xgafv"?: string;
|
|
837
|
+
/** OAuth access token. */
|
|
838
|
+
access_token?: string;
|
|
839
|
+
/** Data format for response. */
|
|
840
|
+
alt?: string;
|
|
841
|
+
/** JSONP */
|
|
842
|
+
callback?: string;
|
|
843
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
844
|
+
fields?: string;
|
|
845
|
+
/** 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. */
|
|
846
|
+
key?: string;
|
|
847
|
+
/** Required. The resource name. Format: apps/{app}/errorCountMetricSet */
|
|
848
|
+
name: string;
|
|
849
|
+
/** OAuth 2.0 token for the current user. */
|
|
850
|
+
oauth_token?: string;
|
|
851
|
+
/** Returns response with indentations and line breaks. */
|
|
852
|
+
prettyPrint?: boolean;
|
|
853
|
+
/** 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. */
|
|
854
|
+
quotaUser?: string;
|
|
855
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
856
|
+
upload_protocol?: string;
|
|
857
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
858
|
+
uploadType?: string;
|
|
859
|
+
/** Request body */
|
|
860
|
+
resource: GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest;
|
|
861
|
+
}): Request<GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse>;
|
|
862
|
+
query(request: {
|
|
863
|
+
/** V1 error format. */
|
|
864
|
+
"$.xgafv"?: string;
|
|
865
|
+
/** OAuth access token. */
|
|
866
|
+
access_token?: string;
|
|
867
|
+
/** Data format for response. */
|
|
868
|
+
alt?: string;
|
|
869
|
+
/** JSONP */
|
|
870
|
+
callback?: string;
|
|
871
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
872
|
+
fields?: string;
|
|
873
|
+
/** 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. */
|
|
874
|
+
key?: string;
|
|
875
|
+
/** Required. The resource name. Format: apps/{app}/errorCountMetricSet */
|
|
876
|
+
name: string;
|
|
877
|
+
/** OAuth 2.0 token for the current user. */
|
|
878
|
+
oauth_token?: string;
|
|
879
|
+
/** Returns response with indentations and line breaks. */
|
|
880
|
+
prettyPrint?: boolean;
|
|
881
|
+
/** 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. */
|
|
882
|
+
quotaUser?: string;
|
|
883
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
884
|
+
upload_protocol?: string;
|
|
885
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
886
|
+
uploadType?: string;
|
|
887
|
+
},
|
|
888
|
+
body: GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest): Request<GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse>;
|
|
889
|
+
}
|
|
890
|
+
interface IssuesResource {
|
|
891
|
+
/** Searches all error issues in which reports have been grouped. */
|
|
892
|
+
search(request?: {
|
|
893
|
+
/** V1 error format. */
|
|
894
|
+
"$.xgafv"?: string;
|
|
895
|
+
/** OAuth access token. */
|
|
896
|
+
access_token?: string;
|
|
897
|
+
/** Data format for response. */
|
|
898
|
+
alt?: string;
|
|
899
|
+
/** JSONP */
|
|
900
|
+
callback?: string;
|
|
901
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
902
|
+
fields?: string;
|
|
903
|
+
/**
|
|
904
|
+
* 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,
|
|
905
|
+
* 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
|
|
906
|
+
* 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:
|
|
907
|
+
* `versionCode = 123 OR versionCode = 456`. * `deviceModel`: Matches error issues that occurred in the requested devices. Example: `deviceModel = "walleye" OR deviceModel =
|
|
908
|
+
* "marlin"`. * `deviceType`: Matches error issues that occurred in the requested device types. Example: `deviceType = "PHONE"`. * `errorIssueType`: Matches error issues of the
|
|
909
|
+
* requested types only. Valid candidates: `CRASH`, `ANR`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. * `appProcessState`: Matches error issues on the process state
|
|
910
|
+
* of an app, indicating whether an app runs in the foreground (user-visible) or background. Valid candidates: `FOREGROUND`, `BACKGROUND`. Example: `appProcessState = FOREGROUND`.
|
|
911
|
+
* * `isUserPerceived`: Matches error issues that are user-perceived. It is not accompanied by any operators. Example: `isUserPerceived`. ** Supported operators:** * Comparison
|
|
912
|
+
* 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
|
|
913
|
+
* `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`
|
|
914
|
+
* 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
|
|
915
|
+
* errorIssueType = ANR` is not a valid filter. ** Examples ** Some valid filtering expressions: * `versionCode = 123 AND errorIssueType = ANR` * `versionCode = 123 AND
|
|
916
|
+
* errorIssueType = OR errorIssueType = CRASH` * `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`
|
|
917
|
+
*/
|
|
918
|
+
filter?: string;
|
|
919
|
+
/** 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. */
|
|
920
|
+
"interval.endTime.day"?: number;
|
|
921
|
+
/**
|
|
922
|
+
* 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
|
|
923
|
+
* time.
|
|
924
|
+
*/
|
|
925
|
+
"interval.endTime.hours"?: number;
|
|
926
|
+
/** Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. */
|
|
927
|
+
"interval.endTime.minutes"?: number;
|
|
928
|
+
/** Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month. */
|
|
929
|
+
"interval.endTime.month"?: number;
|
|
930
|
+
/** Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0. */
|
|
931
|
+
"interval.endTime.nanos"?: number;
|
|
932
|
+
/** 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. */
|
|
933
|
+
"interval.endTime.seconds"?: number;
|
|
934
|
+
/** IANA Time Zone Database time zone, e.g. "America/New_York". */
|
|
935
|
+
"interval.endTime.timeZone.id"?: string;
|
|
936
|
+
/** Optional. IANA Time Zone Database version number, e.g. "2019a". */
|
|
937
|
+
"interval.endTime.timeZone.version"?: string;
|
|
938
|
+
/** 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 }. */
|
|
939
|
+
"interval.endTime.utcOffset"?: string;
|
|
940
|
+
/** Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. */
|
|
941
|
+
"interval.endTime.year"?: number;
|
|
942
|
+
/** 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. */
|
|
943
|
+
"interval.startTime.day"?: number;
|
|
944
|
+
/**
|
|
945
|
+
* 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
|
|
946
|
+
* time.
|
|
947
|
+
*/
|
|
948
|
+
"interval.startTime.hours"?: number;
|
|
949
|
+
/** Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. */
|
|
950
|
+
"interval.startTime.minutes"?: number;
|
|
951
|
+
/** Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month. */
|
|
952
|
+
"interval.startTime.month"?: number;
|
|
953
|
+
/** Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0. */
|
|
954
|
+
"interval.startTime.nanos"?: number;
|
|
955
|
+
/** 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. */
|
|
956
|
+
"interval.startTime.seconds"?: number;
|
|
957
|
+
/** IANA Time Zone Database time zone, e.g. "America/New_York". */
|
|
958
|
+
"interval.startTime.timeZone.id"?: string;
|
|
959
|
+
/** Optional. IANA Time Zone Database version number, e.g. "2019a". */
|
|
960
|
+
"interval.startTime.timeZone.version"?: string;
|
|
961
|
+
/** 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 }. */
|
|
962
|
+
"interval.startTime.utcOffset"?: string;
|
|
963
|
+
/** Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. */
|
|
964
|
+
"interval.startTime.year"?: number;
|
|
965
|
+
/** 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. */
|
|
966
|
+
key?: string;
|
|
967
|
+
/** OAuth 2.0 token for the current user. */
|
|
968
|
+
oauth_token?: string;
|
|
969
|
+
/**
|
|
970
|
+
* 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;
|
|
971
|
+
* values above 1000 will be coerced to 1000.
|
|
972
|
+
*/
|
|
973
|
+
pageSize?: number;
|
|
974
|
+
/**
|
|
975
|
+
* 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
|
|
976
|
+
* provided the page token.
|
|
977
|
+
*/
|
|
978
|
+
pageToken?: string;
|
|
979
|
+
/** Required. Parent resource of the error issues, indicating the application for which they were received. Format: apps/{app} */
|
|
980
|
+
parent: string;
|
|
981
|
+
/** Returns response with indentations and line breaks. */
|
|
982
|
+
prettyPrint?: boolean;
|
|
983
|
+
/** 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. */
|
|
984
|
+
quotaUser?: string;
|
|
985
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
986
|
+
upload_protocol?: string;
|
|
987
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
988
|
+
uploadType?: string;
|
|
989
|
+
}): Request<GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse>;
|
|
990
|
+
}
|
|
991
|
+
interface ReportsResource {
|
|
992
|
+
/** Searches all error reports received for an app. */
|
|
993
|
+
search(request?: {
|
|
994
|
+
/** V1 error format. */
|
|
995
|
+
"$.xgafv"?: string;
|
|
996
|
+
/** OAuth access token. */
|
|
997
|
+
access_token?: string;
|
|
998
|
+
/** Data format for response. */
|
|
999
|
+
alt?: string;
|
|
1000
|
+
/** JSONP */
|
|
1001
|
+
callback?: string;
|
|
1002
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1003
|
+
fields?: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* 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:** *
|
|
1006
|
+
* `apiLevel`: Matches error reports that occurred in the requested Android versions (specified as the numeric API level) only. Example: `apiLevel = 28 OR apiLevel = 29`. *
|
|
1007
|
+
* `versionCode`: Matches error reports that occurred in the requested app version codes only. Example: `versionCode = 123 OR versionCode = 456`. * `deviceModel`: Matches error
|
|
1008
|
+
* reports that occurred in the requested devices. Example: `deviceModel = "walleye" OR deviceModel = "marlin"`. * `deviceType`: Matches error reports that occurred in the
|
|
1009
|
+
* requested device types. Example: `deviceType = "PHONE"`. * `errorIssueType`: Matches error reports of the requested types only. Valid candidates: `JAVA_CRASH`, `NATIVE_CRASH`,
|
|
1010
|
+
* `ANR`. Example: `errorIssueType = JAVA_CRASH OR errorIssueType = NATIVE_CRASH`. * `errorIssueId`: Matches error reports belonging to the requested error issue ids only. Example:
|
|
1011
|
+
* `errorIssueId = 1234 OR errorIssueId = 4567`. * `appProcessState`: Matches error reports on the process state of an app, indicating whether an app runs in the foreground
|
|
1012
|
+
* (user-visible) or background. Valid candidates: `FOREGROUND`, `BACKGROUND`. Example: `appProcessState = FOREGROUND`. * `isUserPerceived`: Matches error reports that are
|
|
1013
|
+
* user-perceived. It is not accompanied by any operators. Example: `isUserPerceived`. ** Supported operators:** * Comparison operators: The only supported comparison operator is
|
|
1014
|
+
* 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
|
|
1015
|
+
* 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
|
|
1016
|
+
* 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
|
|
1017
|
+
* `versionCode = 123 OR errorIssueType = ANR` is not valid. ** Examples ** Some valid filtering expressions: * `versionCode = 123 AND errorIssueType = ANR` * `versionCode = 123
|
|
1018
|
+
* AND errorIssueType = OR errorIssueType = CRASH` * `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`
|
|
1019
|
+
*/
|
|
1020
|
+
filter?: string;
|
|
1021
|
+
/** 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. */
|
|
1022
|
+
"interval.endTime.day"?: number;
|
|
1023
|
+
/**
|
|
1024
|
+
* 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
|
|
1025
|
+
* time.
|
|
1026
|
+
*/
|
|
1027
|
+
"interval.endTime.hours"?: number;
|
|
1028
|
+
/** Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. */
|
|
1029
|
+
"interval.endTime.minutes"?: number;
|
|
1030
|
+
/** Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month. */
|
|
1031
|
+
"interval.endTime.month"?: number;
|
|
1032
|
+
/** Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0. */
|
|
1033
|
+
"interval.endTime.nanos"?: number;
|
|
1034
|
+
/** 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. */
|
|
1035
|
+
"interval.endTime.seconds"?: number;
|
|
1036
|
+
/** IANA Time Zone Database time zone, e.g. "America/New_York". */
|
|
1037
|
+
"interval.endTime.timeZone.id"?: string;
|
|
1038
|
+
/** Optional. IANA Time Zone Database version number, e.g. "2019a". */
|
|
1039
|
+
"interval.endTime.timeZone.version"?: string;
|
|
1040
|
+
/** 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 }. */
|
|
1041
|
+
"interval.endTime.utcOffset"?: string;
|
|
1042
|
+
/** Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. */
|
|
1043
|
+
"interval.endTime.year"?: number;
|
|
1044
|
+
/** 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. */
|
|
1045
|
+
"interval.startTime.day"?: number;
|
|
1046
|
+
/**
|
|
1047
|
+
* 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
|
|
1048
|
+
* time.
|
|
1049
|
+
*/
|
|
1050
|
+
"interval.startTime.hours"?: number;
|
|
1051
|
+
/** Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. */
|
|
1052
|
+
"interval.startTime.minutes"?: number;
|
|
1053
|
+
/** Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month. */
|
|
1054
|
+
"interval.startTime.month"?: number;
|
|
1055
|
+
/** Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0. */
|
|
1056
|
+
"interval.startTime.nanos"?: number;
|
|
1057
|
+
/** 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. */
|
|
1058
|
+
"interval.startTime.seconds"?: number;
|
|
1059
|
+
/** IANA Time Zone Database time zone, e.g. "America/New_York". */
|
|
1060
|
+
"interval.startTime.timeZone.id"?: string;
|
|
1061
|
+
/** Optional. IANA Time Zone Database version number, e.g. "2019a". */
|
|
1062
|
+
"interval.startTime.timeZone.version"?: string;
|
|
1063
|
+
/** 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 }. */
|
|
1064
|
+
"interval.startTime.utcOffset"?: string;
|
|
1065
|
+
/** Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. */
|
|
1066
|
+
"interval.startTime.year"?: number;
|
|
1067
|
+
/** 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. */
|
|
1068
|
+
key?: string;
|
|
1069
|
+
/** OAuth 2.0 token for the current user. */
|
|
1070
|
+
oauth_token?: string;
|
|
1071
|
+
/**
|
|
1072
|
+
* 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
|
|
1073
|
+
* above 1000 will be coerced to 1000.
|
|
1074
|
+
*/
|
|
1075
|
+
pageSize?: number;
|
|
1076
|
+
/**
|
|
1077
|
+
* A page token, received from a previous `SearchErrorReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
1078
|
+
* `SearchErrorReports` must match the call that provided the page token.
|
|
1079
|
+
*/
|
|
1080
|
+
pageToken?: string;
|
|
1081
|
+
/** Required. Parent resource of the reports, indicating the application for which they were received. Format: apps/{app} */
|
|
1082
|
+
parent: string;
|
|
1083
|
+
/** Returns response with indentations and line breaks. */
|
|
1084
|
+
prettyPrint?: boolean;
|
|
1085
|
+
/** 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. */
|
|
1086
|
+
quotaUser?: string;
|
|
1087
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1088
|
+
upload_protocol?: string;
|
|
1089
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1090
|
+
uploadType?: string;
|
|
1091
|
+
}): Request<GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse>;
|
|
1092
|
+
}
|
|
1093
|
+
interface ErrorsResource {
|
|
1094
|
+
counts: CountsResource;
|
|
1095
|
+
issues: IssuesResource;
|
|
1096
|
+
reports: ReportsResource;
|
|
1097
|
+
}
|
|
595
1098
|
interface ExcessivewakeuprateResource {
|
|
596
1099
|
/** Describes the properties of the metric set. */
|
|
597
1100
|
get(request?: {
|
|
@@ -677,6 +1180,176 @@ declare namespace gapi.client {
|
|
|
677
1180
|
},
|
|
678
1181
|
body: GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest): Request<GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse>;
|
|
679
1182
|
}
|
|
1183
|
+
interface SlowrenderingrateResource {
|
|
1184
|
+
/** Describes the properties of the metric set. */
|
|
1185
|
+
get(request?: {
|
|
1186
|
+
/** V1 error format. */
|
|
1187
|
+
"$.xgafv"?: string;
|
|
1188
|
+
/** OAuth access token. */
|
|
1189
|
+
access_token?: string;
|
|
1190
|
+
/** Data format for response. */
|
|
1191
|
+
alt?: string;
|
|
1192
|
+
/** JSONP */
|
|
1193
|
+
callback?: string;
|
|
1194
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1195
|
+
fields?: string;
|
|
1196
|
+
/** 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. */
|
|
1197
|
+
key?: string;
|
|
1198
|
+
/** Required. The resource name. Format: apps/{app}/slowRenderingRateMetricSet */
|
|
1199
|
+
name: string;
|
|
1200
|
+
/** OAuth 2.0 token for the current user. */
|
|
1201
|
+
oauth_token?: string;
|
|
1202
|
+
/** Returns response with indentations and line breaks. */
|
|
1203
|
+
prettyPrint?: boolean;
|
|
1204
|
+
/** 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. */
|
|
1205
|
+
quotaUser?: string;
|
|
1206
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1207
|
+
upload_protocol?: string;
|
|
1208
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1209
|
+
uploadType?: string;
|
|
1210
|
+
}): Request<GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet>;
|
|
1211
|
+
/** Queries the metrics in the metric set. */
|
|
1212
|
+
query(request: {
|
|
1213
|
+
/** V1 error format. */
|
|
1214
|
+
"$.xgafv"?: string;
|
|
1215
|
+
/** OAuth access token. */
|
|
1216
|
+
access_token?: string;
|
|
1217
|
+
/** Data format for response. */
|
|
1218
|
+
alt?: string;
|
|
1219
|
+
/** JSONP */
|
|
1220
|
+
callback?: string;
|
|
1221
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1222
|
+
fields?: string;
|
|
1223
|
+
/** 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. */
|
|
1224
|
+
key?: string;
|
|
1225
|
+
/** Required. The resource name. Format: apps/{app}/slowRenderingRateMetricSet */
|
|
1226
|
+
name: string;
|
|
1227
|
+
/** OAuth 2.0 token for the current user. */
|
|
1228
|
+
oauth_token?: string;
|
|
1229
|
+
/** Returns response with indentations and line breaks. */
|
|
1230
|
+
prettyPrint?: boolean;
|
|
1231
|
+
/** 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. */
|
|
1232
|
+
quotaUser?: string;
|
|
1233
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1234
|
+
upload_protocol?: string;
|
|
1235
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1236
|
+
uploadType?: string;
|
|
1237
|
+
/** Request body */
|
|
1238
|
+
resource: GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest;
|
|
1239
|
+
}): Request<GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse>;
|
|
1240
|
+
query(request: {
|
|
1241
|
+
/** V1 error format. */
|
|
1242
|
+
"$.xgafv"?: string;
|
|
1243
|
+
/** OAuth access token. */
|
|
1244
|
+
access_token?: string;
|
|
1245
|
+
/** Data format for response. */
|
|
1246
|
+
alt?: string;
|
|
1247
|
+
/** JSONP */
|
|
1248
|
+
callback?: string;
|
|
1249
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1250
|
+
fields?: string;
|
|
1251
|
+
/** 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. */
|
|
1252
|
+
key?: string;
|
|
1253
|
+
/** Required. The resource name. Format: apps/{app}/slowRenderingRateMetricSet */
|
|
1254
|
+
name: string;
|
|
1255
|
+
/** OAuth 2.0 token for the current user. */
|
|
1256
|
+
oauth_token?: string;
|
|
1257
|
+
/** Returns response with indentations and line breaks. */
|
|
1258
|
+
prettyPrint?: boolean;
|
|
1259
|
+
/** 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. */
|
|
1260
|
+
quotaUser?: string;
|
|
1261
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1262
|
+
upload_protocol?: string;
|
|
1263
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1264
|
+
uploadType?: string;
|
|
1265
|
+
},
|
|
1266
|
+
body: GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest): Request<GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse>;
|
|
1267
|
+
}
|
|
1268
|
+
interface SlowstartrateResource {
|
|
1269
|
+
/** Describes the properties of the metric set. */
|
|
1270
|
+
get(request?: {
|
|
1271
|
+
/** V1 error format. */
|
|
1272
|
+
"$.xgafv"?: string;
|
|
1273
|
+
/** OAuth access token. */
|
|
1274
|
+
access_token?: string;
|
|
1275
|
+
/** Data format for response. */
|
|
1276
|
+
alt?: string;
|
|
1277
|
+
/** JSONP */
|
|
1278
|
+
callback?: string;
|
|
1279
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1280
|
+
fields?: string;
|
|
1281
|
+
/** 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. */
|
|
1282
|
+
key?: string;
|
|
1283
|
+
/** Required. The resource name. Format: apps/{app}/slowStartRateMetricSet */
|
|
1284
|
+
name: string;
|
|
1285
|
+
/** OAuth 2.0 token for the current user. */
|
|
1286
|
+
oauth_token?: string;
|
|
1287
|
+
/** Returns response with indentations and line breaks. */
|
|
1288
|
+
prettyPrint?: boolean;
|
|
1289
|
+
/** 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. */
|
|
1290
|
+
quotaUser?: string;
|
|
1291
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1292
|
+
upload_protocol?: string;
|
|
1293
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1294
|
+
uploadType?: string;
|
|
1295
|
+
}): Request<GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet>;
|
|
1296
|
+
/** Queries the metrics in the metric set. */
|
|
1297
|
+
query(request: {
|
|
1298
|
+
/** V1 error format. */
|
|
1299
|
+
"$.xgafv"?: string;
|
|
1300
|
+
/** OAuth access token. */
|
|
1301
|
+
access_token?: string;
|
|
1302
|
+
/** Data format for response. */
|
|
1303
|
+
alt?: string;
|
|
1304
|
+
/** JSONP */
|
|
1305
|
+
callback?: string;
|
|
1306
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1307
|
+
fields?: string;
|
|
1308
|
+
/** 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. */
|
|
1309
|
+
key?: string;
|
|
1310
|
+
/** Required. The resource name. Format: apps/{app}/slowStartRateMetricSet */
|
|
1311
|
+
name: string;
|
|
1312
|
+
/** OAuth 2.0 token for the current user. */
|
|
1313
|
+
oauth_token?: string;
|
|
1314
|
+
/** Returns response with indentations and line breaks. */
|
|
1315
|
+
prettyPrint?: boolean;
|
|
1316
|
+
/** 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. */
|
|
1317
|
+
quotaUser?: string;
|
|
1318
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1319
|
+
upload_protocol?: string;
|
|
1320
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1321
|
+
uploadType?: string;
|
|
1322
|
+
/** Request body */
|
|
1323
|
+
resource: GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest;
|
|
1324
|
+
}): Request<GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse>;
|
|
1325
|
+
query(request: {
|
|
1326
|
+
/** V1 error format. */
|
|
1327
|
+
"$.xgafv"?: string;
|
|
1328
|
+
/** OAuth access token. */
|
|
1329
|
+
access_token?: string;
|
|
1330
|
+
/** Data format for response. */
|
|
1331
|
+
alt?: string;
|
|
1332
|
+
/** JSONP */
|
|
1333
|
+
callback?: string;
|
|
1334
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1335
|
+
fields?: string;
|
|
1336
|
+
/** 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. */
|
|
1337
|
+
key?: string;
|
|
1338
|
+
/** Required. The resource name. Format: apps/{app}/slowStartRateMetricSet */
|
|
1339
|
+
name: string;
|
|
1340
|
+
/** OAuth 2.0 token for the current user. */
|
|
1341
|
+
oauth_token?: string;
|
|
1342
|
+
/** Returns response with indentations and line breaks. */
|
|
1343
|
+
prettyPrint?: boolean;
|
|
1344
|
+
/** 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. */
|
|
1345
|
+
quotaUser?: string;
|
|
1346
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1347
|
+
upload_protocol?: string;
|
|
1348
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1349
|
+
uploadType?: string;
|
|
1350
|
+
},
|
|
1351
|
+
body: GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest): Request<GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse>;
|
|
1352
|
+
}
|
|
680
1353
|
interface StuckbackgroundwakelockrateResource {
|
|
681
1354
|
/** Describes the properties of the metric set. */
|
|
682
1355
|
get(request?: {
|
|
@@ -765,7 +1438,10 @@ declare namespace gapi.client {
|
|
|
765
1438
|
interface VitalsResource {
|
|
766
1439
|
anrrate: AnrrateResource;
|
|
767
1440
|
crashrate: CrashrateResource;
|
|
1441
|
+
errors: ErrorsResource;
|
|
768
1442
|
excessivewakeuprate: ExcessivewakeuprateResource;
|
|
1443
|
+
slowrenderingrate: SlowrenderingrateResource;
|
|
1444
|
+
slowstartrate: SlowstartrateResource;
|
|
769
1445
|
stuckbackgroundwakelockrate: StuckbackgroundwakelockrateResource;
|
|
770
1446
|
}
|
|
771
1447
|
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230323
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -136,6 +136,109 @@ gapi.load('client', async () => {
|
|
|
136
136
|
},
|
|
137
137
|
userCohort: "Test string",
|
|
138
138
|
});
|
|
139
|
+
/** Describes the properties of the metrics set. */
|
|
140
|
+
await gapi.client.playdeveloperreporting.vitals.errors.counts.get({
|
|
141
|
+
name: "Test string",
|
|
142
|
+
});
|
|
143
|
+
/** Queries the metrics in the metrics set. */
|
|
144
|
+
await gapi.client.playdeveloperreporting.vitals.errors.counts.query({
|
|
145
|
+
name: "Test string",
|
|
146
|
+
}, {
|
|
147
|
+
dimensions: [
|
|
148
|
+
"Test string"
|
|
149
|
+
],
|
|
150
|
+
filter: "Test string",
|
|
151
|
+
metrics: [
|
|
152
|
+
"Test string"
|
|
153
|
+
],
|
|
154
|
+
pageSize: 42,
|
|
155
|
+
pageToken: "Test string",
|
|
156
|
+
timelineSpec: {
|
|
157
|
+
aggregationPeriod: "Test string",
|
|
158
|
+
endTime: {
|
|
159
|
+
day: 42,
|
|
160
|
+
hours: 42,
|
|
161
|
+
minutes: 42,
|
|
162
|
+
month: 42,
|
|
163
|
+
nanos: 42,
|
|
164
|
+
seconds: 42,
|
|
165
|
+
timeZone: {
|
|
166
|
+
id: "Test string",
|
|
167
|
+
version: "Test string",
|
|
168
|
+
},
|
|
169
|
+
utcOffset: "Test string",
|
|
170
|
+
year: 42,
|
|
171
|
+
},
|
|
172
|
+
startTime: {
|
|
173
|
+
day: 42,
|
|
174
|
+
hours: 42,
|
|
175
|
+
minutes: 42,
|
|
176
|
+
month: 42,
|
|
177
|
+
nanos: 42,
|
|
178
|
+
seconds: 42,
|
|
179
|
+
timeZone: {
|
|
180
|
+
id: "Test string",
|
|
181
|
+
version: "Test string",
|
|
182
|
+
},
|
|
183
|
+
utcOffset: "Test string",
|
|
184
|
+
year: 42,
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
});
|
|
188
|
+
/** Searches all error issues in which reports have been grouped. */
|
|
189
|
+
await gapi.client.playdeveloperreporting.vitals.errors.issues.search({
|
|
190
|
+
filter: "Test string",
|
|
191
|
+
"interval.endTime.day": 42,
|
|
192
|
+
"interval.endTime.hours": 42,
|
|
193
|
+
"interval.endTime.minutes": 42,
|
|
194
|
+
"interval.endTime.month": 42,
|
|
195
|
+
"interval.endTime.nanos": 42,
|
|
196
|
+
"interval.endTime.seconds": 42,
|
|
197
|
+
"interval.endTime.timeZone.id": "Test string",
|
|
198
|
+
"interval.endTime.timeZone.version": "Test string",
|
|
199
|
+
"interval.endTime.utcOffset": "Test string",
|
|
200
|
+
"interval.endTime.year": 42,
|
|
201
|
+
"interval.startTime.day": 42,
|
|
202
|
+
"interval.startTime.hours": 42,
|
|
203
|
+
"interval.startTime.minutes": 42,
|
|
204
|
+
"interval.startTime.month": 42,
|
|
205
|
+
"interval.startTime.nanos": 42,
|
|
206
|
+
"interval.startTime.seconds": 42,
|
|
207
|
+
"interval.startTime.timeZone.id": "Test string",
|
|
208
|
+
"interval.startTime.timeZone.version": "Test string",
|
|
209
|
+
"interval.startTime.utcOffset": "Test string",
|
|
210
|
+
"interval.startTime.year": 42,
|
|
211
|
+
pageSize: 42,
|
|
212
|
+
pageToken: "Test string",
|
|
213
|
+
parent: "Test string",
|
|
214
|
+
});
|
|
215
|
+
/** Searches all error reports received for an app. */
|
|
216
|
+
await gapi.client.playdeveloperreporting.vitals.errors.reports.search({
|
|
217
|
+
filter: "Test string",
|
|
218
|
+
"interval.endTime.day": 42,
|
|
219
|
+
"interval.endTime.hours": 42,
|
|
220
|
+
"interval.endTime.minutes": 42,
|
|
221
|
+
"interval.endTime.month": 42,
|
|
222
|
+
"interval.endTime.nanos": 42,
|
|
223
|
+
"interval.endTime.seconds": 42,
|
|
224
|
+
"interval.endTime.timeZone.id": "Test string",
|
|
225
|
+
"interval.endTime.timeZone.version": "Test string",
|
|
226
|
+
"interval.endTime.utcOffset": "Test string",
|
|
227
|
+
"interval.endTime.year": 42,
|
|
228
|
+
"interval.startTime.day": 42,
|
|
229
|
+
"interval.startTime.hours": 42,
|
|
230
|
+
"interval.startTime.minutes": 42,
|
|
231
|
+
"interval.startTime.month": 42,
|
|
232
|
+
"interval.startTime.nanos": 42,
|
|
233
|
+
"interval.startTime.seconds": 42,
|
|
234
|
+
"interval.startTime.timeZone.id": "Test string",
|
|
235
|
+
"interval.startTime.timeZone.version": "Test string",
|
|
236
|
+
"interval.startTime.utcOffset": "Test string",
|
|
237
|
+
"interval.startTime.year": 42,
|
|
238
|
+
pageSize: 42,
|
|
239
|
+
pageToken: "Test string",
|
|
240
|
+
parent: "Test string",
|
|
241
|
+
});
|
|
139
242
|
/** Describes the properties of the metric set. */
|
|
140
243
|
await gapi.client.playdeveloperreporting.vitals.excessivewakeuprate.get({
|
|
141
244
|
name: "Test string",
|
|
@@ -187,6 +290,106 @@ gapi.load('client', async () => {
|
|
|
187
290
|
userCohort: "Test string",
|
|
188
291
|
});
|
|
189
292
|
/** Describes the properties of the metric set. */
|
|
293
|
+
await gapi.client.playdeveloperreporting.vitals.slowrenderingrate.get({
|
|
294
|
+
name: "Test string",
|
|
295
|
+
});
|
|
296
|
+
/** Queries the metrics in the metric set. */
|
|
297
|
+
await gapi.client.playdeveloperreporting.vitals.slowrenderingrate.query({
|
|
298
|
+
name: "Test string",
|
|
299
|
+
}, {
|
|
300
|
+
dimensions: [
|
|
301
|
+
"Test string"
|
|
302
|
+
],
|
|
303
|
+
filter: "Test string",
|
|
304
|
+
metrics: [
|
|
305
|
+
"Test string"
|
|
306
|
+
],
|
|
307
|
+
pageSize: 42,
|
|
308
|
+
pageToken: "Test string",
|
|
309
|
+
timelineSpec: {
|
|
310
|
+
aggregationPeriod: "Test string",
|
|
311
|
+
endTime: {
|
|
312
|
+
day: 42,
|
|
313
|
+
hours: 42,
|
|
314
|
+
minutes: 42,
|
|
315
|
+
month: 42,
|
|
316
|
+
nanos: 42,
|
|
317
|
+
seconds: 42,
|
|
318
|
+
timeZone: {
|
|
319
|
+
id: "Test string",
|
|
320
|
+
version: "Test string",
|
|
321
|
+
},
|
|
322
|
+
utcOffset: "Test string",
|
|
323
|
+
year: 42,
|
|
324
|
+
},
|
|
325
|
+
startTime: {
|
|
326
|
+
day: 42,
|
|
327
|
+
hours: 42,
|
|
328
|
+
minutes: 42,
|
|
329
|
+
month: 42,
|
|
330
|
+
nanos: 42,
|
|
331
|
+
seconds: 42,
|
|
332
|
+
timeZone: {
|
|
333
|
+
id: "Test string",
|
|
334
|
+
version: "Test string",
|
|
335
|
+
},
|
|
336
|
+
utcOffset: "Test string",
|
|
337
|
+
year: 42,
|
|
338
|
+
},
|
|
339
|
+
},
|
|
340
|
+
userCohort: "Test string",
|
|
341
|
+
});
|
|
342
|
+
/** Describes the properties of the metric set. */
|
|
343
|
+
await gapi.client.playdeveloperreporting.vitals.slowstartrate.get({
|
|
344
|
+
name: "Test string",
|
|
345
|
+
});
|
|
346
|
+
/** Queries the metrics in the metric set. */
|
|
347
|
+
await gapi.client.playdeveloperreporting.vitals.slowstartrate.query({
|
|
348
|
+
name: "Test string",
|
|
349
|
+
}, {
|
|
350
|
+
dimensions: [
|
|
351
|
+
"Test string"
|
|
352
|
+
],
|
|
353
|
+
filter: "Test string",
|
|
354
|
+
metrics: [
|
|
355
|
+
"Test string"
|
|
356
|
+
],
|
|
357
|
+
pageSize: 42,
|
|
358
|
+
pageToken: "Test string",
|
|
359
|
+
timelineSpec: {
|
|
360
|
+
aggregationPeriod: "Test string",
|
|
361
|
+
endTime: {
|
|
362
|
+
day: 42,
|
|
363
|
+
hours: 42,
|
|
364
|
+
minutes: 42,
|
|
365
|
+
month: 42,
|
|
366
|
+
nanos: 42,
|
|
367
|
+
seconds: 42,
|
|
368
|
+
timeZone: {
|
|
369
|
+
id: "Test string",
|
|
370
|
+
version: "Test string",
|
|
371
|
+
},
|
|
372
|
+
utcOffset: "Test string",
|
|
373
|
+
year: 42,
|
|
374
|
+
},
|
|
375
|
+
startTime: {
|
|
376
|
+
day: 42,
|
|
377
|
+
hours: 42,
|
|
378
|
+
minutes: 42,
|
|
379
|
+
month: 42,
|
|
380
|
+
nanos: 42,
|
|
381
|
+
seconds: 42,
|
|
382
|
+
timeZone: {
|
|
383
|
+
id: "Test string",
|
|
384
|
+
version: "Test string",
|
|
385
|
+
},
|
|
386
|
+
utcOffset: "Test string",
|
|
387
|
+
year: 42,
|
|
388
|
+
},
|
|
389
|
+
},
|
|
390
|
+
userCohort: "Test string",
|
|
391
|
+
});
|
|
392
|
+
/** Describes the properties of the metric set. */
|
|
190
393
|
await gapi.client.playdeveloperreporting.vitals.stuckbackgroundwakelockrate.get({
|
|
191
394
|
name: "Test string",
|
|
192
395
|
});
|