Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilter

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 specific filter for a single dimension.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaChannelGroupFilter

Returns a new instance of GoogleAnalyticsAdminV1alphaChannelGroupFilter.



2076
2077
2078
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2076

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

Instance Attribute Details

#field_nameString

Required. Immutable. The dimension name to filter. Corresponds to the JSON property fieldName

Returns:

  • (String)


2063
2064
2065
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2063

def field_name
  @field_name
end

#in_list_filterGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter

A filter for a string dimension that matches a particular list of options. The match is case insensitive. Corresponds to the JSON property inListFilter



2069
2070
2071
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2069

def in_list_filter
  @in_list_filter
end

#string_filterGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter

Filter where the field value is a String. The match is case insensitive. Corresponds to the JSON property stringFilter



2074
2075
2076
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2074

def string_filter
  @string_filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2081
2082
2083
2084
2085
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2081

def update!(**args)
  @field_name = args[:field_name] if args.key?(:field_name)
  @in_list_filter = args[:in_list_filter] if args.key?(:in_list_filter)
  @string_filter = args[:string_filter] if args.key?(:string_filter)
end