feat: Automated regeneration of content.v2 1 client (#1768)
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2020-12-15 02:12:14,386 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py. On branch autosynth-content.v2-1 nothing to commit, working tree clean 2020-12-15 02:12:14,418 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content.v2 1 DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content.v2 1 bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Fetching rake 11.3.0 Installing rake 11.3.0 Fetching concurrent-ruby 1.1.7 Installing concurrent-ruby 1.1.7 Fetching i18n 1.8.5 Installing i18n 1.8.5 Fetching minitest 5.14.2 Installing minitest 5.14.2 Fetching thread_safe 0.3.6 Installing thread_safe 0.3.6 Fetching tzinfo 1.2.8 Installing tzinfo 1.2.8 Fetching activesupport 5.0.7.2 Installing activesupport 5.0.7.2 Fetching public_suffix 4.0.6 Installing public_suffix 4.0.6 Fetching addressable 2.7.0 Installing addressable 2.7.0 Fetching ast 2.4.1 Installing ast 2.4.1 Using bundler 2.1.4 Fetching byebug 11.1.3 Installing byebug 11.1.3 with native extensions Fetching coderay 1.1.3 Installing coderay 1.1.3 Fetching json 2.3.1 Installing json 2.3.1 with native extensions Fetching docile 1.3.2 Installing docile 1.3.2 Fetching simplecov-html 0.10.2 Installing simplecov-html 0.10.2 Fetching simplecov 0.16.1 Installing simplecov 0.16.1 Using sync 0.5.0 Fetching tins 1.26.0 Installing tins 1.26.0 Fetching term-ansicolor 1.7.1 Installing term-ansicolor 1.7.1 Fetching thor 0.20.3 Installing thor 0.20.3 Fetching coveralls 0.8.23 Installing coveralls 0.8.23 Fetching crack 0.4.4 Installing crack 0.4.4 Fetching declarative 0.0.20 Installing declarative 0.0.20 Fetching declarative-option 0.1.0 Installing declarative-option 0.1.0 Fetching diff-lcs 1.4.4 Installing diff-lcs 1.4.4 Fetching dotenv 2.7.6 Installing dotenv 2.7.6 Fetching fakefs 0.20.1 Installing fakefs 0.20.1 Fetching multipart-post 2.1.1 Installing multipart-post 2.1.1 Fetching ruby2_keywords 0.0.2 Installing ruby2_keywords 0.0.2 Fetching faraday 1.1.0 Installing faraday 1.1.0 Fetching gems 1.2.0 Installing gems 1.2.0 Fetching github-markup 1.7.0 Installing github-markup 1.7.0 Fetching jwt 2.2.2 Installing jwt 2.2.2 Fetching memoist 0.16.2 Installing memoist 0.16.2 Fetching multi_json 1.15.0 Installing multi_json 1.15.0 Fetching os 0.9.6 Installing os 0.9.6 Fetching signet 0.14.0 Installing signet 0.14.0 Fetching googleauth 0.14.0 Installing googleauth 0.14.0 Fetching httpclient 2.8.3 Installing httpclient 2.8.3 Fetching mini_mime 1.0.2 Installing mini_mime 1.0.2 Fetching uber 0.1.0 Installing uber 0.1.0 Fetching representable 3.0.4 Installing representable 3.0.4 Fetching retriable 3.1.2 Installing retriable 3.1.2 Fetching rexml 3.2.4 Installing rexml 3.2.4 Using google-api-client 0.52.0 from source at `.` Fetching google-id-token 1.4.2 Installing google-id-token 1.4.2 Fetching hashdiff 1.0.1 Installing hashdiff 1.0.1 Fetching mime-types-data 3.2020.1104 Installing mime-types-data 3.2020.1104 Fetching mime-types 3.3.1 Installing mime-types 3.3.1 Fetching multi_xml 0.6.0 Installing multi_xml 0.6.0 Fetching httparty 0.18.1 Installing httparty 0.18.1 Fetching rspec-support 3.10.0 Installing rspec-support 3.10.0 Fetching rspec-core 3.10.0 Installing rspec-core 3.10.0 Fetching rspec-expectations 3.10.0 Installing rspec-expectations 3.10.0 Fetching rspec-mocks 3.10.0 Installing rspec-mocks 3.10.0 Fetching rspec 3.10.0 Installing rspec 3.10.0 Fetching json_spec 1.1.5 Installing json_spec 1.1.5 Fetching launchy 2.5.0 Installing launchy 2.5.0 Fetching little-plugger 1.1.4 Installing little-plugger 1.1.4 Fetching logging 2.3.0 Installing logging 2.3.0 Fetching method_source 1.0.0 Installing method_source 1.0.0 Fetching opencensus 0.5.0 Installing opencensus 0.5.0 Fetching parallel 1.20.1 Installing parallel 1.20.1 Fetching parser 2.7.2.0 Installing parser 2.7.2.0 Fetching powerpack 0.1.3 Installing powerpack 0.1.3 Fetching pry 0.13.1 Installing pry 0.13.1 Fetching pry-byebug 3.9.0 Installing pry-byebug 3.9.0 Fetching yard 0.9.25 Installing yard 0.9.25 Fetching pry-doc 0.13.5 Installing pry-doc 0.13.5 Fetching rainbow 2.2.2 Installing rainbow 2.2.2 with native extensions Fetching redcarpet 3.5.0 Installing redcarpet 3.5.0 with native extensions Fetching redis 3.3.5 Installing redis 3.3.5 Fetching rmail 1.1.4 Installing rmail 1.1.4 Fetching ruby-progressbar 1.10.1 Installing ruby-progressbar 1.10.1 Fetching unicode-display_width 1.7.0 Installing unicode-display_width 1.7.0 Fetching rubocop 0.49.1 Installing rubocop 0.49.1 Fetching webmock 2.3.2 Installing webmock 2.3.2 Bundle complete! 31 Gemfile dependencies, 78 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Post-install message from i18n: HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. But that may break your application. If you are upgrading your Rails application from an older version of Rails: Please check your Rails app for 'config.i18n.fallbacks = true'. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be 'config.i18n.fallbacks = [I18n.default_locale]'. If not, fallbacks will be broken in your app by I18n 1.1.x. If you are starting a NEW Rails application, you can ignore this notice. For more info see: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 Post-install message from httparty: When you HTTParty, you must party hard! echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json W, [2020-12-15T10:12:37.071074 #240] WARN -- : Found reserved property 'method' W, [2020-12-15T10:12:37.071144 #240] WARN -- : Changed to 'method_prop' W, [2020-12-15T10:12:37.072412 #240] WARN -- : Found reserved property 'method' W, [2020-12-15T10:12:37.072437 #240] WARN -- : Changed to 'method_prop' W, [2020-12-15T10:12:37.073030 #240] WARN -- : Found reserved property 'method' W, [2020-12-15T10:12:37.073048 #240] WARN -- : Changed to 'method_prop' W, [2020-12-15T10:12:37.075781 #240] WARN -- : Found reserved property 'method' W, [2020-12-15T10:12:37.075812 #240] WARN -- : Changed to 'method_prop' W, [2020-12-15T10:12:37.076404 #240] WARN -- : Found reserved property 'method' W, [2020-12-15T10:12:37.076421 #240] WARN -- : Changed to 'method_prop' W, [2020-12-15T10:12:37.079914 #240] WARN -- : Found reserved property 'method' W, [2020-12-15T10:12:37.079944 #240] WARN -- : Changed to 'method_prop' W, [2020-12-15T10:12:37.082299 #240] WARN -- : Found reserved property 'method' W, [2020-12-15T10:12:37.082325 #240] WARN -- : Changed to 'method_prop' W, [2020-12-15T10:12:37.086635 #240] WARN -- : Found reserved property 'method' W, [2020-12-15T10:12:37.086665 #240] WARN -- : Changed to 'method_prop' W, [2020-12-15T10:12:37.097331 #240] WARN -- : Found reserved property 'method' W, [2020-12-15T10:12:37.097373 #240] WARN -- : Changed to 'method_prop' W, [2020-12-15T10:12:37.103843 #240] WARN -- : Found reserved property 'method' W, [2020-12-15T10:12:37.103881 #240] WARN -- : Changed to 'method_prop' W, [2020-12-15T10:12:37.104504 #240] WARN -- : Found reserved property 'method' W, [2020-12-15T10:12:37.104521 #240] WARN -- : Changed to 'method_prop' W, [2020-12-15T10:12:37.106317 #240] WARN -- : Found reserved property 'method' W, [2020-12-15T10:12:37.106343 #240] WARN -- : Changed to 'method_prop' W, [2020-12-15T10:12:37.110147 #240] WARN -- : Found reserved property 'method' W, [2020-12-15T10:12:37.110177 #240] WARN -- : Changed to 'method_prop' W, [2020-12-15T10:12:37.110770 #240] WARN -- : Found reserved property 'method' W, [2020-12-15T10:12:37.110788 #240] WARN -- : Changed to 'method_prop' W, [2020-12-15T10:12:37.113423 #240] WARN -- : Found reserved property 'method' W, [2020-12-15T10:12:37.113449 #240] WARN -- : Changed to 'method_prop' conflict google/apis/content_v2_1.rb <is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a force google/apis/content_v2_1.rb conflict google/apis/content_v2_1/service.rb force google/apis/content_v2_1/service.rb conflict google/apis/content_v2_1/classes.rb force google/apis/content_v2_1/classes.rb conflict google/apis/content_v2_1/representations.rb force google/apis/content_v2_1/representations.rb conflict /workspace/api_names_out.yaml force /workspace/api_names_out.yaml 2020-12-15 02:12:45,066 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content.v2_1/synth.metadata. DEBUG:synthtool:Wrote metadata to generated/google/apis/content.v2_1/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/906c06e9-ae37-4b71-ba31-d21a411f86e7/targets - [ ] To automatically regenerate this PR, check this box.
This commit is contained in:
parent
63e0256ec4
commit
5f08ea57c5
|
@ -57243,6 +57243,10 @@
|
||||||
"/content:v2.1/DatafeedstatusesListResponse/nextPageToken": next_page_token
|
"/content:v2.1/DatafeedstatusesListResponse/nextPageToken": next_page_token
|
||||||
"/content:v2.1/DatafeedstatusesListResponse/resources": resources
|
"/content:v2.1/DatafeedstatusesListResponse/resources": resources
|
||||||
"/content:v2.1/DatafeedstatusesListResponse/resources/resource": resource
|
"/content:v2.1/DatafeedstatusesListResponse/resources/resource": resource
|
||||||
|
"/content:v2.1/Date": date
|
||||||
|
"/content:v2.1/Date/day": day
|
||||||
|
"/content:v2.1/Date/month": month
|
||||||
|
"/content:v2.1/Date/year": year
|
||||||
"/content:v2.1/DateTime": date_time
|
"/content:v2.1/DateTime": date_time
|
||||||
"/content:v2.1/DateTime/day": day
|
"/content:v2.1/DateTime/day": day
|
||||||
"/content:v2.1/DateTime/hours": hours
|
"/content:v2.1/DateTime/hours": hours
|
||||||
|
@ -57306,6 +57310,9 @@
|
||||||
"/content:v2.1/HolidaysHoliday/deliveryGuaranteeHour": delivery_guarantee_hour
|
"/content:v2.1/HolidaysHoliday/deliveryGuaranteeHour": delivery_guarantee_hour
|
||||||
"/content:v2.1/HolidaysHoliday/id": id
|
"/content:v2.1/HolidaysHoliday/id": id
|
||||||
"/content:v2.1/HolidaysHoliday/type": type
|
"/content:v2.1/HolidaysHoliday/type": type
|
||||||
|
"/content:v2.1/InapplicabilityDetails": inapplicability_details
|
||||||
|
"/content:v2.1/InapplicabilityDetails/inapplicableCount": inapplicable_count
|
||||||
|
"/content:v2.1/InapplicabilityDetails/inapplicableReason": inapplicable_reason
|
||||||
"/content:v2.1/Installment": installment
|
"/content:v2.1/Installment": installment
|
||||||
"/content:v2.1/Installment/amount": amount
|
"/content:v2.1/Installment/amount": amount
|
||||||
"/content:v2.1/Installment/months": months
|
"/content:v2.1/Installment/months": months
|
||||||
|
@ -57419,6 +57426,14 @@
|
||||||
"/content:v2.1/ListRegionsResponse/nextPageToken": next_page_token
|
"/content:v2.1/ListRegionsResponse/nextPageToken": next_page_token
|
||||||
"/content:v2.1/ListRegionsResponse/regions": regions
|
"/content:v2.1/ListRegionsResponse/regions": regions
|
||||||
"/content:v2.1/ListRegionsResponse/regions/region": region
|
"/content:v2.1/ListRegionsResponse/regions/region": region
|
||||||
|
"/content:v2.1/ListRepricingProductReportsResponse": list_repricing_product_reports_response
|
||||||
|
"/content:v2.1/ListRepricingProductReportsResponse/nextPageToken": next_page_token
|
||||||
|
"/content:v2.1/ListRepricingProductReportsResponse/repricingProductReports": repricing_product_reports
|
||||||
|
"/content:v2.1/ListRepricingProductReportsResponse/repricingProductReports/repricing_product_report": repricing_product_report
|
||||||
|
"/content:v2.1/ListRepricingRuleReportsResponse": list_repricing_rule_reports_response
|
||||||
|
"/content:v2.1/ListRepricingRuleReportsResponse/nextPageToken": next_page_token
|
||||||
|
"/content:v2.1/ListRepricingRuleReportsResponse/repricingRuleReports": repricing_rule_reports
|
||||||
|
"/content:v2.1/ListRepricingRuleReportsResponse/repricingRuleReports/repricing_rule_report": repricing_rule_report
|
||||||
"/content:v2.1/ListRepricingRulesResponse": list_repricing_rules_response
|
"/content:v2.1/ListRepricingRulesResponse": list_repricing_rules_response
|
||||||
"/content:v2.1/ListRepricingRulesResponse/nextPageToken": next_page_token
|
"/content:v2.1/ListRepricingRulesResponse/nextPageToken": next_page_token
|
||||||
"/content:v2.1/ListRepricingRulesResponse/repricingRules": repricing_rules
|
"/content:v2.1/ListRepricingRulesResponse/repricingRules": repricing_rules
|
||||||
|
@ -57909,6 +57924,9 @@
|
||||||
"/content:v2.1/OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo/carrier": carrier
|
"/content:v2.1/OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo/carrier": carrier
|
||||||
"/content:v2.1/OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo/shipmentId": shipment_id
|
"/content:v2.1/OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo/shipmentId": shipment_id
|
||||||
"/content:v2.1/OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo/trackingId": tracking_id
|
"/content:v2.1/OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo/trackingId": tracking_id
|
||||||
|
"/content:v2.1/OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails": orders_custom_batch_request_entry_update_shipment_scheduled_delivery_details
|
||||||
|
"/content:v2.1/OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails/carrierPhoneNumber": carrier_phone_number
|
||||||
|
"/content:v2.1/OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails/scheduledDate": scheduled_date
|
||||||
"/content:v2.1/OrdersGetByMerchantOrderIdResponse": orders_get_by_merchant_order_id_response
|
"/content:v2.1/OrdersGetByMerchantOrderIdResponse": orders_get_by_merchant_order_id_response
|
||||||
"/content:v2.1/OrdersGetByMerchantOrderIdResponse/kind": kind
|
"/content:v2.1/OrdersGetByMerchantOrderIdResponse/kind": kind
|
||||||
"/content:v2.1/OrdersGetByMerchantOrderIdResponse/order": order
|
"/content:v2.1/OrdersGetByMerchantOrderIdResponse/order": order
|
||||||
|
@ -58013,6 +58031,7 @@
|
||||||
"/content:v2.1/OrdersUpdateShipmentRequest/lastPickupDate": last_pickup_date
|
"/content:v2.1/OrdersUpdateShipmentRequest/lastPickupDate": last_pickup_date
|
||||||
"/content:v2.1/OrdersUpdateShipmentRequest/operationId": operation_id
|
"/content:v2.1/OrdersUpdateShipmentRequest/operationId": operation_id
|
||||||
"/content:v2.1/OrdersUpdateShipmentRequest/readyPickupDate": ready_pickup_date
|
"/content:v2.1/OrdersUpdateShipmentRequest/readyPickupDate": ready_pickup_date
|
||||||
|
"/content:v2.1/OrdersUpdateShipmentRequest/scheduledDeliveryDetails": scheduled_delivery_details
|
||||||
"/content:v2.1/OrdersUpdateShipmentRequest/shipmentId": shipment_id
|
"/content:v2.1/OrdersUpdateShipmentRequest/shipmentId": shipment_id
|
||||||
"/content:v2.1/OrdersUpdateShipmentRequest/status": status
|
"/content:v2.1/OrdersUpdateShipmentRequest/status": status
|
||||||
"/content:v2.1/OrdersUpdateShipmentRequest/trackingId": tracking_id
|
"/content:v2.1/OrdersUpdateShipmentRequest/trackingId": tracking_id
|
||||||
|
@ -58430,7 +58449,23 @@
|
||||||
"/content:v2.1/RegionalinventoryCustomBatchResponseEntry/errors": errors
|
"/content:v2.1/RegionalinventoryCustomBatchResponseEntry/errors": errors
|
||||||
"/content:v2.1/RegionalinventoryCustomBatchResponseEntry/kind": kind
|
"/content:v2.1/RegionalinventoryCustomBatchResponseEntry/kind": kind
|
||||||
"/content:v2.1/RegionalinventoryCustomBatchResponseEntry/regionalInventory": regional_inventory
|
"/content:v2.1/RegionalinventoryCustomBatchResponseEntry/regionalInventory": regional_inventory
|
||||||
|
"/content:v2.1/RepricingProductReport": repricing_product_report
|
||||||
|
"/content:v2.1/RepricingProductReport/applicationCount": application_count
|
||||||
|
"/content:v2.1/RepricingProductReport/buyboxWinningProductStats": buybox_winning_product_stats
|
||||||
|
"/content:v2.1/RepricingProductReport/date": date
|
||||||
|
"/content:v2.1/RepricingProductReport/highWatermark": high_watermark
|
||||||
|
"/content:v2.1/RepricingProductReport/inapplicabilityDetails": inapplicability_details
|
||||||
|
"/content:v2.1/RepricingProductReport/inapplicabilityDetails/inapplicability_detail": inapplicability_detail
|
||||||
|
"/content:v2.1/RepricingProductReport/lowWatermark": low_watermark
|
||||||
|
"/content:v2.1/RepricingProductReport/orderItemCount": order_item_count
|
||||||
|
"/content:v2.1/RepricingProductReport/ruleIds": rule_ids
|
||||||
|
"/content:v2.1/RepricingProductReport/ruleIds/rule_id": rule_id
|
||||||
|
"/content:v2.1/RepricingProductReport/totalGmv": total_gmv
|
||||||
|
"/content:v2.1/RepricingProductReport/type": type
|
||||||
|
"/content:v2.1/RepricingProductReportBuyboxWinningProductStats": repricing_product_report_buybox_winning_product_stats
|
||||||
|
"/content:v2.1/RepricingProductReportBuyboxWinningProductStats/buyboxWinsCount": buybox_wins_count
|
||||||
"/content:v2.1/RepricingRule": repricing_rule
|
"/content:v2.1/RepricingRule": repricing_rule
|
||||||
|
"/content:v2.1/RepricingRule/cogsBasedRule": cogs_based_rule
|
||||||
"/content:v2.1/RepricingRule/countryCode": country_code
|
"/content:v2.1/RepricingRule/countryCode": country_code
|
||||||
"/content:v2.1/RepricingRule/effectiveTimePeriod": effective_time_period
|
"/content:v2.1/RepricingRule/effectiveTimePeriod": effective_time_period
|
||||||
"/content:v2.1/RepricingRule/eligibleOfferMatcher": eligible_offer_matcher
|
"/content:v2.1/RepricingRule/eligibleOfferMatcher": eligible_offer_matcher
|
||||||
|
@ -58439,8 +58474,12 @@
|
||||||
"/content:v2.1/RepricingRule/paused": paused
|
"/content:v2.1/RepricingRule/paused": paused
|
||||||
"/content:v2.1/RepricingRule/restriction": restriction
|
"/content:v2.1/RepricingRule/restriction": restriction
|
||||||
"/content:v2.1/RepricingRule/ruleId": rule_id
|
"/content:v2.1/RepricingRule/ruleId": rule_id
|
||||||
|
"/content:v2.1/RepricingRule/statsBasedRule": stats_based_rule
|
||||||
"/content:v2.1/RepricingRule/title": title
|
"/content:v2.1/RepricingRule/title": title
|
||||||
"/content:v2.1/RepricingRule/type": type
|
"/content:v2.1/RepricingRule/type": type
|
||||||
|
"/content:v2.1/RepricingRuleCostOfGoodsSaleRule": repricing_rule_cost_of_goods_sale_rule
|
||||||
|
"/content:v2.1/RepricingRuleCostOfGoodsSaleRule/percentageDelta": percentage_delta
|
||||||
|
"/content:v2.1/RepricingRuleCostOfGoodsSaleRule/priceDelta": price_delta
|
||||||
"/content:v2.1/RepricingRuleEffectiveTime": repricing_rule_effective_time
|
"/content:v2.1/RepricingRuleEffectiveTime": repricing_rule_effective_time
|
||||||
"/content:v2.1/RepricingRuleEffectiveTime/fixedTimePeriods": fixed_time_periods
|
"/content:v2.1/RepricingRuleEffectiveTime/fixedTimePeriods": fixed_time_periods
|
||||||
"/content:v2.1/RepricingRuleEffectiveTime/fixedTimePeriods/fixed_time_period": fixed_time_period
|
"/content:v2.1/RepricingRuleEffectiveTime/fixedTimePeriods/fixed_time_period": fixed_time_period
|
||||||
|
@ -58456,12 +58495,30 @@
|
||||||
"/content:v2.1/RepricingRuleEligibleOfferMatcherStringMatcher": repricing_rule_eligible_offer_matcher_string_matcher
|
"/content:v2.1/RepricingRuleEligibleOfferMatcherStringMatcher": repricing_rule_eligible_offer_matcher_string_matcher
|
||||||
"/content:v2.1/RepricingRuleEligibleOfferMatcherStringMatcher/strAttributes": str_attributes
|
"/content:v2.1/RepricingRuleEligibleOfferMatcherStringMatcher/strAttributes": str_attributes
|
||||||
"/content:v2.1/RepricingRuleEligibleOfferMatcherStringMatcher/strAttributes/str_attribute": str_attribute
|
"/content:v2.1/RepricingRuleEligibleOfferMatcherStringMatcher/strAttributes/str_attribute": str_attribute
|
||||||
|
"/content:v2.1/RepricingRuleReport": repricing_rule_report
|
||||||
|
"/content:v2.1/RepricingRuleReport/buyboxWinningRuleStats": buybox_winning_rule_stats
|
||||||
|
"/content:v2.1/RepricingRuleReport/date": date
|
||||||
|
"/content:v2.1/RepricingRuleReport/impactedProducts": impacted_products
|
||||||
|
"/content:v2.1/RepricingRuleReport/impactedProducts/impacted_product": impacted_product
|
||||||
|
"/content:v2.1/RepricingRuleReport/inapplicabilityDetails": inapplicability_details
|
||||||
|
"/content:v2.1/RepricingRuleReport/inapplicabilityDetails/inapplicability_detail": inapplicability_detail
|
||||||
|
"/content:v2.1/RepricingRuleReport/inapplicableProducts": inapplicable_products
|
||||||
|
"/content:v2.1/RepricingRuleReport/inapplicableProducts/inapplicable_product": inapplicable_product
|
||||||
|
"/content:v2.1/RepricingRuleReport/orderItemCount": order_item_count
|
||||||
|
"/content:v2.1/RepricingRuleReport/ruleId": rule_id
|
||||||
|
"/content:v2.1/RepricingRuleReport/totalGmv": total_gmv
|
||||||
|
"/content:v2.1/RepricingRuleReport/type": type
|
||||||
|
"/content:v2.1/RepricingRuleReportBuyboxWinningRuleStats": repricing_rule_report_buybox_winning_rule_stats
|
||||||
|
"/content:v2.1/RepricingRuleReportBuyboxWinningRuleStats/buyboxWonProductCount": buybox_won_product_count
|
||||||
"/content:v2.1/RepricingRuleRestriction": repricing_rule_restriction
|
"/content:v2.1/RepricingRuleRestriction": repricing_rule_restriction
|
||||||
"/content:v2.1/RepricingRuleRestriction/floor": floor
|
"/content:v2.1/RepricingRuleRestriction/floor": floor
|
||||||
"/content:v2.1/RepricingRuleRestriction/useAutoPricingMinPrice": use_auto_pricing_min_price
|
"/content:v2.1/RepricingRuleRestriction/useAutoPricingMinPrice": use_auto_pricing_min_price
|
||||||
"/content:v2.1/RepricingRuleRestrictionBoundary": repricing_rule_restriction_boundary
|
"/content:v2.1/RepricingRuleRestrictionBoundary": repricing_rule_restriction_boundary
|
||||||
"/content:v2.1/RepricingRuleRestrictionBoundary/percentageDelta": percentage_delta
|
"/content:v2.1/RepricingRuleRestrictionBoundary/percentageDelta": percentage_delta
|
||||||
"/content:v2.1/RepricingRuleRestrictionBoundary/priceDelta": price_delta
|
"/content:v2.1/RepricingRuleRestrictionBoundary/priceDelta": price_delta
|
||||||
|
"/content:v2.1/RepricingRuleStatsBasedRule": repricing_rule_stats_based_rule
|
||||||
|
"/content:v2.1/RepricingRuleStatsBasedRule/percentageDelta": percentage_delta
|
||||||
|
"/content:v2.1/RepricingRuleStatsBasedRule/priceDelta": price_delta
|
||||||
"/content:v2.1/ReturnAddress": return_address
|
"/content:v2.1/ReturnAddress": return_address
|
||||||
"/content:v2.1/ReturnAddress/address": address
|
"/content:v2.1/ReturnAddress/address": address
|
||||||
"/content:v2.1/ReturnAddress/country": country
|
"/content:v2.1/ReturnAddress/country": country
|
||||||
|
@ -58716,6 +58773,7 @@
|
||||||
"/content:v2.1/TestOrderCustomerMarketingRightsInfo/lastUpdatedTimestamp": last_updated_timestamp
|
"/content:v2.1/TestOrderCustomerMarketingRightsInfo/lastUpdatedTimestamp": last_updated_timestamp
|
||||||
"/content:v2.1/TestOrderDeliveryDetails": test_order_delivery_details
|
"/content:v2.1/TestOrderDeliveryDetails": test_order_delivery_details
|
||||||
"/content:v2.1/TestOrderDeliveryDetails/address": address
|
"/content:v2.1/TestOrderDeliveryDetails/address": address
|
||||||
|
"/content:v2.1/TestOrderDeliveryDetails/isScheduledDelivery": is_scheduled_delivery
|
||||||
"/content:v2.1/TestOrderDeliveryDetails/phoneNumber": phone_number
|
"/content:v2.1/TestOrderDeliveryDetails/phoneNumber": phone_number
|
||||||
"/content:v2.1/TestOrderLineItem": test_order_line_item
|
"/content:v2.1/TestOrderLineItem": test_order_line_item
|
||||||
"/content:v2.1/TestOrderLineItem/product": product
|
"/content:v2.1/TestOrderLineItem/product": product
|
||||||
|
@ -59112,6 +59170,14 @@
|
||||||
"/content:v2.1/content.productstatuses.list/maxResults": max_results
|
"/content:v2.1/content.productstatuses.list/maxResults": max_results
|
||||||
"/content:v2.1/content.productstatuses.list/merchantId": merchant_id
|
"/content:v2.1/content.productstatuses.list/merchantId": merchant_id
|
||||||
"/content:v2.1/content.productstatuses.list/pageToken": page_token
|
"/content:v2.1/content.productstatuses.list/pageToken": page_token
|
||||||
|
"/content:v2.1/content.productstatuses.repricingreports.list": list_productstatus_repricingreports
|
||||||
|
"/content:v2.1/content.productstatuses.repricingreports.list/endDate": end_date
|
||||||
|
"/content:v2.1/content.productstatuses.repricingreports.list/merchantId": merchant_id
|
||||||
|
"/content:v2.1/content.productstatuses.repricingreports.list/pageSize": page_size
|
||||||
|
"/content:v2.1/content.productstatuses.repricingreports.list/pageToken": page_token
|
||||||
|
"/content:v2.1/content.productstatuses.repricingreports.list/productId": product_id
|
||||||
|
"/content:v2.1/content.productstatuses.repricingreports.list/ruleId": rule_id
|
||||||
|
"/content:v2.1/content.productstatuses.repricingreports.list/startDate": start_date
|
||||||
"/content:v2.1/content.pubsubnotificationsettings.get": get_pubsubnotificationsetting
|
"/content:v2.1/content.pubsubnotificationsettings.get": get_pubsubnotificationsetting
|
||||||
"/content:v2.1/content.pubsubnotificationsettings.get/merchantId": merchant_id
|
"/content:v2.1/content.pubsubnotificationsettings.get/merchantId": merchant_id
|
||||||
"/content:v2.1/content.pubsubnotificationsettings.update": update_pubsubnotificationsetting
|
"/content:v2.1/content.pubsubnotificationsettings.update": update_pubsubnotificationsetting
|
||||||
|
@ -59155,6 +59221,13 @@
|
||||||
"/content:v2.1/content.repricingrules.patch": patch_repricingrule
|
"/content:v2.1/content.repricingrules.patch": patch_repricingrule
|
||||||
"/content:v2.1/content.repricingrules.patch/merchantId": merchant_id
|
"/content:v2.1/content.repricingrules.patch/merchantId": merchant_id
|
||||||
"/content:v2.1/content.repricingrules.patch/ruleId": rule_id
|
"/content:v2.1/content.repricingrules.patch/ruleId": rule_id
|
||||||
|
"/content:v2.1/content.repricingrules.repricingreports.list": list_repricingrule_repricingreports
|
||||||
|
"/content:v2.1/content.repricingrules.repricingreports.list/endDate": end_date
|
||||||
|
"/content:v2.1/content.repricingrules.repricingreports.list/merchantId": merchant_id
|
||||||
|
"/content:v2.1/content.repricingrules.repricingreports.list/pageSize": page_size
|
||||||
|
"/content:v2.1/content.repricingrules.repricingreports.list/pageToken": page_token
|
||||||
|
"/content:v2.1/content.repricingrules.repricingreports.list/ruleId": rule_id
|
||||||
|
"/content:v2.1/content.repricingrules.repricingreports.list/startDate": start_date
|
||||||
"/content:v2.1/content.returnaddress.custombatch": custombatch_returnaddress
|
"/content:v2.1/content.returnaddress.custombatch": custombatch_returnaddress
|
||||||
"/content:v2.1/content.returnaddress.delete": delete_returnaddress
|
"/content:v2.1/content.returnaddress.delete": delete_returnaddress
|
||||||
"/content:v2.1/content.returnaddress.delete/merchantId": merchant_id
|
"/content:v2.1/content.returnaddress.delete/merchantId": merchant_id
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"git": {
|
"git": {
|
||||||
"name": ".",
|
"name": ".",
|
||||||
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
|
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
|
||||||
"sha": "0492accc8a44d0f28a484a67f7940d74246ab88d"
|
"sha": "3eb7b044d3605c38773a6c874a3f1826f98701f9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/shopping-content/v2/
|
# @see https://developers.google.com/shopping-content/v2/
|
||||||
module ContentV2_1
|
module ContentV2_1
|
||||||
VERSION = 'V2_1'
|
VERSION = 'V2_1'
|
||||||
REVISION = '20201204'
|
REVISION = '20201211'
|
||||||
|
|
||||||
# Manage your product listings and accounts for Google Shopping
|
# Manage your product listings and accounts for Google Shopping
|
||||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||||
|
|
|
@ -2498,6 +2498,47 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
||||||
|
# day and time zone are either specified elsewhere or are insignificant. The
|
||||||
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
||||||
|
# following: * A full date, with non-zero year, month, and day values * A month
|
||||||
|
# and day value, with a zero year, such as an anniversary * A year on its own,
|
||||||
|
# with zero month and day values * A year and month value, with a zero day, such
|
||||||
|
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
||||||
|
# google.protobuf.Timestamp`.
|
||||||
|
class Date
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
||||||
|
# specify a year by itself or a year and month where the day isn't significant.
|
||||||
|
# Corresponds to the JSON property `day`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :day
|
||||||
|
|
||||||
|
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
||||||
|
# and day.
|
||||||
|
# Corresponds to the JSON property `month`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :month
|
||||||
|
|
||||||
|
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
||||||
|
# year.
|
||||||
|
# Corresponds to the JSON property `year`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :year
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@day = args[:day] if args.key?(:day)
|
||||||
|
@month = args[:month] if args.key?(:month)
|
||||||
|
@year = args[:year] if args.key?(:year)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Represents civil time (or occasionally physical time). This type can represent
|
# Represents civil time (or occasionally physical time). This type can represent
|
||||||
# a civil time in one of a few possible ways: * When utc_offset is set and
|
# a civil time in one of a few possible ways: * When utc_offset is set and
|
||||||
# time_zone is unset: a civil time on a calendar day with a particular offset
|
# time_zone is unset: a civil time on a calendar day with a particular offset
|
||||||
|
@ -2953,6 +2994,31 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Map of inapplicability details.
|
||||||
|
class InapplicabilityDetails
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Count of this inapplicable reason code.
|
||||||
|
# Corresponds to the JSON property `inapplicableCount`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :inapplicable_count
|
||||||
|
|
||||||
|
# Reason code this rule was not applicable.
|
||||||
|
# Corresponds to the JSON property `inapplicableReason`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :inapplicable_reason
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@inapplicable_count = args[:inapplicable_count] if args.key?(:inapplicable_count)
|
||||||
|
@inapplicable_reason = args[:inapplicable_reason] if args.key?(:inapplicable_reason)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class Installment
|
class Installment
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -3737,6 +3803,58 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Response message for the ListRepricingProductReports method.
|
||||||
|
class ListRepricingProductReportsResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# A token for retrieving the next page. Its absence means there is no subsequent
|
||||||
|
# page.
|
||||||
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :next_page_token
|
||||||
|
|
||||||
|
# Periodic reports for the given Repricing product.
|
||||||
|
# Corresponds to the JSON property `repricingProductReports`
|
||||||
|
# @return [Array<Google::Apis::ContentV2_1::RepricingProductReport>]
|
||||||
|
attr_accessor :repricing_product_reports
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||||
|
@repricing_product_reports = args[:repricing_product_reports] if args.key?(:repricing_product_reports)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Response message for the ListRepricingRuleReports method.
|
||||||
|
class ListRepricingRuleReportsResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# A token for retrieving the next page. Its absence means there is no subsequent
|
||||||
|
# page.
|
||||||
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :next_page_token
|
||||||
|
|
||||||
|
# Daily reports for the given Repricing rule.
|
||||||
|
# Corresponds to the JSON property `repricingRuleReports`
|
||||||
|
# @return [Array<Google::Apis::ContentV2_1::RepricingRuleReport>]
|
||||||
|
attr_accessor :repricing_rule_reports
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||||
|
@repricing_rule_reports = args[:repricing_rule_reports] if args.key?(:repricing_rule_reports)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Response message for the `ListRepricingRules` method.
|
# Response message for the `ListRepricingRules` method.
|
||||||
class ListRepricingRulesResponse
|
class ListRepricingRulesResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -7201,6 +7319,32 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# ScheduledDeliveryDetails used to update the scheduled delivery order.
|
||||||
|
class OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The phone number of the carrier fulfilling the delivery. The phone number
|
||||||
|
# should be formatted as the international notation in
|
||||||
|
# Corresponds to the JSON property `carrierPhoneNumber`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :carrier_phone_number
|
||||||
|
|
||||||
|
# The date a shipment is scheduled for delivery, in ISO 8601 format.
|
||||||
|
# Corresponds to the JSON property `scheduledDate`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :scheduled_date
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@carrier_phone_number = args[:carrier_phone_number] if args.key?(:carrier_phone_number)
|
||||||
|
@scheduled_date = args[:scheduled_date] if args.key?(:scheduled_date)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class OrdersGetByMerchantOrderIdResponse
|
class OrdersGetByMerchantOrderIdResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -8002,6 +8146,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :ready_pickup_date
|
attr_accessor :ready_pickup_date
|
||||||
|
|
||||||
|
# ScheduledDeliveryDetails used to update the scheduled delivery order.
|
||||||
|
# Corresponds to the JSON property `scheduledDeliveryDetails`
|
||||||
|
# @return [Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails]
|
||||||
|
attr_accessor :scheduled_delivery_details
|
||||||
|
|
||||||
# The ID of the shipment.
|
# The ID of the shipment.
|
||||||
# Corresponds to the JSON property `shipmentId`
|
# Corresponds to the JSON property `shipmentId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -8035,6 +8184,7 @@ module Google
|
||||||
@last_pickup_date = args[:last_pickup_date] if args.key?(:last_pickup_date)
|
@last_pickup_date = args[:last_pickup_date] if args.key?(:last_pickup_date)
|
||||||
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
||||||
@ready_pickup_date = args[:ready_pickup_date] if args.key?(:ready_pickup_date)
|
@ready_pickup_date = args[:ready_pickup_date] if args.key?(:ready_pickup_date)
|
||||||
|
@scheduled_delivery_details = args[:scheduled_delivery_details] if args.key?(:scheduled_delivery_details)
|
||||||
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
||||||
@status = args[:status] if args.key?(:status)
|
@status = args[:status] if args.key?(:status)
|
||||||
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
||||||
|
@ -10758,11 +10908,126 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Resource that represents a daily Repricing product report. Each report
|
||||||
|
# contains stats for a single type of Repricing rule for a single product on a
|
||||||
|
# given day. If there are multiple rules of the same type for the product on
|
||||||
|
# that day, the report lists all the rules by rule ids, combines the stats, and
|
||||||
|
# paginates the results by date. To retrieve the stats of a particular rule,
|
||||||
|
# provide the rule_id in the request.
|
||||||
|
class RepricingProductReport
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Total count of Repricer applications. This value captures how many times the
|
||||||
|
# rule of this type was applied to this product during this reporting period.
|
||||||
|
# Corresponds to the JSON property `applicationCount`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :application_count
|
||||||
|
|
||||||
|
# Stats specific to buybox winning rules for product report.
|
||||||
|
# Corresponds to the JSON property `buyboxWinningProductStats`
|
||||||
|
# @return [Google::Apis::ContentV2_1::RepricingProductReportBuyboxWinningProductStats]
|
||||||
|
attr_accessor :buybox_winning_product_stats
|
||||||
|
|
||||||
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
||||||
|
# day and time zone are either specified elsewhere or are insignificant. The
|
||||||
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
||||||
|
# following: * A full date, with non-zero year, month, and day values * A month
|
||||||
|
# and day value, with a zero year, such as an anniversary * A year on its own,
|
||||||
|
# with zero month and day values * A year and month value, with a zero day, such
|
||||||
|
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
||||||
|
# google.protobuf.Timestamp`.
|
||||||
|
# Corresponds to the JSON property `date`
|
||||||
|
# @return [Google::Apis::ContentV2_1::Date]
|
||||||
|
attr_accessor :date
|
||||||
|
|
||||||
|
# The price represented as a number and currency.
|
||||||
|
# Corresponds to the JSON property `highWatermark`
|
||||||
|
# @return [Google::Apis::ContentV2_1::PriceAmount]
|
||||||
|
attr_accessor :high_watermark
|
||||||
|
|
||||||
|
# List of all reasons the rule did not apply to the product during the specified
|
||||||
|
# reporting period.
|
||||||
|
# Corresponds to the JSON property `inapplicabilityDetails`
|
||||||
|
# @return [Array<Google::Apis::ContentV2_1::InapplicabilityDetails>]
|
||||||
|
attr_accessor :inapplicability_details
|
||||||
|
|
||||||
|
# The price represented as a number and currency.
|
||||||
|
# Corresponds to the JSON property `lowWatermark`
|
||||||
|
# @return [Google::Apis::ContentV2_1::PriceAmount]
|
||||||
|
attr_accessor :low_watermark
|
||||||
|
|
||||||
|
# Total unit count of impacted products ordered while the rule was active on the
|
||||||
|
# date of the report. This count includes all orders that were started while the
|
||||||
|
# rule was active, even if the rule was no longer active when the order was
|
||||||
|
# completed.
|
||||||
|
# Corresponds to the JSON property `orderItemCount`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :order_item_count
|
||||||
|
|
||||||
|
# Ids of the Repricing rule for this report.
|
||||||
|
# Corresponds to the JSON property `ruleIds`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :rule_ids
|
||||||
|
|
||||||
|
# The price represented as a number and currency.
|
||||||
|
# Corresponds to the JSON property `totalGmv`
|
||||||
|
# @return [Google::Apis::ContentV2_1::PriceAmount]
|
||||||
|
attr_accessor :total_gmv
|
||||||
|
|
||||||
|
# Type of the rule.
|
||||||
|
# Corresponds to the JSON property `type`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :type
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@application_count = args[:application_count] if args.key?(:application_count)
|
||||||
|
@buybox_winning_product_stats = args[:buybox_winning_product_stats] if args.key?(:buybox_winning_product_stats)
|
||||||
|
@date = args[:date] if args.key?(:date)
|
||||||
|
@high_watermark = args[:high_watermark] if args.key?(:high_watermark)
|
||||||
|
@inapplicability_details = args[:inapplicability_details] if args.key?(:inapplicability_details)
|
||||||
|
@low_watermark = args[:low_watermark] if args.key?(:low_watermark)
|
||||||
|
@order_item_count = args[:order_item_count] if args.key?(:order_item_count)
|
||||||
|
@rule_ids = args[:rule_ids] if args.key?(:rule_ids)
|
||||||
|
@total_gmv = args[:total_gmv] if args.key?(:total_gmv)
|
||||||
|
@type = args[:type] if args.key?(:type)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Stats specific to buybox winning rules for product report.
|
||||||
|
class RepricingProductReportBuyboxWinningProductStats
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Number of times this product won the buybox with these rules during this time
|
||||||
|
# period.
|
||||||
|
# Corresponds to the JSON property `buyboxWinsCount`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :buybox_wins_count
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@buybox_wins_count = args[:buybox_wins_count] if args.key?(:buybox_wins_count)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Represents a repricing rule. A repricing rule is used by shopping serving to
|
# Represents a repricing rule. A repricing rule is used by shopping serving to
|
||||||
# adjust transactable offer prices if conditions are met. Next ID: 24
|
# adjust transactable offer prices if conditions are met. Next ID: 24
|
||||||
class RepricingRule
|
class RepricingRule
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# A repricing rule that changes the sale price based on cost of goods sale.
|
||||||
|
# Corresponds to the JSON property `cogsBasedRule`
|
||||||
|
# @return [Google::Apis::ContentV2_1::RepricingRuleCostOfGoodsSaleRule]
|
||||||
|
attr_accessor :cogs_based_rule
|
||||||
|
|
||||||
# Required. Immutable. CLDR country code (e.g. "US").
|
# Required. Immutable. CLDR country code (e.g. "US").
|
||||||
# Corresponds to the JSON property `countryCode`
|
# Corresponds to the JSON property `countryCode`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -10820,6 +11085,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :rule_id
|
attr_accessor :rule_id
|
||||||
|
|
||||||
|
# Definition of stats based rule.
|
||||||
|
# Corresponds to the JSON property `statsBasedRule`
|
||||||
|
# @return [Google::Apis::ContentV2_1::RepricingRuleStatsBasedRule]
|
||||||
|
attr_accessor :stats_based_rule
|
||||||
|
|
||||||
# The title for the rule.
|
# The title for the rule.
|
||||||
# Corresponds to the JSON property `title`
|
# Corresponds to the JSON property `title`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -10836,6 +11106,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@cogs_based_rule = args[:cogs_based_rule] if args.key?(:cogs_based_rule)
|
||||||
@country_code = args[:country_code] if args.key?(:country_code)
|
@country_code = args[:country_code] if args.key?(:country_code)
|
||||||
@effective_time_period = args[:effective_time_period] if args.key?(:effective_time_period)
|
@effective_time_period = args[:effective_time_period] if args.key?(:effective_time_period)
|
||||||
@eligible_offer_matcher = args[:eligible_offer_matcher] if args.key?(:eligible_offer_matcher)
|
@eligible_offer_matcher = args[:eligible_offer_matcher] if args.key?(:eligible_offer_matcher)
|
||||||
|
@ -10844,11 +11115,38 @@ module Google
|
||||||
@paused = args[:paused] if args.key?(:paused)
|
@paused = args[:paused] if args.key?(:paused)
|
||||||
@restriction = args[:restriction] if args.key?(:restriction)
|
@restriction = args[:restriction] if args.key?(:restriction)
|
||||||
@rule_id = args[:rule_id] if args.key?(:rule_id)
|
@rule_id = args[:rule_id] if args.key?(:rule_id)
|
||||||
|
@stats_based_rule = args[:stats_based_rule] if args.key?(:stats_based_rule)
|
||||||
@title = args[:title] if args.key?(:title)
|
@title = args[:title] if args.key?(:title)
|
||||||
@type = args[:type] if args.key?(:type)
|
@type = args[:type] if args.key?(:type)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# A repricing rule that changes the sale price based on cost of goods sale.
|
||||||
|
class RepricingRuleCostOfGoodsSaleRule
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The percent change against the COGS. Ex: 20 would mean to set the adjusted
|
||||||
|
# price 1.2X of the COGS data.
|
||||||
|
# Corresponds to the JSON property `percentageDelta`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :percentage_delta
|
||||||
|
|
||||||
|
# The price delta against the COGS. E.g. 2 means $2 more of the COGS.
|
||||||
|
# Corresponds to the JSON property `priceDelta`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :price_delta
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@percentage_delta = args[:percentage_delta] if args.key?(:percentage_delta)
|
||||||
|
@price_delta = args[:price_delta] if args.key?(:price_delta)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class RepricingRuleEffectiveTime
|
class RepricingRuleEffectiveTime
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -10968,6 +11266,108 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Resource that represents a daily Repricing rule report. Next ID: 11
|
||||||
|
class RepricingRuleReport
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Stats specific to buybox winning rules for rule report.
|
||||||
|
# Corresponds to the JSON property `buyboxWinningRuleStats`
|
||||||
|
# @return [Google::Apis::ContentV2_1::RepricingRuleReportBuyboxWinningRuleStats]
|
||||||
|
attr_accessor :buybox_winning_rule_stats
|
||||||
|
|
||||||
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
||||||
|
# day and time zone are either specified elsewhere or are insignificant. The
|
||||||
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
||||||
|
# following: * A full date, with non-zero year, month, and day values * A month
|
||||||
|
# and day value, with a zero year, such as an anniversary * A year on its own,
|
||||||
|
# with zero month and day values * A year and month value, with a zero day, such
|
||||||
|
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
||||||
|
# google.protobuf.Timestamp`.
|
||||||
|
# Corresponds to the JSON property `date`
|
||||||
|
# @return [Google::Apis::ContentV2_1::Date]
|
||||||
|
attr_accessor :date
|
||||||
|
|
||||||
|
# List of product ids that are impacted by this rule during this reporting
|
||||||
|
# period. Out of stock products and products not searched for by customers are
|
||||||
|
# examples of non-impacted products.
|
||||||
|
# Corresponds to the JSON property `impactedProducts`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :impacted_products
|
||||||
|
|
||||||
|
# List of all reasons the rule did not apply to the inapplicable products during
|
||||||
|
# the specified reporting period.
|
||||||
|
# Corresponds to the JSON property `inapplicabilityDetails`
|
||||||
|
# @return [Array<Google::Apis::ContentV2_1::InapplicabilityDetails>]
|
||||||
|
attr_accessor :inapplicability_details
|
||||||
|
|
||||||
|
# List of product ids that are inapplicable to this rule during this reporting
|
||||||
|
# period. To get the inapplicable reason for a specific product, see
|
||||||
|
# RepricingProductReport.
|
||||||
|
# Corresponds to the JSON property `inapplicableProducts`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :inapplicable_products
|
||||||
|
|
||||||
|
# Total unit count of impacted products ordered while the rule was active on the
|
||||||
|
# date of the report. This count includes all orders that were started while the
|
||||||
|
# rule was active, even if the rule was no longer active when the order was
|
||||||
|
# completed.
|
||||||
|
# Corresponds to the JSON property `orderItemCount`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :order_item_count
|
||||||
|
|
||||||
|
# Id of the Repricing rule for this report.
|
||||||
|
# Corresponds to the JSON property `ruleId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :rule_id
|
||||||
|
|
||||||
|
# The price represented as a number and currency.
|
||||||
|
# Corresponds to the JSON property `totalGmv`
|
||||||
|
# @return [Google::Apis::ContentV2_1::PriceAmount]
|
||||||
|
attr_accessor :total_gmv
|
||||||
|
|
||||||
|
# Type of the rule.
|
||||||
|
# Corresponds to the JSON property `type`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :type
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@buybox_winning_rule_stats = args[:buybox_winning_rule_stats] if args.key?(:buybox_winning_rule_stats)
|
||||||
|
@date = args[:date] if args.key?(:date)
|
||||||
|
@impacted_products = args[:impacted_products] if args.key?(:impacted_products)
|
||||||
|
@inapplicability_details = args[:inapplicability_details] if args.key?(:inapplicability_details)
|
||||||
|
@inapplicable_products = args[:inapplicable_products] if args.key?(:inapplicable_products)
|
||||||
|
@order_item_count = args[:order_item_count] if args.key?(:order_item_count)
|
||||||
|
@rule_id = args[:rule_id] if args.key?(:rule_id)
|
||||||
|
@total_gmv = args[:total_gmv] if args.key?(:total_gmv)
|
||||||
|
@type = args[:type] if args.key?(:type)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Stats specific to buybox winning rules for rule report.
|
||||||
|
class RepricingRuleReportBuyboxWinningRuleStats
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Number of unique products that won the buybox with this rule during this
|
||||||
|
# period of time.
|
||||||
|
# Corresponds to the JSON property `buyboxWonProductCount`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :buybox_won_product_count
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@buybox_won_product_count = args[:buybox_won_product_count] if args.key?(:buybox_won_product_count)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Definition of a rule restriction. At least one of the following needs to be
|
# Definition of a rule restriction. At least one of the following needs to be
|
||||||
# true: (1) use_auto_pricing_min_price is true (2) floor.price_delta exists (3)
|
# true: (1) use_auto_pricing_min_price is true (2) floor.price_delta exists (3)
|
||||||
# floor.percentage_delta exists If floor.price_delta and floor.percentage_delta
|
# floor.percentage_delta exists If floor.price_delta and floor.percentage_delta
|
||||||
|
@ -11035,6 +11435,33 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Definition of stats based rule.
|
||||||
|
class RepricingRuleStatsBasedRule
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The percent change against the price target. Valid from 0 to 100 inclusively.
|
||||||
|
# Corresponds to the JSON property `percentageDelta`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :percentage_delta
|
||||||
|
|
||||||
|
# The price delta against the above price target. A positive value means the
|
||||||
|
# price should be adjusted to be above statistical measure, and a negative value
|
||||||
|
# means below. Currency code must not be included.
|
||||||
|
# Corresponds to the JSON property `priceDelta`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :price_delta
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@percentage_delta = args[:percentage_delta] if args.key?(:percentage_delta)
|
||||||
|
@price_delta = args[:price_delta] if args.key?(:price_delta)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Return address resource.
|
# Return address resource.
|
||||||
class ReturnAddress
|
class ReturnAddress
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -12752,6 +13179,12 @@ module Google
|
||||||
# @return [Google::Apis::ContentV2_1::TestOrderAddress]
|
# @return [Google::Apis::ContentV2_1::TestOrderAddress]
|
||||||
attr_accessor :address
|
attr_accessor :address
|
||||||
|
|
||||||
|
# Whether the order is scheduled delivery order.
|
||||||
|
# Corresponds to the JSON property `isScheduledDelivery`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :is_scheduled_delivery
|
||||||
|
alias_method :is_scheduled_delivery?, :is_scheduled_delivery
|
||||||
|
|
||||||
# The phone number of the person receiving the delivery.
|
# The phone number of the person receiving the delivery.
|
||||||
# Corresponds to the JSON property `phoneNumber`
|
# Corresponds to the JSON property `phoneNumber`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -12764,6 +13197,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@address = args[:address] if args.key?(:address)
|
@address = args[:address] if args.key?(:address)
|
||||||
|
@is_scheduled_delivery = args[:is_scheduled_delivery] if args.key?(:is_scheduled_delivery)
|
||||||
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -418,6 +418,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Date
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class DateTime
|
class DateTime
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -472,6 +478,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class InapplicabilityDetails
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Installment
|
class Installment
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -628,6 +640,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListRepricingProductReportsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListRepricingRuleReportsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ListRepricingRulesResponse
|
class ListRepricingRulesResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -1126,6 +1150,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class OrdersGetByMerchantOrderIdResponse
|
class OrdersGetByMerchantOrderIdResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -1594,12 +1624,30 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RepricingProductReport
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class RepricingProductReportBuyboxWinningProductStats
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class RepricingRule
|
class RepricingRule
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RepricingRuleCostOfGoodsSaleRule
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class RepricingRuleEffectiveTime
|
class RepricingRuleEffectiveTime
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -1624,6 +1672,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RepricingRuleReport
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class RepricingRuleReportBuyboxWinningRuleStats
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class RepricingRuleRestriction
|
class RepricingRuleRestriction
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -1636,6 +1696,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RepricingRuleStatsBasedRule
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ReturnAddress
|
class ReturnAddress
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -2664,6 +2730,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Date
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :day, as: 'day'
|
||||||
|
property :month, as: 'month'
|
||||||
|
property :year, as: 'year'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class DateTime
|
class DateTime
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -2775,6 +2850,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class InapplicabilityDetails
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :inapplicable_count, :numeric_string => true, as: 'inapplicableCount'
|
||||||
|
property :inapplicable_reason, as: 'inapplicableReason'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Installment
|
class Installment
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -3023,6 +3106,24 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListRepricingProductReportsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
collection :repricing_product_reports, as: 'repricingProductReports', class: Google::Apis::ContentV2_1::RepricingProductReport, decorator: Google::Apis::ContentV2_1::RepricingProductReport::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListRepricingRuleReportsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
collection :repricing_rule_reports, as: 'repricingRuleReports', class: Google::Apis::ContentV2_1::RepricingRuleReport, decorator: Google::Apis::ContentV2_1::RepricingRuleReport::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ListRepricingRulesResponse
|
class ListRepricingRulesResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -3953,6 +4054,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :carrier_phone_number, as: 'carrierPhoneNumber'
|
||||||
|
property :scheduled_date, as: 'scheduledDate'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class OrdersGetByMerchantOrderIdResponse
|
class OrdersGetByMerchantOrderIdResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -4172,6 +4281,8 @@ module Google
|
||||||
property :last_pickup_date, as: 'lastPickupDate'
|
property :last_pickup_date, as: 'lastPickupDate'
|
||||||
property :operation_id, as: 'operationId'
|
property :operation_id, as: 'operationId'
|
||||||
property :ready_pickup_date, as: 'readyPickupDate'
|
property :ready_pickup_date, as: 'readyPickupDate'
|
||||||
|
property :scheduled_delivery_details, as: 'scheduledDeliveryDetails', class: Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails, decorator: Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails::Representation
|
||||||
|
|
||||||
property :shipment_id, as: 'shipmentId'
|
property :shipment_id, as: 'shipmentId'
|
||||||
property :status, as: 'status'
|
property :status, as: 'status'
|
||||||
property :tracking_id, as: 'trackingId'
|
property :tracking_id, as: 'trackingId'
|
||||||
|
@ -4887,9 +4998,40 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RepricingProductReport
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :application_count, :numeric_string => true, as: 'applicationCount'
|
||||||
|
property :buybox_winning_product_stats, as: 'buyboxWinningProductStats', class: Google::Apis::ContentV2_1::RepricingProductReportBuyboxWinningProductStats, decorator: Google::Apis::ContentV2_1::RepricingProductReportBuyboxWinningProductStats::Representation
|
||||||
|
|
||||||
|
property :date, as: 'date', class: Google::Apis::ContentV2_1::Date, decorator: Google::Apis::ContentV2_1::Date::Representation
|
||||||
|
|
||||||
|
property :high_watermark, as: 'highWatermark', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
|
||||||
|
|
||||||
|
collection :inapplicability_details, as: 'inapplicabilityDetails', class: Google::Apis::ContentV2_1::InapplicabilityDetails, decorator: Google::Apis::ContentV2_1::InapplicabilityDetails::Representation
|
||||||
|
|
||||||
|
property :low_watermark, as: 'lowWatermark', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
|
||||||
|
|
||||||
|
property :order_item_count, as: 'orderItemCount'
|
||||||
|
collection :rule_ids, as: 'ruleIds'
|
||||||
|
property :total_gmv, as: 'totalGmv', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
|
||||||
|
|
||||||
|
property :type, as: 'type'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class RepricingProductReportBuyboxWinningProductStats
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :buybox_wins_count, as: 'buyboxWinsCount'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class RepricingRule
|
class RepricingRule
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :cogs_based_rule, as: 'cogsBasedRule', class: Google::Apis::ContentV2_1::RepricingRuleCostOfGoodsSaleRule, decorator: Google::Apis::ContentV2_1::RepricingRuleCostOfGoodsSaleRule::Representation
|
||||||
|
|
||||||
property :country_code, as: 'countryCode'
|
property :country_code, as: 'countryCode'
|
||||||
property :effective_time_period, as: 'effectiveTimePeriod', class: Google::Apis::ContentV2_1::RepricingRuleEffectiveTime, decorator: Google::Apis::ContentV2_1::RepricingRuleEffectiveTime::Representation
|
property :effective_time_period, as: 'effectiveTimePeriod', class: Google::Apis::ContentV2_1::RepricingRuleEffectiveTime, decorator: Google::Apis::ContentV2_1::RepricingRuleEffectiveTime::Representation
|
||||||
|
|
||||||
|
@ -4901,11 +5043,21 @@ module Google
|
||||||
property :restriction, as: 'restriction', class: Google::Apis::ContentV2_1::RepricingRuleRestriction, decorator: Google::Apis::ContentV2_1::RepricingRuleRestriction::Representation
|
property :restriction, as: 'restriction', class: Google::Apis::ContentV2_1::RepricingRuleRestriction, decorator: Google::Apis::ContentV2_1::RepricingRuleRestriction::Representation
|
||||||
|
|
||||||
property :rule_id, as: 'ruleId'
|
property :rule_id, as: 'ruleId'
|
||||||
|
property :stats_based_rule, as: 'statsBasedRule', class: Google::Apis::ContentV2_1::RepricingRuleStatsBasedRule, decorator: Google::Apis::ContentV2_1::RepricingRuleStatsBasedRule::Representation
|
||||||
|
|
||||||
property :title, as: 'title'
|
property :title, as: 'title'
|
||||||
property :type, as: 'type'
|
property :type, as: 'type'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RepricingRuleCostOfGoodsSaleRule
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :percentage_delta, as: 'percentageDelta'
|
||||||
|
property :price_delta, as: 'priceDelta'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class RepricingRuleEffectiveTime
|
class RepricingRuleEffectiveTime
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -4943,6 +5095,32 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RepricingRuleReport
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :buybox_winning_rule_stats, as: 'buyboxWinningRuleStats', class: Google::Apis::ContentV2_1::RepricingRuleReportBuyboxWinningRuleStats, decorator: Google::Apis::ContentV2_1::RepricingRuleReportBuyboxWinningRuleStats::Representation
|
||||||
|
|
||||||
|
property :date, as: 'date', class: Google::Apis::ContentV2_1::Date, decorator: Google::Apis::ContentV2_1::Date::Representation
|
||||||
|
|
||||||
|
collection :impacted_products, as: 'impactedProducts'
|
||||||
|
collection :inapplicability_details, as: 'inapplicabilityDetails', class: Google::Apis::ContentV2_1::InapplicabilityDetails, decorator: Google::Apis::ContentV2_1::InapplicabilityDetails::Representation
|
||||||
|
|
||||||
|
collection :inapplicable_products, as: 'inapplicableProducts'
|
||||||
|
property :order_item_count, as: 'orderItemCount'
|
||||||
|
property :rule_id, as: 'ruleId'
|
||||||
|
property :total_gmv, as: 'totalGmv', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
|
||||||
|
|
||||||
|
property :type, as: 'type'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class RepricingRuleReportBuyboxWinningRuleStats
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :buybox_won_product_count, as: 'buyboxWonProductCount'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class RepricingRuleRestriction
|
class RepricingRuleRestriction
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -4960,6 +5138,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RepricingRuleStatsBasedRule
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :percentage_delta, as: 'percentageDelta'
|
||||||
|
property :price_delta, as: 'priceDelta'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ReturnAddress
|
class ReturnAddress
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -5445,6 +5631,7 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :address, as: 'address', class: Google::Apis::ContentV2_1::TestOrderAddress, decorator: Google::Apis::ContentV2_1::TestOrderAddress::Representation
|
property :address, as: 'address', class: Google::Apis::ContentV2_1::TestOrderAddress, decorator: Google::Apis::ContentV2_1::TestOrderAddress::Representation
|
||||||
|
|
||||||
|
property :is_scheduled_delivery, as: 'isScheduledDelivery'
|
||||||
property :phone_number, as: 'phoneNumber'
|
property :phone_number, as: 'phoneNumber'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -3521,6 +3521,68 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Lists the metrics report for a given Repricing product. Reports of the last 3
|
||||||
|
# days may not be complete.
|
||||||
|
# @param [Fixnum] merchant_id
|
||||||
|
# Required. Id of the merchant who owns the Repricing rule.
|
||||||
|
# @param [String] product_id
|
||||||
|
# Required. Id of the Repricing product. Also known as the [REST_ID](https://
|
||||||
|
# developers.google.com/shopping-content/reference/rest/v2.1/products#Product.
|
||||||
|
# FIELDS.id)
|
||||||
|
# @param [String] end_date
|
||||||
|
# Gets Repricing reports on and before this date in the merchant's timezone. You
|
||||||
|
# can only retrieve data up to 3 days ago (default) or earlier. Format is YYYY-
|
||||||
|
# MM-DD.
|
||||||
|
# @param [Fixnum] page_size
|
||||||
|
# Maximum number of days of reports to return. There can be more than one rule
|
||||||
|
# report returned per day. For example, if 3 rule types got applied to the same
|
||||||
|
# product within a 24-hour period, then a page_size of 1 will return 3 rule
|
||||||
|
# reports. The page size defaults to 50 and values above 1000 are coerced to
|
||||||
|
# 1000. This service may return fewer days of reports than this value, for
|
||||||
|
# example, if the time between your start and end date is less than the page
|
||||||
|
# size.
|
||||||
|
# @param [String] page_token
|
||||||
|
# Token (if provided) to retrieve the subsequent page. All other parameters must
|
||||||
|
# match the original call that provided the page token.
|
||||||
|
# @param [String] rule_id
|
||||||
|
# Id of the Repricing rule. If specified, only gets this rule's reports.
|
||||||
|
# @param [String] start_date
|
||||||
|
# Gets Repricing reports on and after this date in the merchant's timezone, up
|
||||||
|
# to one year ago. Do not use a start date later than 3 days ago (default).
|
||||||
|
# Format is YYYY-MM-DD.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ContentV2_1::ListRepricingProductReportsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ContentV2_1::ListRepricingProductReportsResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def list_productstatus_repricingreports(merchant_id, product_id, end_date: nil, page_size: nil, page_token: nil, rule_id: nil, start_date: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'content/v2.1/{merchantId}/productstatuses/{productId}/repricingreports', options)
|
||||||
|
command.response_representation = Google::Apis::ContentV2_1::ListRepricingProductReportsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::ContentV2_1::ListRepricingProductReportsResponse
|
||||||
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||||
|
command.params['productId'] = product_id unless product_id.nil?
|
||||||
|
command.query['endDate'] = end_date unless end_date.nil?
|
||||||
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
|
command.query['ruleId'] = rule_id unless rule_id.nil?
|
||||||
|
command.query['startDate'] = start_date unless start_date.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Retrieves a Merchant Center account's pubsub notification settings.
|
# Retrieves a Merchant Center account's pubsub notification settings.
|
||||||
# @param [Fixnum] merchant_id
|
# @param [Fixnum] merchant_id
|
||||||
# The ID of the account for which to get pubsub notification settings.
|
# The ID of the account for which to get pubsub notification settings.
|
||||||
|
@ -4022,6 +4084,60 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Lists the metrics report for a given Repricing rule. Reports of the last 3
|
||||||
|
# days may not be complete.
|
||||||
|
# @param [Fixnum] merchant_id
|
||||||
|
# Required. Id of the merchant who owns the Repricing rule.
|
||||||
|
# @param [String] rule_id
|
||||||
|
# Required. Id of the Repricing rule.
|
||||||
|
# @param [String] end_date
|
||||||
|
# Gets Repricing reports on and before this date in the merchant's timezone. You
|
||||||
|
# can only retrieve data up to 3 days ago (default) or earlier. Format: YYYY-MM-
|
||||||
|
# DD.
|
||||||
|
# @param [Fixnum] page_size
|
||||||
|
# Maximum number of daily reports to return. Each report includes data from a
|
||||||
|
# single 24-hour period. The page size defaults to 50 and values above 1000 are
|
||||||
|
# coerced to 1000. This service may return fewer days than this value, for
|
||||||
|
# example, if the time between your start and end date is less than page size.
|
||||||
|
# @param [String] page_token
|
||||||
|
# Token (if provided) to retrieve the subsequent page. All other parameters must
|
||||||
|
# match the original call that provided the page token.
|
||||||
|
# @param [String] start_date
|
||||||
|
# Gets Repricing reports on and after this date in the merchant's timezone, up
|
||||||
|
# to one year ago. Do not use a start date later than 3 days ago (default).
|
||||||
|
# Format: YYYY-MM-DD.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ContentV2_1::ListRepricingRuleReportsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ContentV2_1::ListRepricingRuleReportsResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def list_repricingrule_repricingreports(merchant_id, rule_id, end_date: nil, page_size: nil, page_token: nil, start_date: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'content/v2.1/{merchantId}/repricingrules/{ruleId}/repricingreports', options)
|
||||||
|
command.response_representation = Google::Apis::ContentV2_1::ListRepricingRuleReportsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::ContentV2_1::ListRepricingRuleReportsResponse
|
||||||
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||||
|
command.params['ruleId'] = rule_id unless rule_id.nil?
|
||||||
|
command.query['endDate'] = end_date unless end_date.nil?
|
||||||
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
|
command.query['startDate'] = start_date unless start_date.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Batches multiple return address related calls in a single request.
|
# Batches multiple return address related calls in a single request.
|
||||||
# @param [Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequest] returnaddress_custom_batch_request_object
|
# @param [Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequest] returnaddress_custom_batch_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
|
Loading…
Reference in New Issue