Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause
- 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 a filter. A filter may be inclusive (events satisfying the filter clause are included in the subproperty's data) or exclusive (events satisfying the filter clause are excluded from the subproperty's data).
Instance Attribute Summary collapse
-
#filter_clause_type ⇒ String
Required.
-
#filter_expression ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression
A logical expression of Subproperty event filters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause
constructor
A new instance of GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause
Returns a new instance of GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause.
5609 5610 5611 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5609 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filter_clause_type ⇒ String
Required. The type for the filter clause.
Corresponds to the JSON property filterClauseType
5602 5603 5604 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5602 def filter_clause_type @filter_clause_type end |
#filter_expression ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression
A logical expression of Subproperty event filters.
Corresponds to the JSON property filterExpression
5607 5608 5609 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5607 def filter_expression @filter_expression end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5614 5615 5616 5617 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5614 def update!(**args) @filter_clause_type = args[:filter_clause_type] if args.key?(:filter_clause_type) @filter_expression = args[:filter_expression] if args.key?(:filter_expression) end |