Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilter

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

An expression to filter dimension or metric values.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessFilter

Returns a new instance of GoogleAnalyticsAdminV1alphaAccessFilter.



214
215
216
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 214

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

Instance Attribute Details

#between_filterGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBetweenFilter

To express that the result needs to be between two numbers (inclusive). Corresponds to the JSON property betweenFilter



192
193
194
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 192

def between_filter
  @between_filter
end

#field_nameString

The dimension name or metric name. Corresponds to the JSON property fieldName

Returns:

  • (String)


197
198
199
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 197

def field_name
  @field_name
end

#in_list_filterGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessInListFilter

The result needs to be in a list of string values. Corresponds to the JSON property inListFilter



202
203
204
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 202

def in_list_filter
  @in_list_filter
end

#numeric_filterGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessNumericFilter

Filters for numeric or date values. Corresponds to the JSON property numericFilter



207
208
209
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 207

def numeric_filter
  @numeric_filter
end

#string_filterGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessStringFilter

The filter for strings. Corresponds to the JSON property stringFilter



212
213
214
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 212

def string_filter
  @string_filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



219
220
221
222
223
224
225
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 219

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