Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessFilter
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessFilter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1beta/classes.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb
Overview
An expression to filter dimension or metric values.
Instance Attribute Summary collapse
-
#between_filter ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessBetweenFilter
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::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessInListFilter
The result needs to be in a list of string values.
-
#numeric_filter ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessNumericFilter
Filters for numeric or date values.
-
#string_filter ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessStringFilter
The filter for strings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaAccessFilter
constructor
A new instance of GoogleAnalyticsAdminV1betaAccessFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaAccessFilter
Returns a new instance of GoogleAnalyticsAdminV1betaAccessFilter.
176 177 178 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 176 def initialize(**args) update!(**args) end |
Instance Attribute Details
#between_filter ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessBetweenFilter
To express that the result needs to be between two numbers (inclusive).
Corresponds to the JSON property betweenFilter
154 155 156 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 154 def between_filter @between_filter end |
#field_name ⇒ String
The dimension name or metric name.
Corresponds to the JSON property fieldName
159 160 161 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 159 def field_name @field_name end |
#in_list_filter ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessInListFilter
The result needs to be in a list of string values.
Corresponds to the JSON property inListFilter
164 165 166 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 164 def in_list_filter @in_list_filter end |
#numeric_filter ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessNumericFilter
Filters for numeric or date values.
Corresponds to the JSON property numericFilter
169 170 171 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 169 def numeric_filter @numeric_filter end |
#string_filter ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessStringFilter
The filter for strings.
Corresponds to the JSON property stringFilter
174 175 176 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 174 def string_filter @string_filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
181 182 183 184 185 186 187 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 181 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 |