google-apis-analyticsadmin_v1alpha 0.34.0 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e8df3f3bfcc3345c17e6f7428c0175b7dbe332958b4486b1882a3f56a06cecf
4
- data.tar.gz: 6b1458f1a8a3ca3a0d2d907397bb77e22f0fb1bec019dddf47849e2935a12a38
3
+ metadata.gz: 13a5b16d0a6618012f6bac9320e09edd0462c2d73df945e7b17cf2eb90b45fec
4
+ data.tar.gz: 3c49a6ce6464ff3a3b639b174472f40904fef6e04f1e77482be3a54d4d753e42
5
5
  SHA512:
6
- metadata.gz: 763dc2e049cc338f1bf614ab6f76357b5459e980f94cbd4ca4d0020ca7430c24e4bd6a9b1e087bf4accd50b9243c71345b34c59024b3c20e1e00e56e617eac84
7
- data.tar.gz: 2e14cd7230e0beb32fd3f9a730d7838fb6b09c2f7381f0c0f03352d875f4679432e3c9557fef9138c7031ed5d98479b4374ab168f1df57acb30e7264f95609fe
6
+ metadata.gz: 6a7ab88cd281972166af606bacc636ea6fa8f56857c01ab27a0d95495c44fcf695975131b92cb8b171e7bdf5ec3f9b782ec853e9207d083542d148a0aa3e0a65
7
+ data.tar.gz: 1ffc02b9748fea12a66de6be14be66af7ed478b8e7776e4b3d38e8f2815a937fb720c420b74a4ce67a47fbcf7f56a142af2ae4a5eae63bf7cf107f3388349226
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-analyticsadmin_v1alpha
2
2
 
3
+ ### v0.35.0 (2022-08-04)
4
+
5
+ * Regenerated from discovery document revision 20220803
6
+
3
7
  ### v0.34.0 (2022-07-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20220725
@@ -22,6 +22,546 @@ 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
+ def initialize(**args)
469
+ update!(**args)
470
+ end
471
+
472
+ # Update properties of this object
473
+ def update!(**args)
474
+ @concurrent_requests = args[:concurrent_requests] if args.key?(:concurrent_requests)
475
+ @server_errors_per_project_per_hour = args[:server_errors_per_project_per_hour] if args.key?(:server_errors_per_project_per_hour)
476
+ @tokens_per_day = args[:tokens_per_day] if args.key?(:tokens_per_day)
477
+ @tokens_per_hour = args[:tokens_per_hour] if args.key?(:tokens_per_hour)
478
+ end
479
+ end
480
+
481
+ # Current state for a particular quota group.
482
+ class GoogleAnalyticsAdminV1alphaAccessQuotaStatus
483
+ include Google::Apis::Core::Hashable
484
+
485
+ # Quota consumed by this request.
486
+ # Corresponds to the JSON property `consumed`
487
+ # @return [Fixnum]
488
+ attr_accessor :consumed
489
+
490
+ # Quota remaining after this request.
491
+ # Corresponds to the JSON property `remaining`
492
+ # @return [Fixnum]
493
+ attr_accessor :remaining
494
+
495
+ def initialize(**args)
496
+ update!(**args)
497
+ end
498
+
499
+ # Update properties of this object
500
+ def update!(**args)
501
+ @consumed = args[:consumed] if args.key?(:consumed)
502
+ @remaining = args[:remaining] if args.key?(:remaining)
503
+ end
504
+ end
505
+
506
+ # Access report data for each row.
507
+ class GoogleAnalyticsAdminV1alphaAccessRow
508
+ include Google::Apis::Core::Hashable
509
+
510
+ # List of dimension values. These values are in the same order as specified in
511
+ # the request.
512
+ # Corresponds to the JSON property `dimensionValues`
513
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionValue>]
514
+ attr_accessor :dimension_values
515
+
516
+ # List of metric values. These values are in the same order as specified in the
517
+ # request.
518
+ # Corresponds to the JSON property `metricValues`
519
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricValue>]
520
+ attr_accessor :metric_values
521
+
522
+ def initialize(**args)
523
+ update!(**args)
524
+ end
525
+
526
+ # Update properties of this object
527
+ def update!(**args)
528
+ @dimension_values = args[:dimension_values] if args.key?(:dimension_values)
529
+ @metric_values = args[:metric_values] if args.key?(:metric_values)
530
+ end
531
+ end
532
+
533
+ # The filter for strings.
534
+ class GoogleAnalyticsAdminV1alphaAccessStringFilter
535
+ include Google::Apis::Core::Hashable
536
+
537
+ # If true, the string value is case sensitive.
538
+ # Corresponds to the JSON property `caseSensitive`
539
+ # @return [Boolean]
540
+ attr_accessor :case_sensitive
541
+ alias_method :case_sensitive?, :case_sensitive
542
+
543
+ # The match type for this filter.
544
+ # Corresponds to the JSON property `matchType`
545
+ # @return [String]
546
+ attr_accessor :match_type
547
+
548
+ # The string value used for the matching.
549
+ # Corresponds to the JSON property `value`
550
+ # @return [String]
551
+ attr_accessor :value
552
+
553
+ def initialize(**args)
554
+ update!(**args)
555
+ end
556
+
557
+ # Update properties of this object
558
+ def update!(**args)
559
+ @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive)
560
+ @match_type = args[:match_type] if args.key?(:match_type)
561
+ @value = args[:value] if args.key?(:value)
562
+ end
563
+ end
564
+
25
565
  # A resource message representing a Google Analytics account.
