google-apis-analyticsadmin_v1alpha 0.34.0 → 0.37.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: 9e8df3f3bfcc3345c17e6f7428c0175b7dbe332958b4486b1882a3f56a06cecf
4
- data.tar.gz: 6b1458f1a8a3ca3a0d2d907397bb77e22f0fb1bec019dddf47849e2935a12a38
3
+ metadata.gz: e497a8c62745c918044f322451176bc5c3ed882f02b7f870be467258570e1aae
4
+ data.tar.gz: 67ee5b50e575965f403b780f9411da6e365b0ccba7272d80e309580d8ebacc76
5
5
  SHA512:
6
- metadata.gz: 763dc2e049cc338f1bf614ab6f76357b5459e980f94cbd4ca4d0020ca7430c24e4bd6a9b1e087bf4accd50b9243c71345b34c59024b3c20e1e00e56e617eac84
7
- data.tar.gz: 2e14cd7230e0beb32fd3f9a730d7838fb6b09c2f7381f0c0f03352d875f4679432e3c9557fef9138c7031ed5d98479b4374ab168f1df57acb30e7264f95609fe
6
+ metadata.gz: a200d6338a837e77f0bea0b54f5206e9797470c1545849d3127d18e47cfc9676c1ba791575b94326642b669fa014aa706aac369db4e3fb50051ad3cc2f2eb9a8
7
+ data.tar.gz: 5a7dbc30def499e790187d2ed81df3d7f9930f665b6855c087d7c9e6d35940d95bd36f18448b999c4714c0c2a719a7d5992baa202f7bcab8582642fa838e0f4a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-analyticsadmin_v1alpha
2
2
 
3
+ ### v0.37.0 (2022-08-31)
4
+
5
+ * Regenerated from discovery document revision 20220825
6
+
7
+ ### v0.36.0 (2022-08-19)
8
+
9
+ * Regenerated from discovery document revision 20220817
10
+
11
+ ### v0.35.0 (2022-08-04)
12
+
13
+ * Regenerated from discovery document revision 20220803
14
+
3
15
  ### v0.34.0 (2022-07-27)
4
16
 
5
17
  * Regenerated from discovery document revision 20220725
