Class: Google::Apis::ContentV2_1::RepricingProductReportBuyboxWinningProductStats

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

Overview

Stats specific to buybox winning rules for product report.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RepricingProductReportBuyboxWinningProductStats

Returns a new instance of RepricingProductReportBuyboxWinningProductStats.



11011
11012
11013
# File 'generated/google/apis/content_v2_1/classes.rb', line 11011

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

Instance Attribute Details

#buybox_wins_countFixnum

Number of times this product won the buybox with these rules during this time period. Corresponds to the JSON property buyboxWinsCount

Returns:

  • (Fixnum)


11009
11010
11011
# File 'generated/google/apis/content_v2_1/classes.rb', line 11009

def buybox_wins_count
  @buybox_wins_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11016
11017
11018
# File 'generated/google/apis/content_v2_1/classes.rb', line 11016

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