google-analytics-data-v1beta 0.11.2 → 0.13.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: 48a399817b4c9a15bf8ef86eb7c003bfe79b5a2802d9859740f7d58862d4bac7
4
- data.tar.gz: d017cce0557ace037d5673156dc92e3cbc4519be6b1e24714168d2d0a00c7501
3
+ metadata.gz: 84785b5638dfb241c54ccbc120b6c75813eb60a66bdaccdf1c97f9dc974ac7b6
4
+ data.tar.gz: 7c5d2af9c213cbae1ef19af98491f859ce59ef3673f3f23706cb5de2121a9e91
5
5
  SHA512:
6
- metadata.gz: 25c4bac2eaf9df4f0c8f6a469d7ca4f39145811c1b793171f51f8e92b8947cbb913d71da8fbb959cb757b10b6eb55f5b64edb0a69589736cd42ecb449e619b99
7
- data.tar.gz: 17a2715ec81a927685e14dabb94e5c08abb5976916fae4f83b93e619c863c3ca59c00b17f6f8ab2a566d77008fb1215ac1adfbb44d1290915eedd316482d5c8d
6
+ metadata.gz: 0f2047e4298c81c0b2120a7958c590509439dbec22593c72020d16dd72431e9ffd88b558887a3f989be58ddca9a9e9bb1219dc9b160ef6524b37ad29da724709
7
+ data.tar.gz: 5c6fd5f3a9c18909787f72bcef9840c0b1c6eb23630d87dc6ce469fd310e66ee374cfd39f228df7450ccfdcf852a53597077708c26c285a582e89b4fef9c2595
data/README.md CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.6+.
79
+ This library is supported on Ruby 2.7+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -30,6 +30,9 @@ module Google
30
30
  # Google Analytics reporting data service.
31
31
  #
32
32
  class Client
33
+ # @private
34
+ API_VERSION = ""
35
+
33
36
  # @private
34
37
  DEFAULT_ENDPOINT_TEMPLATE = "analyticsdata.$UNIVERSE_DOMAIN$"
35
38
 
@@ -216,7 +219,7 @@ module Google
216
219
  # @param options [::Gapic::CallOptions, ::Hash]
217
220
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
218
221
  #
219
- # @overload run_report(property: nil, dimensions: nil, metrics: nil, date_ranges: nil, dimension_filter: nil, metric_filter: nil, offset: nil, limit: nil, metric_aggregations: nil, order_bys: nil, currency_code: nil, cohort_spec: nil, keep_empty_rows: nil, return_property_quota: nil)
222
+ # @overload run_report(property: nil, dimensions: nil, metrics: nil, date_ranges: nil, dimension_filter: nil, metric_filter: nil, offset: nil, limit: nil, metric_aggregations: nil, order_bys: nil, currency_code: nil, cohort_spec: nil, keep_empty_rows: nil, return_property_quota: nil, comparisons: nil)
220
223
  # Pass arguments to `run_report` via keyword arguments. Note that at
221
224
  # least one keyword argument is required. To specify no parameters, or to keep all
222
225
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -296,6 +299,10 @@ module Google
296
299
  # @param return_property_quota [::Boolean]
297
300
  # Toggles whether to return the current state of this Analytics Property's
298
301
  # quota. Quota is returned in [PropertyQuota](#PropertyQuota).
302
+ # @param comparisons [::Array<::Google::Analytics::Data::V1beta::Comparison, ::Hash>]
303
+ # Optional. The configuration of comparisons requested and displayed. The
304
+ # request only requires a comparisons field in order to receive a comparison
305
+ # column in the response.
299
306
  #
300
307
  # @yield [response, operation] Access the result along with the RPC operation
301
308
  # @yieldparam response [::Google::Analytics::Data::V1beta::RunReportResponse]
@@ -331,10 +338,11 @@ module Google
331
338
  # Customize the options with defaults
332
339
  metadata = @config.rpcs.run_report.metadata.to_h
333
340
 
334
- # Set x-goog-api-client and x-goog-user-project headers
341
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
335
342
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
336
343
  lib_name: @config.lib_name, lib_version: @config.lib_version,
337
344
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION
345
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
338
346
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
339
347
 
340
348
  header_params = {}
@@ -378,7 +386,7 @@ module Google
378
386
  # @param options [::Gapic::CallOptions, ::Hash]
379
387
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
380
388
  #
381
- # @overload run_pivot_report(property: nil, dimensions: nil, metrics: nil, date_ranges: nil, pivots: nil, dimension_filter: nil, metric_filter: nil, currency_code: nil, cohort_spec: nil, keep_empty_rows: nil, return_property_quota: nil)
389
+ # @overload run_pivot_report(property: nil, dimensions: nil, metrics: nil, date_ranges: nil, pivots: nil, dimension_filter: nil, metric_filter: nil, currency_code: nil, cohort_spec: nil, keep_empty_rows: nil, return_property_quota: nil, comparisons: nil)
382
390
  # Pass arguments to `run_pivot_report` via keyword arguments. Note that at
383
391
  # least one keyword argument is required. To specify no parameters, or to keep all
384
392
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -437,6 +445,10 @@ module Google
437
445
  # @param return_property_quota [::Boolean]
438
446
  # Toggles whether to return the current state of this Analytics Property's
439
447
  # quota. Quota is returned in [PropertyQuota](#PropertyQuota).
448
+ # @param comparisons [::Array<::Google::Analytics::Data::V1beta::Comparison, ::Hash>]
449
+ # Optional. The configuration of comparisons requested and displayed. The
450
+ # request requires both a comparisons field and a comparisons dimension to
451
+ # receive a comparison column in the response.
440
452
  #
441
453
  # @yield [response, operation] Access the result along with the RPC operation
442
454
  # @yieldparam response [::Google::Analytics::Data::V1beta::RunPivotReportResponse]
@@ -472,10 +484,11 @@ module Google
472
484
  # Customize the options with defaults
473
485
  metadata = @config.rpcs.run_pivot_report.metadata.to_h
474
486
 
475
- # Set x-goog-api-client and x-goog-user-project headers
487
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
476
488
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
477
489
  lib_name: @config.lib_name, lib_version: @config.lib_version,
478
490
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION
491
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
479
492
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
480
493
 
481
494
  header_params = {}
@@ -569,10 +582,11 @@ module Google
569
582
  # Customize the options with defaults
570
583
  metadata = @config.rpcs.batch_run_reports.metadata.to_h
571
584
 
572
- # Set x-goog-api-client and x-goog-user-project headers
585
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
573
586
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
574
587
  lib_name: @config.lib_name, lib_version: @config.lib_version,
575
588
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION
589
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
576
590
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
577
591
 
578
592
  header_params = {}
@@ -666,10 +680,11 @@ module Google
666
680
  # Customize the options with defaults
667
681
  metadata = @config.rpcs.batch_run_pivot_reports.metadata.to_h
668
682
 
669
- # Set x-goog-api-client and x-goog-user-project headers
683
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
670
684
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
671
685
  lib_name: @config.lib_name, lib_version: @config.lib_version,
672
686
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION
687
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
673
688
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
674
689
 
675
690
  header_params = {}
@@ -770,10 +785,11 @@ module Google
770
785
  # Customize the options with defaults
771
786
  metadata = @config.rpcs.get_metadata.metadata.to_h
772
787
 
773
- # Set x-goog-api-client and x-goog-user-project headers
788
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
774
789
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
775
790
  lib_name: @config.lib_name, lib_version: @config.lib_version,
776
791
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION
792
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
777
793
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
778
794
 
779
795
  header_params = {}
@@ -901,10 +917,11 @@ module Google
901
917
  # Customize the options with defaults
902
918
  metadata = @config.rpcs.run_realtime_report.metadata.to_h
903
919
 
904
- # Set x-goog-api-client and x-goog-user-project headers
920
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
905
921
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
906
922
  lib_name: @config.lib_name, lib_version: @config.lib_version,
907
923
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION
924
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
908
925
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
909
926
 
910
927
  header_params = {}
@@ -1016,10 +1033,11 @@ module Google
1016
1033
  # Customize the options with defaults
1017
1034
  metadata = @config.rpcs.check_compatibility.metadata.to_h
1018
1035
 
1019
- # Set x-goog-api-client and x-goog-user-project headers
1036
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1020
1037
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1021
1038
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1022
1039
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION
1040
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1023
1041
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1024
1042
 
1025
1043
  header_params = {}
@@ -1135,10 +1153,11 @@ module Google
1135
1153
  # Customize the options with defaults
1136
1154
  metadata = @config.rpcs.create_audience_export.metadata.to_h
1137
1155
 
1138
- # Set x-goog-api-client and x-goog-user-project headers
1156
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1139
1157
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1140
1158
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1141
1159
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION
1160
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1142
1161
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1143
1162
 
1144
1163
  header_params = {}
@@ -1261,10 +1280,11 @@ module Google
1261
1280
  # Customize the options with defaults
1262
1281
  metadata = @config.rpcs.query_audience_export.metadata.to_h
1263
1282
 
1264
- # Set x-goog-api-client and x-goog-user-project headers
1283
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1265
1284
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1266
1285
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1267
1286
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION
1287
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1268
1288
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1269
1289
 
1270
1290
  header_params = {}
@@ -1358,10 +1378,11 @@ module Google
1358
1378
  # Customize the options with defaults
1359
1379
  metadata = @config.rpcs.get_audience_export.metadata.to_h
1360
1380
 
1361
- # Set x-goog-api-client and x-goog-user-project headers
1381
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1362
1382
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1363
1383
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1364
1384
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION
1385
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1365
1386
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1366
1387
 
1367
1388
  header_params = {}
@@ -1473,10 +1494,11 @@ module Google
1473
1494
  # Customize the options with defaults
1474
1495
  metadata = @config.rpcs.list_audience_exports.metadata.to_h
1475
1496
 
1476
- # Set x-goog-api-client and x-goog-user-project headers
1497
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1477
1498
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1478
1499
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1479
1500
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION
1501
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1480
1502
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1481
1503
 
1482
1504
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module AnalyticsData
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "analyticsdata.$UNIVERSE_DOMAIN$"
31
34
 
@@ -191,10 +194,11 @@ module Google
191
194
  # Customize the options with defaults
192
195
  metadata = @config.rpcs.list_operations.metadata.to_h
193
196
 
194
- # Set x-goog-api-client and x-goog-user-project headers
197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
195
198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
196
199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
197
200
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION
201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
198
202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
199
203
 
200
204
  header_params = {}
@@ -287,10 +291,11 @@ module Google
287
291
  # Customize the options with defaults
288
292
  metadata = @config.rpcs.get_operation.metadata.to_h
289
293
 
290
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
297
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
300
 
296
301
  header_params = {}
@@ -376,10 +381,11 @@ module Google
376
381
  # Customize the options with defaults
377
382
  metadata = @config.rpcs.delete_operation.metadata.to_h
378
383
 
379
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
387
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION
388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
390
 
385
391
  header_params = {}
@@ -470,10 +476,11 @@ module Google
470
476
  # Customize the options with defaults
471
477
  metadata = @config.rpcs.cancel_operation.metadata.to_h
472
478
 
473
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
480
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
482
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION
483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
484
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
485
 
479
486
  header_params = {}
@@ -574,10 +581,11 @@ module Google
574
581
  # Customize the options with defaults
575
582
  metadata = @config.rpcs.wait_operation.metadata.to_h
576
583
 
577
- # Set x-goog-api-client and x-goog-user-project headers
584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
578
585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
587
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION
588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
581
589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
582
590
 
583
591
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -32,6 +32,9 @@ module Google
32
32
  # Google Analytics reporting data service.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "analyticsdata.$UNIVERSE_DOMAIN$"
37
40
 
@@ -209,7 +212,7 @@ module Google
209
212
  # @param options [::Gapic::CallOptions, ::Hash]
210
213
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
211
214
  #
212
- # @overload run_report(property: nil, dimensions: nil, metrics: nil, date_ranges: nil, dimension_filter: nil, metric_filter: nil, offset: nil, limit: nil, metric_aggregations: nil, order_bys: nil, currency_code: nil, cohort_spec: nil, keep_empty_rows: nil, return_property_quota: nil)
215
+ # @overload run_report(property: nil, dimensions: nil, metrics: nil, date_ranges: nil, dimension_filter: nil, metric_filter: nil, offset: nil, limit: nil, metric_aggregations: nil, order_bys: nil, currency_code: nil, cohort_spec: nil, keep_empty_rows: nil, return_property_quota: nil, comparisons: nil)
213
216
  # Pass arguments to `run_report` via keyword arguments. Note that at
214
217
  # least one keyword argument is required. To specify no parameters, or to keep all
215
218
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -289,6 +292,10 @@ module Google
289
292
  # @param return_property_quota [::Boolean]
