2016-05-16 16:49:15 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
require 'date'
|
|
|
|
require 'google/apis/core/base_service'
|
|
|
|
require 'google/apis/core/json_representation'
|
|
|
|
require 'google/apis/core/hashable'
|
|
|
|
require 'google/apis/errors'
|
|
|
|
|
|
|
|
module Google
|
|
|
|
module Apis
|
|
|
|
module AnalyticsreportingV4
|
|
|
|
|
2019-03-20 00:37:12 +00:00
|
|
|
class Activity
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Cohort
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CohortGroup
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ColumnHeader
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-20 00:37:12 +00:00
|
|
|
class CustomDimension
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class DateRange
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class DateRangeValues
|
2016-05-16 16:49:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Dimension
|
2016-05-16 16:49:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class DimensionFilter
|
2016-05-16 16:49:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class DimensionFilterClause
|
2016-05-16 16:49:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class DynamicSegment
|
2016-05-16 16:49:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-20 00:37:12 +00:00
|
|
|
class EcommerceData
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class EventData
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class GetReportsRequest
|
2016-05-16 16:49:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class GetReportsResponse
|
2016-05-16 16:49:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-20 00:37:12 +00:00
|
|
|
class GoalData
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoalSetData
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Metric
|
2016-05-16 16:49:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class MetricFilter
|
2016-05-16 16:49:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class MetricFilterClause
|
2016-05-16 16:49:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class MetricHeader
|
2016-05-16 16:49:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class MetricHeaderEntry
|
2016-05-16 16:49:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-04-03 20:18:48 +00:00
|
|
|
class OrFiltersForSegment
|
2016-05-16 16:49:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class OrderBy
|
2016-05-16 16:49:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-20 00:37:12 +00:00
|
|
|
class PageviewData
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Pivot
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-05-16 16:49:15 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class PivotHeader
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-05-16 16:49:15 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class PivotHeaderEntry
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-05-16 16:49:15 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class PivotValueRegion
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2019-03-20 00:37:12 +00:00
|
|
|
class ProductData
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Report
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-05-16 16:49:15 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ReportData
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-05-16 16:49:15 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ReportRequest
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-05-16 16:49:15 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ReportRow
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2017-05-26 16:44:32 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2017-11-10 00:35:09 +00:00
|
|
|
class ResourceQuotasRemaining
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-03-20 00:37:12 +00:00
|
|
|
class ScreenviewData
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class SearchUserActivityRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class SearchUserActivityResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Segment
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-05-16 16:49:15 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SegmentDefinition
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-05-16 16:49:15 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SegmentDimensionFilter
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-05-16 16:49:15 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SegmentFilter
|
2017-06-02 06:11:31 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SegmentFilterClause
|
2017-06-14 17:02:03 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SegmentMetricFilter
|
2017-06-14 17:02:03 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
2016-05-16 16:49:15 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SegmentSequenceStep
|
2017-06-14 17:02:03 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SequenceSegment
|
2017-06-14 17:02:03 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SimpleSegment
|
2017-06-14 17:02:03 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2019-03-20 00:37:12 +00:00
|
|
|
class TransactionData
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class User
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class UserActivitySession
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class Activity
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :activity_time, as: 'activityTime'
|
|
|
|
property :activity_type, as: 'activityType'
|
|
|
|
property :appview, as: 'appview', class: Google::Apis::AnalyticsreportingV4::ScreenviewData, decorator: Google::Apis::AnalyticsreportingV4::ScreenviewData::Representation
|
|
|
|
|
|
|
|
property :campaign, as: 'campaign'
|
|
|
|
property :channel_grouping, as: 'channelGrouping'
|
|
|
|
collection :custom_dimension, as: 'customDimension', class: Google::Apis::AnalyticsreportingV4::CustomDimension, decorator: Google::Apis::AnalyticsreportingV4::CustomDimension::Representation
|
|
|
|
|
|
|
|
property :ecommerce, as: 'ecommerce', class: Google::Apis::AnalyticsreportingV4::EcommerceData, decorator: Google::Apis::AnalyticsreportingV4::EcommerceData::Representation
|
|
|
|
|
|
|
|
property :event, as: 'event', class: Google::Apis::AnalyticsreportingV4::EventData, decorator: Google::Apis::AnalyticsreportingV4::EventData::Representation
|
|
|
|
|
|
|
|
property :goals, as: 'goals', class: Google::Apis::AnalyticsreportingV4::GoalSetData, decorator: Google::Apis::AnalyticsreportingV4::GoalSetData::Representation
|
|
|
|
|
|
|
|
property :hostname, as: 'hostname'
|
|
|
|
property :keyword, as: 'keyword'
|
|
|
|
property :landing_page_path, as: 'landingPagePath'
|
|
|
|
property :medium, as: 'medium'
|
|
|
|
property :pageview, as: 'pageview', class: Google::Apis::AnalyticsreportingV4::PageviewData, decorator: Google::Apis::AnalyticsreportingV4::PageviewData::Representation
|
|
|
|
|
|
|
|
property :source, as: 'source'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Cohort
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :date_range, as: 'dateRange', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation
|
2017-03-27 22:14:47 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :type, as: 'type'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CohortGroup
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :cohorts, as: 'cohorts', class: Google::Apis::AnalyticsreportingV4::Cohort, decorator: Google::Apis::AnalyticsreportingV4::Cohort::Representation
|
|
|
|
|
|
|
|
property :lifetime_value, as: 'lifetimeValue'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ColumnHeader
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :dimensions, as: 'dimensions'
|
|
|
|
property :metric_header, as: 'metricHeader', class: Google::Apis::AnalyticsreportingV4::MetricHeader, decorator: Google::Apis::AnalyticsreportingV4::MetricHeader::Representation
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
|
2019-03-20 00:37:12 +00:00
|
|
|
class CustomDimension
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :index, as: 'index'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class DateRange
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :end_date, as: 'endDate'
|
|
|
|
property :start_date, as: 'startDate'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2017-02-13 23:28:52 +00:00
|
|
|
end
|
2016-05-16 16:49:15 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class DateRangeValues
|
2017-02-13 23:28:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :pivot_value_regions, as: 'pivotValueRegions', class: Google::Apis::AnalyticsreportingV4::PivotValueRegion, decorator: Google::Apis::AnalyticsreportingV4::PivotValueRegion::Representation
|
2016-05-16 16:49:15 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :values, as: 'values'
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Dimension
|
2016-05-16 16:49:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :histogram_buckets, as: 'histogramBuckets'
|
|
|
|
property :name, as: 'name'
|
2017-02-13 23:28:52 +00:00
|
|
|
end
|
|
|
|
end
|
2016-05-16 16:49:15 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class DimensionFilter
|
2016-05-16 16:49:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :case_sensitive, as: 'caseSensitive'
|
|
|
|
property :dimension_name, as: 'dimensionName'
|
|
|
|
collection :expressions, as: 'expressions'
|
|
|
|
property :not, as: 'not'
|
|
|
|
property :operator, as: 'operator'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
|
|
|
end
|
2017-04-03 20:18:48 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class DimensionFilterClause
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :filters, as: 'filters', class: Google::Apis::AnalyticsreportingV4::DimensionFilter, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilter::Representation
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
property :operator, as: 'operator'
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class DynamicSegment
|
2016-05-16 16:49:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :name, as: 'name'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :session_segment, as: 'sessionSegment', class: Google::Apis::AnalyticsreportingV4::SegmentDefinition, decorator: Google::Apis::AnalyticsreportingV4::SegmentDefinition::Representation
|
|
|
|
|
|
|
|
property :user_segment, as: 'userSegment', class: Google::Apis::AnalyticsreportingV4::SegmentDefinition, decorator: Google::Apis::AnalyticsreportingV4::SegmentDefinition::Representation
|
|
|
|
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-03-20 00:37:12 +00:00
|
|
|
class EcommerceData
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :action_type, as: 'actionType'
|
|
|
|
property :ecommerce_type, as: 'ecommerceType'
|
|
|
|
collection :products, as: 'products', class: Google::Apis::AnalyticsreportingV4::ProductData, decorator: Google::Apis::AnalyticsreportingV4::ProductData::Representation
|
|
|
|
|
|
|
|
property :transaction, as: 'transaction', class: Google::Apis::AnalyticsreportingV4::TransactionData, decorator: Google::Apis::AnalyticsreportingV4::TransactionData::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class EventData
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :event_action, as: 'eventAction'
|
|
|
|
property :event_category, as: 'eventCategory'
|
|
|
|
property :event_count, :numeric_string => true, as: 'eventCount'
|
|
|
|
property :event_label, as: 'eventLabel'
|
|
|
|
property :event_value, :numeric_string => true, as: 'eventValue'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class GetReportsRequest
|
2016-05-16 16:49:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :report_requests, as: 'reportRequests', class: Google::Apis::AnalyticsreportingV4::ReportRequest, decorator: Google::Apis::AnalyticsreportingV4::ReportRequest::Representation
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2017-11-10 00:35:09 +00:00
|
|
|
property :use_resource_quotas, as: 'useResourceQuotas'
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class GetReportsResponse
|
2016-05-16 16:49:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-11-10 00:35:09 +00:00
|
|
|
property :query_cost, as: 'queryCost'
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :reports, as: 'reports', class: Google::Apis::AnalyticsreportingV4::Report, decorator: Google::Apis::AnalyticsreportingV4::Report::Representation
|
2017-05-26 16:44:32 +00:00
|
|
|
|
2017-11-10 00:35:09 +00:00
|
|
|
property :resource_quotas_remaining, as: 'resourceQuotasRemaining', class: Google::Apis::AnalyticsreportingV4::ResourceQuotasRemaining, decorator: Google::Apis::AnalyticsreportingV4::ResourceQuotasRemaining::Representation
|
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-03-20 00:37:12 +00:00
|
|
|
class GoalData
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :goal_completion_location, as: 'goalCompletionLocation'
|
|
|
|
property :goal_completions, :numeric_string => true, as: 'goalCompletions'
|
|
|
|
property :goal_index, as: 'goalIndex'
|
|
|
|
property :goal_name, as: 'goalName'
|
|
|
|
property :goal_previous_step1, as: 'goalPreviousStep1'
|
|
|
|
property :goal_previous_step2, as: 'goalPreviousStep2'
|
|
|
|
property :goal_previous_step3, as: 'goalPreviousStep3'
|
|
|
|
property :goal_value, as: 'goalValue'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GoalSetData
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :goals, as: 'goals', class: Google::Apis::AnalyticsreportingV4::GoalData, decorator: Google::Apis::AnalyticsreportingV4::GoalData::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Metric
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :alias, as: 'alias'
|
|
|
|
property :expression, as: 'expression'
|
|
|
|
property :formatting_type, as: 'formattingType'
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class MetricFilter
|
2016-05-16 16:49:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :comparison_value, as: 'comparisonValue'
|
|
|
|
property :metric_name, as: 'metricName'
|
2017-03-27 22:14:47 +00:00
|
|
|
property :not, as: 'not'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :operator, as: 'operator'
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class MetricFilterClause
|
2016-05-16 16:49:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :filters, as: 'filters', class: Google::Apis::AnalyticsreportingV4::MetricFilter, decorator: Google::Apis::AnalyticsreportingV4::MetricFilter::Representation
|
2017-03-31 19:53:27 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :operator, as: 'operator'
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class MetricHeader
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :metric_header_entries, as: 'metricHeaderEntries', class: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry::Representation
|
|
|
|
|
|
|
|
collection :pivot_headers, as: 'pivotHeaders', class: Google::Apis::AnalyticsreportingV4::PivotHeader, decorator: Google::Apis::AnalyticsreportingV4::PivotHeader::Representation
|
2017-05-04 19:35:56 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class MetricHeaderEntry
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-07-12 20:10:42 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :type, as: 'type'
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-04-03 20:18:48 +00:00
|
|
|
class OrFiltersForSegment
|
2016-05-16 16:49:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
collection :segment_filter_clauses, as: 'segmentFilterClauses', class: Google::Apis::AnalyticsreportingV4::SegmentFilterClause, decorator: Google::Apis::AnalyticsreportingV4::SegmentFilterClause::Representation
|
|
|
|
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class OrderBy
|
2016-05-16 16:49:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :field_name, as: 'fieldName'
|
|
|
|
property :order_type, as: 'orderType'
|
|
|
|
property :sort_order, as: 'sortOrder'
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
end
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2019-03-20 00:37:12 +00:00
|
|
|
class PageviewData
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :page_path, as: 'pagePath'
|
|
|
|
property :page_title, as: 'pageTitle'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Pivot
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :dimension_filter_clauses, as: 'dimensionFilterClauses', class: Google::Apis::AnalyticsreportingV4::DimensionFilterClause, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilterClause::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsreportingV4::Dimension, decorator: Google::Apis::AnalyticsreportingV4::Dimension::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :max_group_count, as: 'maxGroupCount'
|
|
|
|
collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::Metric, decorator: Google::Apis::AnalyticsreportingV4::Metric::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :start_group, as: 'startGroup'
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class PivotHeader
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :pivot_header_entries, as: 'pivotHeaderEntries', class: Google::Apis::AnalyticsreportingV4::PivotHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::PivotHeaderEntry::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :total_pivot_groups_count, as: 'totalPivotGroupsCount'
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class PivotHeaderEntry
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :dimension_names, as: 'dimensionNames'
|
|
|
|
collection :dimension_values, as: 'dimensionValues'
|
|
|
|
property :metric, as: 'metric', class: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry::Representation
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class PivotValueRegion
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :values, as: 'values'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-03-20 00:37:12 +00:00
|
|
|
class ProductData
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :item_revenue, as: 'itemRevenue'
|
|
|
|
property :product_name, as: 'productName'
|
|
|
|
property :product_quantity, :numeric_string => true, as: 'productQuantity'
|
|
|
|
property :product_sku, as: 'productSku'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Report
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :column_header, as: 'columnHeader', class: Google::Apis::AnalyticsreportingV4::ColumnHeader, decorator: Google::Apis::AnalyticsreportingV4::ColumnHeader::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :data, as: 'data', class: Google::Apis::AnalyticsreportingV4::ReportData, decorator: Google::Apis::AnalyticsreportingV4::ReportData::Representation
|
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ReportData
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :data_last_refreshed, as: 'dataLastRefreshed'
|
|
|
|
property :is_data_golden, as: 'isDataGolden'
|
|
|
|
collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation
|
|
|
|
|
|
|
|
collection :minimums, as: 'minimums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation
|
|
|
|
|
|
|
|
property :row_count, as: 'rowCount'
|
|
|
|
collection :rows, as: 'rows', class: Google::Apis::AnalyticsreportingV4::ReportRow, decorator: Google::Apis::AnalyticsreportingV4::ReportRow::Representation
|
|
|
|
|
|
|
|
collection :samples_read_counts, as: 'samplesReadCounts'
|
|
|
|
collection :sampling_space_sizes, as: 'samplingSpaceSizes'
|
|
|
|
collection :totals, as: 'totals', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ReportRequest
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :cohort_group, as: 'cohortGroup', class: Google::Apis::AnalyticsreportingV4::CohortGroup, decorator: Google::Apis::AnalyticsreportingV4::CohortGroup::Representation
|
|
|
|
|
|
|
|
collection :date_ranges, as: 'dateRanges', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation
|
2017-06-14 17:02:03 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
collection :dimension_filter_clauses, as: 'dimensionFilterClauses', class: Google::Apis::AnalyticsreportingV4::DimensionFilterClause, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilterClause::Representation
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsreportingV4::Dimension, decorator: Google::Apis::AnalyticsreportingV4::Dimension::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :filters_expression, as: 'filtersExpression'
|
|
|
|
property :hide_totals, as: 'hideTotals'
|
|
|
|
property :hide_value_ranges, as: 'hideValueRanges'
|
|
|
|
property :include_empty_rows, as: 'includeEmptyRows'
|
|
|
|
collection :metric_filter_clauses, as: 'metricFilterClauses', class: Google::Apis::AnalyticsreportingV4::MetricFilterClause, decorator: Google::Apis::AnalyticsreportingV4::MetricFilterClause::Representation
|
|
|
|
|
|
|
|
collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::Metric, decorator: Google::Apis::AnalyticsreportingV4::Metric::Representation
|
|
|
|
|
|
|
|
collection :order_bys, as: 'orderBys', class: Google::Apis::AnalyticsreportingV4::OrderBy, decorator: Google::Apis::AnalyticsreportingV4::OrderBy::Representation
|
|
|
|
|
|
|
|
property :page_size, as: 'pageSize'
|
|
|
|
property :page_token, as: 'pageToken'
|
|
|
|
collection :pivots, as: 'pivots', class: Google::Apis::AnalyticsreportingV4::Pivot, decorator: Google::Apis::AnalyticsreportingV4::Pivot::Representation
|
|
|
|
|
|
|
|
property :sampling_level, as: 'samplingLevel'
|
|
|
|
collection :segments, as: 'segments', class: Google::Apis::AnalyticsreportingV4::Segment, decorator: Google::Apis::AnalyticsreportingV4::Segment::Representation
|
|
|
|
|
|
|
|
property :view_id, as: 'viewId'
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ReportRow
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :dimensions, as: 'dimensions'
|
|
|
|
collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-10 00:35:09 +00:00
|
|
|
class ResourceQuotasRemaining
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :daily_quota_tokens_remaining, as: 'dailyQuotaTokensRemaining'
|
|
|
|
property :hourly_quota_tokens_remaining, as: 'hourlyQuotaTokensRemaining'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-03-20 00:37:12 +00:00
|
|
|
class ScreenviewData
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :app_name, as: 'appName'
|
|
|
|
property :mobile_device_branding, as: 'mobileDeviceBranding'
|
|
|
|
property :mobile_device_model, as: 'mobileDeviceModel'
|
|
|
|
property :screen_name, as: 'screenName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SearchUserActivityRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :activity_types, as: 'activityTypes'
|
|
|
|
property :date_range, as: 'dateRange', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation
|
|
|
|
|
|
|
|
property :page_size, as: 'pageSize'
|
|
|
|
property :page_token, as: 'pageToken'
|
|
|
|
property :user, as: 'user', class: Google::Apis::AnalyticsreportingV4::User, decorator: Google::Apis::AnalyticsreportingV4::User::Representation
|
|
|
|
|
|
|
|
property :view_id, as: 'viewId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SearchUserActivityResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :sample_rate, as: 'sampleRate'
|
|
|
|
collection :sessions, as: 'sessions', class: Google::Apis::AnalyticsreportingV4::UserActivitySession, decorator: Google::Apis::AnalyticsreportingV4::UserActivitySession::Representation
|
|
|
|
|
|
|
|
property :total_rows, as: 'totalRows'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Segment
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :dynamic_segment, as: 'dynamicSegment', class: Google::Apis::AnalyticsreportingV4::DynamicSegment, decorator: Google::Apis::AnalyticsreportingV4::DynamicSegment::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :segment_id, as: 'segmentId'
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SegmentDefinition
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :segment_filters, as: 'segmentFilters', class: Google::Apis::AnalyticsreportingV4::SegmentFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentFilter::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SegmentDimensionFilter
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :case_sensitive, as: 'caseSensitive'
|
|
|
|
property :dimension_name, as: 'dimensionName'
|
|
|
|
collection :expressions, as: 'expressions'
|
|
|
|
property :max_comparison_value, as: 'maxComparisonValue'
|
|
|
|
property :min_comparison_value, as: 'minComparisonValue'
|
|
|
|
property :operator, as: 'operator'
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
|
|
|
end
|
2017-06-14 17:02:03 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SegmentFilter
|
2017-06-14 17:02:03 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :not, as: 'not'
|
|
|
|
property :sequence_segment, as: 'sequenceSegment', class: Google::Apis::AnalyticsreportingV4::SequenceSegment, decorator: Google::Apis::AnalyticsreportingV4::SequenceSegment::Representation
|
2017-06-14 17:02:03 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :simple_segment, as: 'simpleSegment', class: Google::Apis::AnalyticsreportingV4::SimpleSegment, decorator: Google::Apis::AnalyticsreportingV4::SimpleSegment::Representation
|
2017-06-14 17:02:03 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SegmentFilterClause
|
2017-06-14 17:02:03 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter::Representation
|
|
|
|
|
|
|
|
property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsreportingV4::SegmentMetricFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentMetricFilter::Representation
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
property :not, as: 'not'
|
2017-06-14 17:02:03 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SegmentMetricFilter
|
2017-06-14 17:02:03 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :comparison_value, as: 'comparisonValue'
|
2017-07-12 20:10:42 +00:00
|
|
|
property :max_comparison_value, as: 'maxComparisonValue'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :metric_name, as: 'metricName'
|
2017-06-14 17:02:03 +00:00
|
|
|
property :operator, as: 'operator'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :scope, as: 'scope'
|
2017-06-14 17:02:03 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SegmentSequenceStep
|
2017-06-14 17:02:03 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :match_type, as: 'matchType'
|
|
|
|
collection :or_filters_for_segment, as: 'orFiltersForSegment', class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment, decorator: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment::Representation
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SequenceSegment
|
2017-06-14 17:02:03 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :first_step_should_match_first_hit, as: 'firstStepShouldMatchFirstHit'
|
|
|
|
collection :segment_sequence_steps, as: 'segmentSequenceSteps', class: Google::Apis::AnalyticsreportingV4::SegmentSequenceStep, decorator: Google::Apis::AnalyticsreportingV4::SegmentSequenceStep::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SimpleSegment
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :or_filters_for_segment, as: 'orFiltersForSegment', class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment, decorator: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment::Representation
|
2017-06-14 17:02:03 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
2019-03-20 00:37:12 +00:00
|
|
|
|
|
|
|
class TransactionData
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :transaction_id, as: 'transactionId'
|
|
|
|
property :transaction_revenue, as: 'transactionRevenue'
|
|
|
|
property :transaction_shipping, as: 'transactionShipping'
|
|
|
|
property :transaction_tax, as: 'transactionTax'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class User
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :type, as: 'type'
|
|
|
|
property :user_id, as: 'userId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class UserActivitySession
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :activities, as: 'activities', class: Google::Apis::AnalyticsreportingV4::Activity, decorator: Google::Apis::AnalyticsreportingV4::Activity::Representation
|
|
|
|
|
|
|
|
property :data_source, as: 'dataSource'
|
|
|
|
property :device_category, as: 'deviceCategory'
|
|
|
|
property :platform, as: 'platform'
|
|
|
|
property :session_date, as: 'sessionDate'
|
|
|
|
property :session_id, as: 'sessionId'
|
|
|
|
end
|
|
|
|
end
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|