google-apis-analyticsadmin_v1alpha 0.31.0 → 0.32.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cd50a96cc97f97461039b34dbcd2cf263802a53562452e43f8c4cc94b74cf1c7
4
- data.tar.gz: 77619f0ee782de00a037bf822ce33e456d162092d86bee76dae2f11e0b528842
3
+ metadata.gz: fccf28352d1f5420dfd38bb3e43f76288c3c217233ec0009a2a22f31575b741f
4
+ data.tar.gz: cc3211ac162dc4d1ca790ed6b660b48cdc3a3dc7bc73dfcb543e256e4f71734c
5
5
  SHA512:
6
- metadata.gz: 5042e026279030cfe0164f4594eacd8368828ac420f8d3db0204cf5b0725a009da0318c20d4bace6dee70deb1f0daee81b41da472f5a24a4b4550da3a1b482d2
7
- data.tar.gz: c6b30d14ef5864f4a2c251b6d90544f0b944ae1fb671f3584b9e5fe81d16bd7f170b2d51ac544cc0579120e769d50cff3df6433e561917ece5d78aad5f5f483f
6
+ metadata.gz: 263a5a412e09c15e1a04c620e1f1678e5f1df780da050fa18f4f045352c3a8de65adf7b7de6bfedb477e4e18a345d9b0e811e5ae62b59a7a5201d2b9e977d4d0
7
+ data.tar.gz: 9823d90df85dafbb0853c3c51b47e3591dfbf5c581f5ed4e724d3d430c9ecbfa7ef921b1807db568542047ffa60105682b272dbb37d1837711a60fe664b111d6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-analyticsadmin_v1alpha
2
2
 
3
+ ### v0.32.0 (2022-06-30)
4
+
5
+ * Regenerated using generator version 0.8.0
6
+ * Regenerated from discovery document revision 20220625
7
+
3
8
  ### v0.31.0 (2022-06-19)
4
9
 
5
10
  * Regenerated using generator version 0.7.0
@@ -22,6 +22,542 @@ module Google
22
22
  module Apis
23
23
  module AnalyticsadminV1alpha
24
24
 
