Class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment

Inherits:
Object
  • Object
show all
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 list of segment filters in the OR group are combined with the logical OR operator.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ OrFiltersForSegment

Returns a new instance of OrFiltersForSegment.



807
808
809
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 807

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#segment_filter_clausesArray<Google::Apis::AnalyticsreportingV4::SegmentFilterClause>

List of segment filters to be combined with a OR operator. Corresponds to the JSON property segmentFilterClauses



805
806
807
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 805

def segment_filter_clauses
  @segment_filter_clauses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



812
813
814
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 812

def update!(**args)
  @segment_filter_clauses = args[:segment_filter_clauses] if args.key?(:segment_filter_clauses)
end