Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSetFilter

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 for a single dimension

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaExpandedDataSetFilter

Returns a new instance of GoogleAnalyticsAdminV1alphaExpandedDataSetFilter.



3430
3431
3432
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3430

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

Instance Attribute Details

#field_nameString

Required. The dimension name to filter. Corresponds to the JSON property fieldName

Returns:

  • (String)


3418
3419
3420
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3418

def field_name
  @field_name
end

#in_list_filterGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter

A filter for a string dimension that matches a particular list of options. Corresponds to the JSON property inListFilter



3423
3424
3425
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3423

def in_list_filter
  @in_list_filter
end

#string_filterGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter

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



3428
3429
3430
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3428

def string_filter
  @string_filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3435
3436
3437
3438
3439
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3435

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