Class: Google::Analytics::Data::V1beta::CohortsRange
- Inherits:
-
Object
- Object
- Google::Analytics::Data::V1beta::CohortsRange
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/analytics/data/v1beta/data.rb
Overview
Configures the extended reporting date range for a cohort report. Specifies an offset duration to follow the cohorts over.
Defined Under Namespace
Modules: Granularity
Instance Attribute Summary collapse
-
#end_offset ⇒ ::Integer
Required.
-
#granularity ⇒ ::Google::Analytics::Data::V1beta::CohortsRange::Granularity
Required.
-
#start_offset ⇒ ::Integer
startOffset
specifies the start date of the extended reporting date range for a cohort report.
Instance Attribute Details
#end_offset ⇒ ::Integer
665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 |
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 665 class CohortsRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The granularity used to interpret the `startOffset` and `endOffset` for the # extended reporting date range for a cohort report. module Granularity # Should never be specified. GRANULARITY_UNSPECIFIED = 0 # Daily granularity. Commonly used if the cohort's `dateRange` is a single # day and the request contains `cohortNthDay`. DAILY = 1 # Weekly granularity. Commonly used if the cohort's `dateRange` is a week # in duration (starting on Sunday and ending on Saturday) and the request # contains `cohortNthWeek`. WEEKLY = 2 # Monthly granularity. Commonly used if the cohort's `dateRange` is a month # in duration and the request contains `cohortNthMonth`. MONTHLY = 3 end end |
#granularity ⇒ ::Google::Analytics::Data::V1beta::CohortsRange::Granularity
665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 |
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 665 class CohortsRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The granularity used to interpret the `startOffset` and `endOffset` for the # extended reporting date range for a cohort report. module Granularity # Should never be specified. GRANULARITY_UNSPECIFIED = 0 # Daily granularity. Commonly used if the cohort's `dateRange` is a single # day and the request contains `cohortNthDay`. DAILY = 1 # Weekly granularity. Commonly used if the cohort's `dateRange` is a week # in duration (starting on Sunday and ending on Saturday) and the request # contains `cohortNthWeek`. WEEKLY = 2 # Monthly granularity. Commonly used if the cohort's `dateRange` is a month # in duration and the request contains `cohortNthMonth`. MONTHLY = 3 end end |
#start_offset ⇒ ::Integer
665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 |
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 665 class CohortsRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The granularity used to interpret the `startOffset` and `endOffset` for the # extended reporting date range for a cohort report. module Granularity # Should never be specified. GRANULARITY_UNSPECIFIED = 0 # Daily granularity. Commonly used if the cohort's `dateRange` is a single # day and the request contains `cohortNthDay`. DAILY = 1 # Weekly granularity. Commonly used if the cohort's `dateRange` is a week # in duration (starting on Sunday and ending on Saturday) and the request # contains `cohortNthWeek`. WEEKLY = 2 # Monthly granularity. Commonly used if the cohort's `dateRange` is a month # in duration and the request contains `cohortNthMonth`. MONTHLY = 3 end end |