google-apis-analyticsdata_v1alpha 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 AnalyticsdataV1alpha
18
+ # Version of the google-apis-analyticsdata_v1alpha gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20210105"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,844 @@
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 AnalyticsdataV1alpha
24
+
25
+ class BatchRunPivotReportsRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class BatchRunPivotReportsResponse
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class BatchRunReportsRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class BatchRunReportsResponse
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class BetweenFilter
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class CaseExpression
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Cohort
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class CohortReportSettings
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class CohortSpec
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class CohortsRange
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ConcatenateExpression
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DateRange
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class Dimension
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class DimensionExpression
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class DimensionHeader
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class DimensionMetadata
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class DimensionOrderBy
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class DimensionValue
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class Entity
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class Filter
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class FilterExpression
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class FilterExpressionList
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class InListFilter
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class Metadata
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class Metric
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class MetricHeader
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class MetricMetadata
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class MetricOrderBy
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class MetricValue
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class NumericFilter
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class NumericValue
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class OrderBy
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class Pivot
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class PivotDimensionHeader
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class PivotHeader
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class PivotOrderBy
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class PivotSelection
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class PropertyQuota
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class QuotaStatus
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class ResponseMetaData
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class Row
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class RunPivotReportRequest
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class RunPivotReportResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class RunRealtimeReportRequest
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class RunRealtimeReportResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class RunReportRequest
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class RunReportResponse
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class StringFilter
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class BatchRunPivotReportsRequest
314
+ # @private
315
+ class Representation < Google::Apis::Core::JsonRepresentation
316
+ property :entity, as: 'entity', class: Google::Apis::AnalyticsdataV1alpha::Entity, decorator: Google::Apis::AnalyticsdataV1alpha::Entity::Representation
317
+
318
+ collection :requests, as: 'requests', class: Google::Apis::AnalyticsdataV1alpha::RunPivotReportRequest, decorator: Google::Apis::AnalyticsdataV1alpha::RunPivotReportRequest::Representation
319
+
320
+ end
321
+ end
322
+
323
+ class BatchRunPivotReportsResponse
324
+ # @private
325
+ class Representation < Google::Apis::Core::JsonRepresentation
326
+ collection :pivot_reports, as: 'pivotReports', class: Google::Apis::AnalyticsdataV1alpha::RunPivotReportResponse, decorator: Google::Apis::AnalyticsdataV1alpha::RunPivotReportResponse::Representation
327
+
328
+ end
329
+ end
330
+
331
+ class BatchRunReportsRequest
332
+ # @private
333
+ class Representation < Google::Apis::Core::JsonRepresentation
334
+ property :entity, as: 'entity', class: Google::Apis::AnalyticsdataV1alpha::Entity, decorator: Google::Apis::AnalyticsdataV1alpha::Entity::Representation
335
+
336
+ collection :requests, as: 'requests', class: Google::Apis::AnalyticsdataV1alpha::RunReportRequest, decorator: Google::Apis::AnalyticsdataV1alpha::RunReportRequest::Representation
337
+
338
+ end
339
+ end
340
+
341
+ class BatchRunReportsResponse
342
+ # @private
343
+ class Representation < Google::Apis::Core::JsonRepresentation
344
+ collection :reports, as: 'reports', class: Google::Apis::AnalyticsdataV1alpha::RunReportResponse, decorator: Google::Apis::AnalyticsdataV1alpha::RunReportResponse::Representation
345
+
346
+ end
347
+ end
348
+
349
+ class BetweenFilter
350
+ # @private
351
+ class Representation < Google::Apis::Core::JsonRepresentation
352
+ property :from_value, as: 'fromValue', class: Google::Apis::AnalyticsdataV1alpha::NumericValue, decorator: Google::Apis::AnalyticsdataV1alpha::NumericValue::Representation
353
+
354
+ property :to_value, as: 'toValue', class: Google::Apis::AnalyticsdataV1alpha::NumericValue, decorator: Google::Apis::AnalyticsdataV1alpha::NumericValue::Representation
355
+
356
+ end
357
+ end
358
+
359
+ class CaseExpression
360
+ # @private
361
+ class Representation < Google::Apis::Core::JsonRepresentation
362
+ property :dimension_name, as: 'dimensionName'
363
+ end
364
+ end
365
+
366
+ class Cohort
367
+ # @private
368
+ class Representation < Google::Apis::Core::JsonRepresentation
369
+ property :date_range, as: 'dateRange', class: Google::Apis::AnalyticsdataV1alpha::DateRange, decorator: Google::Apis::AnalyticsdataV1alpha::DateRange::Representation
370
+
371
+ property :dimension, as: 'dimension'
372
+ property :name, as: 'name'
373
+ end
374
+ end
375
+
376
+ class CohortReportSettings
377
+ # @private
378
+ class Representation < Google::Apis::Core::JsonRepresentation
379
+ property :accumulate, as: 'accumulate'
380
+ end
381
+ end
382
+
383
+ class CohortSpec
384
+ # @private
385
+ class Representation < Google::Apis::Core::JsonRepresentation
386
+ property :cohort_report_settings, as: 'cohortReportSettings', class: Google::Apis::AnalyticsdataV1alpha::CohortReportSettings, decorator: Google::Apis::AnalyticsdataV1alpha::CohortReportSettings::Representation
387
+
388
+ collection :cohorts, as: 'cohorts', class: Google::Apis::AnalyticsdataV1alpha::Cohort, decorator: Google::Apis::AnalyticsdataV1alpha::Cohort::Representation
389
+
390
+ property :cohorts_range, as: 'cohortsRange', class: Google::Apis::AnalyticsdataV1alpha::CohortsRange, decorator: Google::Apis::AnalyticsdataV1alpha::CohortsRange::Representation
391
+
392
+ end
393
+ end
394
+
395
+ class CohortsRange
396
+ # @private
397
+ class Representation < Google::Apis::Core::JsonRepresentation
398
+ property :end_offset, as: 'endOffset'
399
+ property :granularity, as: 'granularity'
400
+ property :start_offset, as: 'startOffset'
401
+ end
402
+ end
403
+
404
+ class ConcatenateExpression
405
+ # @private
406
+ class Representation < Google::Apis::Core::JsonRepresentation
407
+ property :delimiter, as: 'delimiter'
408
+ collection :dimension_names, as: 'dimensionNames'
409
+ end
410
+ end
411
+
412
+ class DateRange
413
+ # @private
414
+ class Representation < Google::Apis::Core::JsonRepresentation
415
+ property :end_date, as: 'endDate'
416
+ property :name, as: 'name'
417
+ property :start_date, as: 'startDate'
418
+ end
419
+ end
420
+
421
+ class Dimension
422
+ # @private
423
+ class Representation < Google::Apis::Core::JsonRepresentation
424
+ property :dimension_expression, as: 'dimensionExpression', class: Google::Apis::AnalyticsdataV1alpha::DimensionExpression, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionExpression::Representation
425
+
426
+ property :name, as: 'name'
427
+ end
428
+ end
429
+
430
+ class DimensionExpression
431
+ # @private
432
+ class Representation < Google::Apis::Core::JsonRepresentation
433
+ property :concatenate, as: 'concatenate', class: Google::Apis::AnalyticsdataV1alpha::ConcatenateExpression, decorator: Google::Apis::AnalyticsdataV1alpha::ConcatenateExpression::Representation
434
+
435
+ property :lower_case, as: 'lowerCase', class: Google::Apis::AnalyticsdataV1alpha::CaseExpression, decorator: Google::Apis::AnalyticsdataV1alpha::CaseExpression::Representation
436
+
437
+ property :upper_case, as: 'upperCase', class: Google::Apis::AnalyticsdataV1alpha::CaseExpression, decorator: Google::Apis::AnalyticsdataV1alpha::CaseExpression::Representation
438
+
439
+ end
440
+ end
441
+
442
+ class DimensionHeader
443
+ # @private
444
+ class Representation < Google::Apis::Core::JsonRepresentation
445
+ property :name, as: 'name'
446
+ end
447
+ end
448
+
449
+ class DimensionMetadata
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ property :api_name, as: 'apiName'
453
+ property :custom_definition, as: 'customDefinition'
454
+ collection :deprecated_api_names, as: 'deprecatedApiNames'
455
+ property :description, as: 'description'
456
+ property :ui_name, as: 'uiName'
457
+ end
458
+ end
459
+
460
+ class DimensionOrderBy
461
+ # @private
462
+ class Representation < Google::Apis::Core::JsonRepresentation
463
+ property :dimension_name, as: 'dimensionName'
464
+ property :order_type, as: 'orderType'
465
+ end
466
+ end
467
+
468
+ class DimensionValue
469
+ # @private
470
+ class Representation < Google::Apis::Core::JsonRepresentation
471
+ property :value, as: 'value'
472
+ end
473
+ end
474
+
475
+ class Entity
476
+ # @private
477
+ class Representation < Google::Apis::Core::JsonRepresentation
478
+ property :property_id, as: 'propertyId'
479
+ end
480
+ end
481
+
482
+ class Filter
483
+ # @private
484
+ class Representation < Google::Apis::Core::JsonRepresentation
485
+ property :between_filter, as: 'betweenFilter', class: Google::Apis::AnalyticsdataV1alpha::BetweenFilter, decorator: Google::Apis::AnalyticsdataV1alpha::BetweenFilter::Representation
486
+
487
+ property :field_name, as: 'fieldName'
488
+ property :in_list_filter, as: 'inListFilter', class: Google::Apis::AnalyticsdataV1alpha::InListFilter, decorator: Google::Apis::AnalyticsdataV1alpha::InListFilter::Representation
489
+
490
+ property :null_filter, as: 'nullFilter'
491
+ property :numeric_filter, as: 'numericFilter', class: Google::Apis::AnalyticsdataV1alpha::NumericFilter, decorator: Google::Apis::AnalyticsdataV1alpha::NumericFilter::Representation
492
+
493
+ property :string_filter, as: 'stringFilter', class: Google::Apis::AnalyticsdataV1alpha::StringFilter, decorator: Google::Apis::AnalyticsdataV1alpha::StringFilter::Representation
494
+
495
+ end
496
+ end
497
+
498
+ class FilterExpression
499
+ # @private
500
+ class Representation < Google::Apis::Core::JsonRepresentation
501
+ property :and_group, as: 'andGroup', class: Google::Apis::AnalyticsdataV1alpha::FilterExpressionList, decorator: Google::Apis::AnalyticsdataV1alpha::FilterExpressionList::Representation
502
+
503
+ property :filter, as: 'filter', class: Google::Apis::AnalyticsdataV1alpha::Filter, decorator: Google::Apis::AnalyticsdataV1alpha::Filter::Representation
504
+
505
+ property :not_expression, as: 'notExpression', class: Google::Apis::AnalyticsdataV1alpha::FilterExpression, decorator: Google::Apis::AnalyticsdataV1alpha::FilterExpression::Representation
506
+
507
+ property :or_group, as: 'orGroup', class: Google::Apis::AnalyticsdataV1alpha::FilterExpressionList, decorator: Google::Apis::AnalyticsdataV1alpha::FilterExpressionList::Representation
508
+
509
+ end
510
+ end
511
+
512
+ class FilterExpressionList
513
+ # @private
514
+ class Representation < Google::Apis::Core::JsonRepresentation
515
+ collection :expressions, as: 'expressions', class: Google::Apis::AnalyticsdataV1alpha::FilterExpression, decorator: Google::Apis::AnalyticsdataV1alpha::FilterExpression::Representation
516
+
517
+ end
518
+ end
519
+
520
+ class InListFilter
521
+ # @private
522
+ class Representation < Google::Apis::Core::JsonRepresentation
523
+ property :case_sensitive, as: 'caseSensitive'
524
+ collection :values, as: 'values'
525
+ end
526
+ end
527
+
528
+ class Metadata
529
+ # @private
530
+ class Representation < Google::Apis::Core::JsonRepresentation
531
+ collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsdataV1alpha::DimensionMetadata, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionMetadata::Representation
532
+
533
+ collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsdataV1alpha::MetricMetadata, decorator: Google::Apis::AnalyticsdataV1alpha::MetricMetadata::Representation
534
+
535
+ property :name, as: 'name'
536
+ end
537
+ end
538
+
539
+ class Metric
540
+ # @private
541
+ class Representation < Google::Apis::Core::JsonRepresentation
542
+ property :expression, as: 'expression'
543
+ property :invisible, as: 'invisible'
544
+ property :name, as: 'name'
545
+ end
546
+ end
547
+
548
+ class MetricHeader
549
+ # @private
550
+ class Representation < Google::Apis::Core::JsonRepresentation
551
+ property :name, as: 'name'
552
+ property :type, as: 'type'
553
+ end
554
+ end
555
+
556
+ class MetricMetadata
557
+ # @private
558
+ class Representation < Google::Apis::Core::JsonRepresentation
559
+ property :api_name, as: 'apiName'
560
+ property :custom_definition, as: 'customDefinition'
561
+ collection :deprecated_api_names, as: 'deprecatedApiNames'
562
+ property :description, as: 'description'
563
+ property :expression, as: 'expression'
564
+ property :type, as: 'type'
565
+ property :ui_name, as: 'uiName'
566
+ end
567
+ end
568
+
569
+ class MetricOrderBy
570
+ # @private
571
+ class Representation < Google::Apis::Core::JsonRepresentation
572
+ property :metric_name, as: 'metricName'
573
+ end
574
+ end
575
+
576
+ class MetricValue
577
+ # @private
578
+ class Representation < Google::Apis::Core::JsonRepresentation
579
+ property :value, as: 'value'
580
+ end
581
+ end
582
+
583
+ class NumericFilter
584
+ # @private
585
+ class Representation < Google::Apis::Core::JsonRepresentation
586
+ property :operation, as: 'operation'
587
+ property :value, as: 'value', class: Google::Apis::AnalyticsdataV1alpha::NumericValue, decorator: Google::Apis::AnalyticsdataV1alpha::NumericValue::Representation
588
+
589
+ end
590
+ end
591
+
592
+ class NumericValue
593
+ # @private
594
+ class Representation < Google::Apis::Core::JsonRepresentation
595
+ property :double_value, as: 'doubleValue'
596
+ property :int64_value, :numeric_string => true, as: 'int64Value'
597
+ end
598
+ end
599
+
600
+ class OrderBy
601
+ # @private
602
+ class Representation < Google::Apis::Core::JsonRepresentation
603
+ property :desc, as: 'desc'
604
+ property :dimension, as: 'dimension', class: Google::Apis::AnalyticsdataV1alpha::DimensionOrderBy, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionOrderBy::Representation
605
+
606
+ property :metric, as: 'metric', class: Google::Apis::AnalyticsdataV1alpha::MetricOrderBy, decorator: Google::Apis::AnalyticsdataV1alpha::MetricOrderBy::Representation
607
+
608
+ property :pivot, as: 'pivot', class: Google::Apis::AnalyticsdataV1alpha::PivotOrderBy, decorator: Google::Apis::AnalyticsdataV1alpha::PivotOrderBy::Representation
609
+
610
+ end
611
+ end
612
+
613
+ class Pivot
614
+ # @private
615
+ class Representation < Google::Apis::Core::JsonRepresentation
616
+ collection :field_names, as: 'fieldNames'
617
+ property :limit, :numeric_string => true, as: 'limit'
618
+ collection :metric_aggregations, as: 'metricAggregations'
619
+ property :offset, :numeric_string => true, as: 'offset'
620
+ collection :order_bys, as: 'orderBys', class: Google::Apis::AnalyticsdataV1alpha::OrderBy, decorator: Google::Apis::AnalyticsdataV1alpha::OrderBy::Representation
621
+
622
+ end
623
+ end
624
+
625
+ class PivotDimensionHeader
626
+ # @private
627
+ class Representation < Google::Apis::Core::JsonRepresentation
628
+ collection :dimension_values, as: 'dimensionValues', class: Google::Apis::AnalyticsdataV1alpha::DimensionValue, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionValue::Representation
629
+
630
+ end
631
+ end
632
+
633
+ class PivotHeader
634
+ # @private
635
+ class Representation < Google::Apis::Core::JsonRepresentation
636
+ collection :pivot_dimension_headers, as: 'pivotDimensionHeaders', class: Google::Apis::AnalyticsdataV1alpha::PivotDimensionHeader, decorator: Google::Apis::AnalyticsdataV1alpha::PivotDimensionHeader::Representation
637
+
638
+ property :row_count, as: 'rowCount'
639
+ end
640
+ end
641
+
642
+ class PivotOrderBy
643
+ # @private
644
+ class Representation < Google::Apis::Core::JsonRepresentation
645
+ property :metric_name, as: 'metricName'
646
+ collection :pivot_selections, as: 'pivotSelections', class: Google::Apis::AnalyticsdataV1alpha::PivotSelection, decorator: Google::Apis::AnalyticsdataV1alpha::PivotSelection::Representation
647
+
648
+ end
649
+ end
650
+
651
+ class PivotSelection
652
+ # @private
653
+ class Representation < Google::Apis::Core::JsonRepresentation
654
+ property :dimension_name, as: 'dimensionName'
655
+ property :dimension_value, as: 'dimensionValue'
656
+ end
657
+ end
658
+
659
+ class PropertyQuota
660
+ # @private
661
+ class Representation < Google::Apis::Core::JsonRepresentation
662
+ property :concurrent_requests, as: 'concurrentRequests', class: Google::Apis::AnalyticsdataV1alpha::QuotaStatus, decorator: Google::Apis::AnalyticsdataV1alpha::QuotaStatus::Representation
663
+
664
+ property :server_errors_per_project_per_hour, as: 'serverErrorsPerProjectPerHour', class: Google::Apis::AnalyticsdataV1alpha::QuotaStatus, decorator: Google::Apis::AnalyticsdataV1alpha::QuotaStatus::Representation
665
+
666
+ property :tokens_per_day, as: 'tokensPerDay', class: Google::Apis::AnalyticsdataV1alpha::QuotaStatus, decorator: Google::Apis::AnalyticsdataV1alpha::QuotaStatus::Representation
667
+
668
+ property :tokens_per_hour, as: 'tokensPerHour', class: Google::Apis::AnalyticsdataV1alpha::QuotaStatus, decorator: Google::Apis::AnalyticsdataV1alpha::QuotaStatus::Representation
669
+
670
+ end
671
+ end
672
+
673
+ class QuotaStatus
674
+ # @private
675
+ class Representation < Google::Apis::Core::JsonRepresentation
676
+ property :consumed, as: 'consumed'
677
+ property :remaining, as: 'remaining'
678
+ end
679
+ end
680
+
681
+ class ResponseMetaData
682
+ # @private
683
+ class Representation < Google::Apis::Core::JsonRepresentation
684
+ property :data_loss_from_other_row, as: 'dataLossFromOtherRow'
685
+ end
686
+ end
687
+
688
+ class Row
689
+ # @private
690
+ class Representation < Google::Apis::Core::JsonRepresentation
691
+ collection :dimension_values, as: 'dimensionValues', class: Google::Apis::AnalyticsdataV1alpha::DimensionValue, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionValue::Representation
692
+
693
+ collection :metric_values, as: 'metricValues', class: Google::Apis::AnalyticsdataV1alpha::MetricValue, decorator: Google::Apis::AnalyticsdataV1alpha::MetricValue::Representation
694
+
695
+ end
696
+ end
697
+
698
+ class RunPivotReportRequest
699
+ # @private
700
+ class Representation < Google::Apis::Core::JsonRepresentation
701
+ property :cohort_spec, as: 'cohortSpec', class: Google::Apis::AnalyticsdataV1alpha::CohortSpec, decorator: Google::Apis::AnalyticsdataV1alpha::CohortSpec::Representation
702
+
703
+ property :currency_code, as: 'currencyCode'
704
+ collection :date_ranges, as: 'dateRanges', class: Google::Apis::AnalyticsdataV1alpha::DateRange, decorator: Google::Apis::AnalyticsdataV1alpha::DateRange::Representation
705
+
706
+ property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsdataV1alpha::FilterExpression, decorator: Google::Apis::AnalyticsdataV1alpha::FilterExpression::Representation
707
+
708
+ collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsdataV1alpha::Dimension, decorator: Google::Apis::AnalyticsdataV1alpha::Dimension::Representation
709
+
710
+ property :entity, as: 'entity', class: Google::Apis::AnalyticsdataV1alpha::Entity, decorator: Google::Apis::AnalyticsdataV1alpha::Entity::Representation
711
+
712
+ property :keep_empty_rows, as: 'keepEmptyRows'
713
+ property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsdataV1alpha::FilterExpression, decorator: Google::Apis::AnalyticsdataV1alpha::FilterExpression::Representation
714
+
715
+ collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsdataV1alpha::Metric, decorator: Google::Apis::AnalyticsdataV1alpha::Metric::Representation
716
+
717
+ collection :pivots, as: 'pivots', class: Google::Apis::AnalyticsdataV1alpha::Pivot, decorator: Google::Apis::AnalyticsdataV1alpha::Pivot::Representation
718
+
719
+ property :return_property_quota, as: 'returnPropertyQuota'
720
+ end
721
+ end
722
+
723
+ class RunPivotReportResponse
724
+ # @private
725
+ class Representation < Google::Apis::Core::JsonRepresentation
726
+ collection :aggregates, as: 'aggregates', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
727
+
728
+ collection :dimension_headers, as: 'dimensionHeaders', class: Google::Apis::AnalyticsdataV1alpha::DimensionHeader, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionHeader::Representation
729
+
730
+ property :metadata, as: 'metadata', class: Google::Apis::AnalyticsdataV1alpha::ResponseMetaData, decorator: Google::Apis::AnalyticsdataV1alpha::ResponseMetaData::Representation
731
+
732
+ collection :metric_headers, as: 'metricHeaders', class: Google::Apis::AnalyticsdataV1alpha::MetricHeader, decorator: Google::Apis::AnalyticsdataV1alpha::MetricHeader::Representation
733
+
734
+ collection :pivot_headers, as: 'pivotHeaders', class: Google::Apis::AnalyticsdataV1alpha::PivotHeader, decorator: Google::Apis::AnalyticsdataV1alpha::PivotHeader::Representation
735
+
736
+ property :property_quota, as: 'propertyQuota', class: Google::Apis::AnalyticsdataV1alpha::PropertyQuota, decorator: Google::Apis::AnalyticsdataV1alpha::PropertyQuota::Representation
737
+
738
+ collection :rows, as: 'rows', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
739
+
740
+ end
741
+ end
742
+
743
+ class RunRealtimeReportRequest
744
+ # @private
745
+ class Representation < Google::Apis::Core::JsonRepresentation
746
+ property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsdataV1alpha::FilterExpression, decorator: Google::Apis::AnalyticsdataV1alpha::FilterExpression::Representation
747
+
748
+ collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsdataV1alpha::Dimension, decorator: Google::Apis::AnalyticsdataV1alpha::Dimension::Representation
749
+
750
+ property :limit, :numeric_string => true, as: 'limit'
751
+ collection :metric_aggregations, as: 'metricAggregations'
752
+ property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsdataV1alpha::FilterExpression, decorator: Google::Apis::AnalyticsdataV1alpha::FilterExpression::Representation
753
+
754
+ collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsdataV1alpha::Metric, decorator: Google::Apis::AnalyticsdataV1alpha::Metric::Representation
755
+
756
+ collection :order_bys, as: 'orderBys', class: Google::Apis::AnalyticsdataV1alpha::OrderBy, decorator: Google::Apis::AnalyticsdataV1alpha::OrderBy::Representation
757
+
758
+ property :return_property_quota, as: 'returnPropertyQuota'
759
+ end
760
+ end
761
+
762
+ class RunRealtimeReportResponse
763
+ # @private
764
+ class Representation < Google::Apis::Core::JsonRepresentation
765
+ collection :dimension_headers, as: 'dimensionHeaders', class: Google::Apis::AnalyticsdataV1alpha::DimensionHeader, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionHeader::Representation
766
+
767
+ collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
768
+
769
+ collection :metric_headers, as: 'metricHeaders', class: Google::Apis::AnalyticsdataV1alpha::MetricHeader, decorator: Google::Apis::AnalyticsdataV1alpha::MetricHeader::Representation
770
+
771
+ collection :minimums, as: 'minimums', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
772
+
773
+ property :property_quota, as: 'propertyQuota', class: Google::Apis::AnalyticsdataV1alpha::PropertyQuota, decorator: Google::Apis::AnalyticsdataV1alpha::PropertyQuota::Representation
774
+
775
+ property :row_count, as: 'rowCount'
776
+ collection :rows, as: 'rows', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
777
+
778
+ collection :totals, as: 'totals', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
779
+
780
+ end
781
+ end
782
+
783
+ class RunReportRequest
784
+ # @private
785
+ class Representation < Google::Apis::Core::JsonRepresentation
786
+ property :cohort_spec, as: 'cohortSpec', class: Google::Apis::AnalyticsdataV1alpha::CohortSpec, decorator: Google::Apis::AnalyticsdataV1alpha::CohortSpec::Representation
787
+
788
+ property :currency_code, as: 'currencyCode'
789
+ collection :date_ranges, as: 'dateRanges', class: Google::Apis::AnalyticsdataV1alpha::DateRange, decorator: Google::Apis::AnalyticsdataV1alpha::DateRange::Representation
790
+
791
+ property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsdataV1alpha::FilterExpression, decorator: Google::Apis::AnalyticsdataV1alpha::FilterExpression::Representation
792
+
793
+ collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsdataV1alpha::Dimension, decorator: Google::Apis::AnalyticsdataV1alpha::Dimension::Representation
794
+
795
+ property :entity, as: 'entity', class: Google::Apis::AnalyticsdataV1alpha::Entity, decorator: Google::Apis::AnalyticsdataV1alpha::Entity::Representation
796
+
797
+ property :keep_empty_rows, as: 'keepEmptyRows'
798
+ property :limit, :numeric_string => true, as: 'limit'
799
+ collection :metric_aggregations, as: 'metricAggregations'
800
+ property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsdataV1alpha::FilterExpression, decorator: Google::Apis::AnalyticsdataV1alpha::FilterExpression::Representation
801
+
802
+ collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsdataV1alpha::Metric, decorator: Google::Apis::AnalyticsdataV1alpha::Metric::Representation
803
+
804
+ property :offset, :numeric_string => true, as: 'offset'
805
+ collection :order_bys, as: 'orderBys', class: Google::Apis::AnalyticsdataV1alpha::OrderBy, decorator: Google::Apis::AnalyticsdataV1alpha::OrderBy::Representation
806
+
807
+ property :return_property_quota, as: 'returnPropertyQuota'
808
+ end
809
+ end
810
+
811
+ class RunReportResponse
812
+ # @private
813
+ class Representation < Google::Apis::Core::JsonRepresentation
814
+ collection :dimension_headers, as: 'dimensionHeaders', class: Google::Apis::AnalyticsdataV1alpha::DimensionHeader, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionHeader::Representation
815
+
816
+ collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
817
+
818
+ property :metadata, as: 'metadata', class: Google::Apis::AnalyticsdataV1alpha::ResponseMetaData, decorator: Google::Apis::AnalyticsdataV1alpha::ResponseMetaData::Representation
819
+
820
+ collection :metric_headers, as: 'metricHeaders', class: Google::Apis::AnalyticsdataV1alpha::MetricHeader, decorator: Google::Apis::AnalyticsdataV1alpha::MetricHeader::Representation
821
+
822
+ collection :minimums, as: 'minimums', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
823
+
824
+ property :property_quota, as: 'propertyQuota', class: Google::Apis::AnalyticsdataV1alpha::PropertyQuota, decorator: Google::Apis::AnalyticsdataV1alpha::PropertyQuota::Representation
825
+
826
+ property :row_count, as: 'rowCount'
827
+ collection :rows, as: 'rows', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
828
+
829
+ collection :totals, as: 'totals', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
830
+
831
+ end
832
+ end
833
+
834
+ class StringFilter
835
+ # @private
836
+ class Representation < Google::Apis::Core::JsonRepresentation
837
+ property :case_sensitive, as: 'caseSensitive'
838
+ property :match_type, as: 'matchType'
839
+ property :value, as: 'value'
840
+ end
841
+ end
842
+ end
843
+ end
844
+ end