25
+ # To express that the result needs to be between two numbers (inclusive).
26
+ class GoogleAnalyticsAdminV1alphaAccessBetweenFilter
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # To represent a number.
30
+ # Corresponds to the JSON property `fromValue`
31
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue]
32
+ attr_accessor :from_value
33
+
34
+ # To represent a number.
35
+ # Corresponds to the JSON property `toValue`
36
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue]
37
+ attr_accessor :to_value
38
+
39
+ def initialize(**args)
40
+ update!(**args)
41
+ end
42
+
43
+ # Update properties of this object
44
+ def update!(**args)
45
+ @from_value = args[:from_value] if args.key?(:from_value)
46
+ @to_value = args[:to_value] if args.key?(:to_value)
47
+ end
48
+ end
49
+
50
+ # A contiguous range of days: startDate, startDate + 1, ..., endDate.
51
+ class GoogleAnalyticsAdminV1alphaAccessDateRange
52
+ include Google::Apis::Core::Hashable
53
+
54
+ # The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot be
55
+ # before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
56
+ # accepted, and in that case, the date is inferred based on the current time in
57
+ # the request's time zone.
58
+ # Corresponds to the JSON property `endDate`
59
+ # @return [String]
60
+ attr_accessor :end_date
61
+
62
+ # The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot be
63
+ # after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
64
+ # accepted, and in that case, the date is inferred based on the current time in
65
+ # the request's time zone.
66
+ # Corresponds to the JSON property `startDate`
67
+ # @return [String]
68
+ attr_accessor :start_date
69
+
70
+ def initialize(**args)
71
+ update!(**args)
72
+ end
73
+
74
+ # Update properties of this object
75
+ def update!(**args)
76
+ @end_date = args[:end_date] if args.key?(:end_date)
77
+ @start_date = args[:start_date] if args.key?(:start_date)
78
+ end
79
+ end
80
+
81
+ # Dimensions are attributes of your data. For example, the dimension `userEmail`
82
+ # indicates the email of the user that accessed reporting data. Dimension values
83
+ # in report responses are strings.
84
+ class GoogleAnalyticsAdminV1alphaAccessDimension
85
+ include Google::Apis::Core::Hashable
86
+
87
+ # The API name of the dimension. Dimensions are referenced by name in `
88
+ # dimensionFilter` and `orderBys`.
89
+ # Corresponds to the JSON property `dimensionName`
90
+ # @return [String]
91
+ attr_accessor :dimension_name
92
+
93
+ def initialize(**args)
94
+ update!(**args)
95
+ end
96
+
97
+ # Update properties of this object
98
+ def update!(**args)
99
+ @dimension_name = args[:dimension_name] if args.key?(:dimension_name)
100
+ end
101
+ end
102
+
103
+ # Describes a dimension column in the report. Dimensions requested in a report
104
+ # produce column entries within rows and DimensionHeaders. However, dimensions
105
+ # used exclusively within filters or expressions do not produce columns in a
106
+ # report; correspondingly, those dimensions do not produce headers.
107
+ class GoogleAnalyticsAdminV1alphaAccessDimensionHeader
108
+ include Google::Apis::Core::Hashable
109
+
110
+ # The dimension's name; for example 'country'.
111
+ # Corresponds to the JSON property `dimensionName`
112
+ # @return [String]
113
+ attr_accessor :dimension_name
114
+
115
+ def initialize(**args)
116
+ update!(**args)
117
+ end
118
+
119
+ # Update properties of this object
120
+ def update!(**args)
121
+ @dimension_name = args[:dimension_name] if args.key?(:dimension_name)
122
+ end
123
+ end
124
+
125
+ # The value of a dimension.
126
+ class GoogleAnalyticsAdminV1alphaAccessDimensionValue
127
+ include Google::Apis::Core::Hashable
128
+
129
+ # The dimension value. For example, this value may be 'France' for the 'country'
130
+ # dimension.
131
+ # Corresponds to the JSON property `value`
132
+ # @return [String]
133
+ attr_accessor :value
134
+
135
+ def initialize(**args)
136
+ update!(**args)
137
+ end
138
+
139
+ # Update properties of this object
140
+ def update!(**args)
141
+ @value = args[:value] if args.key?(:value)
142
+ end
143
+ end
144
+
145
+ # An expression to filter dimension or metric values.
146
+ class GoogleAnalyticsAdminV1alphaAccessFilter
147
+ include Google::Apis::Core::Hashable
148
+
149
+ # To express that the result needs to be between two numbers (inclusive).
150
+ # Corresponds to the JSON property `betweenFilter`
151
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBetweenFilter]
152
+ attr_accessor :between_filter
153
+
154
+ # The dimension name or metric name.
155
+ # Corresponds to the JSON property `fieldName`
156
+ # @return [String]
157
+ attr_accessor :field_name
158
+
159
+ # The result needs to be in a list of string values.
160
+ # Corresponds to the JSON property `inListFilter`
161
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessInListFilter]
162
+ attr_accessor :in_list_filter
163
+
164
+ # Filters for numeric or date values.
165
+ # Corresponds to the JSON property `numericFilter`
166
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessNumericFilter]
167
+ attr_accessor :numeric_filter
168
+
169
+ # The filter for strings.
170
+ # Corresponds to the JSON property `stringFilter`
171
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessStringFilter]
172
+ attr_accessor :string_filter
173
+
174
+ def initialize(**args)
175
+ update!(**args)
176
+ end
177
+
178
+ # Update properties of this object
179
+ def update!(**args)
180
+ @between_filter = args[:between_filter] if args.key?(:between_filter)
181
+ @field_name = args[:field_name] if args.key?(:field_name)
182
+ @in_list_filter = args[:in_list_filter] if args.key?(:in_list_filter)
183
+ @numeric_filter = args[:numeric_filter] if args.key?(:numeric_filter)
184
+ @string_filter = args[:string_filter] if args.key?(:string_filter)
185
+ end
186
+ end
187
+
188
+ # Expresses dimension or metric filters. The fields in the same expression need
189
+ # to be either all dimensions or all metrics.
190
+ class GoogleAnalyticsAdminV1alphaAccessFilterExpression
191
+ include Google::Apis::Core::Hashable
192
+
193
+ # An expression to filter dimension or metric values.
194
+ # Corresponds to the JSON property `accessFilter`
195
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilter]
196
+ attr_accessor :access_filter
197
+
198
+ # A list of filter expressions.
199
+ # Corresponds to the JSON property `andGroup`
200
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpressionList]
201
+ attr_accessor :and_group
202
+
203
+ # Expresses dimension or metric filters. The fields in the same expression need
204
+ # to be either all dimensions or all metrics.
205
+ # Corresponds to the JSON property `notExpression`
206
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression]
207
+ attr_accessor :not_expression
208
+
209
+ # A list of filter expressions.
210
+ # Corresponds to the JSON property `orGroup`
211
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpressionList]
212
+ attr_accessor :or_group
213
+
214
+ def initialize(**args)
215
+ update!(**args)
216
+ end
217
+
218
+ # Update properties of this object
219
+ def update!(**args)
220
+ @access_filter = args[:access_filter] if args.key?(:access_filter)
221
+ @and_group = args[:and_group] if args.key?(:and_group)
222
+ @not_expression = args[:not_expression] if args.key?(:not_expression)
223
+ @or_group = args[:or_group] if args.key?(:or_group)
224
+ end
225
+ end
226
+
227
+ # A list of filter expressions.
228
+ class GoogleAnalyticsAdminV1alphaAccessFilterExpressionList
229
+ include Google::Apis::Core::Hashable
230
+
231
+ # A list of filter expressions.
232
+ # Corresponds to the JSON property `expressions`
233
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression>]
234
+ attr_accessor :expressions
235
+
236
+ def initialize(**args)
237
+ update!(**args)
238
+ end
239
+
240
+ # Update properties of this object
241
+ def update!(**args)
242
+ @expressions = args[:expressions] if args.key?(:expressions)
243
+ end
244
+ end
245
+
246
+ # The result needs to be in a list of string values.
247
+ class GoogleAnalyticsAdminV1alphaAccessInListFilter
248
+ include Google::Apis::Core::Hashable
249
+
250
+ # If true, the string value is case sensitive.
251
+ # Corresponds to the JSON property `caseSensitive`
252
+ # @return [Boolean]
253
+ attr_accessor :case_sensitive
254
+ alias_method :case_sensitive?, :case_sensitive
255
+
256
+ # The list of string values. Must be non-empty.
257
+ # Corresponds to the JSON property `values`
258
+ # @return [Array<String>]
259
+ attr_accessor :values
260
+
261
+ def initialize(**args)
262
+ update!(**args)
263
+ end
264
+
265
+ # Update properties of this object
266
+ def update!(**args)
267
+ @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive)
268
+ @values = args[:values] if args.key?(:values)
269
+ end
270
+ end
271
+
272
+ # The quantitative measurements of a report. For example, the metric `
273
+ # accessCount` is the total number of data access records.
274
+ class GoogleAnalyticsAdminV1alphaAccessMetric
275
+ include Google::Apis::Core::Hashable
276
+
277
+ # The API name of the metric. Metrics are referenced by name in `metricFilter` &
278
+ # `orderBys`.
279
+ # Corresponds to the JSON property `metricName`
280
+ # @return [String]
281
+ attr_accessor :metric_name
282
+
283
+ def initialize(**args)
284
+ update!(**args)
285
+ end
286
+
287
+ # Update properties of this object
288
+ def update!(**args)
289
+ @metric_name = args[:metric_name] if args.key?(:metric_name)
290
+ end
291
+ end
292
+
293
+ # Describes a metric column in the report. Visible metrics requested in a report
294
+ # produce column entries within rows and MetricHeaders. However, metrics used
295
+ # exclusively within filters or expressions do not produce columns in a report;
296
+ # correspondingly, those metrics do not produce headers.
297
+ class GoogleAnalyticsAdminV1alphaAccessMetricHeader
298
+ include Google::Apis::Core::Hashable
299
+
300
+ # The metric's name; for example 'accessCount'.
301
+ # Corresponds to the JSON property `metricName`
302
+ # @return [String]
303
+ attr_accessor :metric_name
304
+
305
+ def initialize(**args)
306
+ update!(**args)
307
+ end
308
+
309
+ # Update properties of this object
310
+ def update!(**args)
311
+ @metric_name = args[:metric_name] if args.key?(:metric_name)
312
+ end
313
+ end
314
+
315
+ # The value of a metric.
316
+ class GoogleAnalyticsAdminV1alphaAccessMetricValue
317
+ include Google::Apis::Core::Hashable
318
+
319
+ # The measurement value. For example, this value may be '13'.
320
+ # Corresponds to the JSON property `value`
321
+ # @return [String]
322
+ attr_accessor :value
323
+
324
+ def initialize(**args)
325
+ update!(**args)
326
+ end
327
+
328
+ # Update properties of this object
329
+ def update!(**args)
330
+ @value = args[:value] if args.key?(:value)
331
+ end
332
+ end
333
+
334
+ # Filters for numeric or date values.
335
+ class GoogleAnalyticsAdminV1alphaAccessNumericFilter
336
+ include Google::Apis::Core::Hashable
337
+
338
+ # The operation type for this filter.
339
+ # Corresponds to the JSON property `operation`
340
+ # @return [String]
341
+ attr_accessor :operation
342
+
343
+ # To represent a number.
344
+ # Corresponds to the JSON property `value`
345
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue]
346
+ attr_accessor :value
347
+
348
+ def initialize(**args)
349
+ update!(**args)
350
+ end
351
+
352
+ # Update properties of this object
353
+ def update!(**args)
354
+ @operation = args[:operation] if args.key?(:operation)
355
+ @value = args[:value] if args.key?(:value)
356
+ end
357
+ end
358
+
359
+ # Order bys define how rows will be sorted in the response. For example,
360
+ # ordering rows by descending access count is one ordering, and ordering rows by
361
+ # the country string is a different ordering.
362
+ class GoogleAnalyticsAdminV1alphaAccessOrderBy
363
+ include Google::Apis::Core::Hashable
364
+
365
+ # If true, sorts by descending order. If false or unspecified, sorts in
366
+ # ascending order.
367
+ # Corresponds to the JSON property `desc`
368
+ # @return [Boolean]
369
+ attr_accessor :desc
370
+ alias_method :desc?, :desc
371
+
372
+ # Sorts by dimension values.
373
+ # Corresponds to the JSON property `dimension`
374
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy]
375
+ attr_accessor :dimension
376
+
377
+ # Sorts by metric values.
378
+ # Corresponds to the JSON property `metric`
379
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy]
380
+ attr_accessor :metric
381
+
382
+ def initialize(**args)
383
+ update!(**args)
384
+ end
385
+
386
+ # Update properties of this object
387
+ def update!(**args)
388
+ @desc = args[:desc] if args.key?(:desc)
389
+ @dimension = args[:dimension] if args.key?(:dimension)
390
+ @metric = args[:metric] if args.key?(:metric)
391
+ end
392
+ end
393
+
394
+ # Sorts by dimension values.
395
+ class GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy
396
+ include Google::Apis::Core::Hashable
397
+
398
+ # A dimension name in the request to order by.
399
+ # Corresponds to the JSON property `dimensionName`
400
+ # @return [String]
401
+ attr_accessor :dimension_name
402
+
403
+ # Controls the rule for dimension value ordering.
404
+ # Corresponds to the JSON property `orderType`
405
+ # @return [String]
406
+ attr_accessor :order_type
407
+
408
+ def initialize(**args)
409
+ update!(**args)
410
+ end
411
+
412
+ # Update properties of this object
413
+ def update!(**args)
414
+ @dimension_name = args[:dimension_name] if args.key?(:dimension_name)
415
+ @order_type = args[:order_type] if args.key?(:order_type)
416
+ end
417
+ end
418
+
419
+ # Sorts by metric values.
420
+ class GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy
421
+ include Google::Apis::Core::Hashable
422
+
423
+ # A metric name in the request to order by.
424
+ # Corresponds to the JSON property `metricName`
425
+ # @return [String]
426
+ attr_accessor :metric_name
427
+
428
+ def initialize(**args)
429
+ update!(**args)
430
+ end
431
+
432
+ # Update properties of this object
433
+ def update!(**args)
434
+ @metric_name = args[:metric_name] if args.key?(:metric_name)
435
+ end
436
+ end
437
+
438
+ # Current state of all quotas for this Analytics property. If any quota for a
439
+ # property is exhausted, all requests to that property will return Resource
440
+ # Exhausted errors.
441
+ class GoogleAnalyticsAdminV1alphaAccessQuota
442
+ include Google::Apis::Core::Hashable
443
+
444
+ # Current state for a particular quota group.
445
+ # Corresponds to the JSON property `concurrentRequests`
446
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus]
447
+ attr_accessor :concurrent_requests
448
+
449
+ # Current state for a particular quota group.
450
+ # Corresponds to the JSON property `serverErrorsPerProjectPerHour`
451
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus]
452
+ attr_accessor :server_errors_per_project_per_hour
453
+
454
+ # Current state for a particular quota group.
455
+ # Corresponds to the JSON property `tokensPerDay`
456
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus]
457
+ attr_accessor :tokens_per_day
458
+
459
+ # Current state for a particular quota group.
460
+ # Corresponds to the JSON property `tokensPerHour`
461
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus]
462
+ attr_accessor :tokens_per_hour
463
+
464
+ def initialize(**args)
465
+ update!(**args)
466
+ end
467
+
468
+ # Update properties of this object
469
+ def update!(**args)
470
+ @concurrent_requests = args[:concurrent_requests] if args.key?(:concurrent_requests)
471
+ @server_errors_per_project_per_hour = args[:server_errors_per_project_per_hour] if args.key?(:server_errors_per_project_per_hour)
472
+ @tokens_per_day = args[:tokens_per_day] if args.key?(:tokens_per_day)
473
+ @tokens_per_hour = args[:tokens_per_hour] if args.key?(:tokens_per_hour)
474
+ end
475
+ end
476
+
477
+ # Current state for a particular quota group.
478
+ class GoogleAnalyticsAdminV1alphaAccessQuotaStatus
479
+ include Google::Apis::Core::Hashable
480
+
481
+ # Quota consumed by this request.
482
+ # Corresponds to the JSON property `consumed`
483
+ # @return [Fixnum]
484
+ attr_accessor :consumed
485
+
486
+ # Quota remaining after this request.
487
+ # Corresponds to the JSON property `remaining`
488
+ # @return [Fixnum]
489
+ attr_accessor :remaining
490
+
491
+ def initialize(**args)
492
+ update!(**args)
493
+ end
494
+
495
+ # Update properties of this object
496
+ def update!(**args)
497
+ @consumed = args[:consumed] if args.key?(:consumed)
498
+ @remaining = args[:remaining] if args.key?(:remaining)
499
+ end
500
+ end
501
+
502
+ # Access report data for each row.
503
+ class GoogleAnalyticsAdminV1alphaAccessRow
504
+ include Google::Apis::Core::Hashable
505
+
506
+ # List of dimension values. These values are in the same order as specified in
507
+ # the request.
508
+ # Corresponds to the JSON property `dimensionValues`
509
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionValue>]
510
+ attr_accessor :dimension_values
511
+
512
+ # List of metric values. These values are in the same order as specified in the
513
+ # request.
514
+ # Corresponds to the JSON property `metricValues`
515
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricValue>]
516
+ attr_accessor :metric_values
517
+
518
+ def initialize(**args)
519
+ update!(**args)
520
+ end
521
+
522
+ # Update properties of this object
523
+ def update!(**args)
524
+ @dimension_values = args[:dimension_values] if args.key?(:dimension_values)
525
+ @metric_values = args[:metric_values] if args.key?(:metric_values)
526
+ end
527
+ end
528
+
529
+ # The filter for strings.
530
+ class GoogleAnalyticsAdminV1alphaAccessStringFilter
531
+ include Google::Apis::Core::Hashable
532
+
533
+ # If true, the string value is case sensitive.
534
+ # Corresponds to the JSON property `caseSensitive`
535
+ # @return [Boolean]
536
+ attr_accessor :case_sensitive
537
+ alias_method :case_sensitive?, :case_sensitive
538
+
539
+ # The match type for this filter.
540
+ # Corresponds to the JSON property `matchType`
541
+ # @return [String]
542
+ attr_accessor :match_type
543
+
544
+ # The string value used for the matching.
545
+ # Corresponds to the JSON property `value`
546
+ # @return [String]
547
+ attr_accessor :value
548
+
549
+ def initialize(**args)
550
+ update!(**args)
551
+ end
552
+
553
+ # Update properties of this object
554
+ def update!(**args)
555
+ @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive)
556
+ @match_type = args[:match_type] if args.key?(:match_type)
557
+ @value = args[:value] if args.key?(:value)
558
+ end
559
+ end
560
+
25
561
  # A resource message representing a Google Analytics account.
