# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/analytics/data/v1beta/analytics_data_api.proto require 'google/protobuf' require 'google/analytics/data/v1beta/data_pb' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' 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" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError => e # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ["google.analytics.data.v1beta.Dimension", "google/analytics/data/v1beta/data.proto"], ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." end module Google module Analytics module Data module V1beta CheckCompatibilityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.CheckCompatibilityRequest").msgclass CheckCompatibilityResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.CheckCompatibilityResponse").msgclass Metadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.Metadata").msgclass RunReportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.RunReportRequest").msgclass RunReportResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.RunReportResponse").msgclass RunPivotReportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.RunPivotReportRequest").msgclass RunPivotReportResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.RunPivotReportResponse").msgclass BatchRunReportsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.BatchRunReportsRequest").msgclass BatchRunReportsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.BatchRunReportsResponse").msgclass BatchRunPivotReportsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.BatchRunPivotReportsRequest").msgclass BatchRunPivotReportsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.BatchRunPivotReportsResponse").msgclass GetMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.GetMetadataRequest").msgclass RunRealtimeReportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.RunRealtimeReportRequest").msgclass RunRealtimeReportResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1beta.RunRealtimeReportResponse").msgclass end end end end