Class: Google::Apis::AnalyticsdataV1beta::BetweenFilter
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1beta::BetweenFilter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsdata_v1beta/classes.rb,
lib/google/apis/analyticsdata_v1beta/representations.rb,
lib/google/apis/analyticsdata_v1beta/representations.rb
Overview
To express that the result needs to be between two numbers (inclusive).
Instance Attribute Summary collapse
-
#from_value ⇒ Google::Apis::AnalyticsdataV1beta::NumericValue
To represent a number.
-
#to_value ⇒ Google::Apis::AnalyticsdataV1beta::NumericValue
To represent a number.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BetweenFilter
constructor
A new instance of BetweenFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BetweenFilter
Returns a new instance of BetweenFilter.
257 258 259 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 257 def initialize(**args) update!(**args) end |
Instance Attribute Details
#from_value ⇒ Google::Apis::AnalyticsdataV1beta::NumericValue
To represent a number.
Corresponds to the JSON property fromValue
250 251 252 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 250 def from_value @from_value end |
#to_value ⇒ Google::Apis::AnalyticsdataV1beta::NumericValue
To represent a number.
Corresponds to the JSON property toValue
255 256 257 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 255 def to_value @to_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
262 263 264 265 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 262 def update!(**args) @from_value = args[:from_value] if args.key?(:from_value) @to_value = args[:to_value] if args.key?(:to_value) end |