Class: Google::Apis::AnalyticsdataV1beta::StringFilter

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StringFilter

Returns a new instance of StringFilter.



1860
1861
1862
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1860

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#case_sensitiveBoolean Also known as: case_sensitive?

If true, the string value is case sensitive. Corresponds to the JSON property caseSensitive

Returns:

  • (Boolean)


1847
1848
1849
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1847

def case_sensitive
  @case_sensitive
end

#match_typeString

The match type for this filter. Corresponds to the JSON property matchType

Returns:

  • (String)


1853
1854
1855
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1853

def match_type
  @match_type
end

#valueString

The string value used for the matching. Corresponds to the JSON property value

Returns:

  • (String)


1858
1859
1860
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1858

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1865
1866
1867
1868
1869
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1865

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