26
566
  class GoogleAnalyticsAdminV1alphaAccount
27
567
  include Google::Apis::Core::Hashable
@@ -2441,6 +2981,31 @@ module Google
2441
2981
  end
2442
2982
  end
2443
2983
 
2984
+ # To represent a number.
2985
+ class GoogleAnalyticsAdminV1alphaNumericValue
2986
+ include Google::Apis::Core::Hashable
2987
+
2988
+ # Double value
2989
+ # Corresponds to the JSON property `doubleValue`
2990
+ # @return [Float]
2991
+ attr_accessor :double_value
2992
+
2993
+ # Integer value
2994
+ # Corresponds to the JSON property `int64Value`
2995
+ # @return [Fixnum]
2996
+ attr_accessor :int64_value
2997
+
2998
+ def initialize(**args)
2999
+ update!(**args)
3000
+ end
3001
+
3002
+ # Update properties of this object
3003
+ def update!(**args)
3004
+ @double_value = args[:double_value] if args.key?(:double_value)
3005
+ @int64_value = args[:int64_value] if args.key?(:int64_value)
3006
+ end
3007
+ end
3008
+
2444
3009
  # A resource message representing a Google Analytics GA4 property.
2445
3010
  class GoogleAnalyticsAdminV1alphaProperty
2446
3011
  include Google::Apis::Core::Hashable
@@ -2633,6 +3198,159 @@ module Google
2633
3198
  end
2634
3199
  end
2635
3200
 
