Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter

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 on a dimension or metric.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#operationString

Required. The operation applied to a numeric filter. Corresponds to the JSON property operation

Returns:

  • (String)


1103
1104
1105
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1103

def operation
  @operation
end

#valueGoogle::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