26
562
  class GoogleAnalyticsAdminV1alphaAccount
27
563
  include Google::Apis::Core::Hashable
@@ -1874,6 +2410,31 @@ module Google
1874
2410
  end
1875
2411
  end
1876
2412
 
2413
+ # To represent a number.
2414
+ class GoogleAnalyticsAdminV1alphaNumericValue
2415
+ include Google::Apis::Core::Hashable
2416
+
2417
+ # Double value
2418
+ # Corresponds to the JSON property `doubleValue`
2419
+ # @return [Float]
2420
+ attr_accessor :double_value
2421
+
2422
+ # Integer value
2423
+ # Corresponds to the JSON property `int64Value`
2424
+ # @return [Fixnum]
2425
+ attr_accessor :int64_value
2426
+
2427
+ def initialize(**args)
2428
+ update!(**args)
2429
+ end
2430
+
2431
+ # Update properties of this object
2432
+ def update!(**args)
2433
+ @double_value = args[:double_value] if args.key?(:double_value)
2434
+ @int64_value = args[:int64_value] if args.key?(:int64_value)
2435
+ end
2436
+ end
2437
+
1877
2438
  # A resource message representing a Google Analytics GA4 property.
1878
2439
  class GoogleAnalyticsAdminV1alphaProperty
1879
2440
  include Google::Apis::Core::Hashable