@@ -22,6 +22,552 @@ 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. See [Data Access Schema](https://developers.
88
+ # google.com/analytics/devguides/config/admin/v1/access-api-schema) for the list
89
+ # of dimensions supported in this API. Dimensions are referenced by name in `
90
+ # dimensionFilter` and `orderBys`.
91
+ # Corresponds to the JSON property `dimensionName`
92
+ # @return [String]
93
+ attr_accessor :dimension_name
94
+
95
+ def initialize(**args)
96
+ update!(**args)
97
+ end
98
+
99
+ # Update properties of this object
100
+ def update!(**args)
101
+ @dimension_name = args[:dimension_name] if args.key?(:dimension_name)
102
+ end
103
+ end
104
+
105
+ # Describes a dimension column in the report. Dimensions requested in a report
106
+ # produce column entries within rows and DimensionHeaders. However, dimensions
107
+ # used exclusively within filters or expressions do not produce columns in a
108
+ # report; correspondingly, those dimensions do not produce headers.
109
+ class GoogleAnalyticsAdminV1alphaAccessDimensionHeader
110
+ include Google::Apis::Core::Hashable
111
+
112
+ # The dimension's name; for example 'userEmail'.
113
+ # Corresponds to the JSON property `dimensionName`
114
+ # @return [String]
115
+ attr_accessor :dimension_name
116
+
117
+ def initialize(**args)
118
+ update!(**args)
119
+ end
120
+
121
+ # Update properties of this object
122
+ def update!(**args)
123
+ @dimension_name = args[:dimension_name] if args.key?(:dimension_name)
124
+ end
125
+ end
126
+
127
+ # The value of a dimension.
128
+ class GoogleAnalyticsAdminV1alphaAccessDimensionValue
129
+ include Google::Apis::Core::Hashable
130
+
131
+ # The dimension value. For example, this value may be 'France' for the 'country'
132
+ # dimension.
133
+ # Corresponds to the JSON property `value`
134
+ # @return [String]
135
+ attr_accessor :value
136
+
137
+ def initialize(**args)
138
+ update!(**args)
139
+ end
140
+
141
+ # Update properties of this object
142
+ def update!(**args)
143
+ @value = args[:value] if args.key?(:value)
144
+ end
145
+ end
146
+
147
+ # An expression to filter dimension or metric values.
148
+ class GoogleAnalyticsAdminV1alphaAccessFilter
149
+ include Google::Apis::Core::Hashable
150
+
151
+ # To express that the result needs to be between two numbers (inclusive).
152
+ # Corresponds to the JSON property `betweenFilter`
153
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBetweenFilter]
154
+ attr_accessor :between_filter
155
+
156
+ # The dimension name or metric name.
157
+ # Corresponds to the JSON property `fieldName`
158
+ # @return [String]
159
+ attr_accessor :field_name
160
+
161
+ # The result needs to be in a list of string values.
162
+ # Corresponds to the JSON property `inListFilter`
163
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessInListFilter]
164
+ attr_accessor :in_list_filter
165
+
166
+ # Filters for numeric or date values.
167
+ # Corresponds to the JSON property `numericFilter`
168
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessNumericFilter]
169
+ attr_accessor :numeric_filter
170
+
171
+ # The filter for strings.
172
+ # Corresponds to the JSON property `stringFilter`
173
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessStringFilter]
174
+ attr_accessor :string_filter
175
+
176
+ def initialize(**args)
177
+ update!(**args)
178
+ end
179
+
180
+ # Update properties of this object
181
+ def update!(**args)
182
+ @between_filter = args[:between_filter] if args.key?(:between_filter)
183
+ @field_name = args[:field_name] if args.key?(:field_name)
184
+ @in_list_filter = args[:in_list_filter] if args.key?(:in_list_filter)
185
+ @numeric_filter = args[:numeric_filter] if args.key?(:numeric_filter)
186
+ @string_filter = args[:string_filter] if args.key?(:string_filter)
187
+ end
188
+ end
189
+
190
+ # Expresses dimension or metric filters. The fields in the same expression need
191
+ # to be either all dimensions or all metrics.
192
+ class GoogleAnalyticsAdminV1alphaAccessFilterExpression
193
+ include Google::Apis::Core::Hashable
194
+
195
+ # An expression to filter dimension or metric values.
196
+ # Corresponds to the JSON property `accessFilter`
197
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilter]
198
+ attr_accessor :access_filter
199
+
200
+ # A list of filter expressions.
201
+ # Corresponds to the JSON property `andGroup`
202
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpressionList]
203
+ attr_accessor :and_group
204
+
205
+ # Expresses dimension or metric filters. The fields in the same expression need
206
+ # to be either all dimensions or all metrics.
207
+ # Corresponds to the JSON property `notExpression`
208
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression]
209
+ attr_accessor :not_expression
210
+
211
+ # A list of filter expressions.
212
+ # Corresponds to the JSON property `orGroup`
213
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpressionList]
214
+ attr_accessor :or_group
215
+
216
+ def initialize(**args)
217
+ update!(**args)
218
+ end
219
+
220
+ # Update properties of this object
221
+ def update!(**args)
222
+ @access_filter = args[:access_filter] if args.key?(:access_filter)
223
+ @and_group = args[:and_group] if args.key?(:and_group)
224
+ @not_expression = args[:not_expression] if args.key?(:not_expression)
225
+ @or_group = args[:or_group] if args.key?(:or_group)
226
+ end
227
+ end
228
+
229
+ # A list of filter expressions.
230
+ class GoogleAnalyticsAdminV1alphaAccessFilterExpressionList
231
+ include Google::Apis::Core::Hashable
232
+
233
+ # A list of filter expressions.
234
+ # Corresponds to the JSON property `expressions`
235
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression>]
236
+ attr_accessor :expressions
237
+
238
+ def initialize(**args)
239
+ update!(**args)
240
+ end
241
+
242
+ # Update properties of this object
243
+ def update!(**args)
244
+ @expressions = args[:expressions] if args.key?(:expressions)
245
+ end
246
+ end
247
+
248
+ # The result needs to be in a list of string values.
249
+ class GoogleAnalyticsAdminV1alphaAccessInListFilter
250
+ include Google::Apis::Core::Hashable
251
+
252
+ # If true, the string value is case sensitive.
253
+ # Corresponds to the JSON property `caseSensitive`
254
+ # @return [Boolean]
255
+ attr_accessor :case_sensitive
256
+ alias_method :case_sensitive?, :case_sensitive
257
+
258
+ # The list of string values. Must be non-empty.
259
+ # Corresponds to the JSON property `values`
260
+ # @return [Array<String>]
261
+ attr_accessor :values
262
+
263
+ def initialize(**args)
264
+ update!(**args)
265
+ end
266
+
267
+ # Update properties of this object
268
+ def update!(**args)
269
+ @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive)
270
+ @values = args[:values] if args.key?(:values)
271
+ end
272
+ end
273
+
274
+ # The quantitative measurements of a report. For example, the metric `
275
+ # accessCount` is the total number of data access records.
276
+ class GoogleAnalyticsAdminV1alphaAccessMetric
277
+ include Google::Apis::Core::Hashable
278
+
279
+ # The API name of the metric. See [Data Access Schema](https://developers.google.
280
+ # com/analytics/devguides/config/admin/v1/access-api-schema) for the list of
281
+ # metrics supported in this API. Metrics are referenced by name in `metricFilter`
282
+ # & `orderBys`.
283
+ # Corresponds to the JSON property `metricName`
284
+ # @return [String]
285
+ attr_accessor :metric_name
286
+
287
+ def initialize(**args)
288
+ update!(**args)
289
+ end
290
+
291
+ # Update properties of this object
292
+ def update!(**args)
293
+ @metric_name = args[:metric_name] if args.key?(:metric_name)
294
+ end
295
+ end
296
+
297
+ # Describes a metric column in the report. Visible metrics requested in a report
298
+ # produce column entries within rows and MetricHeaders. However, metrics used
299
+ # exclusively within filters or expressions do not produce columns in a report;
300
+ # correspondingly, those metrics do not produce headers.
301
+ class GoogleAnalyticsAdminV1alphaAccessMetricHeader
302
+ include Google::Apis::Core::Hashable
303
+
304
+ # The metric's name; for example 'accessCount'.
305
+ # Corresponds to the JSON property `metricName`
306
+ # @return [String]
307
+ attr_accessor :metric_name
308
+
309
+ def initialize(**args)
310
+ update!(**args)
311
+ end
312
+
313
+ # Update properties of this object
314
+ def update!(**args)
315
+ @metric_name = args[:metric_name] if args.key?(:metric_name)
316
+ end
317
+ end
318
+
319
+ # The value of a metric.
320
+ class GoogleAnalyticsAdminV1alphaAccessMetricValue
321
+ include Google::Apis::Core::Hashable
322
+
323
+ # The measurement value. For example, this value may be '13'.
324
+ # Corresponds to the JSON property `value`
325
+ # @return [String]
326
+ attr_accessor :value
327
+
328
+ def initialize(**args)
329
+ update!(**args)
330
+ end
331
+
332
+ # Update properties of this object
333
+ def update!(**args)
334
+ @value = args[:value] if args.key?(:value)
335
+ end
336
+ end
337
+
338
+ # Filters for numeric or date values.
339
+ class GoogleAnalyticsAdminV1alphaAccessNumericFilter
340
+ include Google::Apis::Core::Hashable
341
+
342
+ # The operation type for this filter.
343
+ # Corresponds to the JSON property `operation`
344
+ # @return [String]
345
+ attr_accessor :operation
346
+
347
+ # To represent a number.
348
+ # Corresponds to the JSON property `value`
349
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue]
350
+ attr_accessor :value
351
+
352
+ def initialize(**args)
353
+ update!(**args)
354
+ end
355
+
356
+ # Update properties of this object
357
+ def update!(**args)
358
+ @operation = args[:operation] if args.key?(:operation)
359
+ @value = args[:value] if args.key?(:value)
360
+ end
361
+ end
362
+
363
+ # Order bys define how rows will be sorted in the response. For example,
364
+ # ordering rows by descending access count is one ordering, and ordering rows by
365
+ # the country string is a different ordering.
366
+ class GoogleAnalyticsAdminV1alphaAccessOrderBy
367
+ include Google::Apis::Core::Hashable
368
+
369
+ # If true, sorts by descending order. If false or unspecified, sorts in
370
+ # ascending order.
371
+ # Corresponds to the JSON property `desc`
372
+ # @return [Boolean]
373
+ attr_accessor :desc
374
+ alias_method :desc?, :desc
375
+
376
+ # Sorts by dimension values.
377
+ # Corresponds to the JSON property `dimension`
378
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy]
379
+ attr_accessor :dimension
380
+
381
+ # Sorts by metric values.
382
+ # Corresponds to the JSON property `metric`
383
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy]
384
+ attr_accessor :metric
385
+
386
+ def initialize(**args)
387
+ update!(**args)
388
+ end
389
+
390
+ # Update properties of this object
391
+ def update!(**args)
392
+ @desc = args[:desc] if args.key?(:desc)
393
+ @dimension = args[:dimension] if args.key?(:dimension)
394
+ @metric = args[:metric] if args.key?(:metric)
395
+ end
396
+ end
397
+
398
+ # Sorts by dimension values.
399
+ class GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy
400
+ include Google::Apis::Core::Hashable
401
+
402
+ # A dimension name in the request to order by.
403
+ # Corresponds to the JSON property `dimensionName`
404
+ # @return [String]
405
+ attr_accessor :dimension_name
406
+
407
+ # Controls the rule for dimension value ordering.
408
+ # Corresponds to the JSON property `orderType`
409
+ # @return [String]
410
+ attr_accessor :order_type
411
+
412
+ def initialize(**args)
413
+ update!(**args)
414
+ end
415
+
416
+ # Update properties of this object
417
+ def update!(**args)
418
+ @dimension_name = args[:dimension_name] if args.key?(:dimension_name)
419
+ @order_type = args[:order_type] if args.key?(:order_type)
420
+ end
421
+ end
422
+
423
+ # Sorts by metric values.
424
+ class GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy
425
+ include Google::Apis::Core::Hashable
426
+
427
+ # A metric name in the request to order by.
428
+ # Corresponds to the JSON property `metricName`
429
+ # @return [String]
430
+ attr_accessor :metric_name
431
+
432
+ def initialize(**args)
433
+ update!(**args)
434
+ end
435
+
436
+ # Update properties of this object
437
+ def update!(**args)
438
+ @metric_name = args[:metric_name] if args.key?(:metric_name)
439
+ end
440
+ end
441
+
442
+ # Current state of all quotas for this Analytics property. If any quota for a
443
+ # property is exhausted, all requests to that property will return Resource
444
+ # Exhausted errors.
445
+ class GoogleAnalyticsAdminV1alphaAccessQuota
446
+ include Google::Apis::Core::Hashable
447
+
448
+ # Current state for a particular quota group.
449
+ # Corresponds to the JSON property `concurrentRequests`
450
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus]
451
+ attr_accessor :concurrent_requests
452
+
453
+ # Current state for a particular quota group.
454
+ # Corresponds to the JSON property `serverErrorsPerProjectPerHour`
455
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus]
456
+ attr_accessor :server_errors_per_project_per_hour
457
+
458
+ # Current state for a particular quota group.
459
+ # Corresponds to the JSON property `tokensPerDay`
460
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus]
461
+ attr_accessor :tokens_per_day
462
+
463
+ # Current state for a particular quota group.
464
+ # Corresponds to the JSON property `tokensPerHour`
465
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus]
466
+ attr_accessor :tokens_per_hour
467
+
468
+ # Current state for a particular quota group.
469
+ # Corresponds to the JSON property `tokensPerProjectPerHour`
470
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus]
471
+ attr_accessor :tokens_per_project_per_hour
472
+
473
+ def initialize(**args)
474
+ update!(**args)
475
+ end
476
+
477
+ # Update properties of this object
478
+ def update!(**args)
479
+ @concurrent_requests = args[:concurrent_requests] if args.key?(:concurrent_requests)
480
+ @server_errors_per_project_per_hour = args[:server_errors_per_project_per_hour] if args.key?(:server_errors_per_project_per_hour)
481
+ @tokens_per_day = args[:tokens_per_day] if args.key?(:tokens_per_day)
482
+ @tokens_per_hour = args[:tokens_per_hour] if args.key?(:tokens_per_hour)
483
+ @tokens_per_project_per_hour = args[:tokens_per_project_per_hour] if args.key?(:tokens_per_project_per_hour)
484
+ end
485
+ end
486
+
487
+ # Current state for a particular quota group.
488
+ class GoogleAnalyticsAdminV1alphaAccessQuotaStatus
489
+ include Google::Apis::Core::Hashable
490
+
491
+ # Quota consumed by this request.
492
+ # Corresponds to the JSON property `consumed`
493
+ # @return [Fixnum]
494
+ attr_accessor :consumed
495
+
496
+ # Quota remaining after this request.
497
+ # Corresponds to the JSON property `remaining`
498
+ # @return [Fixnum]
499
+ attr_accessor :remaining
500
+
501
+ def initialize(**args)
502
+ update!(**args)
503
+ end
504
+
505
+ # Update properties of this object
506
+ def update!(**args)
507
+ @consumed = args[:consumed] if args.key?(:consumed)
508
+ @remaining = args[:remaining] if args.key?(:remaining)
509
+ end
510
+ end
511
+
512
+ # Access report data for each row.
513
+ class GoogleAnalyticsAdminV1alphaAccessRow
514
+ include Google::Apis::Core::Hashable
515
+
516
+ # List of dimension values. These values are in the same order as specified in
517
+ # the request.
518
+ # Corresponds to the JSON property `dimensionValues`
519
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionValue>]
520
+ attr_accessor :dimension_values
521
+
522
+ # List of metric values. These values are in the same order as specified in the
523
+ # request.
524
+ # Corresponds to the JSON property `metricValues`
525
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricValue>]
526
+ attr_accessor :metric_values
527
+
528
+ def initialize(**args)
529
+ update!(**args)
530
+ end
531
+
532
+ # Update properties of this object
533
+ def update!(**args)
534
+ @dimension_values = args[:dimension_values] if args.key?(:dimension_values)
535
+ @metric_values = args[:metric_values] if args.key?(:metric_values)
536
+ end
537
+ end
538
+
539
+ # The filter for strings.
540
+ class GoogleAnalyticsAdminV1alphaAccessStringFilter
541
+ include Google::Apis::Core::Hashable
542
+
543
+ # If true, the string value is case sensitive.
544
+ # Corresponds to the JSON property `caseSensitive`
545
+ # @return [Boolean]
546
+ attr_accessor :case_sensitive
547
+ alias_method :case_sensitive?, :case_sensitive
548
+
549
+ # The match type for this filter.
550
+ # Corresponds to the JSON property `matchType`
551
+ # @return [String]
552
+ attr_accessor :match_type
553
+
554
+ # The string value used for the matching.
555
+ # Corresponds to the JSON property `value`
556
+ # @return [String]
557
+ attr_accessor :value
558
+
559
+ def initialize(**args)
560
+ update!(**args)
561
+ end
562
+
563
+ # Update properties of this object
564
+ def update!(**args)
565
+ @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive)
566
+ @match_type = args[:match_type] if args.key?(:match_type)
567
+ @value = args[:value] if args.key?(:value)
568
+ end
569
+ end
570
+
25
571
  # A resource message representing a Google Analytics account.
