Reference documentation and code samples for the Google Analytics Data V1alpha API class Google::Analytics::Data::V1alpha::CohortsRange.
Configures the extended reporting date range for a cohort report. Specifies an offset duration to follow the cohorts over.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#end_offset
def end_offset() -> ::Integer
-
(::Integer) —
endOffset
specifies the end date of the extended reporting date range for a cohort report.endOffset
can be any positive integer but is commonly set to 5 to 10 so that reports contain data on the cohort for the next several granularity time periods.If
granularity
isDAILY
, theendDate
of the extended reporting date range isendDate
of the cohort plusendOffset
days.If
granularity
isWEEKLY
, theendDate
of the extended reporting date range isendDate
of the cohort plusendOffset * 7
days.If
granularity
isMONTHLY
, theendDate
of the extended reporting date range isendDate
of the cohort plusendOffset * 30
days.
#end_offset=
def end_offset=(value) -> ::Integer
-
value (::Integer) —
endOffset
specifies the end date of the extended reporting date range for a cohort report.endOffset
can be any positive integer but is commonly set to 5 to 10 so that reports contain data on the cohort for the next several granularity time periods.If
granularity
isDAILY
, theendDate
of the extended reporting date range isendDate
of the cohort plusendOffset
days.If
granularity
isWEEKLY
, theendDate
of the extended reporting date range isendDate
of the cohort plusendOffset * 7
days.If
granularity
isMONTHLY
, theendDate
of the extended reporting date range isendDate
of the cohort plusendOffset * 30
days.
-
(::Integer) —
endOffset
specifies the end date of the extended reporting date range for a cohort report.endOffset
can be any positive integer but is commonly set to 5 to 10 so that reports contain data on the cohort for the next several granularity time periods.If
granularity
isDAILY
, theendDate
of the extended reporting date range isendDate
of the cohort plusendOffset
days.If
granularity
isWEEKLY
, theendDate
of the extended reporting date range isendDate
of the cohort plusendOffset * 7
days.If
granularity
isMONTHLY
, theendDate
of the extended reporting date range isendDate
of the cohort plusendOffset * 30
days.
#granularity
def granularity() -> ::Google::Analytics::Data::V1alpha::CohortsRange::Granularity
-
(::Google::Analytics::Data::V1alpha::CohortsRange::Granularity) — The granularity used to interpret the
startOffset
andendOffset
for the extended reporting date range for a cohort report.
#granularity=
def granularity=(value) -> ::Google::Analytics::Data::V1alpha::CohortsRange::Granularity
-
value (::Google::Analytics::Data::V1alpha::CohortsRange::Granularity) — The granularity used to interpret the
startOffset
andendOffset
for the extended reporting date range for a cohort report.
-
(::Google::Analytics::Data::V1alpha::CohortsRange::Granularity) — The granularity used to interpret the
startOffset
andendOffset
for the extended reporting date range for a cohort report.
#start_offset
def start_offset() -> ::Integer
-
(::Integer) —
startOffset
specifies the start date of the extended reporting date range for a cohort report.startOffset
is commonly set to 0 so that reports contain data from the acquisition of the cohort forward.If
granularity
isDAILY
, thestartDate
of the extended reporting date range isstartDate
of the cohort plusstartOffset
days.If
granularity
isWEEKLY
, thestartDate
of the extended reporting date range isstartDate
of the cohort plusstartOffset * 7
days.If
granularity
isMONTHLY
, thestartDate
of the extended reporting date range isstartDate
of the cohort plusstartOffset * 30
days.
#start_offset=
def start_offset=(value) -> ::Integer
-
value (::Integer) —
startOffset
specifies the start date of the extended reporting date range for a cohort report.startOffset
is commonly set to 0 so that reports contain data from the acquisition of the cohort forward.If
granularity
isDAILY
, thestartDate
of the extended reporting date range isstartDate
of the cohort plusstartOffset
days.If
granularity
isWEEKLY
, thestartDate
of the extended reporting date range isstartDate
of the cohort plusstartOffset * 7
days.If
granularity
isMONTHLY
, thestartDate
of the extended reporting date range isstartDate
of the cohort plusstartOffset * 30
days.
-
(::Integer) —
startOffset
specifies the start date of the extended reporting date range for a cohort report.startOffset
is commonly set to 0 so that reports contain data from the acquisition of the cohort forward.If
granularity
isDAILY
, thestartDate
of the extended reporting date range isstartDate
of the cohort plusstartOffset
days.If
granularity
isWEEKLY
, thestartDate
of the extended reporting date range isstartDate
of the cohort plusstartOffset * 7
days.If
granularity
isMONTHLY
, thestartDate
of the extended reporting date range isstartDate
of the cohort plusstartOffset * 30
days.