google-apis-playdeveloperreporting_v1beta1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module PlaydeveloperreportingV1beta1
18
+ # Version of the google-apis-playdeveloperreporting_v1beta1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.4.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20220308"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,401 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module PlaydeveloperreportingV1beta1
24
+
25
+ class GooglePlayDeveloperReportingV1beta1Anomaly
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GooglePlayDeveloperReportingV1beta1AnrRateMetricSet
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GooglePlayDeveloperReportingV1beta1CrashRateMetricSet
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GooglePlayDeveloperReportingV1beta1DimensionValue
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GooglePlayDeveloperReportingV1beta1FreshnessInfo
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GooglePlayDeveloperReportingV1beta1FreshnessInfoFreshness
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GooglePlayDeveloperReportingV1beta1MetricValue
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GooglePlayDeveloperReportingV1beta1MetricsRow
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GooglePlayDeveloperReportingV1beta1TimelineSpec
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleTypeDateTime
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleTypeDecimal
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleTypeTimeZone
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GooglePlayDeveloperReportingV1beta1Anomaly
164
+ # @private
165
+ class Representation < Google::Apis::Core::JsonRepresentation
166
+ collection :dimensions, as: 'dimensions', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1DimensionValue, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1DimensionValue::Representation
167
+
168
+ property :metric, as: 'metric', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1MetricValue, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1MetricValue::Representation
169
+
170
+ property :metric_set, as: 'metricSet'
171
+ property :name, as: 'name'
172
+ property :timeline_spec, as: 'timelineSpec', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1TimelineSpec, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1TimelineSpec::Representation
173
+
174
+ end
175
+ end
176
+
177
+ class GooglePlayDeveloperReportingV1beta1AnrRateMetricSet
178
+ # @private
179
+ class Representation < Google::Apis::Core::JsonRepresentation
180
+ property :freshness_info, as: 'freshnessInfo', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1FreshnessInfo, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1FreshnessInfo::Representation
181
+
182
+ property :name, as: 'name'
183
+ end
184
+ end
185
+
186
+ class GooglePlayDeveloperReportingV1beta1CrashRateMetricSet
187
+ # @private
188
+ class Representation < Google::Apis::Core::JsonRepresentation
189
+ property :freshness_info, as: 'freshnessInfo', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1FreshnessInfo, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1FreshnessInfo::Representation
190
+
191
+ property :name, as: 'name'
192
+ end
193
+ end
194
+
195
+ class GooglePlayDeveloperReportingV1beta1DimensionValue
196
+ # @private
197
+ class Representation < Google::Apis::Core::JsonRepresentation
198
+ property :dimension, as: 'dimension'
199
+ property :int64_value, :numeric_string => true, as: 'int64Value'
200
+ property :string_value, as: 'stringValue'
201
+ end
202
+ end
203
+
204
+ class GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet
205
+ # @private
206
+ class Representation < Google::Apis::Core::JsonRepresentation
207
+ property :freshness_info, as: 'freshnessInfo', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1FreshnessInfo, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1FreshnessInfo::Representation
208
+
209
+ property :name, as: 'name'
210
+ end
211
+ end
212
+
213
+ class GooglePlayDeveloperReportingV1beta1FreshnessInfo
214
+ # @private
215
+ class Representation < Google::Apis::Core::JsonRepresentation
216
+ collection :freshnesses, as: 'freshnesses', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1FreshnessInfoFreshness, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1FreshnessInfoFreshness::Representation
217
+
218
+ end
219
+ end
220
+
221
+ class GooglePlayDeveloperReportingV1beta1FreshnessInfoFreshness
222
+ # @private
223
+ class Representation < Google::Apis::Core::JsonRepresentation
224
+ property :aggregation_period, as: 'aggregationPeriod'
225
+ property :latest_end_time, as: 'latestEndTime', class: Google::Apis::PlaydeveloperreportingV1beta1::GoogleTypeDateTime, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GoogleTypeDateTime::Representation
226
+
227
+ end
228
+ end
229
+
230
+ class GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse
231
+ # @private
232
+ class Representation < Google::Apis::Core::JsonRepresentation
233
+ collection :anomalies, as: 'anomalies', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1Anomaly, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1Anomaly::Representation
234
+
235
+ property :next_page_token, as: 'nextPageToken'
236
+ end
237
+ end
238
+
239
+ class GooglePlayDeveloperReportingV1beta1MetricValue
240
+ # @private
241
+ class Representation < Google::Apis::Core::JsonRepresentation
242
+ property :decimal_value, as: 'decimalValue', class: Google::Apis::PlaydeveloperreportingV1beta1::GoogleTypeDecimal, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GoogleTypeDecimal::Representation
243
+
244
+ property :metric, as: 'metric'
245
+ end
246
+ end
247
+
248
+ class GooglePlayDeveloperReportingV1beta1MetricsRow
249
+ # @private
250
+ class Representation < Google::Apis::Core::JsonRepresentation
251
+ property :aggregation_period, as: 'aggregationPeriod'
252
+ collection :dimensions, as: 'dimensions', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1DimensionValue, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1DimensionValue::Representation
253
+
254
+ collection :metrics, as: 'metrics', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1MetricValue, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1MetricValue::Representation
255
+
256
+ property :start_time, as: 'startTime', class: Google::Apis::PlaydeveloperreportingV1beta1::GoogleTypeDateTime, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GoogleTypeDateTime::Representation
257
+
258
+ end
259
+ end
260
+
261
+ class GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest
262
+ # @private
263
+ class Representation < Google::Apis::Core::JsonRepresentation
264
+ collection :dimensions, as: 'dimensions'
265
+ property :filter, as: 'filter'
266
+ collection :metrics, as: 'metrics'
267
+ property :page_size, as: 'pageSize'
268
+ property :page_token, as: 'pageToken'
269
+ property :timeline_spec, as: 'timelineSpec', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1TimelineSpec, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1TimelineSpec::Representation
270
+
271
+ end
272
+ end
273
+
274
+ class GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse
275
+ # @private
276
+ class Representation < Google::Apis::Core::JsonRepresentation
277
+ property :next_page_token, as: 'nextPageToken'
278
+ collection :rows, as: 'rows', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1MetricsRow, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1MetricsRow::Representation
279
+
280
+ end
281
+ end
282
+
283
+ class GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest
284
+ # @private
285
+ class Representation < Google::Apis::Core::JsonRepresentation
286
+ collection :dimensions, as: 'dimensions'
287
+ property :filter, as: 'filter'
288
+ collection :metrics, as: 'metrics'
289
+ property :page_size, as: 'pageSize'
290
+ property :page_token, as: 'pageToken'
291
+ property :timeline_spec, as: 'timelineSpec', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1TimelineSpec, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1TimelineSpec::Representation
292
+
293
+ end
294
+ end
295
+
296
+ class GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse
297
+ # @private
298
+ class Representation < Google::Apis::Core::JsonRepresentation
299
+ property :next_page_token, as: 'nextPageToken'
300
+ collection :rows, as: 'rows', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1MetricsRow, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1MetricsRow::Representation
301
+
302
+ end
303
+ end
304
+
305
+ class GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest
306
+ # @private
307
+ class Representation < Google::Apis::Core::JsonRepresentation
308
+ collection :dimensions, as: 'dimensions'
309
+ property :filter, as: 'filter'
310
+ collection :metrics, as: 'metrics'
311
+ property :page_size, as: 'pageSize'
312
+ property :page_token, as: 'pageToken'
313
+ property :timeline_spec, as: 'timelineSpec', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1TimelineSpec, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1TimelineSpec::Representation
314
+
315
+ end
316
+ end
317
+
318
+ class GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse
319
+ # @private
320
+ class Representation < Google::Apis::Core::JsonRepresentation
321
+ property :next_page_token, as: 'nextPageToken'
322
+ collection :rows, as: 'rows', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1MetricsRow, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1MetricsRow::Representation
323
+
324
+ end
325
+ end
326
+
327
+ class GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest
328
+ # @private
329
+ class Representation < Google::Apis::Core::JsonRepresentation
330
+ collection :dimensions, as: 'dimensions'
331
+ property :filter, as: 'filter'
332
+ collection :metrics, as: 'metrics'
333
+ property :page_size, as: 'pageSize'
334
+ property :page_token, as: 'pageToken'
335
+ property :timeline_spec, as: 'timelineSpec', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1TimelineSpec, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1TimelineSpec::Representation
336
+
337
+ end
338
+ end
339
+
340
+ class GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetResponse
341
+ # @private
342
+ class Representation < Google::Apis::Core::JsonRepresentation
343
+ property :next_page_token, as: 'nextPageToken'
344
+ collection :rows, as: 'rows', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1MetricsRow, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1MetricsRow::Representation
345
+
346
+ end
347
+ end
348
+
349
+ class GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet
350
+ # @private
351
+ class Representation < Google::Apis::Core::JsonRepresentation
352
+ property :freshness_info, as: 'freshnessInfo', class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1FreshnessInfo, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1FreshnessInfo::Representation
353
+
354
+ property :name, as: 'name'
355
+ end
356
+ end
357
+
358
+ class GooglePlayDeveloperReportingV1beta1TimelineSpec
359
+ # @private
360
+ class Representation < Google::Apis::Core::JsonRepresentation
361
+ property :aggregation_period, as: 'aggregationPeriod'
362
+ property :end_time, as: 'endTime', class: Google::Apis::PlaydeveloperreportingV1beta1::GoogleTypeDateTime, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GoogleTypeDateTime::Representation
363
+
364
+ property :start_time, as: 'startTime', class: Google::Apis::PlaydeveloperreportingV1beta1::GoogleTypeDateTime, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GoogleTypeDateTime::Representation
365
+
366
+ end
367
+ end
368
+
369
+ class GoogleTypeDateTime
370
+ # @private
371
+ class Representation < Google::Apis::Core::JsonRepresentation
372
+ property :day, as: 'day'
373
+ property :hours, as: 'hours'
374
+ property :minutes, as: 'minutes'
375
+ property :month, as: 'month'
376
+ property :nanos, as: 'nanos'
377
+ property :seconds, as: 'seconds'
378
+ property :time_zone, as: 'timeZone', class: Google::Apis::PlaydeveloperreportingV1beta1::GoogleTypeTimeZone, decorator: Google::Apis::PlaydeveloperreportingV1beta1::GoogleTypeTimeZone::Representation
379
+
380
+ property :utc_offset, as: 'utcOffset'
381
+ property :year, as: 'year'
382
+ end
383
+ end
384
+
385
+ class GoogleTypeDecimal
386
+ # @private
387
+ class Representation < Google::Apis::Core::JsonRepresentation
388
+ property :value, as: 'value'
389
+ end
390
+ end
391
+
392
+ class GoogleTypeTimeZone
393
+ # @private
394
+ class Representation < Google::Apis::Core::JsonRepresentation
395
+ property :id, as: 'id'
396
+ property :version, as: 'version'
397
+ end
398
+ end
399
+ end
400
+ end
401
+ end