26
572
  class GoogleAnalyticsAdminV1alphaAccount
27
573
  include Google::Apis::Core::Hashable
@@ -2441,6 +2987,31 @@ module Google
2441
2987
  end
2442
2988
  end
2443
2989
 
2990
+ # To represent a number.
2991
+ class GoogleAnalyticsAdminV1alphaNumericValue
2992
+ include Google::Apis::Core::Hashable
2993
+
2994
+ # Double value
2995
+ # Corresponds to the JSON property `doubleValue`
2996
+ # @return [Float]
2997
+ attr_accessor :double_value
2998
+
2999
+ # Integer value
3000
+ # Corresponds to the JSON property `int64Value`
3001
+ # @return [Fixnum]
3002
+ attr_accessor :int64_value
3003
+
3004
+ def initialize(**args)
3005
+ update!(**args)
3006
+ end
3007
+
3008
+ # Update properties of this object
3009
+ def update!(**args)
3010
+ @double_value = args[:double_value] if args.key?(:double_value)
3011
+ @int64_value = args[:int64_value] if args.key?(:int64_value)
3012
+ end
3013
+ end
3014
+
2444
3015
  # A resource message representing a Google Analytics GA4 property.
2445
3016
  class GoogleAnalyticsAdminV1alphaProperty
2446
3017
  include Google::Apis::Core::Hashable
