# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/analytics/data/v1alpha/data.proto require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/analytics/data/v1alpha/data.proto", :syntax => :proto3) do add_message "google.analytics.data.v1alpha.DateRange" do optional :start_date, :string, 1 optional :end_date, :string, 2 optional :name, :string, 3 end add_message "google.analytics.data.v1alpha.Entity" do optional :property_id, :string, 1 end add_message "google.analytics.data.v1alpha.Dimension" do optional :name, :string, 1 optional :dimension_expression, :message, 2, "google.analytics.data.v1alpha.DimensionExpression" end add_message "google.analytics.data.v1alpha.DimensionExpression" do oneof :one_expression do optional :lower_case, :message, 4, "google.analytics.data.v1alpha.DimensionExpression.CaseExpression" optional :upper_case, :message, 5, "google.analytics.data.v1alpha.DimensionExpression.CaseExpression" optional :concatenate, :message, 6, "google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression" end end add_message "google.analytics.data.v1alpha.DimensionExpression.CaseExpression" do optional :dimension_name, :string, 1 end add_message "google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression" do repeated :dimension_names, :string, 1 optional :delimiter, :string, 2 end add_message "google.analytics.data.v1alpha.Metric" do optional :name, :string, 1 optional :expression, :string, 2 optional :invisible, :bool, 3 end add_message "google.analytics.data.v1alpha.FilterExpression" do oneof :expr do optional :and_group, :message, 1, "google.analytics.data.v1alpha.FilterExpressionList" optional :or_group, :message, 2, "google.analytics.data.v1alpha.FilterExpressionList" optional :not_expression, :message, 3, "google.analytics.data.v1alpha.FilterExpression" optional :filter, :message, 4, "google.analytics.data.v1alpha.Filter" end end add_message "google.analytics.data.v1alpha.FilterExpressionList" do repeated :expressions, :message, 1, "google.analytics.data.v1alpha.FilterExpression" end add_message "google.analytics.data.v1alpha.Filter" do optional :field_name, :string, 1 oneof :one_filter do optional :null_filter, :bool, 2 optional :string_filter, :message, 3, "google.analytics.data.v1alpha.Filter.StringFilter" optional :in_list_filter, :message, 4, "google.analytics.data.v1alpha.Filter.InListFilter" optional :numeric_filter, :message, 5, "google.analytics.data.v1alpha.Filter.NumericFilter" optional :between_filter, :message, 6, "google.analytics.data.v1alpha.Filter.BetweenFilter" end end add_message "google.analytics.data.v1alpha.Filter.StringFilter" do optional :match_type, :enum, 1, "google.analytics.data.v1alpha.Filter.StringFilter.MatchType" optional :value, :string, 2 optional :case_sensitive, :bool, 3 end add_enum "google.analytics.data.v1alpha.Filter.StringFilter.MatchType" do value :MATCH_TYPE_UNSPECIFIED, 0 value :EXACT, 1 value :BEGINS_WITH, 2 value :ENDS_WITH, 3 value :CONTAINS, 4 value :FULL_REGEXP, 5 value :PARTIAL_REGEXP, 6 end add_message "google.analytics.data.v1alpha.Filter.InListFilter" do repeated :values, :string, 1 optional :case_sensitive, :bool, 2 end add_message "google.analytics.data.v1alpha.Filter.NumericFilter" do optional :operation, :enum, 1, "google.analytics.data.v1alpha.Filter.NumericFilter.Operation" optional :value, :message, 2, "google.analytics.data.v1alpha.NumericValue" end add_enum "google.analytics.data.v1alpha.Filter.NumericFilter.Operation" do value :OPERATION_UNSPECIFIED, 0 value :EQUAL, 1 value :LESS_THAN, 2 value :LESS_THAN_OR_EQUAL, 3 value :GREATER_THAN, 4 value :GREATER_THAN_OR_EQUAL, 5 end add_message "google.analytics.data.v1alpha.Filter.BetweenFilter" do optional :from_value, :message, 1, "google.analytics.data.v1alpha.NumericValue" optional :to_value, :message, 2, "google.analytics.data.v1alpha.NumericValue" end add_message "google.analytics.data.v1alpha.OrderBy" do optional :desc, :bool, 4 oneof :one_order_by do optional :metric, :message, 1, "google.analytics.data.v1alpha.OrderBy.MetricOrderBy" optional :dimension, :message, 2, "google.analytics.data.v1alpha.OrderBy.DimensionOrderBy" optional :pivot, :message, 3, "google.analytics.data.v1alpha.OrderBy.PivotOrderBy" end end add_message "google.analytics.data.v1alpha.OrderBy.MetricOrderBy" do optional :metric_name, :string, 1 end add_message "google.analytics.data.v1alpha.OrderBy.DimensionOrderBy" do optional :dimension_name, :string, 1 optional :order_type, :enum, 2, "google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType" end add_enum "google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType" do value :ORDER_TYPE_UNSPECIFIED, 0 value :ALPHANUMERIC, 1 value :CASE_INSENSITIVE_ALPHANUMERIC, 2 value :NUMERIC, 3 end add_message "google.analytics.data.v1alpha.OrderBy.PivotOrderBy" do optional :metric_name, :string, 1 repeated :pivot_selections, :message, 2, "google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection" end add_message "google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection" do optional :dimension_name, :string, 1 optional :dimension_value, :string, 2 end add_message "google.analytics.data.v1alpha.Pivot" do repeated :field_names, :string, 1 repeated :order_bys, :message, 2, "google.analytics.data.v1alpha.OrderBy" optional :offset, :int64, 3 optional :limit, :int64, 4 repeated :metric_aggregations, :enum, 5, "google.analytics.data.v1alpha.MetricAggregation" end add_message "google.analytics.data.v1alpha.CohortSpec" do repeated :cohorts, :message, 1, "google.analytics.data.v1alpha.Cohort" optional :cohorts_range, :message, 2, "google.analytics.data.v1alpha.CohortsRange" optional :cohort_report_settings, :message, 3, "google.analytics.data.v1alpha.CohortReportSettings" end add_message "google.analytics.data.v1alpha.Cohort" do optional :name, :string, 1 optional :dimension, :string, 2 optional :date_range, :message, 3, "google.analytics.data.v1alpha.DateRange" end add_message "google.analytics.data.v1alpha.CohortReportSettings" do optional :accumulate, :bool, 1 end add_message "google.analytics.data.v1alpha.CohortsRange" do optional :granularity, :enum, 1, "google.analytics.data.v1alpha.CohortsRange.Granularity" optional :start_offset, :int32, 2 optional :end_offset, :int32, 3 end add_enum "google.analytics.data.v1alpha.CohortsRange.Granularity" do value :GRANULARITY_UNSPECIFIED, 0 value :DAILY, 1 value :WEEKLY, 2 value :MONTHLY, 3 end add_message "google.analytics.data.v1alpha.ResponseMetaData" do optional :data_loss_from_other_row, :bool, 3 end add_message "google.analytics.data.v1alpha.DimensionHeader" do optional :name, :string, 1 end add_message "google.analytics.data.v1alpha.MetricHeader" do optional :name, :string, 1 optional :type, :enum, 2, "google.analytics.data.v1alpha.MetricType" end add_message "google.analytics.data.v1alpha.PivotHeader" do repeated :pivot_dimension_headers, :message, 1, "google.analytics.data.v1alpha.PivotDimensionHeader" optional :row_count, :int32, 2 end add_message "google.analytics.data.v1alpha.PivotDimensionHeader" do repeated :dimension_values, :message, 1, "google.analytics.data.v1alpha.DimensionValue" end add_message "google.analytics.data.v1alpha.Row" do repeated :dimension_values, :message, 1, "google.analytics.data.v1alpha.DimensionValue" repeated :metric_values, :message, 2, "google.analytics.data.v1alpha.MetricValue" end add_message "google.analytics.data.v1alpha.DimensionValue" do oneof :one_value do optional :value, :string, 1 end end add_message "google.analytics.data.v1alpha.MetricValue" do oneof :one_value do optional :value, :string, 4 end end add_message "google.analytics.data.v1alpha.NumericValue" do oneof :one_value do optional :int64_value, :int64, 1 optional :double_value, :double, 2 end end add_message "google.analytics.data.v1alpha.PropertyQuota" do optional :tokens_per_day, :message, 1, "google.analytics.data.v1alpha.QuotaStatus" optional :tokens_per_hour, :message, 2, "google.analytics.data.v1alpha.QuotaStatus" optional :concurrent_requests, :message, 3, "google.analytics.data.v1alpha.QuotaStatus" optional :server_errors_per_project_per_hour, :message, 4, "google.analytics.data.v1alpha.QuotaStatus" end add_message "google.analytics.data.v1alpha.QuotaStatus" do optional :consumed, :int32, 1 optional :remaining, :int32, 2 end add_message "google.analytics.data.v1alpha.DimensionMetadata" do optional :api_name, :string, 1 optional :ui_name, :string, 2 optional :description, :string, 3 repeated :deprecated_api_names, :string, 4 end add_message "google.analytics.data.v1alpha.MetricMetadata" do optional :api_name, :string, 1 optional :ui_name, :string, 2 optional :description, :string, 3 repeated :deprecated_api_names, :string, 4 optional :type, :enum, 5, "google.analytics.data.v1alpha.MetricType" optional :expression, :string, 6 end add_enum "google.analytics.data.v1alpha.MetricAggregation" do value :METRIC_AGGREGATION_UNSPECIFIED, 0 value :TOTAL, 1 value :MINIMUM, 5 value :MAXIMUM, 6 value :COUNT, 4 end add_enum "google.analytics.data.v1alpha.MetricType" do value :METRIC_TYPE_UNSPECIFIED, 0 value :TYPE_INTEGER, 1 value :TYPE_FLOAT, 2 value :TYPE_SECONDS, 4 value :TYPE_MILLISECONDS, 5 value :TYPE_MINUTES, 6 value :TYPE_HOURS, 7 value :TYPE_STANDARD, 8 value :TYPE_CURRENCY, 9 value :TYPE_FEET, 10 value :TYPE_MILES, 11 value :TYPE_METERS, 12 value :TYPE_KILOMETERS, 13 end end end module Google module Analytics module Data module V1alpha DateRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.DateRange").msgclass Entity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.Entity").msgclass Dimension = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.Dimension").msgclass DimensionExpression = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.DimensionExpression").msgclass DimensionExpression::CaseExpression = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.DimensionExpression.CaseExpression").msgclass DimensionExpression::ConcatenateExpression = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression").msgclass Metric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.Metric").msgclass FilterExpression = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.FilterExpression").msgclass FilterExpressionList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.FilterExpressionList").msgclass Filter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.Filter").msgclass Filter::StringFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.Filter.StringFilter").msgclass Filter::StringFilter::MatchType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.Filter.StringFilter.MatchType").enummodule Filter::InListFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.Filter.InListFilter").msgclass Filter::NumericFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.Filter.NumericFilter").msgclass Filter::NumericFilter::Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.Filter.NumericFilter.Operation").enummodule Filter::BetweenFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.Filter.BetweenFilter").msgclass OrderBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.OrderBy").msgclass OrderBy::MetricOrderBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.OrderBy.MetricOrderBy").msgclass OrderBy::DimensionOrderBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.OrderBy.DimensionOrderBy").msgclass OrderBy::DimensionOrderBy::OrderType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType").enummodule OrderBy::PivotOrderBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.OrderBy.PivotOrderBy").msgclass OrderBy::PivotOrderBy::PivotSelection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection").msgclass Pivot = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.Pivot").msgclass CohortSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.CohortSpec").msgclass Cohort = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.Cohort").msgclass CohortReportSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.CohortReportSettings").msgclass CohortsRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.CohortsRange").msgclass CohortsRange::Granularity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.CohortsRange.Granularity").enummodule ResponseMetaData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.ResponseMetaData").msgclass DimensionHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.DimensionHeader").msgclass MetricHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.MetricHeader").msgclass PivotHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.PivotHeader").msgclass PivotDimensionHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.PivotDimensionHeader").msgclass Row = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.Row").msgclass DimensionValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.DimensionValue").msgclass MetricValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.MetricValue").msgclass NumericValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.NumericValue").msgclass PropertyQuota = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.PropertyQuota").msgclass QuotaStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.QuotaStatus").msgclass DimensionMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.DimensionMetadata").msgclass MetricMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.MetricMetadata").msgclass MetricAggregation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.MetricAggregation").enummodule MetricType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.data.v1alpha.MetricType").enummodule end end end end