Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter

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) ⇒ GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter

Returns a new instance of GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter.



3551
3552
3553
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3551

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

Instance Attribute Details

#case_sensitiveBoolean Also known as: case_sensitive?

Optional. If true, the match is case-sensitive. If false, the match is case- insensitive. Must be true when match_type is EXACT. Must be false when match_type is CONTAINS. Corresponds to the JSON property caseSensitive

Returns:

  • (Boolean)


3538
3539
3540
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3538

def case_sensitive
  @case_sensitive
end

#match_typeString

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

Returns:

  • (String)


3544
3545
3546
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3544

def match_type
  @match_type
end

#valueString

Required. The string value to be matched against. Corresponds to the JSON property value

Returns:

  • (String)


3549
3550
3551
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3549

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3556
3557
3558
3559
3560
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3556

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