@@ -2633,6 +3204,159 @@ module Google
2633
3204
  end
2634
3205
  end
2635
3206
 
3207
+ # The request for a Data Access Record Report.
3208
+ class GoogleAnalyticsAdminV1alphaRunAccessReportRequest
3209
+ include Google::Apis::Core::Hashable
3210
+
3211
+ # Date ranges of access records to read. If multiple date ranges are requested,
3212
+ # each response row will contain a zero based date range index. If two date
3213
+ # ranges overlap, the access records for the overlapping days is included in the
3214
+ # response rows for both date ranges. Requests are allowed up to 2 date ranges.
3215
+ # Corresponds to the JSON property `dateRanges`
3216
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDateRange>]
3217
+ attr_accessor :date_ranges
3218
+
3219
+ # Expresses dimension or metric filters. The fields in the same expression need
3220
+ # to be either all dimensions or all metrics.
3221
+ # Corresponds to the JSON property `dimensionFilter`
3222
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression]
3223
+ attr_accessor :dimension_filter
3224
+
3225
+ # The dimensions requested and displayed in the response. Requests are allowed
3226
+ # up to 9 dimensions.
3227
+ # Corresponds to the JSON property `dimensions`
3228
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimension>]
3229
+ attr_accessor :dimensions
3230
+
3231
+ # The number of rows to return. If unspecified, 10,000 rows are returned. The
3232
+ # API returns a maximum of 100,000 rows per request, no matter how many you ask
3233
+ # for. `limit` must be positive. The API may return fewer rows than the
3234
+ # requested `limit`, if there aren't as many remaining rows as the `limit`. For
3235
+ # instance, there are fewer than 300 possible values for the dimension `country`,
3236
+ # so when reporting on only `country`, you can't get more than 300 rows, even
3237
+ # if you set `limit` to a higher value. To learn more about this pagination
3238
+ # parameter, see [Pagination](https://developers.google.com/analytics/devguides/
3239
+ # reporting/data/v1/basics#pagination).
3240
+ # Corresponds to the JSON property `limit`
3241
+ # @return [Fixnum]
3242
+ attr_accessor :limit
3243
+
3244
+ # Expresses dimension or metric filters. The fields in the same expression need
3245
+ # to be either all dimensions or all metrics.
3246
+ # Corresponds to the JSON property `metricFilter`
3247
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression]
3248
+ attr_accessor :metric_filter
3249
+
3250
+ # The metrics requested and displayed in the response. Requests are allowed up
3251
+ # to 10 metrics.
3252
+ # Corresponds to the JSON property `metrics`
3253
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetric>]
3254
+ attr_accessor :metrics
3255
+
3256
+ # The row count of the start row. The first row is counted as row 0. If offset
3257
+ # is unspecified, it is treated as 0. If offset is zero, then this method will
3258
+ # return the first page of results with `limit` entries. To learn more about
3259
+ # this pagination parameter, see [Pagination](https://developers.google.com/
3260
+ # analytics/devguides/reporting/data/v1/basics#pagination).
3261
+ # Corresponds to the JSON property `offset`
3262
+ # @return [Fixnum]
3263
+ attr_accessor :offset
3264
+
3265
+ # Specifies how rows are ordered in the response.
3266
+ # Corresponds to the JSON property `orderBys`
3267
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderBy>]
3268
+ attr_accessor :order_bys
3269
+
3270
+ # Toggles whether to return the current state of this Analytics Property's quota.
3271
+ # Quota is returned in [AccessQuota](#AccessQuota).
3272
+ # Corresponds to the JSON property `returnEntityQuota`
3273
+ # @return [Boolean]
3274
+ attr_accessor :return_entity_quota
3275
+ alias_method :return_entity_quota?, :return_entity_quota
3276
+
3277
+ # This request's time zone if specified. If unspecified, the property's time
3278
+ # zone is used. The request's time zone is used to interpret the start & end
3279
+ # dates of the report. Formatted as strings from the IANA Time Zone database (
3280
+ # https://www.iana.org/time-zones); for example "America/New_York" or "Asia/
3281
+ # Tokyo".
3282
+ # Corresponds to the JSON property `timeZone`
3283
+ # @return [String]
3284
+ attr_accessor :time_zone
3285
+
3286
+ def initialize(**args)
3287
+ update!(**args)
3288
+ end
3289
+
3290
+ # Update properties of this object
3291
+ def update!(**args)
3292
+ @date_ranges = args[:date_ranges] if args.key?(:date_ranges)
3293
+ @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter)
3294
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
3295
+ @limit = args[:limit] if args.key?(:limit)
3296
+ @metric_filter = args[:metric_filter] if args.key?(:metric_filter)
3297
+ @metrics = args[:metrics] if args.key?(:metrics)
3298
+ @offset = args[:offset] if args.key?(:offset)
3299
+ @order_bys = args[:order_bys] if args.key?(:order_bys)
3300
+ @return_entity_quota = args[:return_entity_quota] if args.key?(:return_entity_quota)
3301
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
3302
+ end
3303
+ end
3304
+
3305
+ # The customized Data Access Record Report response.
3306
+ class GoogleAnalyticsAdminV1alphaRunAccessReportResponse
3307
+ include Google::Apis::Core::Hashable
3308
+
3309
+ # The header for a column in the report that corresponds to a specific dimension.
3310
+ # The number of DimensionHeaders and ordering of DimensionHeaders matches the
3311
+ # dimensions present in rows.
3312
+ # Corresponds to the JSON property `dimensionHeaders`
3313
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionHeader>]
3314
+ attr_accessor :dimension_headers
3315
+
3316
+ # The header for a column in the report that corresponds to a specific metric.
3317
+ # The number of MetricHeaders and ordering of MetricHeaders matches the metrics
3318
+ # present in rows.
3319
+ # Corresponds to the JSON property `metricHeaders`
3320
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricHeader>]
3321
+ attr_accessor :metric_headers
3322
+
3323
+ # Current state of all quotas for this Analytics property. If any quota for a
3324
+ # property is exhausted, all requests to that property will return Resource
3325
+ # Exhausted errors.
3326
+ # Corresponds to the JSON property `quota`
3327
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuota]
3328
+ attr_accessor :quota
3329
+
3330
+ # The total number of rows in the query result. `rowCount` is independent of the
3331
+ # number of rows returned in the response, the `limit` request parameter, and
3332
+ # the `offset` request parameter. For example if a query returns 175 rows and
3333
+ # includes `limit` of 50 in the API request, the response will contain `rowCount`
3334
+ # of 175 but only 50 rows. To learn more about this pagination parameter, see [
3335
+ # Pagination](https://developers.google.com/analytics/devguides/reporting/data/
3336
+ # v1/basics#pagination).
3337
+ # Corresponds to the JSON property `rowCount`
3338
+ # @return [Fixnum]
3339
+ attr_accessor :row_count
3340
+
3341
+ # Rows of dimension value combinations and metric values in the report.
3342
+ # Corresponds to the JSON property `rows`
3343
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessRow>]
3344
+ attr_accessor :rows
3345
+
3346
+ def initialize(**args)
3347
+ update!(**args)
3348
+ end
3349
+
3350
+ # Update properties of this object
3351
+ def update!(**args)
3352
+ @dimension_headers = args[:dimension_headers] if args.key?(:dimension_headers)
3353
+ @metric_headers = args[:metric_headers] if args.key?(:metric_headers)
3354
+ @quota = args[:quota] if args.key?(:quota)
3355
+ @row_count = args[:row_count] if args.key?(:row_count)
3356
+ @rows = args[:rows] if args.key?(:rows)
3357
+ end
3358
+ end
3359
+
2636
3360
  # Request message for SearchChangeHistoryEvents RPC.