@@ -2066,6 +2627,159 @@ module Google
2066
2627
  end
2067
2628
  end
2068
2629
 
2630
+ # The request for a Data Access Record Report.
2631
+ class GoogleAnalyticsAdminV1alphaRunAccessReportRequest
2632
+ include Google::Apis::Core::Hashable
2633
+
2634
+ # Date ranges of access records to read. If multiple date ranges are requested,
2635
+ # each response row will contain a zero based date range index. If two date
2636
+ # ranges overlap, the access records for the overlapping days is included in the
2637
+ # response rows for both date ranges. Requests are allowed up to 2 date ranges.
2638
+ # Corresponds to the JSON property `dateRanges`
2639
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDateRange>]
2640
+ attr_accessor :date_ranges
2641
+
2642
+ # Expresses dimension or metric filters. The fields in the same expression need
2643
+ # to be either all dimensions or all metrics.
2644
+ # Corresponds to the JSON property `dimensionFilter`
2645
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression]
2646
+ attr_accessor :dimension_filter
2647
+
2648
+ # The dimensions requested and displayed in the response. Requests are allowed
2649
+ # up to 9 dimensions.
2650
+ # Corresponds to the JSON property `dimensions`
2651
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimension>]
2652
+ attr_accessor :dimensions
2653
+
2654
+ # The number of rows to return. If unspecified, 10,000 rows are returned. The
2655
+ # API returns a maximum of 100,000 rows per request, no matter how many you ask
2656
+ # for. `limit` must be positive. The API may return fewer rows than the
2657
+ # requested `limit`, if there aren't as many remaining rows as the `limit`. For
2658
+ # instance, there are fewer than 300 possible values for the dimension `country`,
2659
+ # so when reporting on only `country`, you can't get more than 300 rows, even
2660
+ # if you set `limit` to a higher value. To learn more about this pagination
2661
+ # parameter, see [Pagination](https://developers.google.com/analytics/devguides/
2662
+ # reporting/data/v1/basics#pagination).
2663
+ # Corresponds to the JSON property `limit`
2664
+ # @return [Fixnum]
2665
+ attr_accessor :limit
2666
+
2667
+ # Expresses dimension or metric filters. The fields in the same expression need
2668
+ # to be either all dimensions or all metrics.
2669
+ # Corresponds to the JSON property `metricFilter`
2670
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression]
2671
+ attr_accessor :metric_filter
2672
+
2673
+ # The metrics requested and displayed in the response. Requests are allowed up
2674
+ # to 10 metrics.
2675
+ # Corresponds to the JSON property `metrics`
2676
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetric>]
2677
+ attr_accessor :metrics
2678
+
2679
+ # The row count of the start row. The first row is counted as row 0. If offset
2680
+ # is unspecified, it is treated as 0. If offset is zero, then this method will
2681
+ # return the first page of results with `limit` entries. To learn more about
2682
+ # this pagination parameter, see [Pagination](https://developers.google.com/
2683
+ # analytics/devguides/reporting/data/v1/basics#pagination).
2684
+ # Corresponds to the JSON property `offset`
2685
+ # @return [Fixnum]
2686
+ attr_accessor :offset
2687
+
2688
+ # Specifies how rows are ordered in the response.
2689
+ # Corresponds to the JSON property `orderBys`
2690
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderBy>]
2691
+ attr_accessor :order_bys
2692
+
2693
+ # Toggles whether to return the current state of this Analytics Property's quota.
2694
+ # Quota is returned in [PropertyQuota](#PropertyQuota).
2695
+ # Corresponds to the JSON property `returnPropertyQuota`
2696
+ # @return [Boolean]
2697
+ attr_accessor :return_property_quota
2698
+ alias_method :return_property_quota?, :return_property_quota
2699
+
2700
+ # This request's time zone if specified. If unspecified, the property's time
2701
+ # zone is used. The request's time zone is used to interpret the start & end
2702
+ # dates of the report. Formatted as strings from the IANA Time Zone database (
2703
+ # https://www.iana.org/time-zones); for example "America/New_York" or "Asia/
2704
+ # Tokyo".
2705
+ # Corresponds to the JSON property `timeZone`
2706
+ # @return [String]
2707
+ attr_accessor :time_zone
2708
+
2709
+ def initialize(**args)
2710
+ update!(**args)
2711
+ end
2712
+
2713
+ # Update properties of this object
2714
+ def update!(**args)
2715
+ @date_ranges = args[:date_ranges] if args.key?(:date_ranges)
2716
+ @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter)
2717
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
2718
+ @limit = args[:limit] if args.key?(:limit)
2719
+ @metric_filter = args[:metric_filter] if args.key?(:metric_filter)
2720
+ @metrics = args[:metrics] if args.key?(:metrics)
2721
+ @offset = args[:offset] if args.key?(:offset)
2722
+ @order_bys = args[:order_bys] if args.key?(:order_bys)
2723
+ @return_property_quota = args[:return_property_quota] if args.key?(:return_property_quota)
2724
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
2725
+ end
2726
+ end
2727
+
2728
+ # The customized Data Access Record Report response.
2729
+ class GoogleAnalyticsAdminV1alphaRunAccessReportResponse
2730
+ include Google::Apis::Core::Hashable
2731
+
2732
+ # The header for a column in the report that corresponds to a specific dimension.
2733
+ # The number of DimensionHeaders and ordering of DimensionHeaders matches the
2734
+ # dimensions present in rows.
2735
+ # Corresponds to the JSON property `dimensionHeaders`
2736
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionHeader>]
2737
+ attr_accessor :dimension_headers
2738
+
2739
+ # The header for a column in the report that corresponds to a specific metric.
2740
+ # The number of MetricHeaders and ordering of MetricHeaders matches the metrics
2741
+ # present in rows.
2742
+ # Corresponds to the JSON property `metricHeaders`
2743
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricHeader>]
2744
+ attr_accessor :metric_headers
2745
+
2746
+ # Current state of all quotas for this Analytics property. If any quota for a
2747
+ # property is exhausted, all requests to that property will return Resource
2748
+ # Exhausted errors.
2749
+ # Corresponds to the JSON property `quota`
2750
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuota]
2751
+ attr_accessor :quota
2752
+
2753
+ # The total number of rows in the query result. `rowCount` is independent of the
2754
+ # number of rows returned in the response, the `limit` request parameter, and
2755
+ # the `offset` request parameter. For example if a query returns 175 rows and
2756
+ # includes `limit` of 50 in the API request, the response will contain `rowCount`
2757
+ # of 175 but only 50 rows. To learn more about this pagination parameter, see [
2758
+ # Pagination](https://developers.google.com/analytics/devguides/reporting/data/
2759
+ # v1/basics#pagination).
2760
+ # Corresponds to the JSON property `rowCount`
2761
+ # @return [Fixnum]
2762
+ attr_accessor :row_count
2763
+
2764
+ # Rows of dimension value combinations and metric values in the report.
2765
+ # Corresponds to the JSON property `rows`
2766
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessRow>]
2767
+ attr_accessor :rows
2768
+
2769
+ def initialize(**args)
2770
+ update!(**args)
2771
+ end
2772
+
2773
+ # Update properties of this object
2774
+ def update!(**args)
2775
+ @dimension_headers = args[:dimension_headers] if args.key?(:dimension_headers)
2776
+ @metric_headers = args[:metric_headers] if args.key?(:metric_headers)
2777
+ @quota = args[:quota] if args.key?(:quota)
2778
+ @row_count = args[:row_count] if args.key?(:row_count)
2779
+ @rows = args[:rows] if args.key?(:rows)
2780
+ end
2781
+ end
2782
+
2069
2783
  # Request message for SearchChangeHistoryEvents RPC.
