Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter
- 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
-
#match_type ⇒ String
Required.
-
#value ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter
constructor
A new instance of GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter
Returns a new instance of GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter.
2210 2211 2212 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2210 def initialize(**args) update!(**args) end |
Instance Attribute Details
#match_type ⇒ String
Required. The match type for the string filter.
Corresponds to the JSON property matchType
2203 2204 2205 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2203 def match_type @match_type end |
#value ⇒ String
Required. The string value to be matched against.
Corresponds to the JSON property value
2208 2209 2210 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2208 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2215 2216 2217 2218 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2215 def update!(**args) @match_type = args[:match_type] if args.key?(:match_type) @value = args[:value] if args.key?(:value) end |