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

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 rule report.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RepricingRuleReportBuyboxWinningRuleStats

Returns a new instance of RepricingRuleReportBuyboxWinningRuleStats.



11361
11362
11363
# File 'generated/google/apis/content_v2_1/classes.rb', line 11361

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)


11359
11360
11361
# File 'generated/google/apis/content_v2_1/classes.rb', line 11359

def buybox_won_product_count
  @buybox_won_product_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11366
11367
11368
# File 'generated/google/apis/content_v2_1/classes.rb', line 11366

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