Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter

Returns a new instance of GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter.



5673
5674
5675
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5673

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

Instance Attribute Details

#case_sensitiveBoolean Also known as: case_sensitive?

Optional. If true, the string value is case sensitive. If false, the match is case-insensitive. Corresponds to the JSON property caseSensitive

Returns:

  • (Boolean)


5660
5661
5662
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5660

def case_sensitive
  @case_sensitive
end

#match_typeString

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

Returns:

  • (String)


5666
5667
5668
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5666

def match_type
  @match_type
end

#valueString

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

Returns:

  • (String)


5671
5672
5673
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5671

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5678
5679
5680
5681
5682
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5678

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