google-analytics-data-v1beta 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/analytics/data/v1beta/analytics_data/client.rb +499 -0
- data/lib/google/analytics/data/v1beta/analytics_data/operations.rb +779 -0
- data/lib/google/analytics/data/v1beta/analytics_data/paths.rb +31 -0
- data/lib/google/analytics/data/v1beta/analytics_data/rest/client.rb +471 -0
- data/lib/google/analytics/data/v1beta/analytics_data/rest/operations.rb +870 -0
- data/lib/google/analytics/data/v1beta/analytics_data/rest/service_stub.rb +238 -0
- data/lib/google/analytics/data/v1beta/analytics_data/rest.rb +1 -0
- data/lib/google/analytics/data/v1beta/analytics_data.rb +1 -0
- data/lib/google/analytics/data/v1beta/analytics_data_api_pb.rb +16 -1
- data/lib/google/analytics/data/v1beta/analytics_data_api_services_pb.rb +75 -0
- data/lib/google/analytics/data/v1beta/data_pb.rb +2 -1
- data/lib/google/analytics/data/v1beta/version.rb +1 -1
- data/proto_docs/google/analytics/data/v1beta/analytics_data_api.rb +228 -1
- data/proto_docs/google/analytics/data/v1beta/data.rb +55 -5
- data/proto_docs/google/api/client.rb +13 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +144 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +9 -2
@@ -306,6 +306,158 @@ module Google
|
|
306
306
|
result
|
307
307
|
end
|
308
308
|
|
309
|
+
##
|
310
|
+
# Baseline implementation for the create_audience_export REST call
|
311
|
+
#
|
312
|
+
# @param request_pb [::Google::Analytics::Data::V1beta::CreateAudienceExportRequest]
|
313
|
+
# A request object representing the call parameters. Required.
|
314
|
+
# @param options [::Gapic::CallOptions]
|
315
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
316
|
+
#
|
317
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
318
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
319
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
320
|
+
#
|
321
|
+
# @return [::Google::Longrunning::Operation]
|
322
|
+
# A result object deserialized from the server's reply
|
323
|
+
def create_audience_export request_pb, options = nil
|
324
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
325
|
+
|
326
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_audience_export_request request_pb
|
327
|
+
query_string_params = if query_string_params.any?
|
328
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
329
|
+
else
|
330
|
+
{}
|
331
|
+
end
|
332
|
+
|
333
|
+
response = @client_stub.make_http_request(
|
334
|
+
verb,
|
335
|
+
uri: uri,
|
336
|
+
body: body || "",
|
337
|
+
params: query_string_params,
|
338
|
+
options: options
|
339
|
+
)
|
340
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
341
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
342
|
+
|
343
|
+
yield result, operation if block_given?
|
344
|
+
result
|
345
|
+
end
|
346
|
+
|
347
|
+
##
|
348
|
+
# Baseline implementation for the query_audience_export REST call
|
349
|
+
#
|
350
|
+
# @param request_pb [::Google::Analytics::Data::V1beta::QueryAudienceExportRequest]
|
351
|
+
# A request object representing the call parameters. Required.
|
352
|
+
# @param options [::Gapic::CallOptions]
|
353
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
354
|
+
#
|
355
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
356
|
+
# @yieldparam result [::Google::Analytics::Data::V1beta::QueryAudienceExportResponse]
|
357
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
358
|
+
#
|
359
|
+
# @return [::Google::Analytics::Data::V1beta::QueryAudienceExportResponse]
|
360
|
+
# A result object deserialized from the server's reply
|
361
|
+
def query_audience_export request_pb, options = nil
|
362
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
363
|
+
|
364
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_query_audience_export_request request_pb
|
365
|
+
query_string_params = if query_string_params.any?
|
366
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
367
|
+
else
|
368
|
+
{}
|
369
|
+
end
|
370
|
+
|
371
|
+
response = @client_stub.make_http_request(
|
372
|
+
verb,
|
373
|
+
uri: uri,
|
374
|
+
body: body || "",
|
375
|
+
params: query_string_params,
|
376
|
+
options: options
|
377
|
+
)
|
378
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
379
|
+
result = ::Google::Analytics::Data::V1beta::QueryAudienceExportResponse.decode_json response.body, ignore_unknown_fields: true
|
380
|
+
|
381
|
+
yield result, operation if block_given?
|
382
|
+
result
|
383
|
+
end
|
384
|
+
|
385
|
+
##
|
386
|
+
# Baseline implementation for the get_audience_export REST call
|
387
|
+
#
|
388
|
+
# @param request_pb [::Google::Analytics::Data::V1beta::GetAudienceExportRequest]
|
389
|
+
# A request object representing the call parameters. Required.
|
390
|
+
# @param options [::Gapic::CallOptions]
|
391
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
392
|
+
#
|
393
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
394
|
+
# @yieldparam result [::Google::Analytics::Data::V1beta::AudienceExport]
|
395
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
396
|
+
#
|
397
|
+
# @return [::Google::Analytics::Data::V1beta::AudienceExport]
|
398
|
+
# A result object deserialized from the server's reply
|
399
|
+
def get_audience_export request_pb, options = nil
|
400
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
401
|
+
|
402
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_audience_export_request request_pb
|
403
|
+
query_string_params = if query_string_params.any?
|
404
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
405
|
+
else
|
406
|
+
{}
|
407
|
+
end
|
408
|
+
|
409
|
+
response = @client_stub.make_http_request(
|
410
|
+
verb,
|
411
|
+
uri: uri,
|
412
|
+
body: body || "",
|
413
|
+
params: query_string_params,
|
414
|
+
options: options
|
415
|
+
)
|
416
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
417
|
+
result = ::Google::Analytics::Data::V1beta::AudienceExport.decode_json response.body, ignore_unknown_fields: true
|
418
|
+
|
419
|
+
yield result, operation if block_given?
|
420
|
+
result
|
421
|
+
end
|
422
|
+
|
423
|
+
##
|
424
|
+
# Baseline implementation for the list_audience_exports REST call
|
425
|
+
#
|
426
|
+
# @param request_pb [::Google::Analytics::Data::V1beta::ListAudienceExportsRequest]
|
427
|
+
# A request object representing the call parameters. Required.
|
428
|
+
# @param options [::Gapic::CallOptions]
|
429
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
430
|
+
#
|
431
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
432
|
+
# @yieldparam result [::Google::Analytics::Data::V1beta::ListAudienceExportsResponse]
|
433
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
434
|
+
#
|
435
|
+
# @return [::Google::Analytics::Data::V1beta::ListAudienceExportsResponse]
|
436
|
+
# A result object deserialized from the server's reply
|
437
|
+
def list_audience_exports request_pb, options = nil
|
438
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
439
|
+
|
440
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_audience_exports_request request_pb
|
441
|
+
query_string_params = if query_string_params.any?
|
442
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
443
|
+
else
|
444
|
+
{}
|
445
|
+
end
|
446
|
+
|
447
|
+
response = @client_stub.make_http_request(
|
448
|
+
verb,
|
449
|
+
uri: uri,
|
450
|
+
body: body || "",
|
451
|
+
params: query_string_params,
|
452
|
+
options: options
|
453
|
+
)
|
454
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
455
|
+
result = ::Google::Analytics::Data::V1beta::ListAudienceExportsResponse.decode_json response.body, ignore_unknown_fields: true
|
456
|
+
|
457
|
+
yield result, operation if block_given?
|
458
|
+
result
|
459
|
+
end
|
460
|
+
|
309
461
|
##
|
310
462
|
# @private
|
311
463
|
#
|
@@ -458,6 +610,92 @@ module Google
|
|
458
610
|
)
|
459
611
|
transcoder.transcode request_pb
|
460
612
|
end
|
613
|
+
|
614
|
+
##
|
615
|
+
# @private
|
616
|
+
#
|
617
|
+
# GRPC transcoding helper method for the create_audience_export REST call
|
618
|
+
#
|
619
|
+
# @param request_pb [::Google::Analytics::Data::V1beta::CreateAudienceExportRequest]
|
620
|
+
# A request object representing the call parameters. Required.
|
621
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
622
|
+
# Uri, Body, Query string parameters
|
623
|
+
def self.transcode_create_audience_export_request request_pb
|
624
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
625
|
+
.with_bindings(
|
626
|
+
uri_method: :post,
|
627
|
+
uri_template: "/v1beta/{parent}/audienceExports",
|
628
|
+
body: "audience_export",
|
629
|
+
matches: [
|
630
|
+
["parent", %r{^properties/[^/]+/?$}, false]
|
631
|
+
]
|
632
|
+
)
|
633
|
+
transcoder.transcode request_pb
|
634
|
+
end
|
635
|
+
|
636
|
+
##
|
637
|
+
# @private
|
638
|
+
#
|
639
|
+
# GRPC transcoding helper method for the query_audience_export REST call
|
640
|
+
#
|
641
|
+
# @param request_pb [::Google::Analytics::Data::V1beta::QueryAudienceExportRequest]
|
642
|
+
# A request object representing the call parameters. Required.
|
643
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
644
|
+
# Uri, Body, Query string parameters
|
645
|
+
def self.transcode_query_audience_export_request request_pb
|
646
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
647
|
+
.with_bindings(
|
648
|
+
uri_method: :post,
|
649
|
+
uri_template: "/v1beta/{name}:query",
|
650
|
+
body: "*",
|
651
|
+
matches: [
|
652
|
+
["name", %r{^properties/[^/]+/audienceExports/[^/]+/?$}, false]
|
653
|
+
]
|
654
|
+
)
|
655
|
+
transcoder.transcode request_pb
|
656
|
+
end
|
657
|
+
|
658
|
+
##
|
659
|
+
# @private
|
660
|
+
#
|
661
|
+
# GRPC transcoding helper method for the get_audience_export REST call
|
662
|
+
#
|
663
|
+
# @param request_pb [::Google::Analytics::Data::V1beta::GetAudienceExportRequest]
|
664
|
+
# A request object representing the call parameters. Required.
|
665
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
666
|
+
# Uri, Body, Query string parameters
|
667
|
+
def self.transcode_get_audience_export_request request_pb
|
668
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
669
|
+
.with_bindings(
|
670
|
+
uri_method: :get,
|
671
|
+
uri_template: "/v1beta/{name}",
|
672
|
+
matches: [
|
673
|
+
["name", %r{^properties/[^/]+/audienceExports/[^/]+/?$}, false]
|
674
|
+
]
|
675
|
+
)
|
676
|
+
transcoder.transcode request_pb
|
677
|
+
end
|
678
|
+
|
679
|
+
##
|
680
|
+
# @private
|
681
|
+
#
|
682
|
+
# GRPC transcoding helper method for the list_audience_exports REST call
|
683
|
+
#
|
684
|
+
# @param request_pb [::Google::Analytics::Data::V1beta::ListAudienceExportsRequest]
|
685
|
+
# A request object representing the call parameters. Required.
|
686
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
687
|
+
# Uri, Body, Query string parameters
|
688
|
+
def self.transcode_list_audience_exports_request request_pb
|
689
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
690
|
+
.with_bindings(
|
691
|
+
uri_method: :get,
|
692
|
+
uri_template: "/v1beta/{parent}/audienceExports",
|
693
|
+
matches: [
|
694
|
+
["parent", %r{^properties/[^/]+/?$}, false]
|
695
|
+
]
|
696
|
+
)
|
697
|
+
transcoder.transcode request_pb
|
698
|
+
end
|
461
699
|
end
|
462
700
|
end
|
463
701
|
end
|
@@ -24,6 +24,7 @@ require "google/analytics/data/v1beta/version"
|
|
24
24
|
|
25
25
|
require "google/analytics/data/v1beta/analytics_data/credentials"
|
26
26
|
require "google/analytics/data/v1beta/analytics_data/paths"
|
27
|
+
require "google/analytics/data/v1beta/analytics_data/rest/operations"
|
27
28
|
require "google/analytics/data/v1beta/analytics_data/rest/client"
|
28
29
|
|
29
30
|
module Google
|
@@ -24,6 +24,7 @@ require "google/analytics/data/v1beta/version"
|
|
24
24
|
|
25
25
|
require "google/analytics/data/v1beta/analytics_data/credentials"
|
26
26
|
require "google/analytics/data/v1beta/analytics_data/paths"
|
27
|
+
require "google/analytics/data/v1beta/analytics_data/operations"
|
27
28
|
require "google/analytics/data/v1beta/analytics_data/client"
|
28
29
|
require "google/analytics/data/v1beta/analytics_data/rest"
|
29
30
|
|
@@ -9,9 +9,11 @@ require 'google/api/annotations_pb'
|
|
9
9
|
require 'google/api/client_pb'
|
10
10
|
require 'google/api/field_behavior_pb'
|
11
11
|
require 'google/api/resource_pb'
|
12
|
+
require 'google/longrunning/operations_pb'
|
13
|
+
require 'google/protobuf/timestamp_pb'
|
12
14
|
|
13
15
|
|
14
|
-
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\"\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\"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(\t2\xac\x0b\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\x82\xd3\xe4\x93\x02&\x12$/v1beta/{name=properties/*/metadata}\xda\x41\x04name\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*\x1a~\xca\x41\x1c\x61nalyticsdata.googleapis.com\xd2\x41\\https://www.googleapis.com/auth/analytics,https://www.googleapis.com/auth/analytics.readonlyB}\n com.google.analytics.data.v1betaB\x15\x41nalyticsDataApiProtoP\x01Z@google.golang.org/genproto/googleapis/analytics/data/v1beta;datab\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\"\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\"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\x82\xd3\xe4\x93\x02&\x12$/v1beta/{name=properties/*/metadata}\xda\x41\x04name\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\x82\xd3\xe4\x93\x02@\"-/v1beta/{parent=properties/*}/audienceExports:\x0f\x61udience_export\xda\x41\x16parent,audience_export\xca\x41(\n\x0e\x41udienceExport\x12\x16\x41udienceExportMetadata\x12\xd1\x01\n\x13QueryAudienceExport\x12\x38.google.analytics.data.v1beta.QueryAudienceExportRequest\x1a\x39.google.analytics.data.v1beta.QueryAudienceExportResponse\"E\x82\xd3\xe4\x93\x02\x38\"3/v1beta/{name=properties/*/audienceExports/*}:query:\x01*\xda\x41\x04name\x12\xb7\x01\n\x11GetAudienceExport\x12\x36.google.analytics.data.v1beta.GetAudienceExportRequest\x1a,.google.analytics.data.v1beta.AudienceExport\"<\x82\xd3\xe4\x93\x02/\x12-/v1beta/{name=properties/*/audienceExports/*}\xda\x41\x04name\x12\xca\x01\n\x13ListAudienceExports\x12\x38.google.analytics.data.v1beta.ListAudienceExportsRequest\x1a\x39.google.analytics.data.v1beta.ListAudienceExportsResponse\">\x82\xd3\xe4\x93\x02/\x12-/v1beta/{parent=properties/*}/audienceExports\xda\x41\x06parent\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"
|
15
17
|
|
16
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
19
|
|
@@ -27,6 +29,7 @@ rescue TypeError => e
|
|
27
29
|
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
28
30
|
imports = [
|
29
31
|
["google.analytics.data.v1beta.Dimension", "google/analytics/data/v1beta/data.proto"],
|
32
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
30
33
|
]
|
31
34
|
imports.each do |type_name, expected_filename|
|
32
35
|
import_file = pool.lookup(type_name).file_descriptor
|
@@ -56,6 +59,18 @@ module Google
|
|
56
59
|
GetMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.GetMetadataRequest").msgclass
|
57
60
|
RunRealtimeReportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.RunRealtimeReportRequest").msgclass
|
58
61
|
RunRealtimeReportResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.RunRealtimeReportResponse").msgclass
|
62
|
+
GetAudienceExportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.GetAudienceExportRequest").msgclass
|
63
|
+
ListAudienceExportsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.ListAudienceExportsRequest").msgclass
|
64
|
+
ListAudienceExportsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.ListAudienceExportsResponse").msgclass
|
65
|
+
CreateAudienceExportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.CreateAudienceExportRequest").msgclass
|
66
|
+
AudienceExport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.AudienceExport").msgclass
|
67
|
+
AudienceExport::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.AudienceExport.State").enummodule
|
68
|
+
AudienceExportMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.AudienceExportMetadata").msgclass
|
69
|
+
QueryAudienceExportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.QueryAudienceExportRequest").msgclass
|
70
|
+
QueryAudienceExportResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.QueryAudienceExportResponse").msgclass
|
71
|
+
AudienceRow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.AudienceRow").msgclass
|
72
|
+
AudienceDimension = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.AudienceDimension").msgclass
|
73
|
+
AudienceDimensionValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.AudienceDimensionValue").msgclass
|
59
74
|
end
|
60
75
|
end
|
61
76
|
end
|
@@ -89,6 +89,81 @@ module Google
|
|
89
89
|
# The Realtime and Core reports have different compatibility rules. This
|
90
90
|
# method checks compatibility for Core reports.
|
91
91
|
rpc :CheckCompatibility, ::Google::Analytics::Data::V1beta::CheckCompatibilityRequest, ::Google::Analytics::Data::V1beta::CheckCompatibilityResponse
|
92
|
+
# Creates an audience export for later retrieval. This method quickly returns
|
93
|
+
# the audience export's resource name and initiates a long running
|
94
|
+
# asynchronous request to form an audience export. To export the users in an
|
95
|
+
# audience export, first create the audience export through this method and
|
96
|
+
# then send the audience resource name to the `QueryAudienceExport` method.
|
97
|
+
#
|
98
|
+
# See [Creating an Audience
|
99
|
+
# Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics)
|
100
|
+
# for an introduction to Audience Exports with examples.
|
101
|
+
#
|
102
|
+
# An audience export is a snapshot of the users currently in the audience at
|
103
|
+
# the time of audience export creation. Creating audience exports for one
|
104
|
+
# audience on different days will return different results as users enter and
|
105
|
+
# exit the audience.
|
106
|
+
#
|
107
|
+
# Audiences in Google Analytics 4 allow you to segment your users in the ways
|
108
|
+
# that are important to your business. To learn more, see
|
109
|
+
# https://support.google.com/analytics/answer/9267572. Audience exports
|
110
|
+
# contain the users in each audience.
|
111
|
+
#
|
112
|
+
# Audience Export APIs have some methods at alpha and other methods at beta
|
113
|
+
# stability. The intention is to advance methods to beta stability after some
|
114
|
+
# feedback and adoption. To give your feedback on this API, complete the
|
115
|
+
# [Google Analytics Audience Export API
|
116
|
+
# Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
|
117
|
+
rpc :CreateAudienceExport, ::Google::Analytics::Data::V1beta::CreateAudienceExportRequest, ::Google::Longrunning::Operation
|
118
|
+
# Retrieves an audience export of users. After creating an audience, the
|
119
|
+
# users are not immediately available for exporting. First, a request to
|
120
|
+
# `CreateAudienceExport` is necessary to create an audience export of users,
|
121
|
+
# and then second, this method is used to retrieve the users in the audience
|
122
|
+
# export.
|
123
|
+
#
|
124
|
+
# See [Creating an Audience
|
125
|
+
# Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics)
|
126
|
+
# for an introduction to Audience Exports with examples.
|
127
|
+
#
|
128
|
+
# Audiences in Google Analytics 4 allow you to segment your users in the ways
|
129
|
+
# that are important to your business. To learn more, see
|
130
|
+
# https://support.google.com/analytics/answer/9267572.
|
131
|
+
#
|
132
|
+
# Audience Export APIs have some methods at alpha and other methods at beta
|
133
|
+
# stability. The intention is to advance methods to beta stability after some
|
134
|
+
# feedback and adoption. To give your feedback on this API, complete the
|
135
|
+
# [Google Analytics Audience Export API
|
136
|
+
# Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
|
137
|
+
rpc :QueryAudienceExport, ::Google::Analytics::Data::V1beta::QueryAudienceExportRequest, ::Google::Analytics::Data::V1beta::QueryAudienceExportResponse
|
138
|
+
# Gets configuration metadata about a specific audience export. This method
|
139
|
+
# can be used to understand an audience export after it has been created.
|
140
|
+
#
|
141
|
+
# See [Creating an Audience
|
142
|
+
# Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics)
|
143
|
+
# for an introduction to Audience Exports with examples.
|
144
|
+
#
|
145
|
+
# Audience Export APIs have some methods at alpha and other methods at beta
|
146
|
+
# stability. The intention is to advance methods to beta stability after some
|
147
|
+
# feedback and adoption. To give your feedback on this API, complete the
|
148
|
+
# [Google Analytics Audience Export API
|
149
|
+
# Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
|
150
|
+
rpc :GetAudienceExport, ::Google::Analytics::Data::V1beta::GetAudienceExportRequest, ::Google::Analytics::Data::V1beta::AudienceExport
|
151
|
+
# Lists all audience exports for a property. This method can be used for you
|
152
|
+
# to find and reuse existing audience exports rather than creating
|
153
|
+
# unnecessary new audience exports. The same audience can have multiple
|
154
|
+
# audience exports that represent the export of users that were in an
|
155
|
+
# audience on different days.
|
156
|
+
#
|
157
|
+
# See [Creating an Audience
|
158
|
+
# Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics)
|
159
|
+
# for an introduction to Audience Exports with examples.
|
160
|
+
#
|
161
|
+
# Audience Export APIs have some methods at alpha and other methods at beta
|
162
|
+
# stability. The intention is to advance methods to beta stability after some
|
163
|
+
# feedback and adoption. To give your feedback on this API, complete the
|
164
|
+
# [Google Analytics Audience Export API
|
165
|
+
# Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
|
166
|
+
rpc :ListAudienceExports, ::Google::Analytics::Data::V1beta::ListAudienceExportsRequest, ::Google::Analytics::Data::V1beta::ListAudienceExportsResponse
|
92
167
|
end
|
93
168
|
|
94
169
|
Stub = Service.rpc_stub_class
|
@@ -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\"\xca\x05\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\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\"\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\"2\n\x0bQuotaStatus\x12\x10\n\x08\x63onsumed\x18\x01 \x01(\x05\x12\x11\n\tremaining\x18\x02 \x01(\x05\"\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\"\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"
|
9
9
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
11
|
|
@@ -66,6 +66,7 @@ module Google
|
|
66
66
|
ResponseMetaData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.ResponseMetaData").msgclass
|
67
67
|
ResponseMetaData::SchemaRestrictionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse").msgclass
|
68
68
|
ResponseMetaData::SchemaRestrictionResponse::ActiveMetricRestriction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction").msgclass
|
69
|
+
SamplingMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.SamplingMetadata").msgclass
|
69
70
|
DimensionHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.DimensionHeader").msgclass
|
70
71
|
MetricHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.MetricHeader").msgclass
|
71
72
|
PivotHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.PivotHeader").msgclass
|