Class: Google::Apis::AnalyticsV3::Goal::VisitNumPagesDetails

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ VisitNumPagesDetails

Returns a new instance of VisitNumPagesDetails



3281
3282
3283
# File 'generated/google/apis/analytics_v3/classes.rb', line 3281

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

Instance Attribute Details

#comparison_typeString

Type of comparison. Possible values are LESS_THAN, GREATER_THAN, or EQUAL. Corresponds to the JSON property comparisonType

Returns:

  • (String)


3274
3275
3276
# File 'generated/google/apis/analytics_v3/classes.rb', line 3274

def comparison_type
  @comparison_type
end

#comparison_valueFixnum

Value used for this comparison. Corresponds to the JSON property comparisonValue

Returns:

  • (Fixnum)


3279
3280
3281
# File 'generated/google/apis/analytics_v3/classes.rb', line 3279

def comparison_value
  @comparison_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3286
3287
3288
3289
# File 'generated/google/apis/analytics_v3/classes.rb', line 3286

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