Class: Google::Apis::AnalyticsdataV1beta::StringFilter
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1beta::StringFilter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsdata_v1beta/classes.rb,
lib/google/apis/analyticsdata_v1beta/representations.rb,
lib/google/apis/analyticsdata_v1beta/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.
1917 1918 1919 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1917 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
1904 1905 1906 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1904 def case_sensitive @case_sensitive end |
#match_type ⇒ String
The match type for this filter.
Corresponds to the JSON property matchType
1910 1911 1912 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1910 def match_type @match_type end |
#value ⇒ String
The string value used for the matching.
Corresponds to the JSON property value
1915 1916 1917 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1915 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1922 1923 1924 1925 1926 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1922 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 |