2070
2784
  class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
2071
2785
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AnalyticsadminV1alpha
18
18
  # Version of the google-apis-analyticsadmin_v1alpha gem
19
- GEM_VERSION = "0.31.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.7.0"
22
+ GENERATOR_VERSION = "0.8.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220604"
25
+ REVISION = "20220625"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,126 @@ module Google
22
22
  module Apis
23
23
  module AnalyticsadminV1alpha
24
24
 
25
+ class GoogleAnalyticsAdminV1alphaAccessBetweenFilter
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleAnalyticsAdminV1alphaAccessDateRange
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleAnalyticsAdminV1alphaAccessDimension
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleAnalyticsAdminV1alphaAccessDimensionHeader
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleAnalyticsAdminV1alphaAccessDimensionValue
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GoogleAnalyticsAdminV1alphaAccessFilter
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleAnalyticsAdminV1alphaAccessFilterExpression
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleAnalyticsAdminV1alphaAccessFilterExpressionList
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleAnalyticsAdminV1alphaAccessInListFilter
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleAnalyticsAdminV1alphaAccessMetric
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleAnalyticsAdminV1alphaAccessMetricHeader
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleAnalyticsAdminV1alphaAccessMetricValue
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleAnalyticsAdminV1alphaAccessNumericFilter
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleAnalyticsAdminV1alphaAccessOrderBy
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleAnalyticsAdminV1alphaAccessQuota
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleAnalyticsAdminV1alphaAccessQuotaStatus
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleAnalyticsAdminV1alphaAccessRow
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleAnalyticsAdminV1alphaAccessStringFilter
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
25
145
  class GoogleAnalyticsAdminV1alphaAccount
