Class: Google::Apis::AnalyticsreportingV4::SimpleSegment
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsreportingV4::SimpleSegment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsreporting_v4/classes.rb,
generated/google/apis/analyticsreporting_v4/representations.rb,
generated/google/apis/analyticsreporting_v4/representations.rb
Overview
A Simple segment conditions consist of one or more dimension/metric conditions that can be combined.
Instance Attribute Summary collapse
-
#or_filters_for_segment ⇒ Array<Google::Apis::AnalyticsreportingV4::OrFiltersForSegment>
A list of segment filters groups which are combined with logical
AND
operator.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SimpleSegment
constructor
A new instance of SimpleSegment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SimpleSegment
Returns a new instance of SimpleSegment
1465 1466 1467 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1465 def initialize(**args) update!(**args) end |
Instance Attribute Details
#or_filters_for_segment ⇒ Array<Google::Apis::AnalyticsreportingV4::OrFiltersForSegment>
A list of segment filters groups which are combined with logical AND
operator.
Corresponds to the JSON property orFiltersForSegment
1463 1464 1465 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1463 def or_filters_for_segment @or_filters_for_segment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1470 1471 1472 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1470 def update!(**args) @or_filters_for_segment = args[:or_filters_for_segment] if args.key?(:or_filters_for_segment) end |