Class: Google::Apis::AnalyticsdataV1alpha::CohortReportSettings
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1alpha::CohortReportSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsdata_v1alpha/classes.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb
Overview
Optional settings of a cohort report.
Instance Attribute Summary collapse
-
#accumulate ⇒ Boolean
(also: #accumulate?)
If true, accumulates the result from first touch day to the end day.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CohortReportSettings
constructor
A new instance of CohortReportSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CohortReportSettings
Returns a new instance of CohortReportSettings.
208 209 210 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 208 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accumulate ⇒ Boolean Also known as: accumulate?
If true, accumulates the result from first touch day to the end day. Not
supported in RunReportRequest
.
Corresponds to the JSON property accumulate
205 206 207 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 205 def accumulate @accumulate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
213 214 215 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 213 def update!(**args) @accumulate = args[:accumulate] if args.key?(:accumulate) end |