26
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
147
 
@@ -346,6 +466,12 @@ module Google
346
466
  include Google::Apis::Core::JsonObjectSupport
347
467
  end
348
468
 
469
+ class GoogleAnalyticsAdminV1alphaNumericValue
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
349
475
  class GoogleAnalyticsAdminV1alphaProperty
350
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
477
 
@@ -370,6 +496,18 @@ module Google
370
496
  include Google::Apis::Core::JsonObjectSupport
371
497
  end
372
498
 
499
+ class GoogleAnalyticsAdminV1alphaRunAccessReportRequest
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class GoogleAnalyticsAdminV1alphaRunAccessReportResponse
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
373
511
  class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
374
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
513
 
@@ -400,6 +538,187 @@ module Google
400
538
  include Google::Apis::Core::JsonObjectSupport
401
539
  end
402
540
 
541
+ class GoogleAnalyticsAdminV1alphaAccessBetweenFilter
542
+ # @private
543
+ class Representation < Google::Apis::Core::JsonRepresentation
544
+ property :from_value, as: 'fromValue', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue::Representation
545
+
546
+ property :to_value, as: 'toValue', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue::Representation
547
+
548
+ end
549
+ end
550
+
551
+ class GoogleAnalyticsAdminV1alphaAccessDateRange
552
+ # @private
553
+ class Representation < Google::Apis::Core::JsonRepresentation
554
+ property :end_date, as: 'endDate'
555
+ property :start_date, as: 'startDate'
556
+ end
557
+ end
558
+
559
+ class GoogleAnalyticsAdminV1alphaAccessDimension
560
+ # @private
561
+ class Representation < Google::Apis::Core::JsonRepresentation
562
+ property :dimension_name, as: 'dimensionName'
563
+ end
564
+ end
565
+
566
+ class GoogleAnalyticsAdminV1alphaAccessDimensionHeader
567
+ # @private
568
+ class Representation < Google::Apis::Core::JsonRepresentation
569
+ property :dimension_name, as: 'dimensionName'
570
+ end
571
+ end
572
+
573
+ class GoogleAnalyticsAdminV1alphaAccessDimensionValue
574
+ # @private
575
+ class Representation < Google::Apis::Core::JsonRepresentation
576
+ property :value, as: 'value'
577
+ end
578
+ end
579
+
580
+ class GoogleAnalyticsAdminV1alphaAccessFilter
581
+ # @private
582
+ class Representation < Google::Apis::Core::JsonRepresentation
583
+ property :between_filter, as: 'betweenFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBetweenFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBetweenFilter::Representation
584
+
585
+ property :field_name, as: 'fieldName'
586
+ property :in_list_filter, as: 'inListFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessInListFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessInListFilter::Representation
587
+
588
+ property :numeric_filter, as: 'numericFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessNumericFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessNumericFilter::Representation
589
+
590
+ property :string_filter, as: 'stringFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessStringFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessStringFilter::Representation
591
+
592
+ end
593
+ end
594
+
595
+ class GoogleAnalyticsAdminV1alphaAccessFilterExpression
596
+ # @private
597
+ class Representation < Google::Apis::Core::JsonRepresentation
598
+ property :access_filter, as: 'accessFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilter::Representation
599
+
600
+ property :and_group, as: 'andGroup', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpressionList, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpressionList::Representation
601
+
602
+ property :not_expression, as: 'notExpression', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression::Representation
603
+
604
+ property :or_group, as: 'orGroup', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpressionList, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpressionList::Representation
605
+
606
+ end
607
+ end
608
+
609
+ class GoogleAnalyticsAdminV1alphaAccessFilterExpressionList
610
+ # @private
611
+ class Representation < Google::Apis::Core::JsonRepresentation
612
+ collection :expressions, as: 'expressions', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression::Representation
613
+
614
+ end
615
+ end
616
+
617
+ class GoogleAnalyticsAdminV1alphaAccessInListFilter
618
+ # @private
619
+ class Representation < Google::Apis::Core::JsonRepresentation
620
+ property :case_sensitive, as: 'caseSensitive'
621
+ collection :values, as: 'values'
622
+ end
623
+ end
624
+
625
+ class GoogleAnalyticsAdminV1alphaAccessMetric
626
+ # @private
627
+ class Representation < Google::Apis::Core::JsonRepresentation
628
+ property :metric_name, as: 'metricName'
629
+ end
630
+ end
631
+
632
+ class GoogleAnalyticsAdminV1alphaAccessMetricHeader
633
+ # @private
634
+ class Representation < Google::Apis::Core::JsonRepresentation
635
+ property :metric_name, as: 'metricName'
636
+ end
637
+ end
638
+
639
+ class GoogleAnalyticsAdminV1alphaAccessMetricValue
640
+ # @private
641
+ class Representation < Google::Apis::Core::JsonRepresentation
642
+ property :value, as: 'value'
643
+ end
644
+ end
645
+
646
+ class GoogleAnalyticsAdminV1alphaAccessNumericFilter
647
+ # @private
648
+ class Representation < Google::Apis::Core::JsonRepresentation
649
+ property :operation, as: 'operation'
650
+ property :value, as: 'value', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue::Representation
651
+
652
+ end
653
+ end
654
+
655
+ class GoogleAnalyticsAdminV1alphaAccessOrderBy
656
+ # @private
657
+ class Representation < Google::Apis::Core::JsonRepresentation
658
+ property :desc, as: 'desc'
659
+ property :dimension, as: 'dimension', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy::Representation
660
+
661
+ property :metric, as: 'metric', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy::Representation
662
+
663
+ end
664
+ end
665
+
666
+ class GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy
667
+ # @private
668
+ class Representation < Google::Apis::Core::JsonRepresentation
669
+ property :dimension_name, as: 'dimensionName'
670
+ property :order_type, as: 'orderType'
671
+ end
672
+ end
673
+
674
+ class GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy
675
+ # @private
676
+ class Representation < Google::Apis::Core::JsonRepresentation
677
+ property :metric_name, as: 'metricName'
678
+ end
679
+ end
680
+
681
+ class GoogleAnalyticsAdminV1alphaAccessQuota
682
+ # @private
683
+ class Representation < Google::Apis::Core::JsonRepresentation
684
+ property :concurrent_requests, as: 'concurrentRequests', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus::Representation
685
+
686
+ property :server_errors_per_project_per_hour, as: 'serverErrorsPerProjectPerHour', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus::Representation
687
+
688
+ property :tokens_per_day, as: 'tokensPerDay', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus::Representation
689
+
690
+ property :tokens_per_hour, as: 'tokensPerHour', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus::Representation
691
+
692
+ end
693
+ end
694
+
695
+ class GoogleAnalyticsAdminV1alphaAccessQuotaStatus
696
+ # @private
697
+ class Representation < Google::Apis::Core::JsonRepresentation
698
+ property :consumed, as: 'consumed'
699
+ property :remaining, as: 'remaining'
700
+ end
701
+ end
702
+
703
+ class GoogleAnalyticsAdminV1alphaAccessRow
704
+ # @private
705
+ class Representation < Google::Apis::Core::JsonRepresentation
706
+ collection :dimension_values, as: 'dimensionValues', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionValue, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionValue::Representation
707
+
708
+ collection :metric_values, as: 'metricValues', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricValue, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricValue::Representation
709
+
710
+ end
711
+ end
712
+
713
+ class GoogleAnalyticsAdminV1alphaAccessStringFilter
714
+ # @private
715
+ class Representation < Google::Apis::Core::JsonRepresentation
716
+ property :case_sensitive, as: 'caseSensitive'
717
+ property :match_type, as: 'matchType'
718
+ property :value, as: 'value'
719
+ end
720
+ end
721
+
403
722
  class GoogleAnalyticsAdminV1alphaAccount
