Class: Google::Apis::AnalyticsV3::Filter::SearchAndReplaceDetails
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AnalyticsV3::Filter::SearchAndReplaceDetails
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analytics_v3/classes.rb,
 generated/google/apis/analytics_v3/representations.rb,
 generated/google/apis/analytics_v3/representations.rb
Overview
Details for the filter of the type SEARCH_AND_REPLACE.
Instance Attribute Summary collapse
- 
  
    
      #case_sensitive  ⇒ Boolean 
    
    
      (also: #case_sensitive?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Determines if the filter is case sensitive. 
- 
  
    
      #field  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Field to use in the filter. 
- 
  
    
      #field_index  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Index of the custom dimension. 
- 
  
    
      #replace_string  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Term to replace the search term with. 
- 
  
    
      #search_string  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Term to search. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SearchAndReplaceDetails 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SearchAndReplaceDetails. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SearchAndReplaceDetails
Returns a new instance of SearchAndReplaceDetails
| 2300 2301 2302 | # File 'generated/google/apis/analytics_v3/classes.rb', line 2300 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#case_sensitive ⇒ Boolean Also known as: case_sensitive?
Determines if the filter is case sensitive.
Corresponds to the JSON property caseSensitive
| 2277 2278 2279 | # File 'generated/google/apis/analytics_v3/classes.rb', line 2277 def case_sensitive @case_sensitive end | 
#field ⇒ String
Field to use in the filter.
Corresponds to the JSON property field
| 2283 2284 2285 | # File 'generated/google/apis/analytics_v3/classes.rb', line 2283 def field @field end | 
#field_index ⇒ Fixnum
The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.
Corresponds to the JSON property fieldIndex
| 2288 2289 2290 | # File 'generated/google/apis/analytics_v3/classes.rb', line 2288 def field_index @field_index end | 
#replace_string ⇒ String
Term to replace the search term with.
Corresponds to the JSON property replaceString
| 2293 2294 2295 | # File 'generated/google/apis/analytics_v3/classes.rb', line 2293 def replace_string @replace_string end | 
#search_string ⇒ String
Term to search.
Corresponds to the JSON property searchString
| 2298 2299 2300 | # File 'generated/google/apis/analytics_v3/classes.rb', line 2298 def search_string @search_string end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2305 2306 2307 2308 2309 2310 2311 | # File 'generated/google/apis/analytics_v3/classes.rb', line 2305 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 |