google-analytics-data-v1beta 0.13.1 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,8 @@ module Google
30
30
  # including transcoding, making the REST call, and deserialing the response.
31
31
  #
32
32
  class ServiceStub
33
- def initialize endpoint:, endpoint_template:, universe_domain:, credentials:
33
+ # @private
34
+ def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
34
35
  # These require statements are intentionally placed here to initialize
35
36
  # the REST modules only when it's required.
36
37
  require "gapic/rest"
@@ -40,7 +41,9 @@ module Google
40
41
  universe_domain: universe_domain,
41
42
  credentials: credentials,
42
43
  numeric_enums: true,
43
- raise_faraday_errors: false
44
+ service_name: self.class,
45
+ raise_faraday_errors: false,
46
+ logger: logger
44
47
  end
45
48
 
46
49
  ##
@@ -61,6 +64,15 @@ module Google
61
64
  @client_stub.endpoint
62
65
  end
63
66
 
67
+ ##
68
+ # The logger used for request/response debug logging.
69
+ #
70
+ # @return [Logger]
71
+ #
72
+ def logger stub: false
73
+ stub ? @client_stub.stub_logger : @client_stub.logger
74
+ end
75
+
64
76
  ##
65
77
  # Baseline implementation for the run_report REST call
66
78
  #
@@ -87,16 +99,18 @@ module Google
87
99
 
88
100
  response = @client_stub.make_http_request(
89
101
  verb,
90
- uri: uri,
91
- body: body || "",
92
- params: query_string_params,
102
+ uri: uri,
103
+ body: body || "",
104
+ params: query_string_params,
105
+ method_name: "run_report",
93
106
  options: options
94
107
  )
95
108
  operation = ::Gapic::Rest::TransportOperation.new response
96
109
  result = ::Google::Analytics::Data::V1beta::RunReportResponse.decode_json response.body, ignore_unknown_fields: true
97
-
98
- yield result, operation if block_given?
99
- result
110
+ catch :response do
111
+ yield result, operation if block_given?
112
+ result
113
+ end
100
114
  end
101
115
 
102
116
  ##
@@ -125,16 +139,18 @@ module Google
125
139
 
126
140
  response = @client_stub.make_http_request(
127
141
  verb,
128
- uri: uri,
129
- body: body || "",
130
- params: query_string_params,
142
+ uri: uri,
143
+ body: body || "",
144
+ params: query_string_params,
145
+ method_name: "run_pivot_report",
131
146
  options: options
132
147
  )
133
148
  operation = ::Gapic::Rest::TransportOperation.new response
134
149
  result = ::Google::Analytics::Data::V1beta::RunPivotReportResponse.decode_json response.body, ignore_unknown_fields: true
135
-
136
- yield result, operation if block_given?
137
- result
150
+ catch :response do
151
+ yield result, operation if block_given?
152
+ result
153
+ end
138
154
  end
139
155
 
140
156
  ##
@@ -163,16 +179,18 @@ module Google
163
179
 
164
180
  response = @client_stub.make_http_request(
165
181
  verb,
166
- uri: uri,
167
- body: body || "",
168
- params: query_string_params,
182
+ uri: uri,
183
+ body: body || "",
184
+ params: query_string_params,
185
+ method_name: "batch_run_reports",
169
186
  options: options
170
187
  )
171
188
  operation = ::Gapic::Rest::TransportOperation.new response
172
189
  result = ::Google::Analytics::Data::V1beta::BatchRunReportsResponse.decode_json response.body, ignore_unknown_fields: true
173
-
174
- yield result, operation if block_given?
175
- result
190
+ catch :response do
191
+ yield result, operation if block_given?
192
+ result
193
+ end
176
194
  end
177
195
 
178
196
  ##
@@ -201,16 +219,18 @@ module Google
201
219
 
202
220
  response = @client_stub.make_http_request(
203
221
  verb,
204
- uri: uri,
205
- body: body || "",
206
- params: query_string_params,
222
+ uri: uri,
223
+ body: body || "",
224
+ params: query_string_params,
225
+ method_name: "batch_run_pivot_reports",
207
226
  options: options
208
227
  )
209
228
  operation = ::Gapic::Rest::TransportOperation.new response
210
229
  result = ::Google::Analytics::Data::V1beta::BatchRunPivotReportsResponse.decode_json response.body, ignore_unknown_fields: true
211
-
212
- yield result, operation if block_given?
213
- result
230
+ catch :response do
231
+ yield result, operation if block_given?
232
+ result
233
+ end
214
234
  end
