class Google::Apis::AnalyticsreportingV4::MetricFilterClause

Represents a group of metric filters. Set the operator value to specify how the filters are logically combined.

Attributes

filters[RW]

The repeated set of filters. They are logically combined based on the operator specified. Corresponds to the JSON property `filters` @return [Array<Google::Apis::AnalyticsreportingV4::MetricFilter>]

operator[RW]

The operator for combining multiple metric filters. If unspecified, it is treated as an `OR`. Corresponds to the JSON property `operator` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analyticsreporting_v4/classes.rb, line 831
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsreporting_v4/classes.rb, line 836
def update!(**args)
  @filters = args[:filters] if args.key?(:filters)
  @operator = args[:operator] if args.key?(:operator)
end