Class: Google::Apis::AnalyticsdataV1alpha::StringFilter
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1alpha::StringFilter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsdata_v1alpha/classes.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb
Overview
The filter for string
Instance Attribute Summary collapse
-
#case_sensitive ⇒ Boolean
(also: #case_sensitive?)
If true, the string value is case sensitive.
-
#match_type ⇒ String
The match type for this filter.
-
#value ⇒ String
The string value used for the matching.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StringFilter
constructor
A new instance of StringFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StringFilter
Returns a new instance of StringFilter.
1822 1823 1824 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1822 def initialize(**args) update!(**args) end |
Instance Attribute Details
#case_sensitive ⇒ Boolean Also known as: case_sensitive?
If true, the string value is case sensitive.
Corresponds to the JSON property caseSensitive
1809 1810 1811 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1809 def case_sensitive @case_sensitive end |
#match_type ⇒ String
The match type for this filter.
Corresponds to the JSON property matchType
1815 1816 1817 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1815 def match_type @match_type end |
#value ⇒ String
The string value used for the matching.
Corresponds to the JSON property value
1820 1821 1822 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1820 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1827 1828 1829 1830 1831 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1827 def update!(**args) @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive) @match_type = args[:match_type] if args.key?(:match_type) @value = args[:value] if args.key?(:value) end |