215
235
 
216
236
  ##
@@ -239,16 +259,18 @@ module Google
239
259
 
240
260
  response = @client_stub.make_http_request(
241
261
  verb,
242
- uri: uri,
243
- body: body || "",
244
- params: query_string_params,
262
+ uri: uri,
263
+ body: body || "",
264
+ params: query_string_params,
265
+ method_name: "get_metadata",
245
266
  options: options
246
267
  )
247
268
  operation = ::Gapic::Rest::TransportOperation.new response
248
269
  result = ::Google::Analytics::Data::V1beta::Metadata.decode_json response.body, ignore_unknown_fields: true
249
-
250
- yield result, operation if block_given?
251
- result
270
+ catch :response do
271
+ yield result, operation if block_given?
272
+ result
273
+ end
252
274
  end
253
275
 
254
276
  ##
@@ -277,16 +299,18 @@ module Google
277
299
 
278
300
  response = @client_stub.make_http_request(
279
301
  verb,
280
- uri: uri,
281
- body: body || "",
282
- params: query_string_params,
302
+ uri: uri,
303
+ body: body || "",
304
+ params: query_string_params,
305
+ method_name: "run_realtime_report",
283
306
  options: options
284
307
  )
285
308
  operation = ::Gapic::Rest::TransportOperation.new response
286
309
  result = ::Google::Analytics::Data::V1beta::RunRealtimeReportResponse.decode_json response.body, ignore_unknown_fields: true
287
-
288
- yield result, operation if block_given?
289
- result
310
+ catch :response do
311
+ yield result, operation if block_given?
312
+ result
313
+ end
290
314
  end
291
315
 
292
316
  ##
@@ -315,16 +339,18 @@ module Google
315
339
 
316
340
  response = @client_stub.make_http_request(
317
341
  verb,
318
- uri: uri,
319
- body: body || "",
320
- params: query_string_params,
342
+ uri: uri,
343
+ body: body || "",
344
+ params: query_string_params,
345
+ method_name: "check_compatibility",
321
346
  options: options
322
347
  )
323
348
  operation = ::Gapic::Rest::TransportOperation.new response
324
349
  result = ::Google::Analytics::Data::V1beta::CheckCompatibilityResponse.decode_json response.body, ignore_unknown_fields: true
325
-
326
- yield result, operation if block_given?
327
- result
350
+ catch :response do
351
+ yield result, operation if block_given?
352
+ result
353
+ end
328
354
  end
329
355
 
330
356
  ##
@@ -353,16 +379,18 @@ module Google
353
379
 
354
380
  response = @client_stub.make_http_request(
355
381
  verb,
356
- uri: uri,
357
- body: body || "",
358
- params: query_string_params,
382
+ uri: uri,
383
+ body: body || "",
384
+ params: query_string_params,
385
+ method_name: "create_audience_export",
359
386
  options: options
360
387
  )
361
388
  operation = ::Gapic::Rest::TransportOperation.new response
362
389
  result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
363
-
364
- yield result, operation if block_given?
365
- result
390
+ catch :response do
391
+ yield result, operation if block_given?
392
+ result
393
+ end
366
394
  end
367
395
 
368
396
  ##
@@ -391,16 +419,18 @@ module Google
391
419
 
392
420
  response = @client_stub.make_http_request(
393
421
  verb,
394
- uri: uri,
395
- body: body || "",
396
- params: query_string_params,
422
+ uri: uri,
423
+ body: body || "",
424
+ params: query_string_params,
425
+ method_name: "query_audience_export",
397
426
  options: options
398
427
  )
399
428
  operation = ::Gapic::Rest::TransportOperation.new response
400
429
  result = ::Google::Analytics::Data::V1beta::QueryAudienceExportResponse.decode_json response.body, ignore_unknown_fields: true
401
-
402
- yield result, operation if block_given?
403
- result
430
+ catch :response do
431
+ yield result, operation if block_given?
432
+ result
433
+ end
404
434
  end
405
435
 
406
436
  ##
@@ -429,16 +459,18 @@ module Google
429
459
 
430
460
  response = @client_stub.make_http_request(
431
461
  verb,
432
- uri: uri,
433
- body: body || "",
434
- params: query_string_params,
462
+ uri: uri,
463
+ body: body || "",
464
+ params: query_string_params,
465
+ method_name: "get_audience_export",
435
466
  options: options
436
467
  )
437
468
  operation = ::Gapic::Rest::TransportOperation.new response
438
469
  result = ::Google::Analytics::Data::V1beta::AudienceExport.decode_json response.body, ignore_unknown_fields: true
