Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter
- 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 filter for a string-type dimension that matches a particular pattern.
Instance Attribute Summary collapse
-
#case_sensitive ⇒ Boolean
(also: #case_sensitive?)
Optional.
-
#match_type ⇒ String
Required.
-
#value ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter
constructor
A new instance of GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter
Returns a new instance of GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter.
1167 1168 1169 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1167 def initialize(**args) update!(**args) end |
Instance Attribute Details
#case_sensitive ⇒ Boolean Also known as: case_sensitive?
Optional. If true, the match is case-sensitive. If false, the match is case-
insensitive.
Corresponds to the JSON property caseSensitive
1154 1155 1156 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1154 def case_sensitive @case_sensitive end |
#match_type ⇒ String
Required. The match type for the string filter.
Corresponds to the JSON property matchType
1160 1161 1162 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1160 def match_type @match_type end |
#value ⇒ String
Required. The string value to be matched against.
Corresponds to the JSON property value
1165 1166 1167 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1165 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1172 1173 1174 1175 1176 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1172 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 |