Class: Google::Apis::AnalyticsV3::Goal::VisitNumPagesDetails
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::Goal::VisitNumPagesDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analytics_v3/classes.rb,
lib/google/apis/analytics_v3/representations.rb,
lib/google/apis/analytics_v3/representations.rb
Overview
Details for the goal of the type VISIT_NUM_PAGES.
Instance Attribute Summary collapse
-
#comparison_type ⇒ String
Type of comparison.
-
#comparison_value ⇒ Fixnum
Value used for this comparison.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VisitNumPagesDetails
constructor
A new instance of VisitNumPagesDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VisitNumPagesDetails
Returns a new instance of VisitNumPagesDetails.
3187 3188 3189 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3187 def initialize(**args) update!(**args) end |
Instance Attribute Details
#comparison_type ⇒ String
Type of comparison. Possible values are LESS_THAN, GREATER_THAN, or EQUAL.
Corresponds to the JSON property comparisonType
3180 3181 3182 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3180 def comparison_type @comparison_type end |
#comparison_value ⇒ Fixnum
Value used for this comparison.
Corresponds to the JSON property comparisonValue
3185 3186 3187 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3185 def comparison_value @comparison_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3192 3193 3194 3195 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3192 def update!(**args) @comparison_type = args[:comparison_type] if args.key?(:comparison_type) @comparison_value = args[:comparison_value] if args.key?(:comparison_value) end |