439
-
440
- yield result, operation if block_given?
441
- result
470
+ catch :response do
471
+ yield result, operation if block_given?
472
+ result
473
+ end
442
474
  end
443
475
 
444
476
  ##
@@ -467,16 +499,18 @@ module Google
467
499
 
468
500
  response = @client_stub.make_http_request(
469
501
  verb,
470
- uri: uri,
471
- body: body || "",
472
- params: query_string_params,
502
+ uri: uri,
503
+ body: body || "",
504
+ params: query_string_params,
505
+ method_name: "list_audience_exports",
473
506
  options: options
474
507
  )
475
508
  operation = ::Gapic::Rest::TransportOperation.new response
476
509
  result = ::Google::Analytics::Data::V1beta::ListAudienceExportsResponse.decode_json response.body, ignore_unknown_fields: true
477
-
478
- yield result, operation if block_given?
479
- result
510
+ catch :response do
511
+ yield result, operation if block_given?
512
+ result
513
+ end
480
514
  end
481
515
 
482
516
  ##
@@ -52,14 +52,14 @@ module Google
52
52
  # your data.
53
53
  rpc :RunPivotReport, ::Google::Analytics::Data::V1beta::RunPivotReportRequest, ::Google::Analytics::Data::V1beta::RunPivotReportResponse
54
54
  # Returns multiple reports in a batch. All reports must be for the same
55
- # GA4 Property.
55
+ # Google Analytics property.
56
56
  rpc :BatchRunReports, ::Google::Analytics::Data::V1beta::BatchRunReportsRequest, ::Google::Analytics::Data::V1beta::BatchRunReportsResponse
57
57
  # Returns multiple pivot reports in a batch. All reports must be for the same
58
- # GA4 Property.
58
+ # Google Analytics property.
59
59
  rpc :BatchRunPivotReports, ::Google::Analytics::Data::V1beta::BatchRunPivotReportsRequest, ::Google::Analytics::Data::V1beta::BatchRunPivotReportsResponse
60
60
  # Returns metadata for dimensions and metrics available in reporting methods.
61
61
  # Used to explore the dimensions and metrics. In this method, a Google
62
- # Analytics GA4 Property Identifier is specified in the request, and
62
+ # Analytics property identifier is specified in the request, and
63
63
  # the metadata response includes Custom dimensions and metrics as well as
64
64
  # Universal metadata.
65
65
  #
@@ -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\"\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"
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\"\xb7\t\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\x12H\n\x0c\x65mpty_filter\x18\x08 \x01(\x0b\x32\x30.google.analytics.data.v1beta.Filter.EmptyFilterH\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.NumericValue\x1a\r\n\x0b\x45mptyFilterB\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
 
@@ -52,6 +52,7 @@ module Google
52
52
  Filter::NumericFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.Filter.NumericFilter").msgclass
53
53
  Filter::NumericFilter::Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.Filter.NumericFilter.Operation").enummodule
54
54
  Filter::BetweenFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.Filter.BetweenFilter").msgclass
55
+ Filter::EmptyFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.Filter.EmptyFilter").msgclass
55
56
  OrderBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.OrderBy").msgclass
56
57
  OrderBy::MetricOrderBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.OrderBy.MetricOrderBy").msgclass
57
58
  OrderBy::DimensionOrderBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.OrderBy.DimensionOrderBy").msgclass
@@ -21,7 +21,7 @@ module Google
21
21
  module Analytics
22
22
  module Data
23
23
  module V1beta
24
- VERSION = "0.13.1"
24
+ VERSION = "0.15.0"
25
25
  end
26
26
  end
27
27
  end
@@ -27,7 +27,7 @@ module Google
27
27
  # as in your `runReport` request.
28
28
  # @!attribute [rw] property
29
29
  # @return [::String]
30
- # A Google Analytics GA4 property identifier whose events are tracked. To
30
+ # A Google Analytics property identifier whose events are tracked. To
31
31
  # learn more, see [where to find your Property
32
32
  # ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
33
33
  # `property` should be the same value as in your `runReport` request.
@@ -93,7 +93,7 @@ module Google
93
93
  # The request to generate a report.
94
94
  # @!attribute [rw] property
95
95
  # @return [::String]
96
- # A Google Analytics GA4 property identifier whose events are tracked.
96
+ # A Google Analytics property identifier whose events are tracked.
97
97
  # Specified in the URL path and not the body. To learn more, see [where to
98
98
  # find your Property
99
99
  # ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