3201
+ # The request for a Data Access Record Report.
3202
+ class GoogleAnalyticsAdminV1alphaRunAccessReportRequest
3203
+ include Google::Apis::Core::Hashable
3204
+
3205
+ # Date ranges of access records to read. If multiple date ranges are requested,
3206
+ # each response row will contain a zero based date range index. If two date
3207
+ # ranges overlap, the access records for the overlapping days is included in the
3208
+ # response rows for both date ranges. Requests are allowed up to 2 date ranges.
3209
+ # Corresponds to the JSON property `dateRanges`
3210
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDateRange>]
3211
+ attr_accessor :date_ranges
3212
+
3213
+ # Expresses dimension or metric filters. The fields in the same expression need
3214
+ # to be either all dimensions or all metrics.
3215
+ # Corresponds to the JSON property `dimensionFilter`
3216
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression]
3217
+ attr_accessor :dimension_filter
3218
+
3219
+ # The dimensions requested and displayed in the response. Requests are allowed
3220
+ # up to 9 dimensions.
3221
+ # Corresponds to the JSON property `dimensions`
3222
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimension>]
3223
+ attr_accessor :dimensions
3224
+
3225
+ # The number of rows to return. If unspecified, 10,000 rows are returned. The
3226
+ # API returns a maximum of 100,000 rows per request, no matter how many you ask
3227
+ # for. `limit` must be positive. The API may return fewer rows than the
3228
+ # requested `limit`, if there aren't as many remaining rows as the `limit`. For
3229
+ # instance, there are fewer than 300 possible values for the dimension `country`,
3230
+ # so when reporting on only `country`, you can't get more than 300 rows, even
3231
+ # if you set `limit` to a higher value. To learn more about this pagination
3232
+ # parameter, see [Pagination](https://developers.google.com/analytics/devguides/
3233
+ # reporting/data/v1/basics#pagination).
3234
+ # Corresponds to the JSON property `limit`
3235
+ # @return [Fixnum]
3236
+ attr_accessor :limit
3237
+
3238
+ # Expresses dimension or metric filters. The fields in the same expression need
3239
+ # to be either all dimensions or all metrics.
3240
+ # Corresponds to the JSON property `metricFilter`
3241
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression]
3242
+ attr_accessor :metric_filter
3243
+
3244
+ # The metrics requested and displayed in the response. Requests are allowed up
3245
+ # to 10 metrics.
3246
+ # Corresponds to the JSON property `metrics`
3247
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetric>]
3248
+ attr_accessor :metrics
3249
+
3250
+ # The row count of the start row. The first row is counted as row 0. If offset
3251
+ # is unspecified, it is treated as 0. If offset is zero, then this method will
3252
+ # return the first page of results with `limit` entries. To learn more about
3253
+ # this pagination parameter, see [Pagination](https://developers.google.com/
3254
+ # analytics/devguides/reporting/data/v1/basics#pagination).
3255
+ # Corresponds to the JSON property `offset`
3256
+ # @return [Fixnum]
3257
+ attr_accessor :offset
3258
+
3259
+ # Specifies how rows are ordered in the response.
3260
+ # Corresponds to the JSON property `orderBys`
3261
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderBy>]
3262
+ attr_accessor :order_bys
3263
+
3264
+ # Toggles whether to return the current state of this Analytics Property's quota.
3265
+ # Quota is returned in [AccessQuota](#AccessQuota).
3266
+ # Corresponds to the JSON property `returnEntityQuota`
3267
+ # @return [Boolean]
3268
+ attr_accessor :return_entity_quota
3269
+ alias_method :return_entity_quota?, :return_entity_quota
3270
+
3271
+ # This request's time zone if specified. If unspecified, the property's time
3272
+ # zone is used. The request's time zone is used to interpret the start & end
3273
+ # dates of the report. Formatted as strings from the IANA Time Zone database (
3274
+ # https://www.iana.org/time-zones); for example "America/New_York" or "Asia/
3275
+ # Tokyo".
3276
+ # Corresponds to the JSON property `timeZone`
3277
+ # @return [String]
3278
+ attr_accessor :time_zone
3279
+
3280
+ def initialize(**args)
3281
+ update!(**args)
3282
+ end
3283
+
3284
+ # Update properties of this object
3285
+ def update!(**args)
3286
+ @date_ranges = args[:date_ranges] if args.key?(:date_ranges)
3287
+ @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter)
3288
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
3289
+ @limit = args[:limit] if args.key?(:limit)
3290
+ @metric_filter = args[:metric_filter] if args.key?(:metric_filter)
3291
+ @metrics = args[:metrics] if args.key?(:metrics)
3292
+ @offset = args[:offset] if args.key?(:offset)
3293
+ @order_bys = args[:order_bys] if args.key?(:order_bys)
3294
+ @return_entity_quota = args[:return_entity_quota] if args.key?(:return_entity_quota)
3295
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
3296
+ end
3297
+ end
3298
+
3299
+ # The customized Data Access Record Report response.
3300
+ class GoogleAnalyticsAdminV1alphaRunAccessReportResponse
3301
+ include Google::Apis::Core::Hashable
3302
+
3303
+ # The header for a column in the report that corresponds to a specific dimension.
3304
+ # The number of DimensionHeaders and ordering of DimensionHeaders matches the
3305
+ # dimensions present in rows.
3306
+ # Corresponds to the JSON property `dimensionHeaders`
3307
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionHeader>]
3308
+ attr_accessor :dimension_headers
3309
+
3310
+ # The header for a column in the report that corresponds to a specific metric.
3311
+ # The number of MetricHeaders and ordering of MetricHeaders matches the metrics
3312
+ # present in rows.
3313
+ # Corresponds to the JSON property `metricHeaders`
3314
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricHeader>]
3315
+ attr_accessor :metric_headers
3316
+
3317
+ # Current state of all quotas for this Analytics property. If any quota for a
3318
+ # property is exhausted, all requests to that property will return Resource
3319
+ # Exhausted errors.
3320
+ # Corresponds to the JSON property `quota`
3321
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuota]
3322
+ attr_accessor :quota
3323
+
3324
+ # The total number of rows in the query result. `rowCount` is independent of the
3325
+ # number of rows returned in the response, the `limit` request parameter, and
3326
+ # the `offset` request parameter. For example if a query returns 175 rows and
3327
+ # includes `limit` of 50 in the API request, the response will contain `rowCount`
3328
+ # of 175 but only 50 rows. To learn more about this pagination parameter, see [
3329
+ # Pagination](https://developers.google.com/analytics/devguides/reporting/data/
3330
+ # v1/basics#pagination).
3331
+ # Corresponds to the JSON property `rowCount`
3332
+ # @return [Fixnum]
3333
+ attr_accessor :row_count
3334
+
3335
+ # Rows of dimension value combinations and metric values in the report.
3336
+ # Corresponds to the JSON property `rows`
3337
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessRow>]
3338
+ attr_accessor :rows
3339
+
3340
+ def initialize(**args)
3341
+ update!(**args)
3342
+ end
3343
+
3344
+ # Update properties of this object
3345
+ def update!(**args)
3346
+ @dimension_headers = args[:dimension_headers] if args.key?(:dimension_headers)
3347
+ @metric_headers = args[:metric_headers] if args.key?(:metric_headers)
3348
+ @quota = args[:quota] if args.key?(:quota)
3349
+ @row_count = args[:row_count] if args.key?(:row_count)
3350
+ @rows = args[:rows] if args.key?(:rows)
3351
+ end
3352
+ end
3353
+
2636
3354
  # Request message for SearchChangeHistoryEvents RPC.
