@maxim_mazurok/gapi.client.playdeveloperreporting-v1alpha1 0.0.20230321 → 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 +290 -1
- package/package.json +1 -1
- package/tests.ts +101 -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: 20230323
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -343,6 +343,111 @@ declare namespace gapi.client {
|
|
|
343
343
|
/** Returned rows of data. */
|
|
344
344
|
rows?: GooglePlayDeveloperReportingV1alpha1MetricsRow[];
|
|
345
345
|
}
|
|
346
|
+
interface GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetRequest {
|
|
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?: GooglePlayDeveloperReportingV1alpha1TimelineSpec;
|
|
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 GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetResponse {
|
|
395
|
+
/** Continuation token to fetch the next page of data. */
|
|
396
|
+
nextPageToken?: string;
|
|
397
|
+
/** Returned rows of data. */
|
|
398
|
+
rows?: GooglePlayDeveloperReportingV1alpha1MetricsRow[];
|
|
399
|
+
}
|
|
400
|
+
interface GooglePlayDeveloperReportingV1alpha1QuerySlowStartRateMetricSetRequest {
|
|
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?: GooglePlayDeveloperReportingV1alpha1TimelineSpec;
|
|
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 GooglePlayDeveloperReportingV1alpha1QuerySlowStartRateMetricSetResponse {
|
|
446
|
+
/** Continuation token to fetch the next page of data. */
|
|
447
|
+
nextPageToken?: string;
|
|
448
|
+
/** Returned rows of data. */
|
|
449
|
+
rows?: GooglePlayDeveloperReportingV1alpha1MetricsRow[];
|
|
450
|
+
}
|
|
346
451
|
interface GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetRequest {
|
|
347
452
|
/**
|
|
348
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
|
|
@@ -406,6 +511,18 @@ declare namespace gapi.client {
|
|
|
406
511
|
/** Page token to fetch the next page of reports. */
|
|
407
512
|
nextPageToken?: string;
|
|
408
513
|
}
|
|
514
|
+
interface GooglePlayDeveloperReportingV1alpha1SlowRenderingRateMetricSet {
|
|
515
|
+
/** Summary about data freshness in this resource. */
|
|
516
|
+
freshnessInfo?: GooglePlayDeveloperReportingV1alpha1FreshnessInfo;
|
|
517
|
+
/** The resource name. Format: apps/{app}/slowRenderingRateMetricSet */
|
|
518
|
+
name?: string;
|
|
519
|
+
}
|
|
520
|
+
interface GooglePlayDeveloperReportingV1alpha1SlowStartRateMetricSet {
|
|
521
|
+
/** Summary about data freshness in this resource. */
|
|
522
|
+
freshnessInfo?: GooglePlayDeveloperReportingV1alpha1FreshnessInfo;
|
|
523
|
+
/** The resource name. Format: apps/{app}/slowStartRateMetricSet */
|
|
524
|
+
name?: string;
|
|
525
|
+
}
|
|
409
526
|
interface GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet {
|
|
410
527
|
/** Summary about data freshness in this resource. */
|
|
411
528
|
freshnessInfo?: GooglePlayDeveloperReportingV1alpha1FreshnessInfo;
|
|
@@ -1063,6 +1180,176 @@ declare namespace gapi.client {
|
|
|
1063
1180
|
},
|
|
1064
1181
|
body: GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRequest): Request<GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse>;
|
|
1065
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<GooglePlayDeveloperReportingV1alpha1SlowRenderingRateMetricSet>;
|
|
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: GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetRequest;
|
|
1239
|
+
}): Request<GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetResponse>;
|
|
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: GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetRequest): Request<GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetResponse>;
|
|
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<GooglePlayDeveloperReportingV1alpha1SlowStartRateMetricSet>;
|
|
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: GooglePlayDeveloperReportingV1alpha1QuerySlowStartRateMetricSetRequest;
|
|
1324
|
+
}): Request<GooglePlayDeveloperReportingV1alpha1QuerySlowStartRateMetricSetResponse>;
|
|
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: GooglePlayDeveloperReportingV1alpha1QuerySlowStartRateMetricSetRequest): Request<GooglePlayDeveloperReportingV1alpha1QuerySlowStartRateMetricSetResponse>;
|
|
1352
|
+
}
|
|
1066
1353
|
interface StuckbackgroundwakelockrateResource {
|
|
1067
1354
|
/** Describes the properties of the metric set. */
|
|
1068
1355
|
get(request?: {
|
|
@@ -1153,6 +1440,8 @@ declare namespace gapi.client {
|
|
|
1153
1440
|
crashrate: CrashrateResource;
|
|
1154
1441
|
errors: ErrorsResource;
|
|
1155
1442
|
excessivewakeuprate: ExcessivewakeuprateResource;
|
|
1443
|
+
slowrenderingrate: SlowrenderingrateResource;
|
|
1444
|
+
slowstartrate: SlowstartrateResource;
|
|
1156
1445
|
stuckbackgroundwakelockrate: StuckbackgroundwakelockrateResource;
|
|
1157
1446
|
}
|
|
1158
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 */
|
|
@@ -290,6 +290,106 @@ gapi.load('client', async () => {
|
|
|
290
290
|
userCohort: "Test string",
|
|
291
291
|
});
|
|
292
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. */
|
|
293
393
|
await gapi.client.playdeveloperreporting.vitals.stuckbackgroundwakelockrate.get({
|
|
294
394
|
name: "Test string",
|
|
295
395
|
});
|