404
723
  # @private
405
724
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -930,6 +1249,14 @@ module Google
930
1249
  end
931
1250
  end
932
1251
 
1252
+ class GoogleAnalyticsAdminV1alphaNumericValue
1253
+ # @private
1254
+ class Representation < Google::Apis::Core::JsonRepresentation
1255
+ property :double_value, as: 'doubleValue'
1256
+ property :int64_value, :numeric_string => true, as: 'int64Value'
1257
+ end
1258
+ end
1259
+
933
1260
  class GoogleAnalyticsAdminV1alphaProperty
934
1261
  # @private
935
1262
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -975,6 +1302,43 @@ module Google
975
1302
  end
976
1303
  end
977
1304
 
1305
+ class GoogleAnalyticsAdminV1alphaRunAccessReportRequest
1306
+ # @private
1307
+ class Representation < Google::Apis::Core::JsonRepresentation
1308
+ collection :date_ranges, as: 'dateRanges', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDateRange, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDateRange::Representation
1309
+
1310
+ property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression::Representation
1311
+
1312
+ collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimension, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimension::Representation
1313
+
1314
+ property :limit, :numeric_string => true, as: 'limit'
1315
+ property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression::Representation
1316
+
1317
+ collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetric, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetric::Representation
1318
+
1319
+ property :offset, :numeric_string => true, as: 'offset'
1320
+ collection :order_bys, as: 'orderBys', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderBy, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderBy::Representation
1321
+
1322
+ property :return_property_quota, as: 'returnPropertyQuota'
1323
+ property :time_zone, as: 'timeZone'
1324
+ end
1325
+ end
1326
+
1327
+ class GoogleAnalyticsAdminV1alphaRunAccessReportResponse
1328
+ # @private
1329
+ class Representation < Google::Apis::Core::JsonRepresentation
1330
+ collection :dimension_headers, as: 'dimensionHeaders', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionHeader, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionHeader::Representation
1331
+
1332
+ collection :metric_headers, as: 'metricHeaders', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricHeader, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricHeader::Representation
1333
+
1334
+ property :quota, as: 'quota', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuota, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuota::Representation
1335
+
1336
+ property :row_count, as: 'rowCount'
1337
+ collection :rows, as: 'rows', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessRow, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessRow::Representation
1338
+
1339
+ end
1340
+ end
1341
+
978
1342
  class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
