Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceFilterClause
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceFilterClause
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb
Overview
A clause for defining either a simple or sequence filter. A filter can be inclusive (For example, users satisfying the filter clause are included in the Audience) or exclusive (For example, users satisfying the filter clause are excluded from the Audience).
Instance Attribute Summary collapse
-
#clause_type ⇒ String
Required.
-
#sequence_filter ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceSequenceFilter
Defines filters that must occur in a specific order for the user to be a member of the Audience.
-
#simple_filter ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceSimpleFilter
Defines a simple filter that a user must satisfy to be a member of the Audience.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAudienceFilterClause
constructor
A new instance of GoogleAnalyticsAdminV1alphaAudienceFilterClause.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAudienceFilterClause
Returns a new instance of GoogleAnalyticsAdminV1alphaAudienceFilterClause.
1255 1256 1257 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1255 def initialize(**args) update!(**args) end |
Instance Attribute Details
#clause_type ⇒ String
Required. Specifies whether this is an include or exclude filter clause.
Corresponds to the JSON property clauseType
1241 1242 1243 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1241 def clause_type @clause_type end |
#sequence_filter ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceSequenceFilter
Defines filters that must occur in a specific order for the user to be a
member of the Audience.
Corresponds to the JSON property sequenceFilter
1247 1248 1249 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1247 def sequence_filter @sequence_filter end |
#simple_filter ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceSimpleFilter
Defines a simple filter that a user must satisfy to be a member of the
Audience.
Corresponds to the JSON property simpleFilter
1253 1254 1255 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1253 def simple_filter @simple_filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1260 1261 1262 1263 1264 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1260 def update!(**args) @clause_type = args[:clause_type] if args.key?(:clause_type) @sequence_filter = args[:sequence_filter] if args.key?(:sequence_filter) @simple_filter = args[:simple_filter] if args.key?(:simple_filter) end |