2637
3361
  class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
2638
3362
  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.34.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220725"
25
+ REVISION = "20220825"
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
 
@@ -448,6 +568,12 @@ module Google
448
568
  include Google::Apis::Core::JsonObjectSupport
449
569
  end
450
570
 
571
+ class GoogleAnalyticsAdminV1alphaNumericValue
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
451
577
  class GoogleAnalyticsAdminV1alphaProperty
452
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
579
 
@@ -472,6 +598,18 @@ module Google
472
598
  include Google::Apis::Core::JsonObjectSupport
473
599
  end
474
600
 
601
+ class GoogleAnalyticsAdminV1alphaRunAccessReportRequest
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
607
+ class GoogleAnalyticsAdminV1alphaRunAccessReportResponse
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
475
613
  class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
476
614
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
615
 
@@ -502,6 +640,189 @@ module Google
502
640
  include Google::Apis::Core::JsonObjectSupport
503
641
  end
504
642
 
643
+ class GoogleAnalyticsAdminV1alphaAccessBetweenFilter
644
+ # @private
645
+ class Representation < Google::Apis::Core::JsonRepresentation
646
+ property :from_value, as: 'fromValue', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue::Representation
647
+
648
+ property :to_value, as: 'toValue', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue::Representation
649
+
650
+ end
651
+ end
652
+
653
+ class GoogleAnalyticsAdminV1alphaAccessDateRange
654
+ # @private
655
+ class Representation < Google::Apis::Core::JsonRepresentation
656
+ property :end_date, as: 'endDate'
657
+ property :start_date, as: 'startDate'
658
+ end
659
+ end
660
+
661
+ class GoogleAnalyticsAdminV1alphaAccessDimension
662
+ # @private
663
+ class Representation < Google::Apis::Core::JsonRepresentation
664
+ property :dimension_name, as: 'dimensionName'
665
+ end
666
+ end
667
+
668
+ class GoogleAnalyticsAdminV1alphaAccessDimensionHeader
669
+ # @private
670
+ class Representation < Google::Apis::Core::JsonRepresentation
671
+ property :dimension_name, as: 'dimensionName'
672
+ end
673
+ end
674
+
675
+ class GoogleAnalyticsAdminV1alphaAccessDimensionValue
676
+ # @private
677
+ class Representation < Google::Apis::Core::JsonRepresentation
678
+ property :value, as: 'value'
679
+ end
680
+ end
681
+
682
+ class GoogleAnalyticsAdminV1alphaAccessFilter
683
+ # @private
684
+ class Representation < Google::Apis::Core::JsonRepresentation
685
+ property :between_filter, as: 'betweenFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBetweenFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBetweenFilter::Representation
686
+
687
+ property :field_name, as: 'fieldName'
688
+ property :in_list_filter, as: 'inListFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessInListFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessInListFilter::Representation
689
+
690
+ property :numeric_filter, as: 'numericFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessNumericFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessNumericFilter::Representation
691
+
692
+ property :string_filter, as: 'stringFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessStringFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessStringFilter::Representation
693
+
694
+ end
695
+ end
696
+
697
+ class GoogleAnalyticsAdminV1alphaAccessFilterExpression
698
+ # @private
699
+ class Representation < Google::Apis::Core::JsonRepresentation
700
+ property :access_filter, as: 'accessFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilter::Representation
701
+
702
+ property :and_group, as: 'andGroup', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpressionList, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpressionList::Representation
703
+
704
+ property :not_expression, as: 'notExpression', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression::Representation
705
+
706
+ property :or_group, as: 'orGroup', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpressionList, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpressionList::Representation
707
+
708
+ end
709
+ end
710
+
711
+ class GoogleAnalyticsAdminV1alphaAccessFilterExpressionList
712
+ # @private
713
+ class Representation < Google::Apis::Core::JsonRepresentation
714
+ collection :expressions, as: 'expressions', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression::Representation
715
+
716
+ end
717
+ end
718
+
719
+ class GoogleAnalyticsAdminV1alphaAccessInListFilter
720
+ # @private
721
+ class Representation < Google::Apis::Core::JsonRepresentation
722
+ property :case_sensitive, as: 'caseSensitive'
723
+ collection :values, as: 'values'
724
+ end
725
+ end
726
+
727
+ class GoogleAnalyticsAdminV1alphaAccessMetric
728
+ # @private
729
+ class Representation < Google::Apis::Core::JsonRepresentation
730
+ property :metric_name, as: 'metricName'
731
+ end
732
+ end
733
+
734
+ class GoogleAnalyticsAdminV1alphaAccessMetricHeader
735
+ # @private
736
+ class Representation < Google::Apis::Core::JsonRepresentation
737
+ property :metric_name, as: 'metricName'
738
+ end
739
+ end
740
+
741
+ class GoogleAnalyticsAdminV1alphaAccessMetricValue
742
+ # @private
743
+ class Representation < Google::Apis::Core::JsonRepresentation
744
+ property :value, as: 'value'
745
+ end
746
+ end
747
+
748
+ class GoogleAnalyticsAdminV1alphaAccessNumericFilter
749
+ # @private
750
+ class Representation < Google::Apis::Core::JsonRepresentation
751
+ property :operation, as: 'operation'
752
+ property :value, as: 'value', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue::Representation
753
+
754
+ end
755
+ end
756
+
757
+ class GoogleAnalyticsAdminV1alphaAccessOrderBy
758
+ # @private
759
+ class Representation < Google::Apis::Core::JsonRepresentation
760
+ property :desc, as: 'desc'
761
+ property :dimension, as: 'dimension', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy::Representation
762
+
763
+ property :metric, as: 'metric', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy::Representation
764
+
765
+ end
766
+ end
767
+
768
+ class GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy
769
+ # @private
770
+ class Representation < Google::Apis::Core::JsonRepresentation
771
+ property :dimension_name, as: 'dimensionName'
772
+ property :order_type, as: 'orderType'
773
+ end
774
+ end
775
+
776
+ class GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy
777
+ # @private
778
+ class Representation < Google::Apis::Core::JsonRepresentation
779
+ property :metric_name, as: 'metricName'
780
+ end
781
+ end
782
+
783
+ class GoogleAnalyticsAdminV1alphaAccessQuota
784
+ # @private
785
+ class Representation < Google::Apis::Core::JsonRepresentation
786
+ property :concurrent_requests, as: 'concurrentRequests', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus::Representation
787
+
788
+ property :server_errors_per_project_per_hour, as: 'serverErrorsPerProjectPerHour', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus::Representation
789
+
790
+ property :tokens_per_day, as: 'tokensPerDay', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus::Representation
791
+
792
+ property :tokens_per_hour, as: 'tokensPerHour', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus::Representation
793
+
794
+ property :tokens_per_project_per_hour, as: 'tokensPerProjectPerHour', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus::Representation
795
+
796
+ end
797
+ end
798
+
799
+ class GoogleAnalyticsAdminV1alphaAccessQuotaStatus
800
+ # @private
801
+ class Representation < Google::Apis::Core::JsonRepresentation
802
+ property :consumed, as: 'consumed'
803
+ property :remaining, as: 'remaining'
804
+ end
805
+ end
806
+
807
+ class GoogleAnalyticsAdminV1alphaAccessRow
808
+ # @private
809
+ class Representation < Google::Apis::Core::JsonRepresentation
810
+ collection :dimension_values, as: 'dimensionValues', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionValue, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionValue::Representation
811
+
812
+ collection :metric_values, as: 'metricValues', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricValue, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricValue::Representation
813
+
814
+ end
815
+ end
816
+
817
+ class GoogleAnalyticsAdminV1alphaAccessStringFilter
818
+ # @private
819
+ class Representation < Google::Apis::Core::JsonRepresentation
820
+ property :case_sensitive, as: 'caseSensitive'
821
+ property :match_type, as: 'matchType'
822
+ property :value, as: 'value'
823
+ end
824
+ end
825
+
505
826
  class GoogleAnalyticsAdminV1alphaAccount
