@maxim_mazurok/gapi.client.playdeveloperreporting-v1beta1 0.0.20220811
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +744 -0
- package/package.json +20 -0
- package/readme.md +52 -0
- package/tests.ts +221 -0
- package/tsconfig.json +18 -0
- package/tslint.json +6 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,744 @@
|
|
|
1
|
+
/* Type definitions for non-npm package Google Play Developer Reporting API v1beta1 0.0 */
|
|
2
|
+
// Project: https://developers.google.com/play/developer/reporting
|
|
3
|
+
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
|
+
// Nick Amoscato <https://github.com/namoscato>
|
|
5
|
+
// Declan Vong <https://github.com/declanvong>
|
|
6
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
+
// TypeScript Version: 2.8
|
|
8
|
+
|
|
9
|
+
// IMPORTANT
|
|
10
|
+
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
|
+
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
|
+
// Generated from: https://playdeveloperreporting.googleapis.com/$discovery/rest?version=v1beta1
|
|
13
|
+
// Revision: 20220811
|
|
14
|
+
|
|
15
|
+
/// <reference types="gapi.client" />
|
|
16
|
+
|
|
17
|
+
declare namespace gapi.client {
|
|
18
|
+
/** Load Google Play Developer Reporting API v1beta1 */
|
|
19
|
+
function load(urlOrObject: "https://playdeveloperreporting.googleapis.com/$discovery/rest?version=v1beta1"): Promise<void>;
|
|
20
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
21
|
+
function load(name: "playdeveloperreporting", version: "v1beta1"): Promise<void>;
|
|
22
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
23
|
+
function load(name: "playdeveloperreporting", version: "v1beta1", callback: () => any): void;
|
|
24
|
+
|
|
25
|
+
namespace playdeveloperreporting {
|
|
26
|
+
interface GooglePlayDeveloperReportingV1beta1Anomaly {
|
|
27
|
+
/** Combination of dimensions in which the anomaly was detected. */
|
|
28
|
+
dimensions?: GooglePlayDeveloperReportingV1beta1DimensionValue[];
|
|
29
|
+
/** Metric where the anomaly was detected, together with the anomalous value. */
|
|
30
|
+
metric?: GooglePlayDeveloperReportingV1beta1MetricValue;
|
|
31
|
+
/** Metric set resource where the anomaly was detected. */
|
|
32
|
+
metricSet?: string;
|
|
33
|
+
/** Name of the anomaly. Format: apps/{app}/anomalies/{anomaly} */
|
|
34
|
+
name?: string;
|
|
35
|
+
/** Timeline specification that covers the anomaly period. */
|
|
36
|
+
timelineSpec?: GooglePlayDeveloperReportingV1beta1TimelineSpec;
|
|
37
|
+
}
|
|
38
|
+
interface GooglePlayDeveloperReportingV1beta1AnrRateMetricSet {
|
|
39
|
+
/** Summary about data freshness in this resource. */
|
|
40
|
+
freshnessInfo?: GooglePlayDeveloperReportingV1beta1FreshnessInfo;
|
|
41
|
+
/** The resource name. Format: apps/{app}/anrRateMetricSet */
|
|
42
|
+
name?: string;
|
|
43
|
+
}
|
|
44
|
+
interface GooglePlayDeveloperReportingV1beta1CrashRateMetricSet {
|
|
45
|
+
/** Summary about data freshness in this resource. */
|
|
46
|
+
freshnessInfo?: GooglePlayDeveloperReportingV1beta1FreshnessInfo;
|
|
47
|
+
/** The resource name. Format: apps/{app}/crashRateMetricSet */
|
|
48
|
+
name?: string;
|
|
49
|
+
}
|
|
50
|
+
interface GooglePlayDeveloperReportingV1beta1DimensionValue {
|
|
51
|
+
/** Name of the dimension. */
|
|
52
|
+
dimension?: string;
|
|
53
|
+
/** Actual value, represented as an int64. */
|
|
54
|
+
int64Value?: string;
|
|
55
|
+
/** Actual value, represented as a string. */
|
|
56
|
+
stringValue?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Optional. Human-friendly label for the value, always in English. For example, 'Spain' for the 'ES' country code. Whereas the dimension value is stable, this value label is subject
|
|
59
|
+
* to change. Do not assume that the (value, value_label) relationship is stable. For example, the ISO country code 'MK' changed its name recently to 'North Macedonia'.
|
|
60
|
+
*/
|
|
61
|
+
valueLabel?: string;
|
|
62
|
+
}
|
|
63
|
+
interface GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet {
|
|
64
|
+
/** Summary about data freshness in this resource. */
|
|
65
|
+
freshnessInfo?: GooglePlayDeveloperReportingV1beta1FreshnessInfo;
|
|
66
|
+
/** The resource name. Format: apps/{app}/excessiveWakeupRateMetricSet */
|
|
67
|
+
name?: string;
|
|
68
|
+
}
|
|
69
|
+
interface GooglePlayDeveloperReportingV1beta1FreshnessInfo {
|
|
70
|
+
/** Information about data freshness for every supported aggregation period. This field has set semantics, keyed by the `aggregation_period` field. */
|
|
71
|
+
freshnesses?: GooglePlayDeveloperReportingV1beta1FreshnessInfoFreshness[];
|
|
72
|
+
}
|
|
73
|
+
interface GooglePlayDeveloperReportingV1beta1FreshnessInfoFreshness {
|
|
74
|
+
/** Aggregation period for which data is available. */
|
|
75
|
+
aggregationPeriod?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Latest end time for which data is available, for the aggregation period. The time is specified in the metric set's default timezone. *Note:* time ranges in TimelineSpec are
|
|
78
|
+
* represented as `start_time, end_time)`. For example, if the latest available timeline data point for a `DAILY` aggregation period is `2021-06-23 00:00:00 America/Los_Angeles`, the
|
|
79
|
+
* value of this field would be `2021-06-24 00:00:00 America/Los_Angeles` so it can be easily reused in [TimelineSpec.end_time.
|
|
80
|
+
*/
|
|
81
|
+
latestEndTime?: GoogleTypeDateTime;
|
|
82
|
+
}
|
|
83
|
+
interface GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse {
|
|
84
|
+
/** Anomalies that were found. */
|
|
85
|
+
anomalies?: GooglePlayDeveloperReportingV1beta1Anomaly[];
|
|
86
|
+
/** Continuation token to fetch the next page of data. */
|
|
87
|
+
nextPageToken?: string;
|
|
88
|
+
}
|
|
89
|
+
interface GooglePlayDeveloperReportingV1beta1MetricsRow {
|
|
90
|
+
/** Granularity of the aggregation period of the row. */
|
|
91
|
+
aggregationPeriod?: string;
|
|
92
|
+
/** Dimension columns in the row. */
|
|
93
|
+
dimensions?: GooglePlayDeveloperReportingV1beta1DimensionValue[];
|
|
94
|
+
/** Metric columns in the row. */
|
|
95
|
+
metrics?: GooglePlayDeveloperReportingV1beta1MetricValue[];
|
|
96
|
+
/** Starting date (and time for hourly aggregation) of the period covered by this row. */
|
|
97
|
+
startTime?: GoogleTypeDateTime;
|
|
98
|
+
}
|
|
99
|
+
interface GooglePlayDeveloperReportingV1beta1MetricValue {
|
|
100
|
+
/** Actual value, represented as a decimal number. */
|
|
101
|
+
decimalValue?: GoogleTypeDecimal;
|
|
102
|
+
/** Name of the metric. */
|
|
103
|
+
metric?: string;
|
|
104
|
+
}
|
|
105
|
+
interface GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest {
|
|
106
|
+
/**
|
|
107
|
+
* Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version
|
|
108
|
+
* of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form
|
|
109
|
+
* factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for
|
|
110
|
+
* the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip,
|
|
111
|
+
* e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip,
|
|
112
|
+
* e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. *
|
|
113
|
+
* `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
|
|
114
|
+
* 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". *
|
|
115
|
+
* `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi`
|
|
116
|
+
* (string): Screen density of the device, e.g., mdpi, hdpi.
|
|
117
|
+
*/
|
|
118
|
+
dimensions?: string[];
|
|
119
|
+
/** 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. */
|
|
120
|
+
filter?: string;
|
|
121
|
+
/**
|
|
122
|
+
* Metrics to aggregate. **Supported metrics:** * `anrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one ANR. If your
|
|
123
|
+
* app exhibits an ANR rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `anrRate7dUserWeighted`
|
|
124
|
+
* (`google.type.Decimal`): Rolling average value of `anrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `anrRate28dUserWeighted`
|
|
125
|
+
* (`google.type.Decimal`): Rolling average value of `anrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers`
|
|
126
|
+
* (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `anrRate` metric. A user is counted in this metric if they
|
|
127
|
+
* used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times.
|
|
128
|
+
*/
|
|
129
|
+
metrics?: string[];
|
|
130
|
+
/** Maximum size of the returned data. If unspecified, at most 1000 rows will be returned. The maximum value is 100,000; values above 100,000 will be coerced to 100,000. */
|
|
131
|
+
pageSize?: number;
|
|
132
|
+
/**
|
|
133
|
+
* 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
|
|
134
|
+
* provided the page token.
|
|
135
|
+
*/
|
|
136
|
+
pageToken?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints,
|
|
139
|
+
* the default and only supported timezone is `America/Los_Angeles`.
|
|
140
|
+
*/
|
|
141
|
+
timelineSpec?: GooglePlayDeveloperReportingV1beta1TimelineSpec;
|
|
142
|
+
}
|
|
143
|
+
interface GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse {
|
|
144
|
+
/** Continuation token to fetch the next page of data. */
|
|
145
|
+
nextPageToken?: string;
|
|
146
|
+
/** Returned rows of data. */
|
|
147
|
+
rows?: GooglePlayDeveloperReportingV1beta1MetricsRow[];
|
|
148
|
+
}
|
|
149
|
+
interface GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest {
|
|
150
|
+
/**
|
|
151
|
+
* Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version
|
|
152
|
+
* of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): the type (also known as form
|
|
153
|
+
* factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for
|
|
154
|
+
* the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip,
|
|
155
|
+
* e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip,
|
|
156
|
+
* e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. *
|
|
157
|
+
* `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
|
|
158
|
+
* 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". *
|
|
159
|
+
* `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi`
|
|
160
|
+
* (string): Screen density of the device, e.g., mdpi, hdpi.
|
|
161
|
+
*/
|
|
162
|
+
dimensions?: string[];
|
|
163
|
+
/** 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. */
|
|
164
|
+
filter?: string;
|
|
165
|
+
/**
|
|
166
|
+
* Metrics to aggregate. **Supported metrics:** * `crashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash. If
|
|
167
|
+
* your app exhibits a crash rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). *
|
|
168
|
+
* `crashRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day.
|
|
169
|
+
* * `crashRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 28 days. The daily values are weighted by the count of distinct users for the
|
|
170
|
+
* day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `crashRate` metric. A user is counted
|
|
171
|
+
* in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted
|
|
172
|
+
* multiple times.
|
|
173
|
+
*/
|
|
174
|
+
metrics?: string[];
|
|
175
|
+
/** Maximum size of the returned data. If unspecified, at most 1000 rows will be returned. The maximum value is 100,000; values above 100,000 will be coerced to 100,000. */
|
|
176
|
+
pageSize?: number;
|
|
177
|
+
/**
|
|
178
|
+
* 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
|
|
179
|
+
* provided the page token.
|
|
180
|
+
*/
|
|
181
|
+
pageToken?: string;
|
|
182
|
+
/**
|
|
183
|
+
* Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints,
|
|
184
|
+
* the default and only supported timezone is `America/Los_Angeles`.
|
|
185
|
+
*/
|
|
186
|
+
timelineSpec?: GooglePlayDeveloperReportingV1beta1TimelineSpec;
|
|
187
|
+
}
|
|
188
|
+
interface GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse {
|
|
189
|
+
/** Continuation token to fetch the next page of data. */
|
|
190
|
+
nextPageToken?: string;
|
|
191
|
+
/** Returned rows of data. */
|
|
192
|
+
rows?: GooglePlayDeveloperReportingV1beta1MetricsRow[];
|
|
193
|
+
}
|
|
194
|
+
interface GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest {
|
|
195
|
+
/**
|
|
196
|
+
* 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
|
|
197
|
+
* 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)
|
|
198
|
+
* 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
|
|
199
|
+
* 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.
|
|
200
|
+
* [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
|
|
201
|
+
* 2100". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel`
|
|
202
|
+
* (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.,
|
|
203
|
+
* Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". * `deviceGlEsVersion`
|
|
204
|
+
* (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen
|
|
205
|
+
* density of the device, e.g., mdpi, hdpi.
|
|
206
|
+
*/
|
|
207
|
+
dimensions?: string[];
|
|
208
|
+
/** 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. */
|
|
209
|
+
filter?: string;
|
|
210
|
+
/**
|
|
211
|
+
* Metrics to aggregate. **Supported metrics:** * `excessiveWakeupRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had more than 10 wakeups
|
|
212
|
+
* per hour. If your app exhibits an excessive wakeup rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). *
|
|
213
|
+
* `excessiveWakeupRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 7 days. The daily values are weighted by the count of
|
|
214
|
+
* distinct users for the day. * `excessiveWakeupRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 28 days. The daily values are
|
|
215
|
+
* weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization
|
|
216
|
+
* value for the `excessiveWakeupRate` metric. A user is counted in this metric if they app was doing any work on the device, i.e., not just active foreground usage but also background
|
|
217
|
+
* work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times.
|
|
218
|
+
*/
|
|
219
|
+
metrics?: string[];
|
|
220
|
+
/** 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. */
|
|
221
|
+
pageSize?: number;
|
|
222
|
+
/**
|
|
223
|
+
* 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
|
|
224
|
+
* provided the page token.
|
|
225
|
+
*/
|
|
226
|
+
pageToken?: string;
|
|
227
|
+
/**
|
|
228
|
+
* Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints,
|
|
229
|
+
* the only supported timezone is `America/Los_Angeles`.
|
|
230
|
+
*/
|
|
231
|
+
timelineSpec?: GooglePlayDeveloperReportingV1beta1TimelineSpec;
|
|
232
|
+
}
|
|
233
|
+
interface GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse {
|
|
234
|
+
/** Continuation token to fetch the next page of data. */
|
|
235
|
+
nextPageToken?: string;
|
|
236
|
+
/** Returned rows of data. */
|
|
237
|
+
rows?: GooglePlayDeveloperReportingV1beta1MetricsRow[];
|
|
238
|
+
}
|
|
239
|
+
interface GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest {
|
|
240
|
+
/**
|
|
241
|
+
* 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
|
|
242
|
+
* 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)
|
|
243
|
+
* 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
|
|
244
|
+
* 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.
|
|
245
|
+
* [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
|
|
246
|
+
* 2100". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel`
|
|
247
|
+
* (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.,
|
|
248
|
+
* Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". * `deviceGlEsVersion`
|
|
249
|
+
* (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen
|
|
250
|
+
* density of the device, e.g., mdpi, hdpi.
|
|
251
|
+
*/
|
|
252
|
+
dimensions?: string[];
|
|
253
|
+
/** 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. */
|
|
254
|
+
filter?: string;
|
|
255
|
+
/**
|
|
256
|
+
* Metrics to aggregate. **Supported metrics:** * `stuckBgWakelockRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a wakelock held in the
|
|
257
|
+
* background for longer than 1 hour. If your app exhibits a stuck background wakelock rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on
|
|
258
|
+
* Google Play (by number of installs). * `stuckBgWakelockRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 7 days. The daily
|
|
259
|
+
* values are weighted by the count of distinct users for the day. * `stuckBgWakelockRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the
|
|
260
|
+
* last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period
|
|
261
|
+
* that were used as normalization value for the `stuckBgWakelockRate` metric. A user is counted in this metric if they app was doing any work on the device, i.e., not just active
|
|
262
|
+
* foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times.
|
|
263
|
+
*/
|
|
264
|
+
metrics?: string[];
|
|
265
|
+
/** 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. */
|
|
266
|
+
pageSize?: number;
|
|
267
|
+
/**
|
|
268
|
+
* 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
|
|
269
|
+
* provided the page token.
|
|
270
|
+
*/
|
|
271
|
+
pageToken?: string;
|
|
272
|
+
/**
|
|
273
|
+
* Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints,
|
|
274
|
+
* the only supported timezone is `America/Los_Angeles`.
|
|
275
|
+
*/
|
|
276
|
+
timelineSpec?: GooglePlayDeveloperReportingV1beta1TimelineSpec;
|
|
277
|
+
}
|
|
278
|
+
interface GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetResponse {
|
|
279
|
+
/** Continuation token to fetch the next page of data. */
|
|
280
|
+
nextPageToken?: string;
|
|
281
|
+
/** Returned rows of data. */
|
|
282
|
+
rows?: GooglePlayDeveloperReportingV1beta1MetricsRow[];
|
|
283
|
+
}
|
|
284
|
+
interface GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet {
|
|
285
|
+
/** Summary about data freshness in this resource. */
|
|
286
|
+
freshnessInfo?: GooglePlayDeveloperReportingV1beta1FreshnessInfo;
|
|
287
|
+
/** The resource name. Format: apps/{app}/stuckBackgroundWakelockRateMetricSet */
|
|
288
|
+
name?: string;
|
|
289
|
+
}
|
|
290
|
+
interface GooglePlayDeveloperReportingV1beta1TimelineSpec {
|
|
291
|
+
/** Type of the aggregation period of the datapoints in the timeline. Intervals are identified by the date and time at the start of the interval. */
|
|
292
|
+
aggregationPeriod?: string;
|
|
293
|
+
/** Ending datapoint of the timeline (exclusive). See start_time for restrictions. The timezone of the end point must match the timezone of the start point. */
|
|
294
|
+
endTime?: GoogleTypeDateTime;
|
|
295
|
+
/**
|
|
296
|
+
* Starting datapoint of the timeline (inclusive). Must be aligned to the aggregation period as follows: * HOURLY: the 'minutes', 'seconds' and 'nanos' fields must be unset. The
|
|
297
|
+
* time_zone can be left unset (defaults to UTC) or set explicitly to "UTC". Setting any other utc_offset or timezone id will result in a validation error. * DAILY: the 'hours',
|
|
298
|
+
* 'minutes', 'seconds' and 'nanos' fields must be unset. Different metric sets support different timezones. It can be left unset to use the default timezone specified by the metric
|
|
299
|
+
* set. The timezone of the end point must match the timezone of the start point.
|
|
300
|
+
*/
|
|
301
|
+
startTime?: GoogleTypeDateTime;
|
|
302
|
+
}
|
|
303
|
+
interface GoogleTypeDateTime {
|
|
304
|
+
/** 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. */
|
|
305
|
+
day?: number;
|
|
306
|
+
/** Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios like business closing time. */
|
|
307
|
+
hours?: number;
|
|
308
|
+
/** Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. */
|
|
309
|
+
minutes?: number;
|
|
310
|
+
/** Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month. */
|
|
311
|
+
month?: number;
|
|
312
|
+
/** Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0. */
|
|
313
|
+
nanos?: number;
|
|
314
|
+
/** 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. */
|
|
315
|
+
seconds?: number;
|
|
316
|
+
/** Time zone. */
|
|
317
|
+
timeZone?: GoogleTypeTimeZone;
|
|
318
|
+
/** 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 }. */
|
|
319
|
+
utcOffset?: string;
|
|
320
|
+
/** Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. */
|
|
321
|
+
year?: number;
|
|
322
|
+
}
|
|
323
|
+
interface GoogleTypeDecimal {
|
|
324
|
+
/**
|
|
325
|
+
* The decimal value, as a string. The string representation consists of an optional sign, `+` (`U+002B`) or `-` (`U+002D`), followed by a sequence of zero or more decimal digits ("the
|
|
326
|
+
* integer"), optionally followed by a fraction, optionally followed by an exponent. The fraction consists of a decimal point followed by zero or more decimal digits. The string must
|
|
327
|
+
* contain at least one digit in either the integer or the fraction. The number formed by the sign, the integer and the fraction is referred to as the significand. The exponent
|
|
328
|
+
* consists of the character `e` (`U+0065`) or `E` (`U+0045`) followed by one or more decimal digits. Services **should** normalize decimal values before storing them by: - Removing an
|
|
329
|
+
* explicitly-provided `+` sign (`+2.5` -> `2.5`). - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - Coercing the exponent character to lower-case (`2.5E8` ->
|
|
330
|
+
* `2.5e8`). - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). Services **may** perform additional normalization based on its own needs and the internal decimal
|
|
331
|
+
* implementation selected, such as shifting the decimal point and exponent value together (example: `2.5e-1` <-> `0.25`). Additionally, services **may** preserve trailing zeroes in
|
|
332
|
+
* the fraction to indicate increased precision, but are not required to do so. Note that only the `.` character is supported to divide the integer and the fraction; `,` **should not**
|
|
333
|
+
* be supported regardless of locale. Additionally, thousand separators **should not** be supported. If a service does support them, values **must** be normalized. The ENBF grammar is:
|
|
334
|
+
* DecimalString = [Sign] Significand [Exponent]; Sign = '+' | '-'; Significand = Digits '.' | [Digits] '.' Digits; Exponent = ('e' | 'E') [Sign] Digits; Digits = { '0' | '1' | '2' |
|
|
335
|
+
* '3' | '4' | '5' | '6' | '7' | '8' | '9' }; Services **should** clearly document the range of supported values, the maximum supported precision (total number of digits), and, if
|
|
336
|
+
* applicable, the scale (number of digits after the decimal point), as well as how it behaves when receiving out-of-bounds values. Services **may** choose to accept values passed as
|
|
337
|
+
* input even when the value has a higher precision or scale than the service supports, and **should** round the value to fit the supported scale. Alternatively, the service **may**
|
|
338
|
+
* error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service
|
|
339
|
+
* receives a value outside of the supported range.
|
|
340
|
+
*/
|
|
341
|
+
value?: string;
|
|
342
|
+
}
|
|
343
|
+
interface GoogleTypeTimeZone {
|
|
344
|
+
/** IANA Time Zone Database time zone, e.g. "America/New_York". */
|
|
345
|
+
id?: string;
|
|
346
|
+
/** Optional. IANA Time Zone Database version number, e.g. "2019a". */
|
|
347
|
+
version?: string;
|
|
348
|
+
}
|
|
349
|
+
interface AnomaliesResource {
|
|
350
|
+
/** Lists anomalies in any of the datasets. */
|
|
351
|
+
list(request?: {
|
|
352
|
+
/** V1 error format. */
|
|
353
|
+
"$.xgafv"?: string;
|
|
354
|
+
/** OAuth access token. */
|
|
355
|
+
access_token?: string;
|
|
356
|
+
/** Data format for response. */
|
|
357
|
+
alt?: string;
|
|
358
|
+
/** JSONP */
|
|
359
|
+
callback?: string;
|
|
360
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
361
|
+
fields?: string;
|
|
362
|
+
/**
|
|
363
|
+
* Filtering criteria for anomalies. For basic filter guidance, please check: https://google.aip.dev/160. **Supported functions:** * `activeBetween(startTime, endTime)`: If
|
|
364
|
+
* specified, only list anomalies that were active in between `startTime` (inclusive) and `endTime` (exclusive). Both parameters are expected to conform to an RFC-3339 formatted
|
|
365
|
+
* string (e.g. `2012-04-21T11:30:00-04:00`). UTC offsets are supported. Both `startTime` and `endTime` accept the special value `UNBOUNDED`, to signify intervals with no lower or
|
|
366
|
+
* upper bound, respectively. Examples: * `activeBetween("2021-04-21T11:30:00Z", "2021-07-21T00:00:00Z")` * `activeBetween(UNBOUNDED, "2021-11-21T00:00:00-04:00")` *
|
|
367
|
+
* `activeBetween("2021-07-21T00:00:00-04:00", UNBOUNDED)`
|
|
368
|
+
*/
|
|
369
|
+
filter?: string;
|
|
370
|
+
/** 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. */
|
|
371
|
+
key?: string;
|
|
372
|
+
/** OAuth 2.0 token for the current user. */
|
|
373
|
+
oauth_token?: string;
|
|
374
|
+
/** Maximum size of the returned data. If unspecified, at most 10 anomalies will be returned. The maximum value is 100; values above 100 will be coerced to 100. */
|
|
375
|
+
pageSize?: number;
|
|
376
|
+
/**
|
|
377
|
+
* A page token, received from a previous `ListErrorReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
378
|
+
* `ListErrorReports` must match the call that provided the page token.
|
|
379
|
+
*/
|
|
380
|
+
pageToken?: string;
|
|
381
|
+
/** Required. Parent app for which anomalies were detected. Format: apps/{app} */
|
|
382
|
+
parent: string;
|
|
383
|
+
/** Returns response with indentations and line breaks. */
|
|
384
|
+
prettyPrint?: boolean;
|
|
385
|
+
/** 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. */
|
|
386
|
+
quotaUser?: string;
|
|
387
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
388
|
+
upload_protocol?: string;
|
|
389
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
390
|
+
uploadType?: string;
|
|
391
|
+
}): Request<GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse>;
|
|
392
|
+
}
|
|
393
|
+
interface AnrrateResource {
|
|
394
|
+
/** Describes the properties of the metric set. */
|
|
395
|
+
get(request?: {
|
|
396
|
+
/** V1 error format. */
|
|
397
|
+
"$.xgafv"?: string;
|
|
398
|
+
/** OAuth access token. */
|
|
399
|
+
access_token?: string;
|
|
400
|
+
/** Data format for response. */
|
|
401
|
+
alt?: string;
|
|
402
|
+
/** JSONP */
|
|
403
|
+
callback?: string;
|
|
404
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
405
|
+
fields?: string;
|
|
406
|
+
/** 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. */
|
|
407
|
+
key?: string;
|
|
408
|
+
/** Required. The resource name. Format: apps/{app}/anrRateMetricSet */
|
|
409
|
+
name: string;
|
|
410
|
+
/** OAuth 2.0 token for the current user. */
|
|
411
|
+
oauth_token?: string;
|
|
412
|
+
/** Returns response with indentations and line breaks. */
|
|
413
|
+
prettyPrint?: boolean;
|
|
414
|
+
/** 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. */
|
|
415
|
+
quotaUser?: string;
|
|
416
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
417
|
+
upload_protocol?: string;
|
|
418
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
419
|
+
uploadType?: string;
|
|
420
|
+
}): Request<GooglePlayDeveloperReportingV1beta1AnrRateMetricSet>;
|
|
421
|
+
/** Queries the metrics in the metric set. */
|
|
422
|
+
query(request: {
|
|
423
|
+
/** V1 error format. */
|
|
424
|
+
"$.xgafv"?: string;
|
|
425
|
+
/** OAuth access token. */
|
|
426
|
+
access_token?: string;
|
|
427
|
+
/** Data format for response. */
|
|
428
|
+
alt?: string;
|
|
429
|
+
/** JSONP */
|
|
430
|
+
callback?: string;
|
|
431
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
432
|
+
fields?: string;
|
|
433
|
+
/** 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. */
|
|
434
|
+
key?: string;
|
|
435
|
+
/** Required. The resource name. Format: apps/{app}/anrRateMetricSet */
|
|
436
|
+
name: string;
|
|
437
|
+
/** OAuth 2.0 token for the current user. */
|
|
438
|
+
oauth_token?: string;
|
|
439
|
+
/** Returns response with indentations and line breaks. */
|
|
440
|
+
prettyPrint?: boolean;
|
|
441
|
+
/** 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. */
|
|
442
|
+
quotaUser?: string;
|
|
443
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
444
|
+
upload_protocol?: string;
|
|
445
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
446
|
+
uploadType?: string;
|
|
447
|
+
/** Request body */
|
|
448
|
+
resource: GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest;
|
|
449
|
+
}): Request<GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse>;
|
|
450
|
+
query(request: {
|
|
451
|
+
/** V1 error format. */
|
|
452
|
+
"$.xgafv"?: string;
|
|
453
|
+
/** OAuth access token. */
|
|
454
|
+
access_token?: string;
|
|
455
|
+
/** Data format for response. */
|
|
456
|
+
alt?: string;
|
|
457
|
+
/** JSONP */
|
|
458
|
+
callback?: string;
|
|
459
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
460
|
+
fields?: string;
|
|
461
|
+
/** 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. */
|
|
462
|
+
key?: string;
|
|
463
|
+
/** Required. The resource name. Format: apps/{app}/anrRateMetricSet */
|
|
464
|
+
name: string;
|
|
465
|
+
/** OAuth 2.0 token for the current user. */
|
|
466
|
+
oauth_token?: string;
|
|
467
|
+
/** Returns response with indentations and line breaks. */
|
|
468
|
+
prettyPrint?: boolean;
|
|
469
|
+
/** 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. */
|
|
470
|
+
quotaUser?: string;
|
|
471
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
472
|
+
upload_protocol?: string;
|
|
473
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
474
|
+
uploadType?: string;
|
|
475
|
+
},
|
|
476
|
+
body: GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest): Request<GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse>;
|
|
477
|
+
}
|
|
478
|
+
interface CrashrateResource {
|
|
479
|
+
/** Describes the properties of the metric set. */
|
|
480
|
+
get(request?: {
|
|
481
|
+
/** V1 error format. */
|
|
482
|
+
"$.xgafv"?: string;
|
|
483
|
+
/** OAuth access token. */
|
|
484
|
+
access_token?: string;
|
|
485
|
+
/** Data format for response. */
|
|
486
|
+
alt?: string;
|
|
487
|
+
/** JSONP */
|
|
488
|
+
callback?: string;
|
|
489
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
490
|
+
fields?: string;
|
|
491
|
+
/** 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. */
|
|
492
|
+
key?: string;
|
|
493
|
+
/** Required. The resource name. Format: apps/{app}/crashRateMetricSet */
|
|
494
|
+
name: string;
|
|
495
|
+
/** OAuth 2.0 token for the current user. */
|
|
496
|
+
oauth_token?: string;
|
|
497
|
+
/** Returns response with indentations and line breaks. */
|
|
498
|
+
prettyPrint?: boolean;
|
|
499
|
+
/** 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. */
|
|
500
|
+
quotaUser?: string;
|
|
501
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
502
|
+
upload_protocol?: string;
|
|
503
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
504
|
+
uploadType?: string;
|
|
505
|
+
}): Request<GooglePlayDeveloperReportingV1beta1CrashRateMetricSet>;
|
|
506
|
+
/** Queries the metrics in the metric set. */
|
|
507
|
+
query(request: {
|
|
508
|
+
/** V1 error format. */
|
|
509
|
+
"$.xgafv"?: string;
|
|
510
|
+
/** OAuth access token. */
|
|
511
|
+
access_token?: string;
|
|
512
|
+
/** Data format for response. */
|
|
513
|
+
alt?: string;
|
|
514
|
+
/** JSONP */
|
|
515
|
+
callback?: string;
|
|
516
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
517
|
+
fields?: string;
|
|
518
|
+
/** 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. */
|
|
519
|
+
key?: string;
|
|
520
|
+
/** Required. The resource name. Format: apps/{app}/crashRateMetricSet */
|
|
521
|
+
name: string;
|
|
522
|
+
/** OAuth 2.0 token for the current user. */
|
|
523
|
+
oauth_token?: string;
|
|
524
|
+
/** Returns response with indentations and line breaks. */
|
|
525
|
+
prettyPrint?: boolean;
|
|
526
|
+
/** 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. */
|
|
527
|
+
quotaUser?: string;
|
|
528
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
529
|
+
upload_protocol?: string;
|
|
530
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
531
|
+
uploadType?: string;
|
|
532
|
+
/** Request body */
|
|
533
|
+
resource: GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest;
|
|
534
|
+
}): Request<GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse>;
|
|
535
|
+
query(request: {
|
|
536
|
+
/** V1 error format. */
|
|
537
|
+
"$.xgafv"?: string;
|
|
538
|
+
/** OAuth access token. */
|
|
539
|
+
access_token?: string;
|
|
540
|
+
/** Data format for response. */
|
|
541
|
+
alt?: string;
|
|
542
|
+
/** JSONP */
|
|
543
|
+
callback?: string;
|
|
544
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
545
|
+
fields?: string;
|
|
546
|
+
/** 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. */
|
|
547
|
+
key?: string;
|
|
548
|
+
/** Required. The resource name. Format: apps/{app}/crashRateMetricSet */
|
|
549
|
+
name: string;
|
|
550
|
+
/** OAuth 2.0 token for the current user. */
|
|
551
|
+
oauth_token?: string;
|
|
552
|
+
/** Returns response with indentations and line breaks. */
|
|
553
|
+
prettyPrint?: boolean;
|
|
554
|
+
/** 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. */
|
|
555
|
+
quotaUser?: string;
|
|
556
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
557
|
+
upload_protocol?: string;
|
|
558
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
559
|
+
uploadType?: string;
|
|
560
|
+
},
|
|
561
|
+
body: GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest): Request<GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse>;
|
|
562
|
+
}
|
|
563
|
+
interface ExcessivewakeuprateResource {
|
|
564
|
+
/** Describes the properties of the metric set. */
|
|
565
|
+
get(request?: {
|
|
566
|
+
/** V1 error format. */
|
|
567
|
+
"$.xgafv"?: string;
|
|
568
|
+
/** OAuth access token. */
|
|
569
|
+
access_token?: string;
|
|
570
|
+
/** Data format for response. */
|
|
571
|
+
alt?: string;
|
|
572
|
+
/** JSONP */
|
|
573
|
+
callback?: string;
|
|
574
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
575
|
+
fields?: string;
|
|
576
|
+
/** 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. */
|
|
577
|
+
key?: string;
|
|
578
|
+
/** Required. The resource name. Format: apps/{app}/excessiveWakeupRateMetricSet */
|
|
579
|
+
name: string;
|
|
580
|
+
/** OAuth 2.0 token for the current user. */
|
|
581
|
+
oauth_token?: string;
|
|
582
|
+
/** Returns response with indentations and line breaks. */
|
|
583
|
+
prettyPrint?: boolean;
|
|
584
|
+
/** 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. */
|
|
585
|
+
quotaUser?: string;
|
|
586
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
587
|
+
upload_protocol?: string;
|
|
588
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
589
|
+
uploadType?: string;
|
|
590
|
+
}): Request<GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet>;
|
|
591
|
+
/** Queries the metrics in the metric set. */
|
|
592
|
+
query(request: {
|
|
593
|
+
/** V1 error format. */
|
|
594
|
+
"$.xgafv"?: string;
|
|
595
|
+
/** OAuth access token. */
|
|
596
|
+
access_token?: string;
|
|
597
|
+
/** Data format for response. */
|
|
598
|
+
alt?: string;
|
|
599
|
+
/** JSONP */
|
|
600
|
+
callback?: string;
|
|
601
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
602
|
+
fields?: string;
|
|
603
|
+
/** 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. */
|
|
604
|
+
key?: string;
|
|
605
|
+
/** Required. The resource name. Format: apps/{app}/excessiveWakeupRateMetricSet */
|
|
606
|
+
name: string;
|
|
607
|
+
/** OAuth 2.0 token for the current user. */
|
|
608
|
+
oauth_token?: string;
|
|
609
|
+
/** Returns response with indentations and line breaks. */
|
|
610
|
+
prettyPrint?: boolean;
|
|
611
|
+
/** 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. */
|
|
612
|
+
quotaUser?: string;
|
|
613
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
614
|
+
upload_protocol?: string;
|
|
615
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
616
|
+
uploadType?: string;
|
|
617
|
+
/** Request body */
|
|
618
|
+
resource: GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest;
|
|
619
|
+
}): Request<GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse>;
|
|
620
|
+
query(request: {
|
|
621
|
+
/** V1 error format. */
|
|
622
|
+
"$.xgafv"?: string;
|
|
623
|
+
/** OAuth access token. */
|
|
624
|
+
access_token?: string;
|
|
625
|
+
/** Data format for response. */
|
|
626
|
+
alt?: string;
|
|
627
|
+
/** JSONP */
|
|
628
|
+
callback?: string;
|
|
629
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
630
|
+
fields?: string;
|
|
631
|
+
/** 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. */
|
|
632
|
+
key?: string;
|
|
633
|
+
/** Required. The resource name. Format: apps/{app}/excessiveWakeupRateMetricSet */
|
|
634
|
+
name: string;
|
|
635
|
+
/** OAuth 2.0 token for the current user. */
|
|
636
|
+
oauth_token?: string;
|
|
637
|
+
/** Returns response with indentations and line breaks. */
|
|
638
|
+
prettyPrint?: boolean;
|
|
639
|
+
/** 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. */
|
|
640
|
+
quotaUser?: string;
|
|
641
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
642
|
+
upload_protocol?: string;
|
|
643
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
644
|
+
uploadType?: string;
|
|
645
|
+
},
|
|
646
|
+
body: GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest): Request<GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse>;
|
|
647
|
+
}
|
|
648
|
+
interface StuckbackgroundwakelockrateResource {
|
|
649
|
+
/** Describes the properties of the metric set. */
|
|
650
|
+
get(request?: {
|
|
651
|
+
/** V1 error format. */
|
|
652
|
+
"$.xgafv"?: string;
|
|
653
|
+
/** OAuth access token. */
|
|
654
|
+
access_token?: string;
|
|
655
|
+
/** Data format for response. */
|
|
656
|
+
alt?: string;
|
|
657
|
+
/** JSONP */
|
|
658
|
+
callback?: string;
|
|
659
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
660
|
+
fields?: string;
|
|
661
|
+
/** 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. */
|
|
662
|
+
key?: string;
|
|
663
|
+
/** Required. The resource name. Format: apps/{app}/stuckBackgroundWakelockRateMetricSet */
|
|
664
|
+
name: string;
|
|
665
|
+
/** OAuth 2.0 token for the current user. */
|
|
666
|
+
oauth_token?: string;
|
|
667
|
+
/** Returns response with indentations and line breaks. */
|
|
668
|
+
prettyPrint?: boolean;
|
|
669
|
+
/** 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. */
|
|
670
|
+
quotaUser?: string;
|
|
671
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
672
|
+
upload_protocol?: string;
|
|
673
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
674
|
+
uploadType?: string;
|
|
675
|
+
}): Request<GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet>;
|
|
676
|
+
/** Queries the metrics in the metric set. */
|
|
677
|
+
query(request: {
|
|
678
|
+
/** V1 error format. */
|
|
679
|
+
"$.xgafv"?: string;
|
|
680
|
+
/** OAuth access token. */
|
|
681
|
+
access_token?: string;
|
|
682
|
+
/** Data format for response. */
|
|
683
|
+
alt?: string;
|
|
684
|
+
/** JSONP */
|
|
685
|
+
callback?: string;
|
|
686
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
687
|
+
fields?: string;
|
|
688
|
+
/** 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. */
|
|
689
|
+
key?: string;
|
|
690
|
+
/** Required. The resource name. Format: apps/{app}/stuckBackgroundWakelockRateMetricSet */
|
|
691
|
+
name: string;
|
|
692
|
+
/** OAuth 2.0 token for the current user. */
|
|
693
|
+
oauth_token?: string;
|
|
694
|
+
/** Returns response with indentations and line breaks. */
|
|
695
|
+
prettyPrint?: boolean;
|
|
696
|
+
/** 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. */
|
|
697
|
+
quotaUser?: string;
|
|
698
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
699
|
+
upload_protocol?: string;
|
|
700
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
701
|
+
uploadType?: string;
|
|
702
|
+
/** Request body */
|
|
703
|
+
resource: GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest;
|
|
704
|
+
}): Request<GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetResponse>;
|
|
705
|
+
query(request: {
|
|
706
|
+
/** V1 error format. */
|
|
707
|
+
"$.xgafv"?: string;
|
|
708
|
+
/** OAuth access token. */
|
|
709
|
+
access_token?: string;
|
|
710
|
+
/** Data format for response. */
|
|
711
|
+
alt?: string;
|
|
712
|
+
/** JSONP */
|
|
713
|
+
callback?: string;
|
|
714
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
715
|
+
fields?: string;
|
|
716
|
+
/** 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. */
|
|
717
|
+
key?: string;
|
|
718
|
+
/** Required. The resource name. Format: apps/{app}/stuckBackgroundWakelockRateMetricSet */
|
|
719
|
+
name: string;
|
|
720
|
+
/** OAuth 2.0 token for the current user. */
|
|
721
|
+
oauth_token?: string;
|
|
722
|
+
/** Returns response with indentations and line breaks. */
|
|
723
|
+
prettyPrint?: boolean;
|
|
724
|
+
/** 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. */
|
|
725
|
+
quotaUser?: string;
|
|
726
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
727
|
+
upload_protocol?: string;
|
|
728
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
729
|
+
uploadType?: string;
|
|
730
|
+
},
|
|
731
|
+
body: GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest): Request<GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetResponse>;
|
|
732
|
+
}
|
|
733
|
+
interface VitalsResource {
|
|
734
|
+
anrrate: AnrrateResource;
|
|
735
|
+
crashrate: CrashrateResource;
|
|
736
|
+
excessivewakeuprate: ExcessivewakeuprateResource;
|
|
737
|
+
stuckbackgroundwakelockrate: StuckbackgroundwakelockrateResource;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
const anomalies: AnomaliesResource;
|
|
741
|
+
|
|
742
|
+
const vitals: VitalsResource;
|
|
743
|
+
}
|
|
744
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@maxim_mazurok/gapi.client.playdeveloperreporting-v1beta1",
|
|
3
|
+
"version": "0.0.20220811",
|
|
4
|
+
"description": "TypeScript typings for Google Play Developer Reporting API v1beta1",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": {
|
|
7
|
+
"email": "maxim@mazurok.com",
|
|
8
|
+
"name": "Maxim Mazurok",
|
|
9
|
+
"url": "https://maxim.mazurok.com"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/Maxim-Mazurok/google-api-typings-generator.git"
|
|
14
|
+
},
|
|
15
|
+
"types": "index.d.ts",
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@types/gapi.client": "*",
|
|
18
|
+
"@types/gapi.client.discovery": "*"
|
|
19
|
+
}
|
|
20
|
+
}
|
package/readme.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# TypeScript typings for Google Play Developer Reporting API v1beta1
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
For detailed description please check [documentation](https://developers.google.com/play/developer/reporting).
|
|
5
|
+
|
|
6
|
+
## Installing
|
|
7
|
+
|
|
8
|
+
Install typings for Google Play Developer Reporting API:
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
npm install @types/gapi.client.playdeveloperreporting-v1beta1 --save-dev
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
You need to initialize Google API client in your code:
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
gapi.load('client', () => {
|
|
20
|
+
// now we can use gapi.client
|
|
21
|
+
// ...
|
|
22
|
+
});
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Then load api client wrapper:
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
gapi.client.load('https://playdeveloperreporting.googleapis.com/$discovery/rest?version=v1beta1', () => {
|
|
29
|
+
// now we can use:
|
|
30
|
+
// gapi.client.playdeveloperreporting
|
|
31
|
+
});
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
```typescript
|
|
35
|
+
// Deprecated, use discovery document URL, see https://github.com/google/google-api-javascript-client/blob/master/docs/reference.md#----gapiclientloadname----version----callback--
|
|
36
|
+
gapi.client.load('playdeveloperreporting', 'v1beta1', () => {
|
|
37
|
+
// now we can use:
|
|
38
|
+
// gapi.client.playdeveloperreporting
|
|
39
|
+
});
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
After that you can use Google Play Developer Reporting API resources: <!-- TODO: make this work for multiple namespaces -->
|
|
45
|
+
|
|
46
|
+
```typescript
|
|
47
|
+
|
|
48
|
+
/*
|
|
49
|
+
Lists anomalies in any of the datasets.
|
|
50
|
+
*/
|
|
51
|
+
await gapi.client.playdeveloperreporting.anomalies.list({ parent: "parent", });
|
|
52
|
+
```
|
package/tests.ts
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
/* This is stub file for gapi.client.playdeveloperreporting-v1beta1 definition tests */
|
|
2
|
+
// IMPORTANT
|
|
3
|
+
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
|
+
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
|
+
|
|
6
|
+
// Revision: 20220811
|
|
7
|
+
|
|
8
|
+
gapi.load('client', async () => {
|
|
9
|
+
/** now we can use gapi.client */
|
|
10
|
+
|
|
11
|
+
await gapi.client.load('https://playdeveloperreporting.googleapis.com/$discovery/rest?version=v1beta1');
|
|
12
|
+
/** now we can use gapi.client.playdeveloperreporting */
|
|
13
|
+
|
|
14
|
+
run();
|
|
15
|
+
|
|
16
|
+
async function run() {
|
|
17
|
+
/** Lists anomalies in any of the datasets. */
|
|
18
|
+
await gapi.client.playdeveloperreporting.anomalies.list({
|
|
19
|
+
filter: "Test string",
|
|
20
|
+
pageSize: 42,
|
|
21
|
+
pageToken: "Test string",
|
|
22
|
+
parent: "Test string",
|
|
23
|
+
});
|
|
24
|
+
/** Describes the properties of the metric set. */
|
|
25
|
+
await gapi.client.playdeveloperreporting.vitals.anrrate.get({
|
|
26
|
+
name: "Test string",
|
|
27
|
+
});
|
|
28
|
+
/** Queries the metrics in the metric set. */
|
|
29
|
+
await gapi.client.playdeveloperreporting.vitals.anrrate.query({
|
|
30
|
+
name: "Test string",
|
|
31
|
+
}, {
|
|
32
|
+
dimensions: [
|
|
33
|
+
"Test string"
|
|
34
|
+
],
|
|
35
|
+
filter: "Test string",
|
|
36
|
+
metrics: [
|
|
37
|
+
"Test string"
|
|
38
|
+
],
|
|
39
|
+
pageSize: 42,
|
|
40
|
+
pageToken: "Test string",
|
|
41
|
+
timelineSpec: {
|
|
42
|
+
aggregationPeriod: "Test string",
|
|
43
|
+
endTime: {
|
|
44
|
+
day: 42,
|
|
45
|
+
hours: 42,
|
|
46
|
+
minutes: 42,
|
|
47
|
+
month: 42,
|
|
48
|
+
nanos: 42,
|
|
49
|
+
seconds: 42,
|
|
50
|
+
timeZone: {
|
|
51
|
+
id: "Test string",
|
|
52
|
+
version: "Test string",
|
|
53
|
+
},
|
|
54
|
+
utcOffset: "Test string",
|
|
55
|
+
year: 42,
|
|
56
|
+
},
|
|
57
|
+
startTime: {
|
|
58
|
+
day: 42,
|
|
59
|
+
hours: 42,
|
|
60
|
+
minutes: 42,
|
|
61
|
+
month: 42,
|
|
62
|
+
nanos: 42,
|
|
63
|
+
seconds: 42,
|
|
64
|
+
timeZone: {
|
|
65
|
+
id: "Test string",
|
|
66
|
+
version: "Test string",
|
|
67
|
+
},
|
|
68
|
+
utcOffset: "Test string",
|
|
69
|
+
year: 42,
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
});
|
|
73
|
+
/** Describes the properties of the metric set. */
|
|
74
|
+
await gapi.client.playdeveloperreporting.vitals.crashrate.get({
|
|
75
|
+
name: "Test string",
|
|
76
|
+
});
|
|
77
|
+
/** Queries the metrics in the metric set. */
|
|
78
|
+
await gapi.client.playdeveloperreporting.vitals.crashrate.query({
|
|
79
|
+
name: "Test string",
|
|
80
|
+
}, {
|
|
81
|
+
dimensions: [
|
|
82
|
+
"Test string"
|
|
83
|
+
],
|
|
84
|
+
filter: "Test string",
|
|
85
|
+
metrics: [
|
|
86
|
+
"Test string"
|
|
87
|
+
],
|
|
88
|
+
pageSize: 42,
|
|
89
|
+
pageToken: "Test string",
|
|
90
|
+
timelineSpec: {
|
|
91
|
+
aggregationPeriod: "Test string",
|
|
92
|
+
endTime: {
|
|
93
|
+
day: 42,
|
|
94
|
+
hours: 42,
|
|
95
|
+
minutes: 42,
|
|
96
|
+
month: 42,
|
|
97
|
+
nanos: 42,
|
|
98
|
+
seconds: 42,
|
|
99
|
+
timeZone: {
|
|
100
|
+
id: "Test string",
|
|
101
|
+
version: "Test string",
|
|
102
|
+
},
|
|
103
|
+
utcOffset: "Test string",
|
|
104
|
+
year: 42,
|
|
105
|
+
},
|
|
106
|
+
startTime: {
|
|
107
|
+
day: 42,
|
|
108
|
+
hours: 42,
|
|
109
|
+
minutes: 42,
|
|
110
|
+
month: 42,
|
|
111
|
+
nanos: 42,
|
|
112
|
+
seconds: 42,
|
|
113
|
+
timeZone: {
|
|
114
|
+
id: "Test string",
|
|
115
|
+
version: "Test string",
|
|
116
|
+
},
|
|
117
|
+
utcOffset: "Test string",
|
|
118
|
+
year: 42,
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
});
|
|
122
|
+
/** Describes the properties of the metric set. */
|
|
123
|
+
await gapi.client.playdeveloperreporting.vitals.excessivewakeuprate.get({
|
|
124
|
+
name: "Test string",
|
|
125
|
+
});
|
|
126
|
+
/** Queries the metrics in the metric set. */
|
|
127
|
+
await gapi.client.playdeveloperreporting.vitals.excessivewakeuprate.query({
|
|
128
|
+
name: "Test string",
|
|
129
|
+
}, {
|
|
130
|
+
dimensions: [
|
|
131
|
+
"Test string"
|
|
132
|
+
],
|
|
133
|
+
filter: "Test string",
|
|
134
|
+
metrics: [
|
|
135
|
+
"Test string"
|
|
136
|
+
],
|
|
137
|
+
pageSize: 42,
|
|
138
|
+
pageToken: "Test string",
|
|
139
|
+
timelineSpec: {
|
|
140
|
+
aggregationPeriod: "Test string",
|
|
141
|
+
endTime: {
|
|
142
|
+
day: 42,
|
|
143
|
+
hours: 42,
|
|
144
|
+
minutes: 42,
|
|
145
|
+
month: 42,
|
|
146
|
+
nanos: 42,
|
|
147
|
+
seconds: 42,
|
|
148
|
+
timeZone: {
|
|
149
|
+
id: "Test string",
|
|
150
|
+
version: "Test string",
|
|
151
|
+
},
|
|
152
|
+
utcOffset: "Test string",
|
|
153
|
+
year: 42,
|
|
154
|
+
},
|
|
155
|
+
startTime: {
|
|
156
|
+
day: 42,
|
|
157
|
+
hours: 42,
|
|
158
|
+
minutes: 42,
|
|
159
|
+
month: 42,
|
|
160
|
+
nanos: 42,
|
|
161
|
+
seconds: 42,
|
|
162
|
+
timeZone: {
|
|
163
|
+
id: "Test string",
|
|
164
|
+
version: "Test string",
|
|
165
|
+
},
|
|
166
|
+
utcOffset: "Test string",
|
|
167
|
+
year: 42,
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
});
|
|
171
|
+
/** Describes the properties of the metric set. */
|
|
172
|
+
await gapi.client.playdeveloperreporting.vitals.stuckbackgroundwakelockrate.get({
|
|
173
|
+
name: "Test string",
|
|
174
|
+
});
|
|
175
|
+
/** Queries the metrics in the metric set. */
|
|
176
|
+
await gapi.client.playdeveloperreporting.vitals.stuckbackgroundwakelockrate.query({
|
|
177
|
+
name: "Test string",
|
|
178
|
+
}, {
|
|
179
|
+
dimensions: [
|
|
180
|
+
"Test string"
|
|
181
|
+
],
|
|
182
|
+
filter: "Test string",
|
|
183
|
+
metrics: [
|
|
184
|
+
"Test string"
|
|
185
|
+
],
|
|
186
|
+
pageSize: 42,
|
|
187
|
+
pageToken: "Test string",
|
|
188
|
+
timelineSpec: {
|
|
189
|
+
aggregationPeriod: "Test string",
|
|
190
|
+
endTime: {
|
|
191
|
+
day: 42,
|
|
192
|
+
hours: 42,
|
|
193
|
+
minutes: 42,
|
|
194
|
+
month: 42,
|
|
195
|
+
nanos: 42,
|
|
196
|
+
seconds: 42,
|
|
197
|
+
timeZone: {
|
|
198
|
+
id: "Test string",
|
|
199
|
+
version: "Test string",
|
|
200
|
+
},
|
|
201
|
+
utcOffset: "Test string",
|
|
202
|
+
year: 42,
|
|
203
|
+
},
|
|
204
|
+
startTime: {
|
|
205
|
+
day: 42,
|
|
206
|
+
hours: 42,
|
|
207
|
+
minutes: 42,
|
|
208
|
+
month: 42,
|
|
209
|
+
nanos: 42,
|
|
210
|
+
seconds: 42,
|
|
211
|
+
timeZone: {
|
|
212
|
+
id: "Test string",
|
|
213
|
+
version: "Test string",
|
|
214
|
+
},
|
|
215
|
+
utcOffset: "Test string",
|
|
216
|
+
year: 42,
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
});
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"module": "commonjs",
|
|
4
|
+
"lib": ["es6", "dom"],
|
|
5
|
+
"noImplicitAny": true,
|
|
6
|
+
"noImplicitThis": true,
|
|
7
|
+
"strictNullChecks": true,
|
|
8
|
+
"baseUrl": "../",
|
|
9
|
+
"typeRoots": [
|
|
10
|
+
"../"
|
|
11
|
+
],
|
|
12
|
+
"types": [],
|
|
13
|
+
"noEmit": true,
|
|
14
|
+
"forceConsistentCasingInFileNames": true,
|
|
15
|
+
"strictFunctionTypes": true
|
|
16
|
+
},
|
|
17
|
+
"files": ["index.d.ts", "tests.ts"]
|
|
18
|
+
}
|