Class: Google::Apis::AnalyticsdataV1beta::CohortReportSettings
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1beta::CohortReportSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsdata_v1beta/classes.rb,
lib/google/apis/analyticsdata_v1beta/representations.rb,
lib/google/apis/analyticsdata_v1beta/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.
413 414 415 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 413 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
410 411 412 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 410 def accumulate @accumulate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
418 419 420 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 418 def update!(**args) @accumulate = args[:accumulate] if args.key?(:accumulate) end |