Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilter
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilter
- 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
-
#between_filter ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBetweenFilter
To express that the result needs to be between two numbers (inclusive).
-
#field_name ⇒ String
The dimension name or metric name.
-
#in_list_filter ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessInListFilter
The result needs to be in a list of string values.
-
#numeric_filter ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessNumericFilter
Filters for numeric or date values.
-
#string_filter ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessStringFilter
The filter for strings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessFilter
constructor
A new instance of GoogleAnalyticsAdminV1alphaAccessFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessFilter
Returns a new instance of GoogleAnalyticsAdminV1alphaAccessFilter.
174 175 176 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 174 def initialize(**args) update!(**args) end |
Instance Attribute Details
#between_filter ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBetweenFilter
To express that the result needs to be between two numbers (inclusive).
Corresponds to the JSON property betweenFilter
152 153 154 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 152 def between_filter @between_filter end |
#field_name ⇒ String
The dimension name or metric name.
Corresponds to the JSON property fieldName
157 158 159 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 157 def field_name @field_name end |
#in_list_filter ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessInListFilter
The result needs to be in a list of string values.
Corresponds to the JSON property inListFilter
162 163 164 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 162 def in_list_filter @in_list_filter end |
#numeric_filter ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessNumericFilter
Filters for numeric or date values.
Corresponds to the JSON property numericFilter
167 168 169 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 167 def numeric_filter @numeric_filter end |
#string_filter ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessStringFilter
The filter for strings.
Corresponds to the JSON property stringFilter
172 173 174 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 172 def string_filter @string_filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
179 180 181 182 183 184 185 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 179 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 |