Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter

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

Filter where the field value is a String. The match is case insensitive.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter

Returns a new instance of GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter.



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

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

Instance Attribute Details

#match_typeString

Required. The match type for the string filter. Corresponds to the JSON property matchType

Returns:

  • (String)


2056
2057
2058
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2056

def match_type
  @match_type
end

#valueString

Required. The string value to be matched against. Corresponds to the JSON property value

Returns:

  • (String)


2061
2062
2063
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2061

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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