Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessStringFilter

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

The filter for strings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessStringFilter

Returns a new instance of GoogleAnalyticsAdminV1alphaAccessStringFilter.



597
598
599
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 597

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)


584
585
586
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 584

def case_sensitive
  @case_sensitive
end

#match_typeString

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

Returns:

  • (String)


590
591
592
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 590

def match_type
  @match_type
end

#valueString

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

Returns:

  • (String)


595
596
597
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 595

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



602
603
604
605
606
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 602

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