506
827
  # @private
507
828
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1206,6 +1527,14 @@ module Google
1206
1527
  end
1207
1528
  end
1208
1529
 
1530
+ class GoogleAnalyticsAdminV1alphaNumericValue
1531
+ # @private
1532
+ class Representation < Google::Apis::Core::JsonRepresentation
1533
+ property :double_value, as: 'doubleValue'
1534
+ property :int64_value, :numeric_string => true, as: 'int64Value'
1535
+ end
1536
+ end
1537
+
1209
1538
  class GoogleAnalyticsAdminV1alphaProperty
1210
1539
  # @private
1211
1540
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1251,6 +1580,43 @@ module Google
1251
1580
  end
1252
1581
  end
1253
1582
 
1583
+ class GoogleAnalyticsAdminV1alphaRunAccessReportRequest
1584
+ # @private
1585
+ class Representation < Google::Apis::Core::JsonRepresentation
1586
+ collection :date_ranges, as: 'dateRanges', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDateRange, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDateRange::Representation
1587
+
1588
+ property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression::Representation
1589
+
1590
+ collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimension, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimension::Representation
1591
+
1592
+ property :limit, :numeric_string => true, as: 'limit'
1593
+ property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression::Representation
1594
+
1595
+ collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetric, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetric::Representation
1596
+
1597
+ property :offset, :numeric_string => true, as: 'offset'
1598
+ collection :order_bys, as: 'orderBys', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderBy, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderBy::Representation
1599
+
1600
+ property :return_entity_quota, as: 'returnEntityQuota'
1601
+ property :time_zone, as: 'timeZone'
1602
+ end
1603
+ end
1604
+
1605
+ class GoogleAnalyticsAdminV1alphaRunAccessReportResponse
1606
+ # @private
1607
+ class Representation < Google::Apis::Core::JsonRepresentation
1608
+ collection :dimension_headers, as: 'dimensionHeaders', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionHeader, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionHeader::Representation
1609
+
1610
+ collection :metric_headers, as: 'metricHeaders', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricHeader, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricHeader::Representation
1611
+
1612
+ property :quota, as: 'quota', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuota, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuota::Representation
1613
+
1614
+ property :row_count, as: 'rowCount'
1615
+ collection :rows, as: 'rows', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessRow, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessRow::Representation
1616
+
1617
+ end
1618
+ end
1619
+
1254
1620
  class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
1255
1621
  # @private
1256
1622
  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:
@@ -1195,7 +1239,8 @@ module Google
1195
1239
  execute_or_queue_command(command, &block)
1196
1240
  end
1197
1241
 
1198
- # Lookup for a single Audience.
1242
+ # Lookup for a single Audience. Audiences created before 2020 may not be
1243
+ # supported. Default audiences will not show filter definitions.
1199
1244
  # @param [String] name
1200
1245
  # Required. The name of the Audience to get. Example format: properties/1234/
1201
1246
  # audiences/5678
@@ -1226,7 +1271,8 @@ module Google
1226
1271
  execute_or_queue_command(command, &block)
1227
1272
  end
1228
1273
 
1229
- # Lists Audiences on a property.
1274
+ # Lists Audiences on a property. Audiences created before 2020 may not be
1275
+ # supported. Default audiences will not show filter definitions.
1230
1276
  # @param [String] parent
1231
1277
  # Required. Example format: properties/1234
1232
1278
  # @param [Fixnum] page_size
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.34.0
4
+ version: 0.37.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-08-01 00:00:00.000000000 Z
11
+ date: 2022-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.37.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: []