@maxim_mazurok/gapi.client.playdeveloperreporting-v1alpha1 0.0.20230515 → 0.0.20230517
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 +274 -56
- package/package.json +1 -1
- package/readme.md +10 -0
- package/tests.ts +11 -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=v1alpha1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230517
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -47,6 +47,22 @@ declare namespace gapi.client {
|
|
|
47
47
|
name?:
|
|
48
48
|
string;
|
|
49
49
|
}
|
|
50
|
+
interface GooglePlayDeveloperReportingV1alpha1App {
|
|
51
|
+
/** Title of the app. This is the latest title as set in the Play Console and may not yet have been reviewed, so might not match the Play Store. Example: `Google Maps`. */
|
|
52
|
+
displayName?:
|
|
53
|
+
string;
|
|
54
|
+
/** The resource name. Format: apps/{app} */
|
|
55
|
+
name?:
|
|
56
|
+
string;
|
|
57
|
+
/** Package name of the app. Example: `com.example.app123`. */
|
|
58
|
+
packageName?:
|
|
59
|
+
string;
|
|
60
|
+
}
|
|
61
|
+
interface GooglePlayDeveloperReportingV1alpha1AppVersion {
|
|
62
|
+
/** Numeric version code of the app version (set by the app's developer). */
|
|
63
|
+
versionCode?:
|
|
64
|
+
string;
|
|
65
|
+
}
|
|
50
66
|
interface GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet {
|
|
51
67
|
/** Summary about data freshness in this resource. */
|
|
52
68
|
freshnessInfo?:
|
|
@@ -63,6 +79,25 @@ declare namespace gapi.client {
|
|
|
63
79
|
upperBound?:
|
|
64
80
|
GoogleTypeDecimal;
|
|
65
81
|
}
|
|
82
|
+
interface GooglePlayDeveloperReportingV1alpha1DeviceId {
|
|
83
|
+
/** Value of Build.BRAND. */
|
|
84
|
+
buildBrand?:
|
|
85
|
+
string;
|
|
86
|
+
/** Value of Build.DEVICE. */
|
|
87
|
+
buildDevice?:
|
|
88
|
+
string;
|
|
89
|
+
}
|
|
90
|
+
interface GooglePlayDeveloperReportingV1alpha1DeviceModelSummary {
|
|
91
|
+
/** Identifier of the device. */
|
|
92
|
+
deviceId?:
|
|
93
|
+
GooglePlayDeveloperReportingV1alpha1DeviceId;
|
|
94
|
+
/** Link to the device in Play Device Catalog. */
|
|
95
|
+
deviceUri?:
|
|
96
|
+
string;
|
|
97
|
+
/** Display name of the device. */
|
|
98
|
+
marketingName?:
|
|
99
|
+
string;
|
|
100
|
+
}
|
|
66
101
|
interface GooglePlayDeveloperReportingV1alpha1DimensionValue {
|
|
67
102
|
/** Name of the dimension. */
|
|
68
103
|
dimension?:
|
|
@@ -96,6 +131,36 @@ declare namespace gapi.client {
|
|
|
96
131
|
*/
|
|
97
132
|
cause?:
|
|
98
133
|
string;
|
|
134
|
+
/** An estimate of the number of unique users who have experienced this issue (only considering occurrences matching the filters and within the requested time period). */
|
|
135
|
+
distinctUsers?:
|
|
136
|
+
string;
|
|
137
|
+
/** An estimated percentage of users affected by any issue that are affected by this issue (only considering occurrences matching the filters and within the requested time period). */
|
|
138
|
+
distinctUsersPercent?:
|
|
139
|
+
GoogleTypeDecimal;
|
|
140
|
+
/** The total number of error reports in this issue (only considering occurrences matching the filters and within the requested time period). */
|
|
141
|
+
errorReportCount?:
|
|
142
|
+
string;
|
|
143
|
+
/** The earliest (inclusive) app version appearing in this ErrorIssue in the requested time period (only considering occurrences matching the filters). */
|
|
144
|
+
firstAppVersion?:
|
|
145
|
+
GooglePlayDeveloperReportingV1alpha1AppVersion;
|
|
146
|
+
/**
|
|
147
|
+
* The smallest OS version in which this error cluster has occurred in the requested time period (only considering occurrences matching the filters and within the requested time
|
|
148
|
+
* period).
|
|
149
|
+
*/
|
|
150
|
+
firstOsVersion?:
|
|
151
|
+
GooglePlayDeveloperReportingV1alpha1OsVersion;
|
|
152
|
+
/** Link to the issue in Android vitals in the Play Console. */
|
|
153
|
+
issueUri?:
|
|
154
|
+
string;
|
|
155
|
+
/** The latest (inclusive) app version appearing in this ErrorIssue in the requested time period (only considering occurrences matching the filters). */
|
|
156
|
+
lastAppVersion?:
|
|
157
|
+
GooglePlayDeveloperReportingV1alpha1AppVersion;
|
|
158
|
+
/** Start of the hour during which the last error report in this issue occurred. */
|
|
159
|
+
lastErrorReportTime?:
|
|
160
|
+
string;
|
|
161
|
+
/** The latest OS version in which this error cluster has occurred in the requested time period (only considering occurrences matching the filters and within the requested time period). */
|
|
162
|
+
lastOsVersion?:
|
|
163
|
+
GooglePlayDeveloperReportingV1alpha1OsVersion;
|
|
99
164
|
/**
|
|
100
165
|
* 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
|
|
101
166
|
* likely method name that caused the error.
|
|
@@ -110,6 +175,12 @@ declare namespace gapi.client {
|
|
|
110
175
|
string;
|
|
111
176
|
}
|
|
112
177
|
interface GooglePlayDeveloperReportingV1alpha1ErrorReport {
|
|
178
|
+
/** A device model on which an event in this error report occurred on. */
|
|
179
|
+
deviceModel?:
|
|
180
|
+
GooglePlayDeveloperReportingV1alpha1DeviceModelSummary;
|
|
181
|
+
/** Start of the hour during which the latest event in this error report occurred. */
|
|
182
|
+
eventTime?:
|
|
183
|
+
string;
|
|
113
184
|
/**
|
|
114
185
|
* 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
|
|
115
186
|
* recent error reports being assigned to a different issue.
|
|
@@ -119,6 +190,9 @@ declare namespace gapi.client {
|
|
|
119
190
|
/** The resource name of the report. Format: apps/{app}/errorReports/{report} */
|
|
120
191
|
name?:
|
|
121
192
|
string;
|
|
193
|
+
/** The OS version on which an event in this error report occurred on. */
|
|
194
|
+
osVersion?:
|
|
195
|
+
GooglePlayDeveloperReportingV1alpha1OsVersion;
|
|
122
196
|
/**
|
|
123
197
|
* 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
|
|
124
198
|
* 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
|
|
@@ -188,18 +262,25 @@ declare namespace gapi.client {
|
|
|
188
262
|
metric?:
|
|
189
263
|
string;
|
|
190
264
|
}
|
|
265
|
+
interface GooglePlayDeveloperReportingV1alpha1OsVersion {
|
|
266
|
+
/** Numeric version code of the OS - API level */
|
|
267
|
+
apiLevel?:
|
|
268
|
+
string;
|
|
269
|
+
}
|
|
191
270
|
interface GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest {
|
|
192
271
|
/**
|
|
193
|
-
* Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode`
|
|
194
|
-
* of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model.
|
|
195
|
-
* device
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
* `
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
* (string):
|
|
272
|
+
* Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode`
|
|
273
|
+
* (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is
|
|
274
|
+
* 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the
|
|
275
|
+
* user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region
|
|
276
|
+
* of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in
|
|
277
|
+
* buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung.
|
|
278
|
+
* [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
|
|
279
|
+
* 2100". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel`
|
|
280
|
+
* (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.,
|
|
281
|
+
* Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". * `deviceGlEsVersion`
|
|
282
|
+
* (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen
|
|
283
|
+
* density of the device, e.g., mdpi, hdpi.
|
|
203
284
|
*/
|
|
204
285
|
dimensions?:
|
|
205
286
|
string[];
|
|
@@ -255,16 +336,18 @@ declare namespace gapi.client {
|
|
|
255
336
|
}
|
|
256
337
|
interface GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest {
|
|
257
338
|
/**
|
|
258
|
-
* Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode`
|
|
259
|
-
* of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model.
|
|
260
|
-
* device
|
|
261
|
-
*
|
|
262
|
-
*
|
|
263
|
-
* `
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
* (string):
|
|
339
|
+
* Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode`
|
|
340
|
+
* (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is
|
|
341
|
+
* 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the
|
|
342
|
+
* user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region
|
|
343
|
+
* of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in
|
|
344
|
+
* buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung.
|
|
345
|
+
* [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
|
|
346
|
+
* 2100". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel`
|
|
347
|
+
* (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.,
|
|
348
|
+
* Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". * `deviceGlEsVersion`
|
|
349
|
+
* (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen
|
|
350
|
+
* density of the device, e.g., mdpi, hdpi.
|
|
268
351
|
*/
|
|
269
352
|
dimensions?:
|
|
270
353
|
string[];
|
|
@@ -321,17 +404,18 @@ declare namespace gapi.client {
|
|
|
321
404
|
}
|
|
322
405
|
interface GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest {
|
|
323
406
|
/**
|
|
324
|
-
* 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):
|
|
325
|
-
*
|
|
326
|
-
*
|
|
327
|
-
*
|
|
328
|
-
*
|
|
329
|
-
*
|
|
330
|
-
*
|
|
331
|
-
*
|
|
332
|
-
* Model of the device's
|
|
333
|
-
*
|
|
334
|
-
* `
|
|
407
|
+
* Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64):
|
|
408
|
+
* unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to
|
|
409
|
+
* Build.DEVICE, e.g., google/coral. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g.,
|
|
410
|
+
* PHONE. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. * `isUserPerceived` (string): denotes whether error is
|
|
411
|
+
* user perceived or not, USER_PERCEIVED or NOT_USER_PERCEIVED. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the
|
|
412
|
+
* issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g.,
|
|
413
|
+
* Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g.,
|
|
414
|
+
* "Exynos 2100". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. *
|
|
415
|
+
* `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
|
|
416
|
+
* 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". *
|
|
417
|
+
* `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi`
|
|
418
|
+
* (string): Screen density of the device, e.g., mdpi, hdpi.
|
|
335
419
|
*/
|
|
336
420
|
dimensions?:
|
|
337
421
|
string[];
|
|
@@ -371,12 +455,13 @@ declare namespace gapi.client {
|
|
|
371
455
|
}
|
|
372
456
|
interface GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRequest {
|
|
373
457
|
/**
|
|
374
|
-
* 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):
|
|
375
|
-
* the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model.
|
|
376
|
-
*
|
|
377
|
-
*
|
|
378
|
-
* `
|
|
379
|
-
* `
|
|
458
|
+
* Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64):
|
|
459
|
+
* version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device',
|
|
460
|
+
* where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand,
|
|
461
|
+
* e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device
|
|
462
|
+
* based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB,
|
|
463
|
+
* etc.). * `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)
|
|
464
|
+
* * `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) *
|
|
380
465
|
* `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
|
|
381
466
|
* 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. *
|
|
382
467
|
* `deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize`
|
|
@@ -432,12 +517,13 @@ declare namespace gapi.client {
|
|
|
432
517
|
}
|
|
433
518
|
interface GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetRequest {
|
|
434
519
|
/**
|
|
435
|
-
* 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):
|
|
436
|
-
* the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model.
|
|
437
|
-
*
|
|
438
|
-
*
|
|
439
|
-
* `
|
|
440
|
-
* `
|
|
520
|
+
* Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64):
|
|
521
|
+
* version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device',
|
|
522
|
+
* where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand,
|
|
523
|
+
* e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device
|
|
524
|
+
* based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB,
|
|
525
|
+
* etc.). * `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)
|
|
526
|
+
* * `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) *
|
|
441
527
|
* `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
|
|
442
528
|
* 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. *
|
|
443
529
|
* `deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize`
|
|
@@ -496,12 +582,13 @@ declare namespace gapi.client {
|
|
|
496
582
|
}
|
|
497
583
|
interface GooglePlayDeveloperReportingV1alpha1QuerySlowStartRateMetricSetRequest {
|
|
498
584
|
/**
|
|
499
|
-
* 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):
|
|
500
|
-
* the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model.
|
|
501
|
-
*
|
|
502
|
-
*
|
|
503
|
-
* `
|
|
504
|
-
* `
|
|
585
|
+
* Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64):
|
|
586
|
+
* version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device',
|
|
587
|
+
* where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand,
|
|
588
|
+
* e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device
|
|
589
|
+
* based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB,
|
|
590
|
+
* etc.). * `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)
|
|
591
|
+
* * `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) *
|
|
505
592
|
* `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
|
|
506
593
|
* 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. *
|
|
507
594
|
* `deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize`
|
|
@@ -556,12 +643,13 @@ declare namespace gapi.client {
|
|
|
556
643
|
}
|
|
557
644
|
interface GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetRequest {
|
|
558
645
|
/**
|
|
559
|
-
* 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):
|
|
560
|
-
* the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model.
|
|
561
|
-
*
|
|
562
|
-
*
|
|
563
|
-
* `
|
|
564
|
-
* `
|
|
646
|
+
* Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64):
|
|
647
|
+
* version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device',
|
|
648
|
+
* where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand,
|
|
649
|
+
* e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device
|
|
650
|
+
* based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB,
|
|
651
|
+
* etc.). * `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)
|
|
652
|
+
* * `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) *
|
|
565
653
|
* `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
|
|
566
654
|
* 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. *
|
|
567
655
|
* `deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize`
|
|
@@ -615,6 +703,27 @@ declare namespace gapi.client {
|
|
|
615
703
|
rows?:
|
|
616
704
|
GooglePlayDeveloperReportingV1alpha1MetricsRow[];
|
|
617
705
|
}
|
|
706
|
+
interface GooglePlayDeveloperReportingV1alpha1Release {
|
|
707
|
+
/** Readable identifier of the release. */
|
|
708
|
+
displayName?:
|
|
709
|
+
string;
|
|
710
|
+
/** The version codes contained in this release. */
|
|
711
|
+
versionCodes?:
|
|
712
|
+
string[];
|
|
713
|
+
}
|
|
714
|
+
interface GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions {
|
|
715
|
+
/** List of tracks to filter releases over. Provides the grouping of version codes under releases and tracks. */
|
|
716
|
+
tracks?:
|
|
717
|
+
GooglePlayDeveloperReportingV1alpha1Track[];
|
|
718
|
+
}
|
|
719
|
+
interface GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse {
|
|
720
|
+
/** The apps accessible to the user calling the endpoint. */
|
|
721
|
+
apps?:
|
|
722
|
+
GooglePlayDeveloperReportingV1alpha1App[];
|
|
723
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
724
|
+
nextPageToken?:
|
|
725
|
+
string;
|
|
726
|
+
}
|
|
618
727
|
interface GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse {
|
|
619
728
|
/** ErrorIssues that were found. */
|
|
620
729
|
errorIssues?:
|
|
@@ -671,6 +780,17 @@ declare namespace gapi.client {
|
|
|
671
780
|
startTime?:
|
|
672
781
|
GoogleTypeDateTime;
|
|
673
782
|
}
|
|
783
|
+
interface GooglePlayDeveloperReportingV1alpha1Track {
|
|
784
|
+
/** Readable identifier of the track. */
|
|
785
|
+
displayName?:
|
|
786
|
+
string;
|
|
787
|
+
/** Represents all active releases in the track. */
|
|
788
|
+
servingReleases?:
|
|
789
|
+
GooglePlayDeveloperReportingV1alpha1Release[];
|
|
790
|
+
/** The type of the track. */
|
|
791
|
+
type?:
|
|
792
|
+
string;
|
|
793
|
+
}
|
|
674
794
|
interface GoogleTypeDateTime {
|
|
675
795
|
/** 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. */
|
|
676
796
|
day?:
|
|
@@ -788,6 +908,95 @@ declare namespace gapi.client {
|
|
|
788
908
|
string;
|
|
789
909
|
}): Request<GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse>;
|
|
790
910
|
}
|
|
911
|
+
interface AppsResource {
|
|
912
|
+
/** Describes filtering options for releases. */
|
|
913
|
+
fetchReleaseFilterOptions(request?: {
|
|
914
|
+
/** V1 error format. */
|
|
915
|
+
"$.xgafv"?:
|
|
916
|
+
string;
|
|
917
|
+
/** OAuth access token. */
|
|
918
|
+
access_token?:
|
|
919
|
+
string;
|
|
920
|
+
/** Data format for response. */
|
|
921
|
+
alt?:
|
|
922
|
+
string;
|
|
923
|
+
/** JSONP */
|
|
924
|
+
callback?:
|
|
925
|
+
string;
|
|
926
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
927
|
+
fields?:
|
|
928
|
+
string;
|
|
929
|
+
/** 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. */
|
|
930
|
+
key?:
|
|
931
|
+
string;
|
|
932
|
+
/** Required. Name of the resource, i.e. app the filtering options are for. Format: apps/{app} */
|
|
933
|
+
name:
|
|
934
|
+
string;
|
|
935
|
+
/** OAuth 2.0 token for the current user. */
|
|
936
|
+
oauth_token?:
|
|
937
|
+
string;
|
|
938
|
+
/** Returns response with indentations and line breaks. */
|
|
939
|
+
prettyPrint?:
|
|
940
|
+
boolean;
|
|
941
|
+
/** 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. */
|
|
942
|
+
quotaUser?:
|
|
943
|
+
string;
|
|
944
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
945
|
+
upload_protocol?:
|
|
946
|
+
string;
|
|
947
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
948
|
+
uploadType?:
|
|
949
|
+
string;
|
|
950
|
+
}): Request<GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions>;
|
|
951
|
+
/** Searches for Apps accessible by the user. */
|
|
952
|
+
search(request?: {
|
|
953
|
+
/** V1 error format. */
|
|
954
|
+
"$.xgafv"?:
|
|
955
|
+
string;
|
|
956
|
+
/** OAuth access token. */
|
|
957
|
+
access_token?:
|
|
958
|
+
string;
|
|
959
|
+
/** Data format for response. */
|
|
960
|
+
alt?:
|
|
961
|
+
string;
|
|
962
|
+
/** JSONP */
|
|
963
|
+
callback?:
|
|
964
|
+
string;
|
|
965
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
966
|
+
fields?:
|
|
967
|
+
string;
|
|
968
|
+
/** 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. */
|
|
969
|
+
key?:
|
|
970
|
+
string;
|
|
971
|
+
/** OAuth 2.0 token for the current user. */
|
|
972
|
+
oauth_token?:
|
|
973
|
+
string;
|
|
974
|
+
/**
|
|
975
|
+
* The maximum number of apps to return. The service may return fewer than this value. If unspecified, at most 50 apps will be returned. The maximum value is 1000; values above
|
|
976
|
+
* 1000 will be coerced to 1000.
|
|
977
|
+
*/
|
|
978
|
+
pageSize?:
|
|
979
|
+
number;
|
|
980
|
+
/**
|
|
981
|
+
* A page token, received from a previous `SearchAccessibleApps` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
982
|
+
* `SearchAccessibleApps` must match the call that provided the page token.
|
|
983
|
+
*/
|
|
984
|
+
pageToken?:
|
|
985
|
+
string;
|
|
986
|
+
/** Returns response with indentations and line breaks. */
|
|
987
|
+
prettyPrint?:
|
|
988
|
+
boolean;
|
|
989
|
+
/** 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. */
|
|
990
|
+
quotaUser?:
|
|
991
|
+
string;
|
|
992
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
993
|
+
upload_protocol?:
|
|
994
|
+
string;
|
|
995
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
996
|
+
uploadType?:
|
|
997
|
+
string;
|
|
998
|
+
}): Request<GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse>;
|
|
999
|
+
}
|
|
791
1000
|
interface AnrrateResource {
|
|
792
1001
|
/** Describes the properties of the metric set. */
|
|
793
1002
|
get(request?: {
|
|
@@ -1262,6 +1471,13 @@ declare namespace gapi.client {
|
|
|
1262
1471
|
/** OAuth 2.0 token for the current user. */
|
|
1263
1472
|
oauth_token?:
|
|
1264
1473
|
string;
|
|
1474
|
+
/**
|
|
1475
|
+
* Specifies a field that will be used to order the results. ** Supported dimensions:** * `errorReportCount`: Orders issues by number of error reports. * `distinctUsers`: Orders
|
|
1476
|
+
* issues by number of unique affected users. ** Supported operations:** * `asc` for ascending order. * `desc` for descending order. Format: A field and an operation, e.g.,
|
|
1477
|
+
* `errorReportCount desc` *Note:* currently only one field is supported at a time.
|
|
1478
|
+
*/
|
|
1479
|
+
orderBy?:
|
|
1480
|
+
string;
|
|
1265
1481
|
/**
|
|
1266
1482
|
* 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;
|
|
1267
1483
|
* values above 1000 will be coerced to 1000.
|
|
@@ -1944,6 +2160,8 @@ declare namespace gapi.client {
|
|
|
1944
2160
|
|
|
1945
2161
|
const anomalies: AnomaliesResource;
|
|
1946
2162
|
|
|
2163
|
+
const apps: AppsResource;
|
|
2164
|
+
|
|
1947
2165
|
const vitals: VitalsResource;
|
|
1948
2166
|
}
|
|
1949
2167
|
}
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -70,4 +70,14 @@ After that you can use Google Play Developer Reporting API resources: <!-- TODO:
|
|
|
70
70
|
Lists anomalies in any of the datasets.
|
|
71
71
|
*/
|
|
72
72
|
await gapi.client.playdeveloperreporting.anomalies.list({ parent: "parent", });
|
|
73
|
+
|
|
74
|
+
/*
|
|
75
|
+
Describes filtering options for releases.
|
|
76
|
+
*/
|
|
77
|
+
await gapi.client.playdeveloperreporting.apps.fetchReleaseFilterOptions({ name: "name", });
|
|
78
|
+
|
|
79
|
+
/*
|
|
80
|
+
Searches for Apps accessible by the user.
|
|
81
|
+
*/
|
|
82
|
+
await gapi.client.playdeveloperreporting.apps.search({ });
|
|
73
83
|
```
|
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: 20230517
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -36,6 +36,15 @@ gapi.load('client', async () => {
|
|
|
36
36
|
pageToken: "Test string",
|
|
37
37
|
parent: "Test string",
|
|
38
38
|
});
|
|
39
|
+
/** Describes filtering options for releases. */
|
|
40
|
+
await gapi.client.playdeveloperreporting.apps.fetchReleaseFilterOptions({
|
|
41
|
+
name: "Test string",
|
|
42
|
+
});
|
|
43
|
+
/** Searches for Apps accessible by the user. */
|
|
44
|
+
await gapi.client.playdeveloperreporting.apps.search({
|
|
45
|
+
pageSize: 42,
|
|
46
|
+
pageToken: "Test string",
|
|
47
|
+
});
|
|
39
48
|
/** Describes the properties of the metric set. */
|
|
40
49
|
await gapi.client.playdeveloperreporting.vitals.anrrate.get({
|
|
41
50
|
name: "Test string",
|
|
@@ -208,6 +217,7 @@ gapi.load('client', async () => {
|
|
|
208
217
|
"interval.startTime.timeZone.version": "Test string",
|
|
209
218
|
"interval.startTime.utcOffset": "Test string",
|
|
210
219
|
"interval.startTime.year": 42,
|
|
220
|
+
orderBy: "Test string",
|
|
211
221
|
pageSize: 42,
|
|
212
222
|
pageToken: "Test string",
|
|
213
223
|
parent: "Test string",
|