Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression

Inherits:
Object
  • Object
show all
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 logical expression of Channel Group dimension filters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression

Returns a new instance of GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression.



2112
2113
2114
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2112

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

Instance Attribute Details

#and_groupGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList

A list of Channel Group filter expressions. Corresponds to the JSON property andGroup



2095
2096
2097
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2095

def and_group
  @and_group
end

#filterGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilter

A specific filter for a single dimension. Corresponds to the JSON property filter



2100
2101
2102
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2100

def filter
  @filter
end

#not_expressionGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression

A logical expression of Channel Group dimension filters. Corresponds to the JSON property notExpression



2105
2106
2107
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2105

def not_expression
  @not_expression
end

#or_groupGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList

A list of Channel Group filter expressions. Corresponds to the JSON property orGroup



2110
2111
2112
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2110

def or_group
  @or_group
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2117
2118
2119
2120
2121
2122
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2117

def update!(**args)
  @and_group = args[:and_group] if args.key?(:and_group)
  @filter = args[:filter] if args.key?(:filter)
  @not_expression = args[:not_expression] if args.key?(:not_expression)
  @or_group = args[:or_group] if args.key?(:or_group)
end