Class: Google::Apis::AnalyticsdataV1alpha::CohortReportSettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#accumulateBoolean 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

Returns:

  • (Boolean)


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