290
293
  # Toggles whether to return the current state of this Analytics Property's
291
294
  # quota. Quota is returned in [PropertyQuota](#PropertyQuota).
295
+ # @param comparisons [::Array<::Google::Analytics::Data::V1beta::Comparison, ::Hash>]
296
+ # Optional. The configuration of comparisons requested and displayed. The
297
+ # request only requires a comparisons field in order to receive a comparison
298
+ # column in the response.
292
299
  # @yield [result, operation] Access the result along with the TransportOperation object
293
300
  # @yieldparam result [::Google::Analytics::Data::V1beta::RunReportResponse]
294
301
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -323,12 +330,13 @@ module Google
323
330
  # Customize the options with defaults
324
331
  call_metadata = @config.rpcs.run_report.metadata.to_h
325
332
 
326
- # Set x-goog-api-client and x-goog-user-project headers
333
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
327
334
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
328
335
  lib_name: @config.lib_name, lib_version: @config.lib_version,
329
336
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION,
330
337
  transports_version_send: [:rest]
331
338
 
339
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
332
340
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
333
341
 
334
342
  options.apply_defaults timeout: @config.rpcs.run_report.timeout,
@@ -364,7 +372,7 @@ module Google
364
372
  # @param options [::Gapic::CallOptions, ::Hash]
365
373
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
366
374
  #
367
- # @overload run_pivot_report(property: nil, dimensions: nil, metrics: nil, date_ranges: nil, pivots: nil, dimension_filter: nil, metric_filter: nil, currency_code: nil, cohort_spec: nil, keep_empty_rows: nil, return_property_quota: nil)
375
+ # @overload run_pivot_report(property: nil, dimensions: nil, metrics: nil, date_ranges: nil, pivots: nil, dimension_filter: nil, metric_filter: nil, currency_code: nil, cohort_spec: nil, keep_empty_rows: nil, return_property_quota: nil, comparisons: nil)
368
376
  # Pass arguments to `run_pivot_report` via keyword arguments. Note that at
369
377
  # least one keyword argument is required. To specify no parameters, or to keep all
370
378
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -423,6 +431,10 @@ module Google
423
431
  # @param return_property_quota [::Boolean]
424
432
  # Toggles whether to return the current state of this Analytics Property's
425
433
  # quota. Quota is returned in [PropertyQuota](#PropertyQuota).
434
+ # @param comparisons [::Array<::Google::Analytics::Data::V1beta::Comparison, ::Hash>]
435
+ # Optional. The configuration of comparisons requested and displayed. The
436
+ # request requires both a comparisons field and a comparisons dimension to
437
+ # receive a comparison column in the response.
426
438
  # @yield [result, operation] Access the result along with the TransportOperation object
427
439
  # @yieldparam result [::Google::Analytics::Data::V1beta::RunPivotReportResponse]
428
440
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -457,12 +469,13 @@ module Google
457
469
  # Customize the options with defaults
458
470
  call_metadata = @config.rpcs.run_pivot_report.metadata.to_h
459
471
 
460
- # Set x-goog-api-client and x-goog-user-project headers
472
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
461
473
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
462
474
  lib_name: @config.lib_name, lib_version: @config.lib_version,
463
475
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION,
464
476
  transports_version_send: [:rest]
465
477
 
478
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
466
479
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
467
480
 
468
481
  options.apply_defaults timeout: @config.rpcs.run_pivot_report.timeout,
@@ -547,12 +560,13 @@ module Google
547
560
  # Customize the options with defaults
548
561
  call_metadata = @config.rpcs.batch_run_reports.metadata.to_h
549
562
 
550
- # Set x-goog-api-client and x-goog-user-project headers
563
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
551
564
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
552
565
  lib_name: @config.lib_name, lib_version: @config.lib_version,
553
566
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION,
554
567
  transports_version_send: [:rest]
555
568
 
569
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
556
570
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
557
571
 
558
572
  options.apply_defaults timeout: @config.rpcs.batch_run_reports.timeout,
@@ -637,12 +651,13 @@ module Google
637
651
  # Customize the options with defaults
638
652
  call_metadata = @config.rpcs.batch_run_pivot_reports.metadata.to_h
639
653
 
640
- # Set x-goog-api-client and x-goog-user-project headers
654
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
641
655
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
642
656
  lib_name: @config.lib_name, lib_version: @config.lib_version,
643
657
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION,
644
658
  transports_version_send: [:rest]
645
659
 
660
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
646
661
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
647
662
 
648
663
  options.apply_defaults timeout: @config.rpcs.batch_run_pivot_reports.timeout,
@@ -734,12 +749,13 @@ module Google
734
749
  # Customize the options with defaults
735
750
  call_metadata = @config.rpcs.get_metadata.metadata.to_h
736
751
 
737
- # Set x-goog-api-client and x-goog-user-project headers
752
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
738
753
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
739
754
  lib_name: @config.lib_name, lib_version: @config.lib_version,
740
755
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION,
741
756
  transports_version_send: [:rest]
742
757
 
758
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
743
759
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
744
760
 
745
761
  options.apply_defaults timeout: @config.rpcs.get_metadata.timeout,
@@ -858,12 +874,13 @@ module Google
858
874
  # Customize the options with defaults
859
875
  call_metadata = @config.rpcs.run_realtime_report.metadata.to_h
860
876
 
861
- # Set x-goog-api-client and x-goog-user-project headers
877
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
862
878
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
863
879
  lib_name: @config.lib_name, lib_version: @config.lib_version,
864
880
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION,
865
881
  transports_version_send: [:rest]
866
882
 
883
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
867
884
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
868
885
 
869
886
  options.apply_defaults timeout: @config.rpcs.run_realtime_report.timeout,
@@ -966,12 +983,13 @@ module Google
966
983
  # Customize the options with defaults
967
984
  call_metadata = @config.rpcs.check_compatibility.metadata.to_h
968
985
 
969
- # Set x-goog-api-client and x-goog-user-project headers
986
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
970
987
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
971
988
  lib_name: @config.lib_name, lib_version: @config.lib_version,
972
989
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION,
973
990
  transports_version_send: [:rest]
974
991
 
992
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
975
993
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
976
994
 
977
995
  options.apply_defaults timeout: @config.rpcs.check_compatibility.timeout,
@@ -1078,12 +1096,13 @@ module Google
1078
1096
  # Customize the options with defaults
1079
1097
  call_metadata = @config.rpcs.create_audience_export.metadata.to_h
1080
1098
 
1081
- # Set x-goog-api-client and x-goog-user-project headers
1099
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1082
1100
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1083
1101
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1084
1102
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION,
1085
1103
  transports_version_send: [:rest]
1086
1104
 
1105
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1087
1106
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1088
1107
 
1089
1108
  options.apply_defaults timeout: @config.rpcs.create_audience_export.timeout,
@@ -1197,12 +1216,13 @@ module Google
1197
1216
  # Customize the options with defaults
1198
1217
  call_metadata = @config.rpcs.query_audience_export.metadata.to_h
1199
1218
 
1200
- # Set x-goog-api-client and x-goog-user-project headers
1219
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1201
1220
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1202
1221
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1203
1222
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION,
1204
1223
  transports_version_send: [:rest]
1205
1224
 
1225
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1206
1226
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1207
1227
 
1208
1228
  options.apply_defaults timeout: @config.rpcs.query_audience_export.timeout,
@@ -1287,12 +1307,13 @@ module Google
1287
1307
  # Customize the options with defaults
1288
1308
  call_metadata = @config.rpcs.get_audience_export.metadata.to_h
1289
1309
 
1290
- # Set x-goog-api-client and x-goog-user-project headers
1310
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1291
1311
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1292
1312
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1293
1313
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION,
1294
1314
  transports_version_send: [:rest]
1295
1315
 
1316
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1296
1317
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1297
1318
 
1298
1319
  options.apply_defaults timeout: @config.rpcs.get_audience_export.timeout,
@@ -1395,12 +1416,13 @@ module Google
1395
1416
  # Customize the options with defaults
1396
1417
  call_metadata = @config.rpcs.list_audience_exports.metadata.to_h
1397
1418
 
1398
- # Set x-goog-api-client and x-goog-user-project headers
1419
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1399
1420
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1400
1421
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1401
1422
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION,
1402
1423
  transports_version_send: [:rest]
1403
1424
 
1425
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1404
1426
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1405
1427
 
1406
1428
  options.apply_defaults timeout: @config.rpcs.list_audience_exports.timeout,
@@ -26,6 +26,9 @@ module Google
26
26
  module Rest
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "analyticsdata.$UNIVERSE_DOMAIN$"
31
34
 
@@ -181,12 +184,13 @@ module Google
181
184
  # Customize the options with defaults
182
185
  call_metadata = @config.rpcs.list_operations.metadata.to_h
183
186
 
184
- # Set x-goog-api-client and x-goog-user-project headers
187
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
185
188
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
186
189
  lib_name: @config.lib_name, lib_version: @config.lib_version,
187
190
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION,
188
191
  transports_version_send: [:rest]
189
192
 
193
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
190
194
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
191
195
 
192
196
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -269,12 +273,13 @@ module Google
269
273
  # Customize the options with defaults
270
274
  call_metadata = @config.rpcs.get_operation.metadata.to_h
271
275
 
272
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
279
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION,
276
280
  transports_version_send: [:rest]
277
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
284
 
280
285
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -351,12 +356,13 @@ module Google
351
356
  # Customize the options with defaults
352
357
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
353
358
 
354
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
355
360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
356
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
357
362
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION,
358
363
  transports_version_send: [:rest]
359
364
 
365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
367
 
362
368
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -438,12 +444,13 @@ module Google
438
444
  # Customize the options with defaults
439
445
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
440
446
 
441
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
442
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
443
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
444
450
  gapic_version: ::Google::Analytics::Data::V1beta::VERSION,
445
451
  transports_version_send: [:rest]
446
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
455
 
449
456
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -13,7 +13,7 @@ require 'google/longrunning/operations_pb'
13
13
  require 'google/protobuf/timestamp_pb'
14
14
 
15
15
 