979
1343
  # @private
980
1344
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1011,6 +1011,50 @@ module Google
1011
1011
  execute_or_queue_command(command, &block)
1012
1012
  end
1013
1013
 
1014
+ # Returns a customized report of data access records. The report provides
1015
+ # records of each time a user reads Google Analytics reporting data. Access
1016
+ # records are retained for up to 2 years. Data Access Reports can be requested
1017
+ # for a property. The property must be in Google Analytics 360. This method is
1018
+ # only available to Administrators. These data access records include GA4 UI
1019
+ # Reporting, GA4 UI Explorations, GA4 Data API, and other products like Firebase
1020
+ # & Admob that can retrieve data from Google Analytics through a linkage. These
1021
+ # records don't include property configuration changes like adding a stream or
1022
+ # changing a property's time zone. For configuration change history, see [
1023
+ # searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/
1024
+ # config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
1025
+ # @param [String] entity
1026
+ # The Data Access Report is requested for this property. For example if "123" is
1027
+ # your GA4 property ID, then entity should be "properties/123".
1028
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRunAccessReportRequest] google_analytics_admin_v1alpha_run_access_report_request_object
1029
+ # @param [String] fields
1030
+ # Selector specifying which fields to include in a partial response.
1031
+ # @param [String] quota_user
1032
+ # Available to use for quota purposes for server-side applications. Can be any
1033
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1034
+ # @param [Google::Apis::RequestOptions] options
1035
+ # Request-specific options
1036
+ #
1037
+ # @yield [result, err] Result & error if block supplied
1038
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRunAccessReportResponse] parsed result object
1039
+ # @yieldparam err [StandardError] error object if request failed
1040
+ #
1041
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRunAccessReportResponse]
1042
+ #
1043
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1044
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1045
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1046
+ def run_property_access_report(entity, google_analytics_admin_v1alpha_run_access_report_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1047
+ command = make_simple_command(:post, 'v1alpha/{+entity}:runAccessReport', options)
1048
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRunAccessReportRequest::Representation
1049
+ command.request_object = google_analytics_admin_v1alpha_run_access_report_request_object
1050
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRunAccessReportResponse::Representation
1051
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRunAccessReportResponse
1052
+ command.params['entity'] = entity unless entity.nil?
1053
+ command.query['fields'] = fields unless fields.nil?
1054
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1055
+ execute_or_queue_command(command, &block)
1056
+ end
1057
+
1014
1058
  # Updates attribution settings on a property.
1015
1059
  # @param [String] name
1016
1060
  # Output only. Resource name of this attribution settings resource. Format:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-analyticsadmin_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-20 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.6'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.6'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsadmin_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.32.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsadmin_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []