Reference documentation and code samples for the Google Analytics Data V1beta API class Google::Analytics::Data::V1beta::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) — Required.
endOffsetspecifies the end date of the extended reporting date range for a cohort report.endOffsetcan 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
granularityisDAILY, theendDateof the extended reporting date range isendDateof the cohort plusendOffsetdays.If
granularityisWEEKLY, theendDateof the extended reporting date range isendDateof the cohort plusendOffset * 7days.If
granularityisMONTHLY, theendDateof the extended reporting date range isendDateof the cohort plusendOffset * 30days.
#end_offset=
def end_offset=(value) -> ::Integer-
value (::Integer) — Required.
endOffsetspecifies the end date of the extended reporting date range for a cohort report.endOffsetcan 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
granularityisDAILY, theendDateof the extended reporting date range isendDateof the cohort plusendOffsetdays.If
granularityisWEEKLY, theendDateof the extended reporting date range isendDateof the cohort plusendOffset * 7days.If
granularityisMONTHLY, theendDateof the extended reporting date range isendDateof the cohort plusendOffset * 30days.
-
(::Integer) — Required.
endOffsetspecifies the end date of the extended reporting date range for a cohort report.endOffsetcan 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
granularityisDAILY, theendDateof the extended reporting date range isendDateof the cohort plusendOffsetdays.If
granularityisWEEKLY, theendDateof the extended reporting date range isendDateof the cohort plusendOffset * 7days.If
granularityisMONTHLY, theendDateof the extended reporting date range isendDateof the cohort plusendOffset * 30days.
#granularity
def granularity() -> ::Google::Analytics::Data::V1beta::CohortsRange::Granularity-
(::Google::Analytics::Data::V1beta::CohortsRange::Granularity) — Required. The granularity used to interpret the
startOffsetandendOffsetfor the extended reporting date range for a cohort report.
#granularity=
def granularity=(value) -> ::Google::Analytics::Data::V1beta::CohortsRange::Granularity-
value (::Google::Analytics::Data::V1beta::CohortsRange::Granularity) — Required. The granularity used to interpret the
startOffsetandendOffsetfor the extended reporting date range for a cohort report.
-
(::Google::Analytics::Data::V1beta::CohortsRange::Granularity) — Required. The granularity used to interpret the
startOffsetandendOffsetfor the extended reporting date range for a cohort report.
#start_offset
def start_offset() -> ::Integer-
(::Integer) —
startOffsetspecifies the start date of the extended reporting date range for a cohort report.startOffsetis commonly set to 0 so that reports contain data from the acquisition of the cohort forward.If
granularityisDAILY, thestartDateof the extended reporting date range isstartDateof the cohort plusstartOffsetdays.If
granularityisWEEKLY, thestartDateof the extended reporting date range isstartDateof the cohort plusstartOffset * 7days.If
granularityisMONTHLY, thestartDateof the extended reporting date range isstartDateof the cohort plusstartOffset * 30days.
#start_offset=
def start_offset=(value) -> ::Integer-
value (::Integer) —
startOffsetspecifies the start date of the extended reporting date range for a cohort report.startOffsetis commonly set to 0 so that reports contain data from the acquisition of the cohort forward.If
granularityisDAILY, thestartDateof the extended reporting date range isstartDateof the cohort plusstartOffsetdays.If
granularityisWEEKLY, thestartDateof the extended reporting date range isstartDateof the cohort plusstartOffset * 7days.If
granularityisMONTHLY, thestartDateof the extended reporting date range isstartDateof the cohort plusstartOffset * 30days.
-
(::Integer) —
startOffsetspecifies the start date of the extended reporting date range for a cohort report.startOffsetis commonly set to 0 so that reports contain data from the acquisition of the cohort forward.If
granularityisDAILY, thestartDateof the extended reporting date range isstartDateof the cohort plusstartOffsetdays.If
granularityisWEEKLY, thestartDateof the extended reporting date range isstartDateof the cohort plusstartOffset * 7days.If
granularityisMONTHLY, thestartDateof the extended reporting date range isstartDateof the cohort plusstartOffset * 30days.