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.


902
903
904
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 902

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


900
901
902
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 900

def segment_filter_clauses
  @segment_filter_clauses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


907
908
909
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 907

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