16
- descriptor_data = "\n5google/analytics/data/v1beta/analytics_data_api.proto\x12\x1cgoogle.analytics.data.v1beta\x1a\'google/analytics/data/v1beta/data.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfd\x02\n\x19\x43heckCompatibilityRequest\x12\x10\n\x08property\x18\x01 \x01(\t\x12;\n\ndimensions\x18\x02 \x03(\x0b\x32\'.google.analytics.data.v1beta.Dimension\x12\x35\n\x07metrics\x18\x03 \x03(\x0b\x32$.google.analytics.data.v1beta.Metric\x12H\n\x10\x64imension_filter\x18\x04 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpression\x12\x45\n\rmetric_filter\x18\x05 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpression\x12I\n\x14\x63ompatibility_filter\x18\x06 \x01(\x0e\x32+.google.analytics.data.v1beta.Compatibility\"\xc8\x01\n\x1a\x43heckCompatibilityResponse\x12W\n\x19\x64imension_compatibilities\x18\x01 \x03(\x0b\x32\x34.google.analytics.data.v1beta.DimensionCompatibility\x12Q\n\x16metric_compatibilities\x18\x02 \x03(\x0b\x32\x31.google.analytics.data.v1beta.MetricCompatibility\"\xe8\x01\n\x08Metadata\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x43\n\ndimensions\x18\x01 \x03(\x0b\x32/.google.analytics.data.v1beta.DimensionMetadata\x12=\n\x07metrics\x18\x02 \x03(\x0b\x32,.google.analytics.data.v1beta.MetricMetadata:J\xea\x41G\n%analyticsdata.googleapis.com/Metadata\x12\x1eproperties/{property}/metadata\"\x9c\x05\n\x10RunReportRequest\x12\x10\n\x08property\x18\x01 \x01(\t\x12;\n\ndimensions\x18\x02 \x03(\x0b\x32\'.google.analytics.data.v1beta.Dimension\x12\x35\n\x07metrics\x18\x03 \x03(\x0b\x32$.google.analytics.data.v1beta.Metric\x12<\n\x0b\x64\x61te_ranges\x18\x04 \x03(\x0b\x32\'.google.analytics.data.v1beta.DateRange\x12H\n\x10\x64imension_filter\x18\x05 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpression\x12\x45\n\rmetric_filter\x18\x06 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpression\x12\x0e\n\x06offset\x18\x07 \x01(\x03\x12\r\n\x05limit\x18\x08 \x01(\x03\x12L\n\x13metric_aggregations\x18\t \x03(\x0e\x32/.google.analytics.data.v1beta.MetricAggregation\x12\x38\n\torder_bys\x18\n \x03(\x0b\x32%.google.analytics.data.v1beta.OrderBy\x12\x15\n\rcurrency_code\x18\x0b \x01(\t\x12=\n\x0b\x63ohort_spec\x18\x0c \x01(\x0b\x32(.google.analytics.data.v1beta.CohortSpec\x12\x17\n\x0fkeep_empty_rows\x18\r \x01(\x08\x12\x1d\n\x15return_property_quota\x18\x0e \x01(\x08\"\x97\x04\n\x11RunReportResponse\x12H\n\x11\x64imension_headers\x18\x01 \x03(\x0b\x32-.google.analytics.data.v1beta.DimensionHeader\x12\x42\n\x0emetric_headers\x18\x02 \x03(\x0b\x32*.google.analytics.data.v1beta.MetricHeader\x12/\n\x04rows\x18\x03 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12\x31\n\x06totals\x18\x04 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12\x33\n\x08maximums\x18\x05 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12\x33\n\x08minimums\x18\x06 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12\x11\n\trow_count\x18\x07 \x01(\x05\x12@\n\x08metadata\x18\x08 \x01(\x0b\x32..google.analytics.data.v1beta.ResponseMetaData\x12\x43\n\x0eproperty_quota\x18\t \x01(\x0b\x32+.google.analytics.data.v1beta.PropertyQuota\x12\x0c\n\x04kind\x18\n \x01(\t\"\xaf\x04\n\x15RunPivotReportRequest\x12\x10\n\x08property\x18\x01 \x01(\t\x12;\n\ndimensions\x18\x02 \x03(\x0b\x32\'.google.analytics.data.v1beta.Dimension\x12\x35\n\x07metrics\x18\x03 \x03(\x0b\x32$.google.analytics.data.v1beta.Metric\x12<\n\x0b\x64\x61te_ranges\x18\x04 \x03(\x0b\x32\'.google.analytics.data.v1beta.DateRange\x12\x33\n\x06pivots\x18\x05 \x03(\x0b\x32#.google.analytics.data.v1beta.Pivot\x12H\n\x10\x64imension_filter\x18\x06 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpression\x12\x45\n\rmetric_filter\x18\x07 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpression\x12\x15\n\rcurrency_code\x18\x08 \x01(\t\x12=\n\x0b\x63ohort_spec\x18\t \x01(\x0b\x32(.google.analytics.data.v1beta.CohortSpec\x12\x17\n\x0fkeep_empty_rows\x18\n \x01(\x08\x12\x1d\n\x15return_property_quota\x18\x0b \x01(\x08\"\xe5\x03\n\x16RunPivotReportResponse\x12@\n\rpivot_headers\x18\x01 \x03(\x0b\x32).google.analytics.data.v1beta.PivotHeader\x12H\n\x11\x64imension_headers\x18\x02 \x03(\x0b\x32-.google.analytics.data.v1beta.DimensionHeader\x12\x42\n\x0emetric_headers\x18\x03 \x03(\x0b\x32*.google.analytics.data.v1beta.MetricHeader\x12/\n\x04rows\x18\x04 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12\x35\n\naggregates\x18\x05 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12@\n\x08metadata\x18\x06 \x01(\x0b\x32..google.analytics.data.v1beta.ResponseMetaData\x12\x43\n\x0eproperty_quota\x18\x07 \x01(\x0b\x32+.google.analytics.data.v1beta.PropertyQuota\x12\x0c\n\x04kind\x18\x08 \x01(\t\"l\n\x16\x42\x61tchRunReportsRequest\x12\x10\n\x08property\x18\x01 \x01(\t\x12@\n\x08requests\x18\x02 \x03(\x0b\x32..google.analytics.data.v1beta.RunReportRequest\"i\n\x17\x42\x61tchRunReportsResponse\x12@\n\x07reports\x18\x01 \x03(\x0b\x32/.google.analytics.data.v1beta.RunReportResponse\x12\x0c\n\x04kind\x18\x02 \x01(\t\"v\n\x1b\x42\x61tchRunPivotReportsRequest\x12\x10\n\x08property\x18\x01 \x01(\t\x12\x45\n\x08requests\x18\x02 \x03(\x0b\x32\x33.google.analytics.data.v1beta.RunPivotReportRequest\"y\n\x1c\x42\x61tchRunPivotReportsResponse\x12K\n\rpivot_reports\x18\x01 \x03(\x0b\x32\x34.google.analytics.data.v1beta.RunPivotReportResponse\x12\x0c\n\x04kind\x18\x02 \x01(\t\"R\n\x12GetMetadataRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe2\x41\x01\x02\xfa\x41\'\n%analyticsdata.googleapis.com/Metadata\"\xa9\x04\n\x18RunRealtimeReportRequest\x12\x10\n\x08property\x18\x01 \x01(\t\x12;\n\ndimensions\x18\x02 \x03(\x0b\x32\'.google.analytics.data.v1beta.Dimension\x12\x35\n\x07metrics\x18\x03 \x03(\x0b\x32$.google.analytics.data.v1beta.Metric\x12H\n\x10\x64imension_filter\x18\x04 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpression\x12\x45\n\rmetric_filter\x18\x05 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpression\x12\r\n\x05limit\x18\x06 \x01(\x03\x12L\n\x13metric_aggregations\x18\x07 \x03(\x0e\x32/.google.analytics.data.v1beta.MetricAggregation\x12\x38\n\torder_bys\x18\x08 \x03(\x0b\x32%.google.analytics.data.v1beta.OrderBy\x12\x1d\n\x15return_property_quota\x18\t \x01(\x08\x12@\n\rminute_ranges\x18\n \x03(\x0b\x32).google.analytics.data.v1beta.MinuteRange\"\xdd\x03\n\x19RunRealtimeReportResponse\x12H\n\x11\x64imension_headers\x18\x01 \x03(\x0b\x32-.google.analytics.data.v1beta.DimensionHeader\x12\x42\n\x0emetric_headers\x18\x02 \x03(\x0b\x32*.google.analytics.data.v1beta.MetricHeader\x12/\n\x04rows\x18\x03 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12\x31\n\x06totals\x18\x04 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12\x33\n\x08maximums\x18\x05 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12\x33\n\x08minimums\x18\x06 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12\x11\n\trow_count\x18\x07 \x01(\x05\x12\x43\n\x0eproperty_quota\x18\x08 \x01(\x0b\x32+.google.analytics.data.v1beta.PropertyQuota\x12\x0c\n\x04kind\x18\t \x01(\t\"^\n\x18GetAudienceExportRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe2\x41\x01\x02\xfa\x41-\n+analyticsdata.googleapis.com/AudienceExport\"\x95\x01\n\x1aListAudienceExportsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe2\x41\x01\x02\xfa\x41-\x12+analyticsdata.googleapis.com/AudienceExport\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\x97\x01\n\x1bListAudienceExportsResponse\x12\x46\n\x10\x61udience_exports\x18\x01 \x03(\x0b\x32,.google.analytics.data.v1beta.AudienceExport\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x12\n\x10_next_page_token\"\xb0\x01\n\x1b\x43reateAudienceExportRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe2\x41\x01\x02\xfa\x41-\x12+analyticsdata.googleapis.com/AudienceExport\x12K\n\x0f\x61udience_export\x18\x02 \x01(\x0b\x32,.google.analytics.data.v1beta.AudienceExportB\x04\xe2\x41\x01\x02\"\x84\x06\n\x0e\x41udienceExport\x12\x13\n\x04name\x18\x01 \x01(\tB\x05\xe2\x41\x02\x08\x03\x12\x16\n\x08\x61udience\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12#\n\x15\x61udience_display_name\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12I\n\ndimensions\x18\x04 \x03(\x0b\x32/.google.analytics.data.v1beta.AudienceDimensionB\x04\xe2\x41\x01\x02\x12L\n\x05state\x18\x05 \x01(\x0e\x32\x32.google.analytics.data.v1beta.AudienceExport.StateB\x04\xe2\x41\x01\x03H\x00\x88\x01\x01\x12\x42\n\x13\x62\x65gin_creating_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03H\x01\x88\x01\x01\x12+\n\x1d\x63reation_quota_tokens_charged\x18\x07 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x1c\n\trow_count\x18\x08 \x01(\x05\x42\x04\xe2\x41\x01\x03H\x02\x88\x01\x01\x12 \n\rerror_message\x18\t \x01(\tB\x04\xe2\x41\x01\x03H\x03\x88\x01\x01\x12\'\n\x14percentage_completed\x18\n \x01(\x01\x42\x04\xe2\x41\x01\x03H\x04\x88\x01\x01\"D\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03:\x8b\x01\xea\x41\x87\x01\n+analyticsdata.googleapis.com/AudienceExport\x12\x37properties/{property}/audienceExports/{audience_export}*\x0f\x61udienceExports2\x0e\x61udienceExportB\x08\n\x06_stateB\x16\n\x14_begin_creating_timeB\x0c\n\n_row_countB\x10\n\x0e_error_messageB\x17\n\x15_percentage_completed\"\x18\n\x16\x41udienceExportMetadata\"[\n\x1aQueryAudienceExportRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x06offset\x18\x02 \x01(\x03\x42\x04\xe2\x41\x01\x01\x12\x13\n\x05limit\x18\x03 \x01(\x03\x42\x04\xe2\x41\x01\x01\"\xe5\x01\n\x1bQueryAudienceExportResponse\x12J\n\x0f\x61udience_export\x18\x01 \x01(\x0b\x32,.google.analytics.data.v1beta.AudienceExportH\x00\x88\x01\x01\x12@\n\raudience_rows\x18\x02 \x03(\x0b\x32).google.analytics.data.v1beta.AudienceRow\x12\x16\n\trow_count\x18\x03 \x01(\x05H\x01\x88\x01\x01\x42\x12\n\x10_audience_exportB\x0c\n\n_row_count\"]\n\x0b\x41udienceRow\x12N\n\x10\x64imension_values\x18\x01 \x03(\x0b\x32\x34.google.analytics.data.v1beta.AudienceDimensionValue\"1\n\x11\x41udienceDimension\x12\x1c\n\x0e\x64imension_name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\"6\n\x16\x41udienceDimensionValue\x12\x0f\n\x05value\x18\x01 \x01(\tH\x00\x42\x0b\n\tone_value2\x87\x12\n\x11\x42\x65taAnalyticsData\x12\xa2\x01\n\tRunReport\x12..google.analytics.data.v1beta.RunReportRequest\x1a/.google.analytics.data.v1beta.RunReportResponse\"4\x82\xd3\xe4\x93\x02.\")/v1beta/{property=properties/*}:runReport:\x01*\x12\xb6\x01\n\x0eRunPivotReport\x12\x33.google.analytics.data.v1beta.RunPivotReportRequest\x1a\x34.google.analytics.data.v1beta.RunPivotReportResponse\"9\x82\xd3\xe4\x93\x02\x33\"./v1beta/{property=properties/*}:runPivotReport:\x01*\x12\xba\x01\n\x0f\x42\x61tchRunReports\x12\x34.google.analytics.data.v1beta.BatchRunReportsRequest\x1a\x35.google.analytics.data.v1beta.BatchRunReportsResponse\":\x82\xd3\xe4\x93\x02\x34\"//v1beta/{property=properties/*}:batchRunReports:\x01*\x12\xce\x01\n\x14\x42\x61tchRunPivotReports\x12\x39.google.analytics.data.v1beta.BatchRunPivotReportsRequest\x1a:.google.analytics.data.v1beta.BatchRunPivotReportsResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/v1beta/{property=properties/*}:batchRunPivotReports:\x01*\x12\x9c\x01\n\x0bGetMetadata\x12\x30.google.analytics.data.v1beta.GetMetadataRequest\x1a&.google.analytics.data.v1beta.Metadata\"3\xda\x41\x04name\x82\xd3\xe4\x93\x02&\x12$/v1beta/{name=properties/*/metadata}\x12\xc2\x01\n\x11RunRealtimeReport\x12\x36.google.analytics.data.v1beta.RunRealtimeReportRequest\x1a\x37.google.analytics.data.v1beta.RunRealtimeReportResponse\"<\x82\xd3\xe4\x93\x02\x36\"1/v1beta/{property=properties/*}:runRealtimeReport:\x01*\x12\xc6\x01\n\x12\x43heckCompatibility\x12\x37.google.analytics.data.v1beta.CheckCompatibilityRequest\x1a\x38.google.analytics.data.v1beta.CheckCompatibilityResponse\"=\x82\xd3\xe4\x93\x02\x37\"2/v1beta/{property=properties/*}:checkCompatibility:\x01*\x12\xfd\x01\n\x14\x43reateAudienceExport\x12\x39.google.analytics.data.v1beta.CreateAudienceExportRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\xca\x41(\n\x0e\x41udienceExport\x12\x16\x41udienceExportMetadata\xda\x41\x16parent,audience_export\x82\xd3\xe4\x93\x02@\"-/v1beta/{parent=properties/*}/audienceExports:\x0f\x61udience_export\x12\xd1\x01\n\x13QueryAudienceExport\x12\x38.google.analytics.data.v1beta.QueryAudienceExportRequest\x1a\x39.google.analytics.data.v1beta.QueryAudienceExportResponse\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\"3/v1beta/{name=properties/*/audienceExports/*}:query:\x01*\x12\xb7\x01\n\x11GetAudienceExport\x12\x36.google.analytics.data.v1beta.GetAudienceExportRequest\x1a,.google.analytics.data.v1beta.AudienceExport\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1beta/{name=properties/*/audienceExports/*}\x12\xca\x01\n\x13ListAudienceExports\x12\x38.google.analytics.data.v1beta.ListAudienceExportsRequest\x1a\x39.google.analytics.data.v1beta.ListAudienceExportsResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1beta/{parent=properties/*}/audienceExports\x1a~\xca\x41\x1c\x61nalyticsdata.googleapis.com\xd2\x41\\https://www.googleapis.com/auth/analytics,https://www.googleapis.com/auth/analytics.readonlyB\xbf\x01\n com.google.analytics.data.v1betaB\x15\x41nalyticsDataApiProtoP\x01Z@google.golang.org/genproto/googleapis/analytics/data/v1beta;data\xea\x41?\n&analyticsadmin.googleapis.com/Property\x12\x15properties/{property}b\x06proto3"
16
+ descriptor_data = "\n5google/analytics/data/v1beta/analytics_data_api.proto\x12\x1cgoogle.analytics.data.v1beta\x1a\'google/analytics/data/v1beta/data.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfd\x02\n\x19\x43heckCompatibilityRequest\x12\x10\n\x08property\x18\x01 \x01(\t\x12;\n\ndimensions\x18\x02 \x03(\x0b\x32\'.google.analytics.data.v1beta.Dimension\x12\x35\n\x07metrics\x18\x03 \x03(\x0b\x32$.google.analytics.data.v1beta.Metric\x12H\n\x10\x64imension_filter\x18\x04 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpression\x12\x45\n\rmetric_filter\x18\x05 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpression\x12I\n\x14\x63ompatibility_filter\x18\x06 \x01(\x0e\x32+.google.analytics.data.v1beta.Compatibility\"\xc8\x01\n\x1a\x43heckCompatibilityResponse\x12W\n\x19\x64imension_compatibilities\x18\x01 \x03(\x0b\x32\x34.google.analytics.data.v1beta.DimensionCompatibility\x12Q\n\x16metric_compatibilities\x18\x02 \x03(\x0b\x32\x31.google.analytics.data.v1beta.MetricCompatibility\"\xaf\x02\n\x08Metadata\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x43\n\ndimensions\x18\x01 \x03(\x0b\x32/.google.analytics.data.v1beta.DimensionMetadata\x12=\n\x07metrics\x18\x02 \x03(\x0b\x32,.google.analytics.data.v1beta.MetricMetadata\x12\x45\n\x0b\x63omparisons\x18\x04 \x03(\x0b\x32\x30.google.analytics.data.v1beta.ComparisonMetadata:J\xea\x41G\n%analyticsdata.googleapis.com/Metadata\x12\x1eproperties/{property}/metadata\"\xe0\x05\n\x10RunReportRequest\x12\x10\n\x08property\x18\x01 \x01(\t\x12;\n\ndimensions\x18\x02 \x03(\x0b\x32\'.google.analytics.data.v1beta.Dimension\x12\x35\n\x07metrics\x18\x03 \x03(\x0b\x32$.google.analytics.data.v1beta.Metric\x12<\n\x0b\x64\x61te_ranges\x18\x04 \x03(\x0b\x32\'.google.analytics.data.v1beta.DateRange\x12H\n\x10\x64imension_filter\x18\x05 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpression\x12\x45\n\rmetric_filter\x18\x06 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpression\x12\x0e\n\x06offset\x18\x07 \x01(\x03\x12\r\n\x05limit\x18\x08 \x01(\x03\x12L\n\x13metric_aggregations\x18\t \x03(\x0e\x32/.google.analytics.data.v1beta.MetricAggregation\x12\x38\n\torder_bys\x18\n \x03(\x0b\x32%.google.analytics.data.v1beta.OrderBy\x12\x15\n\rcurrency_code\x18\x0b \x01(\t\x12=\n\x0b\x63ohort_spec\x18\x0c \x01(\x0b\x32(.google.analytics.data.v1beta.CohortSpec\x12\x17\n\x0fkeep_empty_rows\x18\r \x01(\x08\x12\x1d\n\x15return_property_quota\x18\x0e \x01(\x08\x12\x42\n\x0b\x63omparisons\x18\x0f \x03(\x0b\x32(.google.analytics.data.v1beta.ComparisonB\x03\xe0\x41\x01\"\x97\x04\n\x11RunReportResponse\x12H\n\x11\x64imension_headers\x18\x01 \x03(\x0b\x32-.google.analytics.data.v1beta.DimensionHeader\x12\x42\n\x0emetric_headers\x18\x02 \x03(\x0b\x32*.google.analytics.data.v1beta.MetricHeader\x12/\n\x04rows\x18\x03 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12\x31\n\x06totals\x18\x04 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12\x33\n\x08maximums\x18\x05 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12\x33\n\x08minimums\x18\x06 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12\x11\n\trow_count\x18\x07 \x01(\x05\x12@\n\x08metadata\x18\x08 \x01(\x0b\x32..google.analytics.data.v1beta.ResponseMetaData\x12\x43\n\x0eproperty_quota\x18\t \x01(\x0b\x32+.google.analytics.data.v1beta.PropertyQuota\x12\x0c\n\x04kind\x18\n \x01(\t\"\xf3\x04\n\x15RunPivotReportRequest\x12\x10\n\x08property\x18\x01 \x01(\t\x12;\n\ndimensions\x18\x02 \x03(\x0b\x32\'.google.analytics.data.v1beta.Dimension\x12\x35\n\x07metrics\x18\x03 \x03(\x0b\x32$.google.analytics.data.v1beta.Metric\x12<\n\x0b\x64\x61te_ranges\x18\x04 \x03(\x0b\x32\'.google.analytics.data.v1beta.DateRange\x12\x33\n\x06pivots\x18\x05 \x03(\x0b\x32#.google.analytics.data.v1beta.Pivot\x12H\n\x10\x64imension_filter\x18\x06 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpression\x12\x45\n\rmetric_filter\x18\x07 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpression\x12\x15\n\rcurrency_code\x18\x08 \x01(\t\x12=\n\x0b\x63ohort_spec\x18\t \x01(\x0b\x32(.google.analytics.data.v1beta.CohortSpec\x12\x17\n\x0fkeep_empty_rows\x18\n \x01(\x08\x12\x1d\n\x15return_property_quota\x18\x0b \x01(\x08\x12\x42\n\x0b\x63omparisons\x18\x0c \x03(\x0b\x32(.google.analytics.data.v1beta.ComparisonB\x03\xe0\x41\x01\"\xe5\x03\n\x16RunPivotReportResponse\x12@\n\rpivot_headers\x18\x01 \x03(\x0b\x32).google.analytics.data.v1beta.PivotHeader\x12H\n\x11\x64imension_headers\x18\x02 \x03(\x0b\x32-.google.analytics.data.v1beta.DimensionHeader\x12\x42\n\x0emetric_headers\x18\x03 \x03(\x0b\x32*.google.analytics.data.v1beta.MetricHeader\x12/\n\x04rows\x18\x04 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12\x35\n\naggregates\x18\x05 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12@\n\x08metadata\x18\x06 \x01(\x0b\x32..google.analytics.data.v1beta.ResponseMetaData\x12\x43\n\x0eproperty_quota\x18\x07 \x01(\x0b\x32+.google.analytics.data.v1beta.PropertyQuota\x12\x0c\n\x04kind\x18\x08 \x01(\t\"l\n\x16\x42\x61tchRunReportsRequest\x12\x10\n\x08property\x18\x01 \x01(\t\x12@\n\x08requests\x18\x02 \x03(\x0b\x32..google.analytics.data.v1beta.RunReportRequest\"i\n\x17\x42\x61tchRunReportsResponse\x12@\n\x07reports\x18\x01 \x03(\x0b\x32/.google.analytics.data.v1beta.RunReportResponse\x12\x0c\n\x04kind\x18\x02 \x01(\t\"v\n\x1b\x42\x61tchRunPivotReportsRequest\x12\x10\n\x08property\x18\x01 \x01(\t\x12\x45\n\x08requests\x18\x02 \x03(\x0b\x32\x33.google.analytics.data.v1beta.RunPivotReportRequest\"y\n\x1c\x42\x61tchRunPivotReportsResponse\x12K\n\rpivot_reports\x18\x01 \x03(\x0b\x32\x34.google.analytics.data.v1beta.RunPivotReportResponse\x12\x0c\n\x04kind\x18\x02 \x01(\t\"Q\n\x12GetMetadataRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%analyticsdata.googleapis.com/Metadata\"\xa9\x04\n\x18RunRealtimeReportRequest\x12\x10\n\x08property\x18\x01 \x01(\t\x12;\n\ndimensions\x18\x02 \x03(\x0b\x32\'.google.analytics.data.v1beta.Dimension\x12\x35\n\x07metrics\x18\x03 \x03(\x0b\x32$.google.analytics.data.v1beta.Metric\x12H\n\x10\x64imension_filter\x18\x04 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpression\x12\x45\n\rmetric_filter\x18\x05 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpression\x12\r\n\x05limit\x18\x06 \x01(\x03\x12L\n\x13metric_aggregations\x18\x07 \x03(\x0e\x32/.google.analytics.data.v1beta.MetricAggregation\x12\x38\n\torder_bys\x18\x08 \x03(\x0b\x32%.google.analytics.data.v1beta.OrderBy\x12\x1d\n\x15return_property_quota\x18\t \x01(\x08\x12@\n\rminute_ranges\x18\n \x03(\x0b\x32).google.analytics.data.v1beta.MinuteRange\"\xdd\x03\n\x19RunRealtimeReportResponse\x12H\n\x11\x64imension_headers\x18\x01 \x03(\x0b\x32-.google.analytics.data.v1beta.DimensionHeader\x12\x42\n\x0emetric_headers\x18\x02 \x03(\x0b\x32*.google.analytics.data.v1beta.MetricHeader\x12/\n\x04rows\x18\x03 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12\x31\n\x06totals\x18\x04 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12\x33\n\x08maximums\x18\x05 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12\x33\n\x08minimums\x18\x06 \x03(\x0b\x32!.google.analytics.data.v1beta.Row\x12\x11\n\trow_count\x18\x07 \x01(\x05\x12\x43\n\x0eproperty_quota\x18\x08 \x01(\x0b\x32+.google.analytics.data.v1beta.PropertyQuota\x12\x0c\n\x04kind\x18\t \x01(\t\"]\n\x18GetAudienceExportRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+analyticsdata.googleapis.com/AudienceExport\"\x92\x01\n\x1aListAudienceExportsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+analyticsdata.googleapis.com/AudienceExport\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x97\x01\n\x1bListAudienceExportsResponse\x12\x46\n\x10\x61udience_exports\x18\x01 \x03(\x0b\x32,.google.analytics.data.v1beta.AudienceExport\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x12\n\x10_next_page_token\"\xae\x01\n\x1b\x43reateAudienceExportRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+analyticsdata.googleapis.com/AudienceExport\x12J\n\x0f\x61udience_export\x18\x02 \x01(\x0b\x32,.google.analytics.data.v1beta.AudienceExportB\x03\xe0\x41\x02\"\xfc\x05\n\x0e\x41udienceExport\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x08\xe0\x41\x03\x12\x15\n\x08\x61udience\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\"\n\x15\x61udience_display_name\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12H\n\ndimensions\x18\x04 \x03(\x0b\x32/.google.analytics.data.v1beta.AudienceDimensionB\x03\xe0\x41\x02\x12K\n\x05state\x18\x05 \x01(\x0e\x32\x32.google.analytics.data.v1beta.AudienceExport.StateB\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x41\n\x13\x62\x65gin_creating_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03H\x01\x88\x01\x01\x12*\n\x1d\x63reation_quota_tokens_charged\x18\x07 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1b\n\trow_count\x18\x08 \x01(\x05\x42\x03\xe0\x41\x03H\x02\x88\x01\x01\x12\x1f\n\rerror_message\x18\t \x01(\tB\x03\xe0\x41\x03H\x03\x88\x01\x01\x12&\n\x14percentage_completed\x18\n \x01(\x01\x42\x03\xe0\x41\x03H\x04\x88\x01\x01\"D\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03:\x8b\x01\xea\x41\x87\x01\n+analyticsdata.googleapis.com/AudienceExport\x12\x37properties/{property}/audienceExports/{audience_export}*\x0f\x61udienceExports2\x0e\x61udienceExportB\x08\n\x06_stateB\x16\n\x14_begin_creating_timeB\x0c\n\n_row_countB\x10\n\x0e_error_messageB\x17\n\x15_percentage_completed\"\x18\n\x16\x41udienceExportMetadata\"X\n\x1aQueryAudienceExportRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06offset\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\x12\x12\n\x05limit\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\"\xe5\x01\n\x1bQueryAudienceExportResponse\x12J\n\x0f\x61udience_export\x18\x01 \x01(\x0b\x32,.google.analytics.data.v1beta.AudienceExportH\x00\x88\x01\x01\x12@\n\raudience_rows\x18\x02 \x03(\x0b\x32).google.analytics.data.v1beta.AudienceRow\x12\x16\n\trow_count\x18\x03 \x01(\x05H\x01\x88\x01\x01\x42\x12\n\x10_audience_exportB\x0c\n\n_row_count\"]\n\x0b\x41udienceRow\x12N\n\x10\x64imension_values\x18\x01 \x03(\x0b\x32\x34.google.analytics.data.v1beta.AudienceDimensionValue\"0\n\x11\x41udienceDimension\x12\x1b\n\x0e\x64imension_name\x18\x01 \x01(\tB\x03\xe0\x41\x01\"6\n\x16\x41udienceDimensionValue\x12\x0f\n\x05value\x18\x01 \x01(\tH\x00\x42\x0b\n\tone_value2\x87\x12\n\x11\x42\x65taAnalyticsData\x12\xa2\x01\n\tRunReport\x12..google.analytics.data.v1beta.RunReportRequest\x1a/.google.analytics.data.v1beta.RunReportResponse\"4\x82\xd3\xe4\x93\x02.\")/v1beta/{property=properties/*}:runReport:\x01*\x12\xb6\x01\n\x0eRunPivotReport\x12\x33.google.analytics.data.v1beta.RunPivotReportRequest\x1a\x34.google.analytics.data.v1beta.RunPivotReportResponse\"9\x82\xd3\xe4\x93\x02\x33\"./v1beta/{property=properties/*}:runPivotReport:\x01*\x12\xba\x01\n\x0f\x42\x61tchRunReports\x12\x34.google.analytics.data.v1beta.BatchRunReportsRequest\x1a\x35.google.analytics.data.v1beta.BatchRunReportsResponse\":\x82\xd3\xe4\x93\x02\x34\"//v1beta/{property=properties/*}:batchRunReports:\x01*\x12\xce\x01\n\x14\x42\x61tchRunPivotReports\x12\x39.google.analytics.data.v1beta.BatchRunPivotReportsRequest\x1a:.google.analytics.data.v1beta.BatchRunPivotReportsResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/v1beta/{property=properties/*}:batchRunPivotReports:\x01*\x12\x9c\x01\n\x0bGetMetadata\x12\x30.google.analytics.data.v1beta.GetMetadataRequest\x1a&.google.analytics.data.v1beta.Metadata\"3\xda\x41\x04name\x82\xd3\xe4\x93\x02&\x12$/v1beta/{name=properties/*/metadata}\x12\xc2\x01\n\x11RunRealtimeReport\x12\x36.google.analytics.data.v1beta.RunRealtimeReportRequest\x1a\x37.google.analytics.data.v1beta.RunRealtimeReportResponse\"<\x82\xd3\xe4\x93\x02\x36\"1/v1beta/{property=properties/*}:runRealtimeReport:\x01*\x12\xc6\x01\n\x12\x43heckCompatibility\x12\x37.google.analytics.data.v1beta.CheckCompatibilityRequest\x1a\x38.google.analytics.data.v1beta.CheckCompatibilityResponse\"=\x82\xd3\xe4\x93\x02\x37\"2/v1beta/{property=properties/*}:checkCompatibility:\x01*\x12\xfd\x01\n\x14\x43reateAudienceExport\x12\x39.google.analytics.data.v1beta.CreateAudienceExportRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\xca\x41(\n\x0e\x41udienceExport\x12\x16\x41udienceExportMetadata\xda\x41\x16parent,audience_export\x82\xd3\xe4\x93\x02@\"-/v1beta/{parent=properties/*}/audienceExports:\x0f\x61udience_export\x12\xd1\x01\n\x13QueryAudienceExport\x12\x38.google.analytics.data.v1beta.QueryAudienceExportRequest\x1a\x39.google.analytics.data.v1beta.QueryAudienceExportResponse\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\"3/v1beta/{name=properties/*/audienceExports/*}:query:\x01*\x12\xb7\x01\n\x11GetAudienceExport\x12\x36.google.analytics.data.v1beta.GetAudienceExportRequest\x1a,.google.analytics.data.v1beta.AudienceExport\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1beta/{name=properties/*/audienceExports/*}\x12\xca\x01\n\x13ListAudienceExports\x12\x38.google.analytics.data.v1beta.ListAudienceExportsRequest\x1a\x39.google.analytics.data.v1beta.ListAudienceExportsResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1beta/{parent=properties/*}/audienceExports\x1a~\xca\x41\x1c\x61nalyticsdata.googleapis.com\xd2\x41\\https://www.googleapis.com/auth/analytics,https://www.googleapis.com/auth/analytics.readonlyB\xbf\x01\n com.google.analytics.data.v1betaB\x15\x41nalyticsDataApiProtoP\x01Z@google.golang.org/genproto/googleapis/analytics/data/v1beta;data\xea\x41?\n&analyticsadmin.googleapis.com/Property\x12\x15properties/{property}b\x06proto3"
17
17
 
