Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition

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 specific filter expression

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition

Returns a new instance of GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition.



5530
5531
5532
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5530

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

Instance Attribute Details

#field_nameString

Required. The field that is being filtered. Corresponds to the JSON property fieldName

Returns:

  • (String)


5517
5518
5519
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5517

def field_name
  @field_name
end

#null_filterBoolean Also known as: null_filter?

A filter for null values. Corresponds to the JSON property nullFilter

Returns:

  • (Boolean)


5522
5523
5524
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5522

def null_filter
  @null_filter
end

#string_filterGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter

A filter for a string-type dimension that matches a particular pattern. Corresponds to the JSON property stringFilter



5528
5529
5530
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5528

def string_filter
  @string_filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5535
5536
5537
5538
5539
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5535

def update!(**args)
  @field_name = args[:field_name] if args.key?(:field_name)
  @null_filter = args[:null_filter] if args.key?(:null_filter)
  @string_filter = args[:string_filter] if args.key?(:string_filter)
end