Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter
- 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 filter for numeric or date values on a dimension or metric.
Instance Attribute Summary collapse
-
#operation ⇒ String
Required.
-
#value ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue
To represent a number.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter
constructor
A new instance of GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter
Returns a new instance of GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter.
1110 1111 1112 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1110 def initialize(**args) update!(**args) end |
Instance Attribute Details
#operation ⇒ String
Required. The operation applied to a numeric filter.
Corresponds to the JSON property operation
1103 1104 1105 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1103 def operation @operation end |
#value ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue
To represent a number.
Corresponds to the JSON property value
1108 1109 1110 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1108 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1115 1116 1117 1118 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1115 def update!(**args) @operation = args[:operation] if args.key?(:operation) @value = args[:value] if args.key?(:value) end |