18
18
  pool = Google::Protobuf::DescriptorPool.generated_pool
19
19
 
@@ -5,7 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n\'google/analytics/data/v1beta/data.proto\x12\x1cgoogle.analytics.data.v1beta\"?\n\tDateRange\x12\x12\n\nstart_date\x18\x01 \x01(\t\x12\x10\n\x08\x65nd_date\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\"\x83\x01\n\x0bMinuteRange\x12\x1e\n\x11start_minutes_ago\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x1c\n\x0f\x65nd_minutes_ago\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x0c\n\x04name\x18\x03 \x01(\tB\x14\n\x12_start_minutes_agoB\x12\n\x10_end_minutes_ago\"j\n\tDimension\x12\x0c\n\x04name\x18\x01 \x01(\t\x12O\n\x14\x64imension_expression\x18\x02 \x01(\x0b\x32\x31.google.analytics.data.v1beta.DimensionExpression\"\xa6\x03\n\x13\x44imensionExpression\x12V\n\nlower_case\x18\x04 \x01(\x0b\x32@.google.analytics.data.v1beta.DimensionExpression.CaseExpressionH\x00\x12V\n\nupper_case\x18\x05 \x01(\x0b\x32@.google.analytics.data.v1beta.DimensionExpression.CaseExpressionH\x00\x12^\n\x0b\x63oncatenate\x18\x06 \x01(\x0b\x32G.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionH\x00\x1a(\n\x0e\x43\x61seExpression\x12\x16\n\x0e\x64imension_name\x18\x01 \x01(\t\x1a\x43\n\x15\x43oncatenateExpression\x12\x17\n\x0f\x64imension_names\x18\x01 \x03(\t\x12\x11\n\tdelimiter\x18\x02 \x01(\tB\x10\n\x0eone_expression\"=\n\x06Metric\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nexpression\x18\x02 \x01(\t\x12\x11\n\tinvisible\x18\x03 \x01(\x08\"\xad\x02\n\x10\x46ilterExpression\x12G\n\tand_group\x18\x01 \x01(\x0b\x32\x32.google.analytics.data.v1beta.FilterExpressionListH\x00\x12\x46\n\x08or_group\x18\x02 \x01(\x0b\x32\x32.google.analytics.data.v1beta.FilterExpressionListH\x00\x12H\n\x0enot_expression\x18\x03 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpressionH\x00\x12\x36\n\x06\x66ilter\x18\x04 \x01(\x0b\x32$.google.analytics.data.v1beta.FilterH\x00\x42\x06\n\x04\x65xpr\"[\n\x14\x46ilterExpressionList\x12\x43\n\x0b\x65xpressions\x18\x01 \x03(\x0b\x32..google.analytics.data.v1beta.FilterExpression\"\xde\x08\n\x06\x46ilter\x12\x12\n\nfield_name\x18\x01 \x01(\t\x12J\n\rstring_filter\x18\x03 \x01(\x0b\x32\x31.google.analytics.data.v1beta.Filter.StringFilterH\x00\x12K\n\x0ein_list_filter\x18\x04 \x01(\x0b\x32\x31.google.analytics.data.v1beta.Filter.InListFilterH\x00\x12L\n\x0enumeric_filter\x18\x05 \x01(\x0b\x32\x32.google.analytics.data.v1beta.Filter.NumericFilterH\x00\x12L\n\x0e\x62\x65tween_filter\x18\x06 \x01(\x0b\x32\x32.google.analytics.data.v1beta.Filter.BetweenFilterH\x00\x1a\x8e\x02\n\x0cStringFilter\x12O\n\nmatch_type\x18\x01 \x01(\x0e\x32;.google.analytics.data.v1beta.Filter.StringFilter.MatchType\x12\r\n\x05value\x18\x02 \x01(\t\x12\x16\n\x0e\x63\x61se_sensitive\x18\x03 \x01(\x08\"\x85\x01\n\tMatchType\x12\x1a\n\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x45XACT\x10\x01\x12\x0f\n\x0b\x42\x45GINS_WITH\x10\x02\x12\r\n\tENDS_WITH\x10\x03\x12\x0c\n\x08\x43ONTAINS\x10\x04\x12\x0f\n\x0b\x46ULL_REGEXP\x10\x05\x12\x12\n\x0ePARTIAL_REGEXP\x10\x06\x1a\x36\n\x0cInListFilter\x12\x0e\n\x06values\x18\x01 \x03(\t\x12\x16\n\x0e\x63\x61se_sensitive\x18\x02 \x01(\x08\x1a\xa3\x02\n\rNumericFilter\x12O\n\toperation\x18\x01 \x01(\x0e\x32<.google.analytics.data.v1beta.Filter.NumericFilter.Operation\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.google.analytics.data.v1beta.NumericValue\"\x85\x01\n\tOperation\x12\x19\n\x15OPERATION_UNSPECIFIED\x10\x00\x12\t\n\x05\x45QUAL\x10\x01\x12\r\n\tLESS_THAN\x10\x02\x12\x16\n\x12LESS_THAN_OR_EQUAL\x10\x03\x12\x10\n\x0cGREATER_THAN\x10\x04\x12\x19\n\x15GREATER_THAN_OR_EQUAL\x10\x05\x1a\x8d\x01\n\rBetweenFilter\x12>\n\nfrom_value\x18\x01 \x01(\x0b\x32*.google.analytics.data.v1beta.NumericValue\x12<\n\x08to_value\x18\x02 \x01(\x0b\x32*.google.analytics.data.v1beta.NumericValueB\x0c\n\none_filter\"\xda\x05\n\x07OrderBy\x12\x45\n\x06metric\x18\x01 \x01(\x0b\x32\x33.google.analytics.data.v1beta.OrderBy.MetricOrderByH\x00\x12K\n\tdimension\x18\x02 \x01(\x0b\x32\x36.google.analytics.data.v1beta.OrderBy.DimensionOrderByH\x00\x12\x43\n\x05pivot\x18\x03 \x01(\x0b\x32\x32.google.analytics.data.v1beta.OrderBy.PivotOrderByH\x00\x12\x0c\n\x04\x64\x65sc\x18\x04 \x01(\x08\x1a$\n\rMetricOrderBy\x12\x13\n\x0bmetric_name\x18\x01 \x01(\t\x1a\xeb\x01\n\x10\x44imensionOrderBy\x12\x16\n\x0e\x64imension_name\x18\x01 \x01(\t\x12T\n\norder_type\x18\x02 \x01(\x0e\x32@.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType\"i\n\tOrderType\x12\x1a\n\x16ORDER_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x41LPHANUMERIC\x10\x01\x12!\n\x1d\x43\x41SE_INSENSITIVE_ALPHANUMERIC\x10\x02\x12\x0b\n\x07NUMERIC\x10\x03\x1a\xc3\x01\n\x0cPivotOrderBy\x12\x13\n\x0bmetric_name\x18\x01 \x01(\t\x12[\n\x10pivot_selections\x18\x02 \x03(\x0b\x32\x41.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection\x1a\x41\n\x0ePivotSelection\x12\x16\n\x0e\x64imension_name\x18\x01 \x01(\t\x12\x17\n\x0f\x64imension_value\x18\x02 \x01(\tB\x0e\n\x0cone_order_by\"\xc3\x01\n\x05Pivot\x12\x13\n\x0b\x66ield_names\x18\x01 \x03(\t\x12\x38\n\torder_bys\x18\x02 \x03(\x0b\x32%.google.analytics.data.v1beta.OrderBy\x12\x0e\n\x06offset\x18\x03 \x01(\x03\x12\r\n\x05limit\x18\x04 \x01(\x03\x12L\n\x13metric_aggregations\x18\x05 \x03(\x0e\x32/.google.analytics.data.v1beta.MetricAggregation\"\xda\x01\n\nCohortSpec\x12\x35\n\x07\x63ohorts\x18\x01 \x03(\x0b\x32$.google.analytics.data.v1beta.Cohort\x12\x41\n\rcohorts_range\x18\x02 \x01(\x0b\x32*.google.analytics.data.v1beta.CohortsRange\x12R\n\x16\x63ohort_report_settings\x18\x03 \x01(\x0b\x32\x32.google.analytics.data.v1beta.CohortReportSettings\"f\n\x06\x43ohort\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tdimension\x18\x02 \x01(\t\x12;\n\ndate_range\x18\x03 \x01(\x0b\x32\'.google.analytics.data.v1beta.DateRange\"\xd5\x01\n\x0c\x43ohortsRange\x12K\n\x0bgranularity\x18\x01 \x01(\x0e\x32\x36.google.analytics.data.v1beta.CohortsRange.Granularity\x12\x14\n\x0cstart_offset\x18\x02 \x01(\x05\x12\x12\n\nend_offset\x18\x03 \x01(\x05\"N\n\x0bGranularity\x12\x1b\n\x17GRANULARITY_UNSPECIFIED\x10\x00\x12\t\n\x05\x44\x41ILY\x10\x01\x12\n\n\x06WEEKLY\x10\x02\x12\x0b\n\x07MONTHLY\x10\x03\"*\n\x14\x43ohortReportSettings\x12\x12\n\naccumulate\x18\x01 \x01(\x08\"\x96\x06\n\x10ResponseMetaData\x12 \n\x18\x64\x61ta_loss_from_other_row\x18\x03 \x01(\x08\x12r\n\x1bschema_restriction_response\x18\x04 \x01(\x0b\x32H.google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponseH\x00\x88\x01\x01\x12\x1a\n\rcurrency_code\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x16\n\ttime_zone\x18\x06 \x01(\tH\x02\x88\x01\x01\x12\x19\n\x0c\x65mpty_reason\x18\x07 \x01(\tH\x03\x88\x01\x01\x12$\n\x17subject_to_thresholding\x18\x08 \x01(\x08H\x04\x88\x01\x01\x12J\n\x12sampling_metadatas\x18\t \x03(\x0b\x32..google.analytics.data.v1beta.SamplingMetadata\x1a\xbd\x02\n\x19SchemaRestrictionResponse\x12\x84\x01\n\x1a\x61\x63tive_metric_restrictions\x18\x01 \x03(\x0b\x32`.google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction\x1a\x98\x01\n\x17\x41\x63tiveMetricRestriction\x12\x18\n\x0bmetric_name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12S\n\x17restricted_metric_types\x18\x02 \x03(\x0e\x32\x32.google.analytics.data.v1beta.RestrictedMetricTypeB\x0e\n\x0c_metric_nameB\x1e\n\x1c_schema_restriction_responseB\x10\n\x0e_currency_codeB\x0c\n\n_time_zoneB\x0f\n\r_empty_reasonB\x1a\n\x18_subject_to_thresholding\"K\n\x10SamplingMetadata\x12\x1a\n\x12samples_read_count\x18\x01 \x01(\x03\x12\x1b\n\x13sampling_space_size\x18\x02 \x01(\x03\"\x1f\n\x0f\x44imensionHeader\x12\x0c\n\x04name\x18\x01 \x01(\t\"T\n\x0cMetricHeader\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x36\n\x04type\x18\x02 \x01(\x0e\x32(.google.analytics.data.v1beta.MetricType\"u\n\x0bPivotHeader\x12S\n\x17pivot_dimension_headers\x18\x01 \x03(\x0b\x32\x32.google.analytics.data.v1beta.PivotDimensionHeader\x12\x11\n\trow_count\x18\x02 \x01(\x05\"^\n\x14PivotDimensionHeader\x12\x46\n\x10\x64imension_values\x18\x01 \x03(\x0b\x32,.google.analytics.data.v1beta.DimensionValue\"\x8f\x01\n\x03Row\x12\x46\n\x10\x64imension_values\x18\x01 \x03(\x0b\x32,.google.analytics.data.v1beta.DimensionValue\x12@\n\rmetric_values\x18\x02 \x03(\x0b\x32).google.analytics.data.v1beta.MetricValue\".\n\x0e\x44imensionValue\x12\x0f\n\x05value\x18\x01 \x01(\tH\x00\x42\x0b\n\tone_value\"+\n\x0bMetricValue\x12\x0f\n\x05value\x18\x04 \x01(\tH\x00\x42\x0b\n\tone_value\"J\n\x0cNumericValue\x12\x15\n\x0bint64_value\x18\x01 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x02 \x01(\x01H\x00\x42\x0b\n\tone_value\"\xe3\x03\n\rPropertyQuota\x12\x41\n\x0etokens_per_day\x18\x01 \x01(\x0b\x32).google.analytics.data.v1beta.QuotaStatus\x12\x42\n\x0ftokens_per_hour\x18\x02 \x01(\x0b\x32).google.analytics.data.v1beta.QuotaStatus\x12\x46\n\x13\x63oncurrent_requests\x18\x03 \x01(\x0b\x32).google.analytics.data.v1beta.QuotaStatus\x12U\n\"server_errors_per_project_per_hour\x18\x04 \x01(\x0b\x32).google.analytics.data.v1beta.QuotaStatus\x12\\\n)potentially_thresholded_requests_per_hour\x18\x05 \x01(\x0b\x32).google.analytics.data.v1beta.QuotaStatus\x12N\n\x1btokens_per_project_per_hour\x18\x06 \x01(\x0b\x32).google.analytics.data.v1beta.QuotaStatus\"W\n\x0bQuotaStatus\x12\x15\n\x08\x63onsumed\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x16\n\tremaining\x18\x02 \x01(\x05H\x01\x88\x01\x01\x42\x0b\n\t_consumedB\x0c\n\n_remaining\"\x96\x01\n\x11\x44imensionMetadata\x12\x10\n\x08\x61pi_name\x18\x01 \x01(\t\x12\x0f\n\x07ui_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1c\n\x14\x64\x65precated_api_names\x18\x04 \x03(\t\x12\x19\n\x11\x63ustom_definition\x18\x05 \x01(\x08\x12\x10\n\x08\x63\x61tegory\x18\x07 \x01(\t\"\x92\x03\n\x0eMetricMetadata\x12\x10\n\x08\x61pi_name\x18\x01 \x01(\t\x12\x0f\n\x07ui_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1c\n\x14\x64\x65precated_api_names\x18\x04 \x03(\t\x12\x36\n\x04type\x18\x05 \x01(\x0e\x32(.google.analytics.data.v1beta.MetricType\x12\x12\n\nexpression\x18\x06 \x01(\t\x12\x19\n\x11\x63ustom_definition\x18\x07 \x01(\x08\x12S\n\x0f\x62locked_reasons\x18\x08 \x03(\x0e\x32:.google.analytics.data.v1beta.MetricMetadata.BlockedReason\x12\x10\n\x08\x63\x61tegory\x18\n \x01(\t\"\\\n\rBlockedReason\x12\x1e\n\x1a\x42LOCKED_REASON_UNSPECIFIED\x10\x00\x12\x16\n\x12NO_REVENUE_METRICS\x10\x01\x12\x13\n\x0fNO_COST_METRICS\x10\x02\"\xdc\x01\n\x16\x44imensionCompatibility\x12P\n\x12\x64imension_metadata\x18\x01 \x01(\x0b\x32/.google.analytics.data.v1beta.DimensionMetadataH\x00\x88\x01\x01\x12G\n\rcompatibility\x18\x02 \x01(\x0e\x32+.google.analytics.data.v1beta.CompatibilityH\x01\x88\x01\x01\x42\x15\n\x13_dimension_metadataB\x10\n\x0e_compatibility\"\xd0\x01\n\x13MetricCompatibility\x12J\n\x0fmetric_metadata\x18\x01 \x01(\x0b\x32,.google.analytics.data.v1beta.MetricMetadataH\x00\x88\x01\x01\x12G\n\rcompatibility\x18\x02 \x01(\x0e\x32+.google.analytics.data.v1beta.CompatibilityH\x01\x88\x01\x01\x42\x12\n\x10_metric_metadataB\x10\n\x0e_compatibility*g\n\x11MetricAggregation\x12\"\n\x1eMETRIC_AGGREGATION_UNSPECIFIED\x10\x00\x12\t\n\x05TOTAL\x10\x01\x12\x0b\n\x07MINIMUM\x10\x05\x12\x0b\n\x07MAXIMUM\x10\x06\x12\t\n\x05\x43OUNT\x10\x04*\x81\x02\n\nMetricType\x12\x1b\n\x17METRIC_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cTYPE_INTEGER\x10\x01\x12\x0e\n\nTYPE_FLOAT\x10\x02\x12\x10\n\x0cTYPE_SECONDS\x10\x04\x12\x15\n\x11TYPE_MILLISECONDS\x10\x05\x12\x10\n\x0cTYPE_MINUTES\x10\x06\x12\x0e\n\nTYPE_HOURS\x10\x07\x12\x11\n\rTYPE_STANDARD\x10\x08\x12\x11\n\rTYPE_CURRENCY\x10\t\x12\r\n\tTYPE_FEET\x10\n\x12\x0e\n\nTYPE_MILES\x10\x0b\x12\x0f\n\x0bTYPE_METERS\x10\x0c\x12\x13\n\x0fTYPE_KILOMETERS\x10\r*_\n\x14RestrictedMetricType\x12&\n\"RESTRICTED_METRIC_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tCOST_DATA\x10\x01\x12\x10\n\x0cREVENUE_DATA\x10\x02*P\n\rCompatibility\x12\x1d\n\x19\x43OMPATIBILITY_UNSPECIFIED\x10\x00\x12\x0e\n\nCOMPATIBLE\x10\x01\x12\x10\n\x0cINCOMPATIBLE\x10\x02\x42y\n com.google.analytics.data.v1betaB\x11ReportingApiProtoP\x01Z@google.golang.org/genproto/googleapis/analytics/data/v1beta;datab\x06proto3"
8
+ descriptor_data = "\n\'google/analytics/data/v1beta/data.proto\x12\x1cgoogle.analytics.data.v1beta\"?\n\tDateRange\x12\x12\n\nstart_date\x18\x01 \x01(\t\x12\x10\n\x08\x65nd_date\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\"\x83\x01\n\x0bMinuteRange\x12\x1e\n\x11start_minutes_ago\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x1c\n\x0f\x65nd_minutes_ago\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x0c\n\x04name\x18\x03 \x01(\tB\x14\n\x12_start_minutes_agoB\x12\n\x10_end_minutes_ago\"j\n\tDimension\x12\x0c\n\x04name\x18\x01 \x01(\t\x12O\n\x14\x64imension_expression\x18\x02 \x01(\x0b\x32\x31.google.analytics.data.v1beta.DimensionExpression\"\xa6\x03\n\x13\x44imensionExpression\x12V\n\nlower_case\x18\x04 \x01(\x0b\x32@.google.analytics.data.v1beta.DimensionExpression.CaseExpressionH\x00\x12V\n\nupper_case\x18\x05 \x01(\x0b\x32@.google.analytics.data.v1beta.DimensionExpression.CaseExpressionH\x00\x12^\n\x0b\x63oncatenate\x18\x06 \x01(\x0b\x32G.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionH\x00\x1a(\n\x0e\x43\x61seExpression\x12\x16\n\x0e\x64imension_name\x18\x01 \x01(\t\x1a\x43\n\x15\x43oncatenateExpression\x12\x17\n\x0f\x64imension_names\x18\x01 \x03(\t\x12\x11\n\tdelimiter\x18\x02 \x01(\tB\x10\n\x0eone_expression\"=\n\x06Metric\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nexpression\x18\x02 \x01(\t\x12\x11\n\tinvisible\x18\x03 \x01(\x08\"\x9c\x01\n\nComparison\x12\x11\n\x04name\x18\x01 \x01(\tH\x01\x88\x01\x01\x12J\n\x10\x64imension_filter\x18\x02 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpressionH\x00\x12\x14\n\ncomparison\x18\x03 \x01(\tH\x00\x42\x10\n\x0eone_comparisonB\x07\n\x05_name\"\xad\x02\n\x10\x46ilterExpression\x12G\n\tand_group\x18\x01 \x01(\x0b\x32\x32.google.analytics.data.v1beta.FilterExpressionListH\x00\x12\x46\n\x08or_group\x18\x02 \x01(\x0b\x32\x32.google.analytics.data.v1beta.FilterExpressionListH\x00\x12H\n\x0enot_expression\x18\x03 \x01(\x0b\x32..google.analytics.data.v1beta.FilterExpressionH\x00\x12\x36\n\x06\x66ilter\x18\x04 \x01(\x0b\x32$.google.analytics.data.v1beta.FilterH\x00\x42\x06\n\x04\x65xpr\"[\n\x14\x46ilterExpressionList\x12\x43\n\x0b\x65xpressions\x18\x01 \x03(\x0b\x32..google.analytics.data.v1beta.FilterExpression\"\xde\x08\n\x06\x46ilter\x12\x12\n\nfield_name\x18\x01 \x01(\t\x12J\n\rstring_filter\x18\x03 \x01(\x0b\x32\x31.google.analytics.data.v1beta.Filter.StringFilterH\x00\x12K\n\x0ein_list_filter\x18\x04 \x01(\x0b\x32\x31.google.analytics.data.v1beta.Filter.InListFilterH\x00\x12L\n\x0enumeric_filter\x18\x05 \x01(\x0b\x32\x32.google.analytics.data.v1beta.Filter.NumericFilterH\x00\x12L\n\x0e\x62\x65tween_filter\x18\x06 \x01(\x0b\x32\x32.google.analytics.data.v1beta.Filter.BetweenFilterH\x00\x1a\x8e\x02\n\x0cStringFilter\x12O\n\nmatch_type\x18\x01 \x01(\x0e\x32;.google.analytics.data.v1beta.Filter.StringFilter.MatchType\x12\r\n\x05value\x18\x02 \x01(\t\x12\x16\n\x0e\x63\x61se_sensitive\x18\x03 \x01(\x08\"\x85\x01\n\tMatchType\x12\x1a\n\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x45XACT\x10\x01\x12\x0f\n\x0b\x42\x45GINS_WITH\x10\x02\x12\r\n\tENDS_WITH\x10\x03\x12\x0c\n\x08\x43ONTAINS\x10\x04\x12\x0f\n\x0b\x46ULL_REGEXP\x10\x05\x12\x12\n\x0ePARTIAL_REGEXP\x10\x06\x1a\x36\n\x0cInListFilter\x12\x0e\n\x06values\x18\x01 \x03(\t\x12\x16\n\x0e\x63\x61se_sensitive\x18\x02 \x01(\x08\x1a\xa3\x02\n\rNumericFilter\x12O\n\toperation\x18\x01 \x01(\x0e\x32<.google.analytics.data.v1beta.Filter.NumericFilter.Operation\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.google.analytics.data.v1beta.NumericValue\"\x85\x01\n\tOperation\x12\x19\n\x15OPERATION_UNSPECIFIED\x10\x00\x12\t\n\x05\x45QUAL\x10\x01\x12\r\n\tLESS_THAN\x10\x02\x12\x16\n\x12LESS_THAN_OR_EQUAL\x10\x03\x12\x10\n\x0cGREATER_THAN\x10\x04\x12\x19\n\x15GREATER_THAN_OR_EQUAL\x10\x05\x1a\x8d\x01\n\rBetweenFilter\x12>\n\nfrom_value\x18\x01 \x01(\x0b\x32*.google.analytics.data.v1beta.NumericValue\x12<\n\x08to_value\x18\x02 \x01(\x0b\x32*.google.analytics.data.v1beta.NumericValueB\x0c\n\none_filter\"\xda\x05\n\x07OrderBy\x12\x45\n\x06metric\x18\x01 \x01(\x0b\x32\x33.google.analytics.data.v1beta.OrderBy.MetricOrderByH\x00\x12K\n\tdimension\x18\x02 \x01(\x0b\x32\x36.google.analytics.data.v1beta.OrderBy.DimensionOrderByH\x00\x12\x43\n\x05pivot\x18\x03 \x01(\x0b\x32\x32.google.analytics.data.v1beta.OrderBy.PivotOrderByH\x00\x12\x0c\n\x04\x64\x65sc\x18\x04 \x01(\x08\x1a$\n\rMetricOrderBy\x12\x13\n\x0bmetric_name\x18\x01 \x01(\t\x1a\xeb\x01\n\x10\x44imensionOrderBy\x12\x16\n\x0e\x64imension_name\x18\x01 \x01(\t\x12T\n\norder_type\x18\x02 \x01(\x0e\x32@.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType\"i\n\tOrderType\x12\x1a\n\x16ORDER_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x41LPHANUMERIC\x10\x01\x12!\n\x1d\x43\x41SE_INSENSITIVE_ALPHANUMERIC\x10\x02\x12\x0b\n\x07NUMERIC\x10\x03\x1a\xc3\x01\n\x0cPivotOrderBy\x12\x13\n\x0bmetric_name\x18\x01 \x01(\t\x12[\n\x10pivot_selections\x18\x02 \x03(\x0b\x32\x41.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection\x1a\x41\n\x0ePivotSelection\x12\x16\n\x0e\x64imension_name\x18\x01 \x01(\t\x12\x17\n\x0f\x64imension_value\x18\x02 \x01(\tB\x0e\n\x0cone_order_by\"\xc3\x01\n\x05Pivot\x12\x13\n\x0b\x66ield_names\x18\x01 \x03(\t\x12\x38\n\torder_bys\x18\x02 \x03(\x0b\x32%.google.analytics.data.v1beta.OrderBy\x12\x0e\n\x06offset\x18\x03 \x01(\x03\x12\r\n\x05limit\x18\x04 \x01(\x03\x12L\n\x13metric_aggregations\x18\x05 \x03(\x0e\x32/.google.analytics.data.v1beta.MetricAggregation\"\xda\x01\n\nCohortSpec\x12\x35\n\x07\x63ohorts\x18\x01 \x03(\x0b\x32$.google.analytics.data.v1beta.Cohort\x12\x41\n\rcohorts_range\x18\x02 \x01(\x0b\x32*.google.analytics.data.v1beta.CohortsRange\x12R\n\x16\x63ohort_report_settings\x18\x03 \x01(\x0b\x32\x32.google.analytics.data.v1beta.CohortReportSettings\"f\n\x06\x43ohort\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tdimension\x18\x02 \x01(\t\x12;\n\ndate_range\x18\x03 \x01(\x0b\x32\'.google.analytics.data.v1beta.DateRange\"\xd5\x01\n\x0c\x43ohortsRange\x12K\n\x0bgranularity\x18\x01 \x01(\x0e\x32\x36.google.analytics.data.v1beta.CohortsRange.Granularity\x12\x14\n\x0cstart_offset\x18\x02 \x01(\x05\x12\x12\n\nend_offset\x18\x03 \x01(\x05\"N\n\x0bGranularity\x12\x1b\n\x17GRANULARITY_UNSPECIFIED\x10\x00\x12\t\n\x05\x44\x41ILY\x10\x01\x12\n\n\x06WEEKLY\x10\x02\x12\x0b\n\x07MONTHLY\x10\x03\"*\n\x14\x43ohortReportSettings\x12\x12\n\naccumulate\x18\x01 \x01(\x08\"\x96\x06\n\x10ResponseMetaData\x12 \n\x18\x64\x61ta_loss_from_other_row\x18\x03 \x01(\x08\x12r\n\x1bschema_restriction_response\x18\x04 \x01(\x0b\x32H.google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponseH\x00\x88\x01\x01\x12\x1a\n\rcurrency_code\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x16\n\ttime_zone\x18\x06 \x01(\tH\x02\x88\x01\x01\x12\x19\n\x0c\x65mpty_reason\x18\x07 \x01(\tH\x03\x88\x01\x01\x12$\n\x17subject_to_thresholding\x18\x08 \x01(\x08H\x04\x88\x01\x01\x12J\n\x12sampling_metadatas\x18\t \x03(\x0b\x32..google.analytics.data.v1beta.SamplingMetadata\x1a\xbd\x02\n\x19SchemaRestrictionResponse\x12\x84\x01\n\x1a\x61\x63tive_metric_restrictions\x18\x01 \x03(\x0b\x32`.google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction\x1a\x98\x01\n\x17\x41\x63tiveMetricRestriction\x12\x18\n\x0bmetric_name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12S\n\x17restricted_metric_types\x18\x02 \x03(\x0e\x32\x32.google.analytics.data.v1beta.RestrictedMetricTypeB\x0e\n\x0c_metric_nameB\x1e\n\x1c_schema_restriction_responseB\x10\n\x0e_currency_codeB\x0c\n\n_time_zoneB\x0f\n\r_empty_reasonB\x1a\n\x18_subject_to_thresholding\"K\n\x10SamplingMetadata\x12\x1a\n\x12samples_read_count\x18\x01 \x01(\x03\x12\x1b\n\x13sampling_space_size\x18\x02 \x01(\x03\"\x1f\n\x0f\x44imensionHeader\x12\x0c\n\x04name\x18\x01 \x01(\t\"T\n\x0cMetricHeader\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x36\n\x04type\x18\x02 \x01(\x0e\x32(.google.analytics.data.v1beta.MetricType\"u\n\x0bPivotHeader\x12S\n\x17pivot_dimension_headers\x18\x01 \x03(\x0b\x32\x32.google.analytics.data.v1beta.PivotDimensionHeader\x12\x11\n\trow_count\x18\x02 \x01(\x05\"^\n\x14PivotDimensionHeader\x12\x46\n\x10\x64imension_values\x18\x01 \x03(\x0b\x32,.google.analytics.data.v1beta.DimensionValue\"\x8f\x01\n\x03Row\x12\x46\n\x10\x64imension_values\x18\x01 \x03(\x0b\x32,.google.analytics.data.v1beta.DimensionValue\x12@\n\rmetric_values\x18\x02 \x03(\x0b\x32).google.analytics.data.v1beta.MetricValue\".\n\x0e\x44imensionValue\x12\x0f\n\x05value\x18\x01 \x01(\tH\x00\x42\x0b\n\tone_value\"+\n\x0bMetricValue\x12\x0f\n\x05value\x18\x04 \x01(\tH\x00\x42\x0b\n\tone_value\"J\n\x0cNumericValue\x12\x15\n\x0bint64_value\x18\x01 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x02 \x01(\x01H\x00\x42\x0b\n\tone_value\"\xe3\x03\n\rPropertyQuota\x12\x41\n\x0etokens_per_day\x18\x01 \x01(\x0b\x32).google.analytics.data.v1beta.QuotaStatus\x12\x42\n\x0ftokens_per_hour\x18\x02 \x01(\x0b\x32).google.analytics.data.v1beta.QuotaStatus\x12\x46\n\x13\x63oncurrent_requests\x18\x03 \x01(\x0b\x32).google.analytics.data.v1beta.QuotaStatus\x12U\n\"server_errors_per_project_per_hour\x18\x04 \x01(\x0b\x32).google.analytics.data.v1beta.QuotaStatus\x12\\\n)potentially_thresholded_requests_per_hour\x18\x05 \x01(\x0b\x32).google.analytics.data.v1beta.QuotaStatus\x12N\n\x1btokens_per_project_per_hour\x18\x06 \x01(\x0b\x32).google.analytics.data.v1beta.QuotaStatus\"W\n\x0bQuotaStatus\x12\x15\n\x08\x63onsumed\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x16\n\tremaining\x18\x02 \x01(\x05H\x01\x88\x01\x01\x42\x0b\n\t_consumedB\x0c\n\n_remaining\"\x96\x01\n\x11\x44imensionMetadata\x12\x10\n\x08\x61pi_name\x18\x01 \x01(\t\x12\x0f\n\x07ui_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1c\n\x14\x64\x65precated_api_names\x18\x04 \x03(\t\x12\x19\n\x11\x63ustom_definition\x18\x05 \x01(\x08\x12\x10\n\x08\x63\x61tegory\x18\x07 \x01(\t\"\x92\x03\n\x0eMetricMetadata\x12\x10\n\x08\x61pi_name\x18\x01 \x01(\t\x12\x0f\n\x07ui_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1c\n\x14\x64\x65precated_api_names\x18\x04 \x03(\t\x12\x36\n\x04type\x18\x05 \x01(\x0e\x32(.google.analytics.data.v1beta.MetricType\x12\x12\n\nexpression\x18\x06 \x01(\t\x12\x19\n\x11\x63ustom_definition\x18\x07 \x01(\x08\x12S\n\x0f\x62locked_reasons\x18\x08 \x03(\x0e\x32:.google.analytics.data.v1beta.MetricMetadata.BlockedReason\x12\x10\n\x08\x63\x61tegory\x18\n \x01(\t\"\\\n\rBlockedReason\x12\x1e\n\x1a\x42LOCKED_REASON_UNSPECIFIED\x10\x00\x12\x16\n\x12NO_REVENUE_METRICS\x10\x01\x12\x13\n\x0fNO_COST_METRICS\x10\x02\"L\n\x12\x43omparisonMetadata\x12\x10\n\x08\x61pi_name\x18\x01 \x01(\t\x12\x0f\n\x07ui_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"\xdc\x01\n\x16\x44imensionCompatibility\x12P\n\x12\x64imension_metadata\x18\x01 \x01(\x0b\x32/.google.analytics.data.v1beta.DimensionMetadataH\x00\x88\x01\x01\x12G\n\rcompatibility\x18\x02 \x01(\x0e\x32+.google.analytics.data.v1beta.CompatibilityH\x01\x88\x01\x01\x42\x15\n\x13_dimension_metadataB\x10\n\x0e_compatibility\"\xd0\x01\n\x13MetricCompatibility\x12J\n\x0fmetric_metadata\x18\x01 \x01(\x0b\x32,.google.analytics.data.v1beta.MetricMetadataH\x00\x88\x01\x01\x12G\n\rcompatibility\x18\x02 \x01(\x0e\x32+.google.analytics.data.v1beta.CompatibilityH\x01\x88\x01\x01\x42\x12\n\x10_metric_metadataB\x10\n\x0e_compatibility*g\n\x11MetricAggregation\x12\"\n\x1eMETRIC_AGGREGATION_UNSPECIFIED\x10\x00\x12\t\n\x05TOTAL\x10\x01\x12\x0b\n\x07MINIMUM\x10\x05\x12\x0b\n\x07MAXIMUM\x10\x06\x12\t\n\x05\x43OUNT\x10\x04*\x81\x02\n\nMetricType\x12\x1b\n\x17METRIC_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cTYPE_INTEGER\x10\x01\x12\x0e\n\nTYPE_FLOAT\x10\x02\x12\x10\n\x0cTYPE_SECONDS\x10\x04\x12\x15\n\x11TYPE_MILLISECONDS\x10\x05\x12\x10\n\x0cTYPE_MINUTES\x10\x06\x12\x0e\n\nTYPE_HOURS\x10\x07\x12\x11\n\rTYPE_STANDARD\x10\x08\x12\x11\n\rTYPE_CURRENCY\x10\t\x12\r\n\tTYPE_FEET\x10\n\x12\x0e\n\nTYPE_MILES\x10\x0b\x12\x0f\n\x0bTYPE_METERS\x10\x0c\x12\x13\n\x0fTYPE_KILOMETERS\x10\r*_\n\x14RestrictedMetricType\x12&\n\"RESTRICTED_METRIC_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tCOST_DATA\x10\x01\x12\x10\n\x0cREVENUE_DATA\x10\x02*P\n\rCompatibility\x12\x1d\n\x19\x43OMPATIBILITY_UNSPECIFIED\x10\x00\x12\x0e\n\nCOMPATIBLE\x10\x01\x12\x10\n\x0cINCOMPATIBLE\x10\x02\x42y\n com.google.analytics.data.v1betaB\x11ReportingApiProtoP\x01Z@google.golang.org/genproto/googleapis/analytics/data/v1beta;datab\x06proto3"
9
9
 
10
10
  pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
 
@@ -42,6 +42,7 @@ module Google
42
42
  DimensionExpression::CaseExpression = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.DimensionExpression.CaseExpression").msgclass
43
43
  DimensionExpression::ConcatenateExpression = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression").msgclass
44
44
  Metric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.Metric").msgclass
45
+ Comparison = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.Comparison").msgclass
45
46
  FilterExpression = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.FilterExpression").msgclass
46
47
  FilterExpressionList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.FilterExpressionList").msgclass
47
48
  Filter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.Filter").msgclass
@@ -80,6 +81,7 @@ module Google
80
81
  DimensionMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.DimensionMetadata").msgclass
81
82
  MetricMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.MetricMetadata").msgclass
82
83
  MetricMetadata::BlockedReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.MetricMetadata.BlockedReason").enummodule
84
+ ComparisonMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.ComparisonMetadata").msgclass
83
85
  DimensionCompatibility = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.DimensionCompatibility").msgclass
84
86
  MetricCompatibility = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.MetricCompatibility").msgclass
85
87
  MetricAggregation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.MetricAggregation").enummodule
@@ -21,7 +21,7 @@ module Google
21
21
  module Analytics
22
22
  module Data
23
23
  module V1beta
24
- VERSION = "0.11.2"
24
+ VERSION = "0.13.0"
25
25
  end
26
26
  end
27
27
  end
@@ -82,6 +82,9 @@ module Google
82
82
  # @!attribute [rw] metrics
83
83
  # @return [::Array<::Google::Analytics::Data::V1beta::MetricMetadata>]
84
84
  # The metric descriptions.
85
+ # @!attribute [rw] comparisons
86
+ # @return [::Array<::Google::Analytics::Data::V1beta::ComparisonMetadata>]
87
+ # The comparison descriptions.
85
88
  class Metadata
86
89
  include ::Google::Protobuf::MessageExts
87
90
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -177,6 +180,11 @@ module Google
177
180
  # @return [::Boolean]
178
181
  # Toggles whether to return the current state of this Analytics Property's
179
182
  # quota. Quota is returned in [PropertyQuota](#PropertyQuota).
183
+ # @!attribute [rw] comparisons
184
+ # @return [::Array<::Google::Analytics::Data::V1beta::Comparison>]
185
+ # Optional. The configuration of comparisons requested and displayed. The
186
+ # request only requires a comparisons field in order to receive a comparison
187
+ # column in the response.
180
188
  class RunReportRequest
181
189
  include ::Google::Protobuf::MessageExts
182
190
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -295,6 +303,11 @@ module Google
295
303
  # @return [::Boolean]
296
304
  # Toggles whether to return the current state of this Analytics Property's
297
305
  # quota. Quota is returned in [PropertyQuota](#PropertyQuota).
306
+ # @!attribute [rw] comparisons
307
+ # @return [::Array<::Google::Analytics::Data::V1beta::Comparison>]
308
+ # Optional. The configuration of comparisons requested and displayed. The
309
+ # request requires both a comparisons field and a comparisons dimension to
310
+ # receive a comparison column in the response.
298
311
  class RunPivotReportRequest
299
312
  include ::Google::Protobuf::MessageExts
300
313
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -204,6 +204,25 @@ module Google
204
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
205
  end
206
206
 
207
+ # Defines an individual comparison. Most requests will include multiple
208
+ # comparisons so that the report compares between the comparisons.
209
+ # @!attribute [rw] name
210
+ # @return [::String]
211
+ # Each comparison produces separate rows in the response. In the response,
212
+ # this comparison is identified by this name. If name is unspecified, we will
213
+ # use the saved comparisons display name.
214
+ # @!attribute [rw] dimension_filter
215
+ # @return [::Google::Analytics::Data::V1beta::FilterExpression]
216
+ # A basic comparison.
217
+ # @!attribute [rw] comparison
218
+ # @return [::String]
219
+ # A saved comparison identified by the comparison's resource name.
220
+ # For example, 'comparisons/1234'.
221
+ class Comparison
222
+ include ::Google::Protobuf::MessageExts
223
+ extend ::Google::Protobuf::MessageExts::ClassMethods
224
+ end
225
+
207
226
  # To express dimension or metric filters. The fields in the same
208
227
  # FilterExpression need to be either all dimensions or all metrics.
209
228
  # @!attribute [rw] and_group
@@ -955,7 +974,11 @@ module Google
955
974
  # available only by `apiName`.
956
975
  # @!attribute [rw] custom_definition
957
976
  # @return [::Boolean]
958
- # True if the dimension is a custom dimension for this property.
977
+ # True if the dimension is custom to this property. This includes user,
978
+ # event, & item scoped custom dimensions; to learn more about custom
979
+ # dimensions, see https://support.google.com/analytics/answer/14240153. This
980
+ # also include custom channel groups; to learn more about custom channel
981
+ # groups, see https://support.google.com/analytics/answer/13051316.
959
982
  # @!attribute [rw] category
960
983
  # @return [::String]
961
984
  # The display name of the category that this dimension belongs to. Similar
@@ -1027,6 +1050,22 @@ module Google
1027
1050
  end
1028
1051
  end
1029
1052
 
1053
+ # The metadata for a single comparison.
1054
+ # @!attribute [rw] api_name
1055
+ # @return [::String]
1056
+ # This comparison's resource name. Useable in [Comparison](#Comparison)'s
1057
+ # `comparison` field. For example, 'comparisons/1234'.
1058
+ # @!attribute [rw] ui_name
1059
+ # @return [::String]
1060
+ # This comparison's name within the Google Analytics user interface.
1061
+ # @!attribute [rw] description
1062
+ # @return [::String]
1063
+ # This comparison's description.
1064
+ class ComparisonMetadata
1065
+ include ::Google::Protobuf::MessageExts
1066
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1067
+ end
1068
+
1030
1069
  # The compatibility for a single dimension.
1031
1070
  # @!attribute [rw] dimension_metadata
1032
1071
  # @return [::Google::Analytics::Data::V1beta::DimensionMetadata]
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -286,6 +290,13 @@ module Google
286
290
  # @return [::String]
287
291
  # The fully qualified name of the method, for which the options below apply.
288
292
  # This is used to find the method to apply the options.
293
+ #
294
+ # Example:
295
+ #
296
+ # publishing:
297
+ # method_settings:
298
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
299
+ # # method settings for CreateFolder...
289
300
  # @!attribute [rw] long_running
290
301
  # @return [::Google::Api::MethodSettings::LongRunning]
291
302
  # Describes settings to use for long-running operations when generating
@@ -294,17 +305,14 @@ module Google
294
305
  #
295
306
  # Example of a YAML configuration::
296
307
  #
297
- # publishing:
298
- # method_settings:
308
+ # publishing:
309
+ # method_settings:
299
310
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
311
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
312
+ # initial_poll_delay: 60s # 1 minute
303
313
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
314
+ # max_poll_delay: 360s # 6 minutes
315
+ # total_poll_timeout: 54000s # 90 minutes
308
316
  # @!attribute [rw] auto_populated_fields
309
317
  # @return [::Array<::String>]
310
318
  # List of top-level fields of the request message, that should be
@@ -313,8 +321,8 @@ module Google
313
321
  #
314
322
  # Example of a YAML configuration:
315
323
  #
316
- # publishing:
317
- # method_settings:
324
+ # publishing:
325
+ # method_settings:
318
326
  # - selector: google.example.v1.ExampleService.CreateExample
319
327
  # auto_populated_fields:
320
328
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-analytics-data-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.2
4
+ version: 0.13.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: 2024-02-01 00:00:00.000000000 Z
11
+ date: 2024-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -44,118 +44,6 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1.0'
47
- - !ruby/object:Gem::Dependency
48
- name: google-style
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: 1.26.3
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: 1.26.3
61
- - !ruby/object:Gem::Dependency
62
- name: minitest
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '5.16'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '5.16'
75
- - !ruby/object:Gem::Dependency
76
- name: minitest-focus
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '1.1'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '1.1'
89
- - !ruby/object:Gem::Dependency
90
- name: minitest-rg
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '5.2'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '5.2'
103
- - !ruby/object:Gem::Dependency
104
- name: rake
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: '13.0'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- version: '13.0'
117
- - !ruby/object:Gem::Dependency
118
- name: redcarpet
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '3.0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '3.0'
131
- - !ruby/object:Gem::Dependency
132
- name: simplecov
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '0.18'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '0.18'
145
- - !ruby/object:Gem::Dependency
146
- name: yard
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '0.9'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '0.9'
159
47
  description: The Google Analytics Data API provides programmatic methods to access
160
48
  report data in Google Analytics 4 (GA4) properties. Google Analytics 4 helps you
161
49
  understand how people use your web, iOS, or Android app. Note that google-analytics-data-v1beta
@@ -211,14 +99,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
211
99
  requirements:
212
100
  - - ">="
213
101
  - !ruby/object:Gem::Version
214
- version: '2.6'
102
+ version: '2.7'
215
103
  required_rubygems_version: !ruby/object:Gem::Requirement
216
104
  requirements:
217
105
  - - ">="
218
106
  - !ruby/object:Gem::Version
219
107
  version: '0'
220
108
  requirements: []
221
- rubygems_version: 3.5.3
109
+ rubygems_version: 3.5.6
222
110
  signing_key:
223
111
  specification_version: 4
224
112
  summary: 'Accesses report data in Google Analytics. Warning: Creating multiple Customer