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