Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter

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

A filter for numeric or date values between certain values on a dimension or metric.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter

Returns a new instance of GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter.



1057
1058
1059
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1057

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

Instance Attribute Details

#from_valueGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue

To represent a number. Corresponds to the JSON property fromValue



1050
1051
1052
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1050

def from_value
  @from_value
end

#to_valueGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue

To represent a number. Corresponds to the JSON property toValue



1055
1056
1057
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1055

def to_value
  @to_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1062
1063
1064
1065
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1062

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