Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBetweenFilter

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

To express that the result needs to be between two numbers (inclusive).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessBetweenFilter

Returns a new instance of GoogleAnalyticsAdminV1alphaAccessBetweenFilter.



39
40
41
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 39

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

Instance Attribute Details

#from_valueGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue

To represent a number. Corresponds to the JSON property fromValue



32
33
34
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 32

def from_value
  @from_value
end

#to_valueGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue

To represent a number. Corresponds to the JSON property toValue



37
38
39
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 37

def to_value
  @to_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44
45
46
47
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 44

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