class Google::Apis::AnalyticsV3::Filter::SearchAndReplaceDetails
Details for the filter of the type SEARCH_AND_REPLACE.
Attributes
case_sensitive[RW]
Determines if the filter is case sensitive. Corresponds to the JSON property `caseSensitive` @return [Boolean]
case_sensitive?[RW]
Determines if the filter is case sensitive. Corresponds to the JSON property `caseSensitive` @return [Boolean]
field[RW]
Field to use in the filter. Corresponds to the JSON property `field` @return [String]
field_index[RW]
The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION. Corresponds to the JSON property `fieldIndex` @return [Fixnum]
replace_string[RW]
Term to replace the search term with. Corresponds to the JSON property `replaceString` @return [String]
search_string[RW]
Term to search. Corresponds to the JSON property `searchString` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 2206 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/analytics_v3/classes.rb, line 2211 def update!(**args) @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive) @field = args[:field] if args.key?(:field) @field_index = args[:field_index] if args.key?(:field_index) @replace_string = args[:replace_string] if args.key?(:replace_string) @search_string = args[:search_string] if args.key?(:search_string) end