@@ -153,9 +153,13 @@ module Google
153
153
  # @return [::Array<::Google::Analytics::Data::V1beta::MetricAggregation>]
154
154
  # Aggregation of metrics. Aggregated metric values will be shown in rows
155
155
  # where the dimension_values are set to "RESERVED_(MetricAggregation)".
156
+ # Aggregates including both comparisons and multiple date ranges will
157
+ # be aggregated based on the date ranges.
156
158
  # @!attribute [rw] order_bys
157
159
  # @return [::Array<::Google::Analytics::Data::V1beta::OrderBy>]
158
160
  # Specifies how rows are ordered in the response.
161
+ # Requests including both comparisons and multiple date ranges will
162
+ # have order bys applied on the comparisons.
159
163
  # @!attribute [rw] currency_code
160
164
  # @return [::String]
161
165
  # A currency code in ISO4217 format, such as "AED", "USD", "JPY".
@@ -171,15 +175,15 @@ module Google
171
175
  # removed by a filter.
172
176
  #
173
177
  # Regardless of this `keep_empty_rows` setting, only data recorded by the
174
- # Google Analytics (GA4) property can be displayed in a report.
178
+ # Google Analytics property can be displayed in a report.
175
179
  #
176
180
  # For example if a property never logs a `purchase` event, then a query for
177
181
  # the `eventName` dimension and `eventCount` metric will not have a row
178
182
  # eventName: "purchase" and eventCount: 0.
179
183
  # @!attribute [rw] return_property_quota
180
184
  # @return [::Boolean]
181
- # Toggles whether to return the current state of this Analytics Property's
182
- # quota. Quota is returned in [PropertyQuota](#PropertyQuota).
185
+ # Toggles whether to return the current state of this Google Analytics
186
+ # property's quota. Quota is returned in [PropertyQuota](#PropertyQuota).
183
187
  # @!attribute [rw] comparisons
184
188
  # @return [::Array<::Google::Analytics::Data::V1beta::Comparison>]
185
189
  # Optional. The configuration of comparisons requested and displayed. The
@@ -226,7 +230,7 @@ module Google
226
230
  # Metadata for the report.
227
231
  # @!attribute [rw] property_quota
228
232
  # @return [::Google::Analytics::Data::V1beta::PropertyQuota]
229
- # This Analytics Property's quota state including this request.
233
+ # This Google Analytics property's quota state including this request.
230
234
  # @!attribute [rw] kind
231
235
  # @return [::String]
232
236
  # Identifies what kind of resource this message is. This `kind` is always the
@@ -240,7 +244,7 @@ module Google
240
244
  # The request to generate a pivot report.
241
245
  # @!attribute [rw] property
242
246
  # @return [::String]
243
- # A Google Analytics GA4 property identifier whose events are tracked.
247
+ # A Google Analytics property identifier whose events are tracked.
244
248
  # Specified in the URL path and not the body. To learn more, see [where to
245
249
  # find your Property
246
250
  # ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
@@ -294,15 +298,15 @@ module Google
294
298
  # removed by a filter.
295
299
  #
296
300
  # Regardless of this `keep_empty_rows` setting, only data recorded by the
297
- # Google Analytics (GA4) property can be displayed in a report.
301
+ # Google Analytics property can be displayed in a report.
298
302
  #
299
303
  # For example if a property never logs a `purchase` event, then a query for
300
304
  # the `eventName` dimension and `eventCount` metric will not have a row
301
305
  # eventName: "purchase" and eventCount: 0.
302
306
  # @!attribute [rw] return_property_quota
303
307
  # @return [::Boolean]
304
- # Toggles whether to return the current state of this Analytics Property's
305
- # quota. Quota is returned in [PropertyQuota](#PropertyQuota).
308
+ # Toggles whether to return the current state of this Google Analytics
309
+ # property's quota. Quota is returned in [PropertyQuota](#PropertyQuota).
306
310
  # @!attribute [rw] comparisons
307
311
  # @return [::Array<::Google::Analytics::Data::V1beta::Comparison>]
308
312
  # Optional. The configuration of comparisons requested and displayed. The
@@ -374,7 +378,7 @@ module Google
374
378
  # Metadata for the report.
375
379
  # @!attribute [rw] property_quota
376
380
  # @return [::Google::Analytics::Data::V1beta::PropertyQuota]
377
- # This Analytics Property's quota state including this request.
381
+ # This Google Analytics property's quota state including this request.
378
382
  # @!attribute [rw] kind
379
383
  # @return [::String]
