Class: Google::Apis::ContentV2_1::RepricingRuleReportBuyboxWinningRuleStats

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb

Overview

Stats specific to buybox winning rules for rule report.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RepricingRuleReportBuyboxWinningRuleStats

Returns a new instance of RepricingRuleReportBuyboxWinningRuleStats.



12669
12670
12671
# File 'lib/google/apis/content_v2_1/classes.rb', line 12669

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

Instance Attribute Details

#buybox_won_product_countFixnum

Number of unique products that won the buybox with this rule during this period of time. Corresponds to the JSON property buyboxWonProductCount

Returns:

  • (Fixnum)


12667
12668
12669
# File 'lib/google/apis/content_v2_1/classes.rb', line 12667

def buybox_won_product_count
  @buybox_won_product_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12674
12675
12676
# File 'lib/google/apis/content_v2_1/classes.rb', line 12674

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