Class: Google::Apis::AnalyticsdataV1beta::BetweenFilter

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BetweenFilter

Returns a new instance of BetweenFilter.



171
172
173
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 171

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

Instance Attribute Details

#from_valueGoogle::Apis::AnalyticsdataV1beta::NumericValue

To represent a number. Corresponds to the JSON property fromValue



164
165
166
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 164

def from_value
  @from_value
end

#to_valueGoogle::Apis::AnalyticsdataV1beta::NumericValue

To represent a number. Corresponds to the JSON property toValue



169
170
171
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 169

def to_value
  @to_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



176
177
178
179
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 176

def update!(**args)
  @from_value = args[:from_value] if args.key?(:from_value)
  @to_value = args[:to_value] if args.key?(:to_value)
end