2637
3355
  class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
2638
3356
  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.35.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 = "20220803"
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,187 @@ 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
+ end
795
+ end
796
+
797
+ class GoogleAnalyticsAdminV1alphaAccessQuotaStatus
798
+ # @private
799
+ class Representation < Google::Apis::Core::JsonRepresentation
800
+ property :consumed, as: 'consumed'
801
+ property :remaining, as: 'remaining'
802
+ end
803
+ end
804
+
805
+ class GoogleAnalyticsAdminV1alphaAccessRow
806
+ # @private
807
+ class Representation < Google::Apis::Core::JsonRepresentation
808
+ collection :dimension_values, as: 'dimensionValues', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionValue, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionValue::Representation
809
+
810
+ collection :metric_values, as: 'metricValues', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricValue, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricValue::Representation
811
+
812
+ end
813
+ end
814
+
815
+ class GoogleAnalyticsAdminV1alphaAccessStringFilter
816
+ # @private
817
+ class Representation < Google::Apis::Core::JsonRepresentation
818
+ property :case_sensitive, as: 'caseSensitive'
819
+ property :match_type, as: 'matchType'
820
+ property :value, as: 'value'
821
+ end
822
+ end
823
+
505
824
  class GoogleAnalyticsAdminV1alphaAccount
506
825
  # @private
507
826
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1206,6 +1525,14 @@ module Google
1206
1525
  end
1207
1526
  end
1208
1527
 
1528
+ class GoogleAnalyticsAdminV1alphaNumericValue
1529
+ # @private
1530
+ class Representation < Google::Apis::Core::JsonRepresentation
1531
+ property :double_value, as: 'doubleValue'
1532
+ property :int64_value, :numeric_string => true, as: 'int64Value'
1533
+ end
1534
+ end
1535
+
1209
1536
  class GoogleAnalyticsAdminV1alphaProperty
1210
1537
  # @private
1211
1538
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1251,6 +1578,43 @@ module Google
1251
1578
  end
1252
1579
  end
1253
1580
 
1581
+ class GoogleAnalyticsAdminV1alphaRunAccessReportRequest
1582
+ # @private
1583
+ class Representation < Google::Apis::Core::JsonRepresentation
1584
+ collection :date_ranges, as: 'dateRanges', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDateRange, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDateRange::Representation
1585
+
1586
+ property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression::Representation
1587
+
1588
+ collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimension, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimension::Representation
1589
+
1590
+ property :limit, :numeric_string => true, as: 'limit'
1591
+ property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression::Representation
1592
+
1593
+ collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetric, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetric::Representation
1594
+
1595
+ property :offset, :numeric_string => true, as: 'offset'
1596
+ collection :order_bys, as: 'orderBys', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderBy, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderBy::Representation
1597
+
1598
+ property :return_entity_quota, as: 'returnEntityQuota'
1599
+ property :time_zone, as: 'timeZone'
1600
+ end
1601
+ end
1602
+
1603
+ class GoogleAnalyticsAdminV1alphaRunAccessReportResponse
1604
+ # @private
1605
+ class Representation < Google::Apis::Core::JsonRepresentation
1606
+ collection :dimension_headers, as: 'dimensionHeaders', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionHeader, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionHeader::Representation
1607
+
1608
+ collection :metric_headers, as: 'metricHeaders', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricHeader, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricHeader::Representation
1609
+
1610
+ property :quota, as: 'quota', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuota, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuota::Representation
1611
+
1612
+ property :row_count, as: 'rowCount'
1613
+ collection :rows, as: 'rows', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessRow, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessRow::Representation
1614
+
1615
+ end
1616
+ end
1617
+
1254
1618
  class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
1255
1619
  # @private
1256
1620
  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.
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.
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.35.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-08-08 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.35.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: []