380
384
  # Identifies what kind of resource this message is. This `kind` is always the
@@ -388,7 +392,7 @@ module Google
388
392
  # The batch request containing multiple report requests.
389
393
  # @!attribute [rw] property
390
394
  # @return [::String]
391
- # A Google Analytics GA4 property identifier whose events are tracked.
395
+ # A Google Analytics property identifier whose events are tracked.
392
396
  # Specified in the URL path and not the body. To learn more, see [where to
393
397
  # find your Property
394
398
  # ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
@@ -423,7 +427,7 @@ module Google
423
427
  # The batch request containing multiple pivot report requests.
424
428
  # @!attribute [rw] property
425
429
  # @return [::String]
426
- # A Google Analytics GA4 property identifier whose events are tracked.
430
+ # A Google Analytics property identifier whose events are tracked.
427
431
  # Specified in the URL path and not the body. To learn more, see [where to
428
432
  # find your Property
429
433
  # ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
@@ -460,7 +464,7 @@ module Google
460
464
  # @return [::String]
461
465
  # Required. The resource name of the metadata to retrieve. This name field is
462
466
  # specified in the URL path and not URL parameters. Property is a numeric
463
- # Google Analytics GA4 Property identifier. To learn more, see [where to find
467
+ # Google Analytics property identifier. To learn more, see [where to find
464
468
  # your Property
465
469
  # ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
466
470
  #
@@ -477,7 +481,7 @@ module Google
477
481
  # The request to generate a realtime report.
478
482
  # @!attribute [rw] property
479
483
  # @return [::String]
480
- # A Google Analytics GA4 property identifier whose events are tracked.
484
+ # A Google Analytics property identifier whose events are tracked.
481
485
  # Specified in the URL path and not the body. To learn more, see [where to
482
486
  # find your Property
483
487
  # ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
@@ -516,8 +520,9 @@ module Google
516
520
  # Specifies how rows are ordered in the response.
517
521
  # @!attribute [rw] return_property_quota
518
522
  # @return [::Boolean]
519
- # Toggles whether to return the current state of this Analytics Property's
520
- # Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
523
+ # Toggles whether to return the current state of this Google Analytics
524
+ # property's Realtime quota. Quota is returned in
525
+ # [PropertyQuota](#PropertyQuota).
521
526
  # @!attribute [rw] minute_ranges
522
527
  # @return [::Array<::Google::Analytics::Data::V1beta::MinuteRange>]
523
528
  # The minute ranges of event data to read. If unspecified, one minute range
@@ -560,7 +565,8 @@ module Google
560
565
  # only 50 rows.
561
566
  # @!attribute [rw] property_quota
562
567
  # @return [::Google::Analytics::Data::V1beta::PropertyQuota]
563
- # This Analytics Property's Realtime quota state including this request.
568
+ # This Google Analytics property's Realtime quota state including this
569
+ # request.
564
570
  # @!attribute [rw] kind
565
571
  # @return [::String]
566
572
  # Identifies what kind of resource this message is. This `kind` is always the
@@ -273,6 +273,9 @@ module Google
273
273
  # @!attribute [rw] between_filter
274
274
  # @return [::Google::Analytics::Data::V1beta::Filter::BetweenFilter]
275
275
  # A filter for two values.
276
+ # @!attribute [rw] empty_filter
277
+ # @return [::Google::Analytics::Data::V1beta::Filter::EmptyFilter]
278
+ # A filter for empty values such as "(not set)" and "" values.
276
279
  class Filter
277
280
  include ::Google::Protobuf::MessageExts
278
281
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -373,6 +376,12 @@ module Google
373
376
  include ::Google::Protobuf::MessageExts
374
377
  extend ::Google::Protobuf::MessageExts::ClassMethods
375
378
  end
379
+
380
+ # Filter for empty values.
381
+ class EmptyFilter
382
+ include ::Google::Protobuf::MessageExts
383
+ extend ::Google::Protobuf::MessageExts::ClassMethods
384
+ end
376
385
  end
377
386
 
378
387
  # Order bys define how rows will be sorted in the response. For example,
@@ -1156,8 +1165,8 @@ module Google
1156
1165
  TYPE_KILOMETERS = 13
1157
1166
  end
1158
1167
 
1159
- # Categories of data that you may be restricted from viewing on certain GA4
1160
- # properties.
1168
+ # Categories of data that you may be restricted from viewing on certain
1169
+ # Google Analytics properties.
1161
1170
  module RestrictedMetricType
1162
1171
  # Unspecified type.
1163
1172
  RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0