Class: Google::Apis::AnalyticsV3::Goal::VisitTimeOnSiteDetails
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::Goal::VisitTimeOnSiteDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analytics_v3/classes.rb,
generated/google/apis/analytics_v3/representations.rb,
generated/google/apis/analytics_v3/representations.rb
Overview
Details for the goal of the type VISIT_TIME_ON_SITE.
Instance Attribute Summary collapse
-
#comparison_type ⇒ String
Type of comparison.
-
#comparison_value ⇒ Fixnum
Value used for this comparison.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VisitTimeOnSiteDetails
constructor
A new instance of VisitTimeOnSiteDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VisitTimeOnSiteDetails
Returns a new instance of VisitTimeOnSiteDetails
3306 3307 3308 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 3306 def initialize(**args) update!(**args) end |
Instance Attribute Details
#comparison_type ⇒ String
Type of comparison. Possible values are LESS_THAN or GREATER_THAN.
Corresponds to the JSON property comparisonType
3299 3300 3301 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 3299 def comparison_type @comparison_type end |
#comparison_value ⇒ Fixnum
Value used for this comparison.
Corresponds to the JSON property comparisonValue
3304 3305 3306 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 3304 def comparison_value @comparison_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3311 3312 3313 3314 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 3311 def update!(**args) @comparison_type = args[:comparison_type] if args.key?(:comparison_type) @comparison_value = args[:comparison_value] if args.key?(:comparison_value) end |