Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGroupingRule

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

The rules that govern how traffic is grouped into one channel.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaGroupingRule

Returns a new instance of GoogleAnalyticsAdminV1alphaGroupingRule.



3789
3790
3791
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3789

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

Instance Attribute Details

#display_nameString

Required. Customer defined display name for the channel. Corresponds to the JSON property displayName

Returns:

  • (String)


3782
3783
3784
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3782

def display_name
  @display_name
end

#expressionGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression

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



3787
3788
3789
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3787

def expression
  @expression
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3794
3795
3796
3797
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3794

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