google-apis-content_v2_1 0.9.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d147340cd9a32639364f8c67ab3d8a8bcbb61491822ba0683b877f8566912eca
|
4
|
+
data.tar.gz: a511e225734cd23fe40eeaa17ea382609bfe487e0b58438573ad0fd5ec99ffa8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0434fb3c99073fb6f68f664afa7ca60f3e50820fa90ab0ec841a7f61b9362707432903c003bc80b5f5d1c0aeee9d6bb25e83d7bd85badd84f3cabfa9dbdf6655
|
7
|
+
data.tar.gz: bfe40ff28d5a19c273cd4dab864d5adcf3ce99f136ecd181d60d1a76acbe1304b8b60070a020ba064a171cbe4ff767191b41302c6a30da3ea7ba3c2fa6dd87e1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-content_v2_1
|
2
2
|
|
3
|
+
### v0.14.0 (2021-06-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210603
|
6
|
+
* Regenerated using generator version 0.3.0
|
7
|
+
|
8
|
+
### v0.13.0 (2021-06-01)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210526
|
11
|
+
|
12
|
+
### v0.12.0 (2021-05-26)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210519
|
15
|
+
|
16
|
+
### v0.11.0 (2021-05-19)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.10.0 (2021-05-18)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210514
|
23
|
+
|
3
24
|
### v0.9.0 (2021-03-30)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210325
|
@@ -1123,7 +1123,7 @@ module Google
|
|
1123
1123
|
attr_accessor :action
|
1124
1124
|
|
1125
1125
|
# Type of the link between the two accounts. Acceptable values are: - "`
|
1126
|
-
# channelPartner`" - "`eCommercePlatform`"
|
1126
|
+
# channelPartner`" - "`eCommercePlatform`" - "`paymentServiceProvider`"
|
1127
1127
|
# Corresponds to the JSON property `linkType`
|
1128
1128
|
# @return [String]
|
1129
1129
|
attr_accessor :link_type
|
@@ -1133,8 +1133,14 @@ module Google
|
|
1133
1133
|
# @return [String]
|
1134
1134
|
attr_accessor :linked_account_id
|
1135
1135
|
|
1136
|
+
# Additional information required for PAYMENT_SERVICE_PROVIDER link type.
|
1137
|
+
# Corresponds to the JSON property `paymentServiceProviderLinkInfo`
|
1138
|
+
# @return [Google::Apis::ContentV2_1::PaymentServiceProviderLinkInfo]
|
1139
|
+
attr_accessor :payment_service_provider_link_info
|
1140
|
+
|
1136
1141
|
# Acceptable values are: - "`shoppingAdsProductManagement`" - "`
|
1137
|
-
# shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`"
|
1142
|
+
# shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`" - "`
|
1143
|
+
# paymentProcessing`"
|
1138
1144
|
# Corresponds to the JSON property `services`
|
1139
1145
|
# @return [Array<String>]
|
1140
1146
|
attr_accessor :services
|
@@ -1148,6 +1154,7 @@ module Google
|
|
1148
1154
|
@action = args[:action] if args.key?(:action)
|
1149
1155
|
@link_type = args[:link_type] if args.key?(:link_type)
|
1150
1156
|
@linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id)
|
1157
|
+
@payment_service_provider_link_info = args[:payment_service_provider_link_info] if args.key?(:payment_service_provider_link_info)
|
1151
1158
|
@services = args[:services] if args.key?(:services)
|
1152
1159
|
end
|
1153
1160
|
end
|
@@ -1586,6 +1593,19 @@ module Google
|
|
1586
1593
|
end
|
1587
1594
|
end
|
1588
1595
|
|
1596
|
+
# Request message for the ActivateProgram method.
|
1597
|
+
class ActivateBuyOnGoogleProgramRequest
|
1598
|
+
include Google::Apis::Core::Hashable
|
1599
|
+
|
1600
|
+
def initialize(**args)
|
1601
|
+
update!(**args)
|
1602
|
+
end
|
1603
|
+
|
1604
|
+
# Update properties of this object
|
1605
|
+
def update!(**args)
|
1606
|
+
end
|
1607
|
+
end
|
1608
|
+
|
1589
1609
|
#
|
1590
1610
|
class Amount
|
1591
1611
|
include Google::Apis::Core::Hashable
|
@@ -1727,13 +1747,20 @@ module Google
|
|
1727
1747
|
# @return [String]
|
1728
1748
|
attr_accessor :country
|
1729
1749
|
|
1750
|
+
# A list of services supported for EDD (Estimated Delivery Date) calculation.
|
1751
|
+
# This is the list of valid values for WarehouseBasedDeliveryTime.carrierService.
|
1752
|
+
# Corresponds to the JSON property `eddServices`
|
1753
|
+
# @return [Array<String>]
|
1754
|
+
attr_accessor :edd_services
|
1755
|
+
|
1730
1756
|
# The name of the carrier (e.g., `"UPS"`). Always present.
|
1731
1757
|
# Corresponds to the JSON property `name`
|
1732
1758
|
# @return [String]
|
1733
1759
|
attr_accessor :name
|
1734
1760
|
|
1735
1761
|
# A list of supported services (e.g., `"ground"`) for that carrier. Contains at
|
1736
|
-
# least one service.
|
1762
|
+
# least one service. This is the list of valid values for CarrierRate.
|
1763
|
+
# carrierService.
|
1737
1764
|
# Corresponds to the JSON property `services`
|
1738
1765
|
# @return [Array<String>]
|
1739
1766
|
attr_accessor :services
|
@@ -1745,6 +1772,7 @@ module Google
|
|
1745
1772
|
# Update properties of this object
|
1746
1773
|
def update!(**args)
|
1747
1774
|
@country = args[:country] if args.key?(:country)
|
1775
|
+
@edd_services = args[:edd_services] if args.key?(:edd_services)
|
1748
1776
|
@name = args[:name] if args.key?(:name)
|
1749
1777
|
@services = args[:services] if args.key?(:services)
|
1750
1778
|
end
|
@@ -3079,6 +3107,13 @@ module Google
|
|
3079
3107
|
# @return [Google::Apis::ContentV2_1::TransitTable]
|
3080
3108
|
attr_accessor :transit_time_table
|
3081
3109
|
|
3110
|
+
# Indicates that the delivery time should be calculated per warehouse (shipping
|
3111
|
+
# origin location) based on the settings of the selected carrier. When set, no
|
3112
|
+
# other transit time related field in DeliveryTime should be set.
|
3113
|
+
# Corresponds to the JSON property `warehouseBasedDeliveryTimes`
|
3114
|
+
# @return [Array<Google::Apis::ContentV2_1::WarehouseBasedDeliveryTime>]
|
3115
|
+
attr_accessor :warehouse_based_delivery_times
|
3116
|
+
|
3082
3117
|
def initialize(**args)
|
3083
3118
|
update!(**args)
|
3084
3119
|
end
|
@@ -3094,6 +3129,7 @@ module Google
|
|
3094
3129
|
@min_transit_time_in_days = args[:min_transit_time_in_days] if args.key?(:min_transit_time_in_days)
|
3095
3130
|
@transit_business_day_config = args[:transit_business_day_config] if args.key?(:transit_business_day_config)
|
3096
3131
|
@transit_time_table = args[:transit_time_table] if args.key?(:transit_time_table)
|
3132
|
+
@warehouse_based_delivery_times = args[:warehouse_based_delivery_times] if args.key?(:warehouse_based_delivery_times)
|
3097
3133
|
end
|
3098
3134
|
end
|
3099
3135
|
|
@@ -4071,7 +4107,7 @@ module Google
|
|
4071
4107
|
|
4072
4108
|
# Service provided to or by the linked account. Acceptable values are: - "`
|
4073
4109
|
# shoppingActionsOrderManagement`" - "`shoppingActionsProductManagement`" - "`
|
4074
|
-
# shoppingAdsProductManagement`"
|
4110
|
+
# shoppingAdsProductManagement`" - "`paymentProcessing`"
|
4075
4111
|
# Corresponds to the JSON property `service`
|
4076
4112
|
# @return [String]
|
4077
4113
|
attr_accessor :service
|
@@ -4788,31 +4824,172 @@ module Google
|
|
4788
4824
|
class Metrics
|
4789
4825
|
include Google::Apis::Core::Hashable
|
4790
4826
|
|
4827
|
+
# Average order size - the average number of items in an order. **This metric
|
4828
|
+
# cannot be segmented by product dimensions.**
|
4829
|
+
# Corresponds to the JSON property `aos`
|
4830
|
+
# @return [Float]
|
4831
|
+
attr_accessor :aos
|
4832
|
+
|
4833
|
+
# Average order value - the average value (total price of items) of all placed
|
4834
|
+
# orders. The currency of the returned value is stored in the currency_code
|
4835
|
+
# segment. If this metric is selected, 'segments.currency_code' is automatically
|
4836
|
+
# added to the SELECT clause in the search query (unless it is explicitly
|
4837
|
+
# selected by the user) and the currency_code segment is populated in the
|
4838
|
+
# response. **This metric cannot be segmented by product dimensions.**
|
4839
|
+
# Corresponds to the JSON property `aovMicros`
|
4840
|
+
# @return [Float]
|
4841
|
+
attr_accessor :aov_micros
|
4842
|
+
|
4791
4843
|
# Number of clicks.
|
4792
4844
|
# Corresponds to the JSON property `clicks`
|
4793
4845
|
# @return [Fixnum]
|
4794
4846
|
attr_accessor :clicks
|
4795
4847
|
|
4796
|
-
#
|
4797
|
-
# times the products are shown (impressions).
|
4848
|
+
# Click-through rate - the number of clicks merchant's products receive (clicks)
|
4849
|
+
# divided by the number of times the products are shown (impressions).
|
4798
4850
|
# Corresponds to the JSON property `ctr`
|
4799
4851
|
# @return [Float]
|
4800
4852
|
attr_accessor :ctr
|
4801
4853
|
|
4854
|
+
# Average number of days between an order being placed and the order being fully
|
4855
|
+
# shipped, reported on the last shipment date. **This metric cannot be segmented
|
4856
|
+
# by product dimensions.**
|
4857
|
+
# Corresponds to the JSON property `daysToShip`
|
4858
|
+
# @return [Float]
|
4859
|
+
attr_accessor :days_to_ship
|
4860
|
+
|
4802
4861
|
# Number of times merchant's products are shown.
|
4803
4862
|
# Corresponds to the JSON property `impressions`
|
4804
4863
|
# @return [Fixnum]
|
4805
4864
|
attr_accessor :impressions
|
4806
4865
|
|
4866
|
+
# Average number of days between an item being ordered and the item being
|
4867
|
+
# Corresponds to the JSON property `itemDaysToShip`
|
4868
|
+
# @return [Float]
|
4869
|
+
attr_accessor :item_days_to_ship
|
4870
|
+
|
4871
|
+
# Percentage of shipped items in relation to all finalized items (shipped or
|
4872
|
+
# rejected by the merchant; unshipped items are not taken into account),
|
4873
|
+
# reported on the order date. Item fill rate is lowered by merchant rejections.
|
4874
|
+
# Corresponds to the JSON property `itemFillRate`
|
4875
|
+
# @return [Float]
|
4876
|
+
attr_accessor :item_fill_rate
|
4877
|
+
|
4878
|
+
# Total price of ordered items. Excludes shipping, taxes (US only), and customer
|
4879
|
+
# cancellations that happened within 30 minutes of placing the order. The
|
4880
|
+
# currency of the returned value is stored in the currency_code segment. If this
|
4881
|
+
# metric is selected, 'segments.currency_code' is automatically added to the
|
4882
|
+
# SELECT clause in the search query (unless it is explicitly selected by the
|
4883
|
+
# user) and the currency_code segment is populated in the response.
|
4884
|
+
# Corresponds to the JSON property `orderedItemSalesMicros`
|
4885
|
+
# @return [Fixnum]
|
4886
|
+
attr_accessor :ordered_item_sales_micros
|
4887
|
+
|
4888
|
+
# Number of ordered items. Excludes customer cancellations that happened within
|
4889
|
+
# 30 minutes of placing the order.
|
4890
|
+
# Corresponds to the JSON property `orderedItems`
|
4891
|
+
# @return [Fixnum]
|
4892
|
+
attr_accessor :ordered_items
|
4893
|
+
|
4894
|
+
# Number of placed orders. Excludes customer cancellations that happened within
|
4895
|
+
# 30 minutes of placing the order. **This metric cannot be segmented by product
|
4896
|
+
# dimensions.**
|
4897
|
+
# Corresponds to the JSON property `orders`
|
4898
|
+
# @return [Fixnum]
|
4899
|
+
attr_accessor :orders
|
4900
|
+
|
4901
|
+
# Number of ordered items canceled by the merchant, reported on the order date.
|
4902
|
+
# Corresponds to the JSON property `rejectedItems`
|
4903
|
+
# @return [Fixnum]
|
4904
|
+
attr_accessor :rejected_items
|
4905
|
+
|
4906
|
+
# Total price of returned items divided by the total price of shipped items,
|
4907
|
+
# reported on the order date. If this metric is selected, 'segments.
|
4908
|
+
# currency_code' is automatically added to the SELECT clause in the search query
|
4909
|
+
# (unless it is explicitly selected by the user) and the currency_code segment
|
4910
|
+
# is populated in the response.
|
4911
|
+
# Corresponds to the JSON property `returnRate`
|
4912
|
+
# @return [Float]
|
4913
|
+
attr_accessor :return_rate
|
4914
|
+
|
4915
|
+
# Number of ordered items sent back for return, reported on the date when the
|
4916
|
+
# merchant accepted the return.
|
4917
|
+
# Corresponds to the JSON property `returnedItems`
|
4918
|
+
# @return [Fixnum]
|
4919
|
+
attr_accessor :returned_items
|
4920
|
+
|
4921
|
+
# Total price of ordered items sent back for return, reported on the date when
|
4922
|
+
# the merchant accepted the return. The currency of the returned value is stored
|
4923
|
+
# in the currency_code segment. If this metric is selected, 'segments.
|
4924
|
+
# currency_code' is automatically added to the SELECT clause in the search query
|
4925
|
+
# (unless it is explicitly selected by the user) and the currency_code segment
|
4926
|
+
# is populated in the response.
|
4927
|
+
# Corresponds to the JSON property `returnsMicros`
|
4928
|
+
# @return [Fixnum]
|
4929
|
+
attr_accessor :returns_micros
|
4930
|
+
|
4931
|
+
# Total price of shipped items, reported on the order date. Excludes shipping
|
4932
|
+
# and taxes (US only). The currency of the returned value is stored in the
|
4933
|
+
# currency_code segment. If this metric is selected, 'segments.currency_code' is
|
4934
|
+
# automatically added to the SELECT clause in the search query (unless it is
|
4935
|
+
# explicitly selected by the user) and the currency_code segment is populated in
|
4936
|
+
# the response.
|
4937
|
+
# Corresponds to the JSON property `shippedItemSalesMicros`
|
4938
|
+
# @return [Fixnum]
|
4939
|
+
attr_accessor :shipped_item_sales_micros
|
4940
|
+
|
4941
|
+
# Number of shipped items, reported on the shipment date.
|
4942
|
+
# Corresponds to the JSON property `shippedItems`
|
4943
|
+
# @return [Fixnum]
|
4944
|
+
attr_accessor :shipped_items
|
4945
|
+
|
4946
|
+
# Number of fully shipped orders, reported on the last shipment date. **This
|
4947
|
+
# metric cannot be segmented by product dimensions.**
|
4948
|
+
# Corresponds to the JSON property `shippedOrders`
|
4949
|
+
# @return [Fixnum]
|
4950
|
+
attr_accessor :shipped_orders
|
4951
|
+
|
4952
|
+
# Number of ordered items not shipped up until the end of the queried day. If a
|
4953
|
+
# multi-day period is specified in the search query, the returned value is the
|
4954
|
+
# average number of unshipped items over the days in the queried period.
|
4955
|
+
# Corresponds to the JSON property `unshippedItems`
|
4956
|
+
# @return [Float]
|
4957
|
+
attr_accessor :unshipped_items
|
4958
|
+
|
4959
|
+
# Number of orders not shipped or partially shipped up until the end of the
|
4960
|
+
# queried day. If a multi-day period is specified in the search query, the
|
4961
|
+
# returned value is the average number of unshipped orders over the days in the
|
4962
|
+
# queried period. **This metric cannot be segmented by product dimensions.**
|
4963
|
+
# Corresponds to the JSON property `unshippedOrders`
|
4964
|
+
# @return [Float]
|
4965
|
+
attr_accessor :unshipped_orders
|
4966
|
+
|
4807
4967
|
def initialize(**args)
|
4808
4968
|
update!(**args)
|
4809
4969
|
end
|
4810
4970
|
|
4811
4971
|
# Update properties of this object
|
4812
4972
|
def update!(**args)
|
4973
|
+
@aos = args[:aos] if args.key?(:aos)
|
4974
|
+
@aov_micros = args[:aov_micros] if args.key?(:aov_micros)
|
4813
4975
|
@clicks = args[:clicks] if args.key?(:clicks)
|
4814
4976
|
@ctr = args[:ctr] if args.key?(:ctr)
|
4977
|
+
@days_to_ship = args[:days_to_ship] if args.key?(:days_to_ship)
|
4815
4978
|
@impressions = args[:impressions] if args.key?(:impressions)
|
4979
|
+
@item_days_to_ship = args[:item_days_to_ship] if args.key?(:item_days_to_ship)
|
4980
|
+
@item_fill_rate = args[:item_fill_rate] if args.key?(:item_fill_rate)
|
4981
|
+
@ordered_item_sales_micros = args[:ordered_item_sales_micros] if args.key?(:ordered_item_sales_micros)
|
4982
|
+
@ordered_items = args[:ordered_items] if args.key?(:ordered_items)
|
4983
|
+
@orders = args[:orders] if args.key?(:orders)
|
4984
|
+
@rejected_items = args[:rejected_items] if args.key?(:rejected_items)
|
4985
|
+
@return_rate = args[:return_rate] if args.key?(:return_rate)
|
4986
|
+
@returned_items = args[:returned_items] if args.key?(:returned_items)
|
4987
|
+
@returns_micros = args[:returns_micros] if args.key?(:returns_micros)
|
4988
|
+
@shipped_item_sales_micros = args[:shipped_item_sales_micros] if args.key?(:shipped_item_sales_micros)
|
4989
|
+
@shipped_items = args[:shipped_items] if args.key?(:shipped_items)
|
4990
|
+
@shipped_orders = args[:shipped_orders] if args.key?(:shipped_orders)
|
4991
|
+
@unshipped_items = args[:unshipped_items] if args.key?(:unshipped_items)
|
4992
|
+
@unshipped_orders = args[:unshipped_orders] if args.key?(:unshipped_orders)
|
4816
4993
|
end
|
4817
4994
|
end
|
4818
4995
|
|
@@ -6270,14 +6447,15 @@ module Google
|
|
6270
6447
|
# Turkish Post) - "`eub`" (ePacket) - "`chukou1`" (Chukou1 Logistics) - "`bestex`
|
6271
6448
|
# " (Best Express) - "`canada post`" (Canada Post) - "`purolator`" (Purolator) -
|
6272
6449
|
# "`canpar`" (Canpar) - "`india post`" (India Post) - "`blue dart`" (Blue Dart) -
|
6273
|
-
# "`delhivery`" (Delhivery) - "`dtdc`" (DTDC) - "`tpc india`" (TPC India)
|
6274
|
-
#
|
6275
|
-
#
|
6276
|
-
#
|
6277
|
-
#
|
6278
|
-
#
|
6279
|
-
#
|
6280
|
-
#
|
6450
|
+
# "`delhivery`" (Delhivery) - "`dtdc`" (DTDC) - "`tpc india`" (TPC India) - "`
|
6451
|
+
# lso`" (Lone Star Overnight) - "`tww`" (Team Worldwide) Supported carriers for
|
6452
|
+
# FR are: - "`la poste`" (La Poste) *automatic status updates * - "`colissimo`" (
|
6453
|
+
# Colissimo by La Poste) *automatic status updates* - "`ups`" (United Parcel
|
6454
|
+
# Service) *automatic status updates * - "`chronopost`" (Chronopost by La Poste)
|
6455
|
+
# - "`gls`" (General Logistics Systems France) - "`dpd`" (DPD Group by GeoPost) -
|
6456
|
+
# "`bpost`" (Belgian Post Group) - "`colis prive`" (Colis Privé) - "`boxtal`" (
|
6457
|
+
# Boxtal) - "`geodis`" (GEODIS) - "`tnt`" (TNT) - "`db schenker`" (DB Schenker) -
|
6458
|
+
# "`aramex`" (Aramex)
|
6281
6459
|
# Corresponds to the JSON property `carrier`
|
6282
6460
|
# @return [String]
|
6283
6461
|
attr_accessor :carrier
|
@@ -6412,7 +6590,8 @@ module Google
|
|
6412
6590
|
attr_accessor :customer_shipping_fee
|
6413
6591
|
|
6414
6592
|
# Required. The delivery postal code, as a continuous string without spaces or
|
6415
|
-
# dashes, e.g. "95016".
|
6593
|
+
# dashes, e.g. "95016". This field will be anonymized in returned
|
6594
|
+
# OrderTrackingSignal creation response.
|
6416
6595
|
# Corresponds to the JSON property `deliveryPostalCode`
|
6417
6596
|
# @return [String]
|
6418
6597
|
attr_accessor :delivery_postal_code
|
@@ -6455,7 +6634,8 @@ module Google
|
|
6455
6634
|
# @return [Google::Apis::ContentV2_1::DateTime]
|
6456
6635
|
attr_accessor :order_created_time
|
6457
6636
|
|
6458
|
-
# Required. The ID of the order on the merchant side.
|
6637
|
+
# Required. The ID of the order on the merchant side. This field will be hashed
|
6638
|
+
# in returned OrderTrackingSignal creation response.
|
6459
6639
|
# Corresponds to the JSON property `orderId`
|
6460
6640
|
# @return [String]
|
6461
6641
|
attr_accessor :order_id
|
@@ -6553,7 +6733,8 @@ module Google
|
|
6553
6733
|
# @return [Fixnum]
|
6554
6734
|
attr_accessor :quantity
|
6555
6735
|
|
6556
|
-
# Required. The shipment ID.
|
6736
|
+
# Required. The shipment ID. This field will be hashed in returned
|
6737
|
+
# OrderTrackingSignal creation response.
|
6557
6738
|
# Corresponds to the JSON property `shipmentId`
|
6558
6739
|
# @return [String]
|
6559
6740
|
attr_accessor :shipment_id
|
@@ -6641,7 +6822,8 @@ module Google
|
|
6641
6822
|
attr_accessor :latest_delivery_promise_time
|
6642
6823
|
|
6643
6824
|
# The origin postal code, as a continuous string without spaces or dashes, e.g. "
|
6644
|
-
# 95016".
|
6825
|
+
# 95016". This field will be anonymized in returned OrderTrackingSignal creation
|
6826
|
+
# response.
|
6645
6827
|
# Corresponds to the JSON property `originPostalCode`
|
6646
6828
|
# @return [String]
|
6647
6829
|
attr_accessor :origin_postal_code
|
@@ -6652,7 +6834,8 @@ module Google
|
|
6652
6834
|
# @return [String]
|
6653
6835
|
attr_accessor :origin_region_code
|
6654
6836
|
|
6655
|
-
# Required. The shipment ID.
|
6837
|
+
# Required. The shipment ID. This field will be hashed in returned
|
6838
|
+
# OrderTrackingSignal creation response.
|
6656
6839
|
# Corresponds to the JSON property `shipmentId`
|
6657
6840
|
# @return [String]
|
6658
6841
|
attr_accessor :shipment_id
|
@@ -7113,11 +7296,17 @@ module Google
|
|
7113
7296
|
include Google::Apis::Core::Hashable
|
7114
7297
|
|
7115
7298
|
# The ID of the line item. This value is assigned by Google when an order is
|
7116
|
-
# created.
|
7299
|
+
# created. Either lineItemId or productId is required.
|
7117
7300
|
# Corresponds to the JSON property `lineItemId`
|
7118
7301
|
# @return [String]
|
7119
7302
|
attr_accessor :line_item_id
|
7120
7303
|
|
7304
|
+
# The ID of the product to cancel. This is the REST ID used in the products
|
7305
|
+
# service. Either lineItemId or productId is required.
|
7306
|
+
# Corresponds to the JSON property `productId`
|
7307
|
+
# @return [String]
|
7308
|
+
attr_accessor :product_id
|
7309
|
+
|
7121
7310
|
# The quantity of this line item.
|
7122
7311
|
# Corresponds to the JSON property `quantity`
|
7123
7312
|
# @return [Fixnum]
|
@@ -7130,6 +7319,7 @@ module Google
|
|
7130
7319
|
# Update properties of this object
|
7131
7320
|
def update!(**args)
|
7132
7321
|
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
7322
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
7133
7323
|
@quantity = args[:quantity] if args.key?(:quantity)
|
7134
7324
|
end
|
7135
7325
|
end
|
@@ -8756,6 +8946,45 @@ module Google
|
|
8756
8946
|
end
|
8757
8947
|
end
|
8758
8948
|
|
8949
|
+
# Request message for the PauseProgram method.
|
8950
|
+
class PauseBuyOnGoogleProgramRequest
|
8951
|
+
include Google::Apis::Core::Hashable
|
8952
|
+
|
8953
|
+
def initialize(**args)
|
8954
|
+
update!(**args)
|
8955
|
+
end
|
8956
|
+
|
8957
|
+
# Update properties of this object
|
8958
|
+
def update!(**args)
|
8959
|
+
end
|
8960
|
+
end
|
8961
|
+
|
8962
|
+
# Additional information required for PAYMENT_SERVICE_PROVIDER link type.
|
8963
|
+
class PaymentServiceProviderLinkInfo
|
8964
|
+
include Google::Apis::Core::Hashable
|
8965
|
+
|
8966
|
+
# The business country of the merchant account as identified by the third party
|
8967
|
+
# service provider.
|
8968
|
+
# Corresponds to the JSON property `externalAccountBusinessCountry`
|
8969
|
+
# @return [String]
|
8970
|
+
attr_accessor :external_account_business_country
|
8971
|
+
|
8972
|
+
# The id used by the third party service provider to identify the merchant.
|
8973
|
+
# Corresponds to the JSON property `externalAccountId`
|
8974
|
+
# @return [String]
|
8975
|
+
attr_accessor :external_account_id
|
8976
|
+
|
8977
|
+
def initialize(**args)
|
8978
|
+
update!(**args)
|
8979
|
+
end
|
8980
|
+
|
8981
|
+
# Update properties of this object
|
8982
|
+
def update!(**args)
|
8983
|
+
@external_account_business_country = args[:external_account_business_country] if args.key?(:external_account_business_country)
|
8984
|
+
@external_account_id = args[:external_account_id] if args.key?(:external_account_id)
|
8985
|
+
end
|
8986
|
+
end
|
8987
|
+
|
8759
8988
|
#
|
8760
8989
|
class PickupCarrierService
|
8761
8990
|
include Google::Apis::Core::Hashable
|
@@ -9621,10 +9850,8 @@ module Google
|
|
9621
9850
|
|
9622
9851
|
# Required product attributes are primarily defined by the products data
|
9623
9852
|
# specification. See the Products Data Specification Help Center article for
|
9624
|
-
# information.
|
9625
|
-
#
|
9626
|
-
# data. After inserting, updating, or deleting a product, it may take several
|
9627
|
-
# minutes before changes take effect.
|
9853
|
+
# information. Product data. After inserting, updating, or deleting a product,
|
9854
|
+
# it may take several minutes before changes take effect.
|
9628
9855
|
class Product
|
9629
9856
|
include Google::Apis::Core::Hashable
|
9630
9857
|
|
@@ -9869,6 +10096,11 @@ module Google
|
|
9869
10096
|
# @return [String]
|
9870
10097
|
attr_accessor :link
|
9871
10098
|
|
10099
|
+
# URL template for merchant hosted local storefront.
|
10100
|
+
# Corresponds to the JSON property `linkTemplate`
|
10101
|
+
# @return [String]
|
10102
|
+
attr_accessor :link_template
|
10103
|
+
|
9872
10104
|
# Loyalty points that users receive after purchasing the item. Japan only.
|
9873
10105
|
# Corresponds to the JSON property `loyaltyPoints`
|
9874
10106
|
# @return [Google::Apis::ContentV2_1::LoyaltyPoints]
|
@@ -9904,6 +10136,11 @@ module Google
|
|
9904
10136
|
# @return [String]
|
9905
10137
|
attr_accessor :mobile_link
|
9906
10138
|
|
10139
|
+
# URL template for merchant hosted local storefront optimized for mobile devices.
|
10140
|
+
# Corresponds to the JSON property `mobileLinkTemplate`
|
10141
|
+
# @return [String]
|
10142
|
+
attr_accessor :mobile_link_template
|
10143
|
+
|
9907
10144
|
# Manufacturer Part Number (MPN) of the item.
|
9908
10145
|
# Corresponds to the JSON property `mpn`
|
9909
10146
|
# @return [String]
|
@@ -9928,6 +10165,19 @@ module Google
|
|
9928
10165
|
# @return [String]
|
9929
10166
|
attr_accessor :pattern
|
9930
10167
|
|
10168
|
+
# The pick up option for the item. Acceptable values are: - "`buy`" - "`reserve`"
|
10169
|
+
# - "`ship to store`" - "`not supported`"
|
10170
|
+
# Corresponds to the JSON property `pickupMethod`
|
10171
|
+
# @return [String]
|
10172
|
+
attr_accessor :pickup_method
|
10173
|
+
|
10174
|
+
# Item store pickup timeline. Acceptable values are: - "`same day`" - "`next day`
|
10175
|
+
# " - "`2-day`" - "`3-day`" - "`4-day`" - "`5-day`" - "`6-day`" - "`7-day`" - "`
|
10176
|
+
# multi-week`"
|
10177
|
+
# Corresponds to the JSON property `pickupSla`
|
10178
|
+
# @return [String]
|
10179
|
+
attr_accessor :pickup_sla
|
10180
|
+
|
9931
10181
|
# Price of the item.
|
9932
10182
|
# Corresponds to the JSON property `price`
|
9933
10183
|
# @return [Google::Apis::ContentV2_1::Price]
|
@@ -10122,6 +10372,7 @@ module Google
|
|
10122
10372
|
@item_group_id = args[:item_group_id] if args.key?(:item_group_id)
|
10123
10373
|
@kind = args[:kind] if args.key?(:kind)
|
10124
10374
|
@link = args[:link] if args.key?(:link)
|
10375
|
+
@link_template = args[:link_template] if args.key?(:link_template)
|
10125
10376
|
@loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points)
|
10126
10377
|
@material = args[:material] if args.key?(:material)
|
10127
10378
|
@max_energy_efficiency_class = args[:max_energy_efficiency_class] if args.key?(:max_energy_efficiency_class)
|
@@ -10129,10 +10380,13 @@ module Google
|
|
10129
10380
|
@min_energy_efficiency_class = args[:min_energy_efficiency_class] if args.key?(:min_energy_efficiency_class)
|
10130
10381
|
@min_handling_time = args[:min_handling_time] if args.key?(:min_handling_time)
|
10131
10382
|
@mobile_link = args[:mobile_link] if args.key?(:mobile_link)
|
10383
|
+
@mobile_link_template = args[:mobile_link_template] if args.key?(:mobile_link_template)
|
10132
10384
|
@mpn = args[:mpn] if args.key?(:mpn)
|
10133
10385
|
@multipack = args[:multipack] if args.key?(:multipack)
|
10134
10386
|
@offer_id = args[:offer_id] if args.key?(:offer_id)
|
10135
10387
|
@pattern = args[:pattern] if args.key?(:pattern)
|
10388
|
+
@pickup_method = args[:pickup_method] if args.key?(:pickup_method)
|
10389
|
+
@pickup_sla = args[:pickup_sla] if args.key?(:pickup_sla)
|
10136
10390
|
@price = args[:price] if args.key?(:price)
|
10137
10391
|
@product_details = args[:product_details] if args.key?(:product_details)
|
10138
10392
|
@product_highlights = args[:product_highlights] if args.key?(:product_highlights)
|
@@ -10246,6 +10500,39 @@ module Google
|
|
10246
10500
|
# @return [Fixnum]
|
10247
10501
|
attr_accessor :location_id
|
10248
10502
|
|
10503
|
+
# Maximum handling time (inclusive) between when the order is received and
|
10504
|
+
# shipped in business days. 0 means that the order is shipped on the same day as
|
10505
|
+
# it is received if it happens before the cut-off time. Both maxHandlingTime and
|
10506
|
+
# maxTransitTime are required if providing shipping speeds.
|
10507
|
+
# Corresponds to the JSON property `maxHandlingTime`
|
10508
|
+
# @return [Fixnum]
|
10509
|
+
attr_accessor :max_handling_time
|
10510
|
+
|
10511
|
+
# Maximum transit time (inclusive) between when the order has shipped and when
|
10512
|
+
# it is delivered in business days. 0 means that the order is delivered on the
|
10513
|
+
# same day as it ships. Both maxHandlingTime and maxTransitTime are required if
|
10514
|
+
# providing shipping speeds.
|
10515
|
+
# Corresponds to the JSON property `maxTransitTime`
|
10516
|
+
# @return [Fixnum]
|
10517
|
+
attr_accessor :max_transit_time
|
10518
|
+
|
10519
|
+
# Minimum handling time (inclusive) between when the order is received and
|
10520
|
+
# shipped in business days. 0 means that the order is shipped on the same day as
|
10521
|
+
# it is received if it happens before the cut-off time. minHandlingTime can only
|
10522
|
+
# be present together with maxHandlingTime; but it is not required if
|
10523
|
+
# maxHandlingTime is present.
|
10524
|
+
# Corresponds to the JSON property `minHandlingTime`
|
10525
|
+
# @return [Fixnum]
|
10526
|
+
attr_accessor :min_handling_time
|
10527
|
+
|
10528
|
+
# Minimum transit time (inclusive) between when the order has shipped and when
|
10529
|
+
# it is delivered in business days. 0 means that the order is delivered on the
|
10530
|
+
# same day as it ships. minTransitTime can only be present together with
|
10531
|
+
# maxTransitTime; but it is not required if maxTransitTime is present.
|
10532
|
+
# Corresponds to the JSON property `minTransitTime`
|
10533
|
+
# @return [Fixnum]
|
10534
|
+
attr_accessor :min_transit_time
|
10535
|
+
|
10249
10536
|
# The postal code range that the shipping rate applies to, represented by a
|
10250
10537
|
# postal code, a postal code prefix followed by a * wildcard, a range between
|
10251
10538
|
# two postal codes or two postal code prefixes of equal length.
|
@@ -10277,6 +10564,10 @@ module Google
|
|
10277
10564
|
@country = args[:country] if args.key?(:country)
|
10278
10565
|
@location_group_name = args[:location_group_name] if args.key?(:location_group_name)
|
10279
10566
|
@location_id = args[:location_id] if args.key?(:location_id)
|
10567
|
+
@max_handling_time = args[:max_handling_time] if args.key?(:max_handling_time)
|
10568
|
+
@max_transit_time = args[:max_transit_time] if args.key?(:max_transit_time)
|
10569
|
+
@min_handling_time = args[:min_handling_time] if args.key?(:min_handling_time)
|
10570
|
+
@min_transit_time = args[:min_transit_time] if args.key?(:min_transit_time)
|
10280
10571
|
@postal_code = args[:postal_code] if args.key?(:postal_code)
|
10281
10572
|
@price = args[:price] if args.key?(:price)
|
10282
10573
|
@region = args[:region] if args.key?(:region)
|
@@ -10686,17 +10977,15 @@ module Google
|
|
10686
10977
|
attr_accessor :merchant_id
|
10687
10978
|
|
10688
10979
|
# The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" -
|
10689
|
-
# "`insert`"
|
10980
|
+
# "`insert`" - "`update`"
|
10690
10981
|
# Corresponds to the JSON property `method`
|
10691
10982
|
# @return [String]
|
10692
10983
|
attr_accessor :method_prop
|
10693
10984
|
|
10694
10985
|
# Required product attributes are primarily defined by the products data
|
10695
10986
|
# specification. See the Products Data Specification Help Center article for
|
10696
|
-
# information.
|
10697
|
-
#
|
10698
|
-
# data. After inserting, updating, or deleting a product, it may take several
|
10699
|
-
# minutes before changes take effect.
|
10987
|
+
# information. Product data. After inserting, updating, or deleting a product,
|
10988
|
+
# it may take several minutes before changes take effect.
|
10700
10989
|
# Corresponds to the JSON property `product`
|
10701
10990
|
# @return [Google::Apis::ContentV2_1::Product]
|
10702
10991
|
attr_accessor :product
|
@@ -10707,6 +10996,16 @@ module Google
|
|
10707
10996
|
# @return [String]
|
10708
10997
|
attr_accessor :product_id
|
10709
10998
|
|
10999
|
+
# The comma-separated list of product attributes to be updated. Example: `"title,
|
11000
|
+
# salePrice"`. Attributes specified in the update mask without a value specified
|
11001
|
+
# in the body will be deleted from the product. Only top-level product
|
11002
|
+
# attributes can be updated. If not defined, product attributes with set values
|
11003
|
+
# will be updated and other attributes will stay unchanged. Only defined if the
|
11004
|
+
# method is `update`.
|
11005
|
+
# Corresponds to the JSON property `updateMask`
|
11006
|
+
# @return [String]
|
11007
|
+
attr_accessor :update_mask
|
11008
|
+
|
10710
11009
|
def initialize(**args)
|
10711
11010
|
update!(**args)
|
10712
11011
|
end
|
@@ -10719,6 +11018,7 @@ module Google
|
|
10719
11018
|
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
10720
11019
|
@product = args[:product] if args.key?(:product)
|
10721
11020
|
@product_id = args[:product_id] if args.key?(:product_id)
|
11021
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
10722
11022
|
end
|
10723
11023
|
end
|
10724
11024
|
|
@@ -10770,10 +11070,8 @@ module Google
|
|
10770
11070
|
|
10771
11071
|
# Required product attributes are primarily defined by the products data
|
10772
11072
|
# specification. See the Products Data Specification Help Center article for
|
10773
|
-
# information.
|
10774
|
-
#
|
10775
|
-
# data. After inserting, updating, or deleting a product, it may take several
|
10776
|
-
# minutes before changes take effect.
|
11073
|
+
# information. Product data. After inserting, updating, or deleting a product,
|
11074
|
+
# it may take several minutes before changes take effect.
|
10777
11075
|
# Corresponds to the JSON property `product`
|
10778
11076
|
# @return [Google::Apis::ContentV2_1::Product]
|
10779
11077
|
attr_accessor :product
|
@@ -12041,6 +12339,19 @@ module Google
|
|
12041
12339
|
end
|
12042
12340
|
end
|
12043
12341
|
|
12342
|
+
# Request message for the RequestReviewProgram method.
|
12343
|
+
class RequestReviewBuyOnGoogleProgramRequest
|
12344
|
+
include Google::Apis::Core::Hashable
|
12345
|
+
|
12346
|
+
def initialize(**args)
|
12347
|
+
update!(**args)
|
12348
|
+
end
|
12349
|
+
|
12350
|
+
# Update properties of this object
|
12351
|
+
def update!(**args)
|
12352
|
+
end
|
12353
|
+
end
|
12354
|
+
|
12044
12355
|
# Return address resource.
|
12045
12356
|
class ReturnAddress
|
12046
12357
|
include Google::Apis::Core::Hashable
|
@@ -12597,6 +12908,37 @@ module Google
|
|
12597
12908
|
end
|
12598
12909
|
end
|
12599
12910
|
|
12911
|
+
# Return shipping label for a Buy on Google merchant-managed return.
|
12912
|
+
class ReturnShippingLabel
|
12913
|
+
include Google::Apis::Core::Hashable
|
12914
|
+
|
12915
|
+
# Name of the carrier.
|
12916
|
+
# Corresponds to the JSON property `carrier`
|
12917
|
+
# @return [String]
|
12918
|
+
attr_accessor :carrier
|
12919
|
+
|
12920
|
+
# The URL for the return shipping label in PDF format
|
12921
|
+
# Corresponds to the JSON property `labelUri`
|
12922
|
+
# @return [String]
|
12923
|
+
attr_accessor :label_uri
|
12924
|
+
|
12925
|
+
# The tracking id of this return label.
|
12926
|
+
# Corresponds to the JSON property `trackingId`
|
12927
|
+
# @return [String]
|
12928
|
+
attr_accessor :tracking_id
|
12929
|
+
|
12930
|
+
def initialize(**args)
|
12931
|
+
update!(**args)
|
12932
|
+
end
|
12933
|
+
|
12934
|
+
# Update properties of this object
|
12935
|
+
def update!(**args)
|
12936
|
+
@carrier = args[:carrier] if args.key?(:carrier)
|
12937
|
+
@label_uri = args[:label_uri] if args.key?(:label_uri)
|
12938
|
+
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
12939
|
+
end
|
12940
|
+
end
|
12941
|
+
|
12600
12942
|
#
|
12601
12943
|
class ReturnaddressCustomBatchRequest
|
12602
12944
|
include Google::Apis::Core::Hashable
|
@@ -13002,6 +13344,68 @@ module Google
|
|
13002
13344
|
class Segments
|
13003
13345
|
include Google::Apis::Core::Hashable
|
13004
13346
|
|
13347
|
+
# Brand of the product.
|
13348
|
+
# Corresponds to the JSON property `brand`
|
13349
|
+
# @return [String]
|
13350
|
+
attr_accessor :brand
|
13351
|
+
|
13352
|
+
# Product category (1st level) in Google's product taxonomy.
|
13353
|
+
# Corresponds to the JSON property `categoryL1`
|
13354
|
+
# @return [String]
|
13355
|
+
attr_accessor :category_l1
|
13356
|
+
|
13357
|
+
# Product category (2nd level) in Google's product taxonomy.
|
13358
|
+
# Corresponds to the JSON property `categoryL2`
|
13359
|
+
# @return [String]
|
13360
|
+
attr_accessor :category_l2
|
13361
|
+
|
13362
|
+
# Product category (3rd level) in Google's product taxonomy.
|
13363
|
+
# Corresponds to the JSON property `categoryL3`
|
13364
|
+
# @return [String]
|
13365
|
+
attr_accessor :category_l3
|
13366
|
+
|
13367
|
+
# Product category (4th level) in Google's product taxonomy.
|
13368
|
+
# Corresponds to the JSON property `categoryL4`
|
13369
|
+
# @return [String]
|
13370
|
+
attr_accessor :category_l4
|
13371
|
+
|
13372
|
+
# Product category (5th level) in Google's product taxonomy.
|
13373
|
+
# Corresponds to the JSON property `categoryL5`
|
13374
|
+
# @return [String]
|
13375
|
+
attr_accessor :category_l5
|
13376
|
+
|
13377
|
+
# Currency in which price metrics are represented, e.g., if you select `
|
13378
|
+
# ordered_item_sales_micros`, the returned value will be represented by this
|
13379
|
+
# currency.
|
13380
|
+
# Corresponds to the JSON property `currencyCode`
|
13381
|
+
# @return [String]
|
13382
|
+
attr_accessor :currency_code
|
13383
|
+
|
13384
|
+
# Custom label 0 for custom grouping of products.
|
13385
|
+
# Corresponds to the JSON property `customLabel0`
|
13386
|
+
# @return [String]
|
13387
|
+
attr_accessor :custom_label0
|
13388
|
+
|
13389
|
+
# Custom label 1 for custom grouping of products.
|
13390
|
+
# Corresponds to the JSON property `customLabel1`
|
13391
|
+
# @return [String]
|
13392
|
+
attr_accessor :custom_label1
|
13393
|
+
|
13394
|
+
# Custom label 2 for custom grouping of products.
|
13395
|
+
# Corresponds to the JSON property `customLabel2`
|
13396
|
+
# @return [String]
|
13397
|
+
attr_accessor :custom_label2
|
13398
|
+
|
13399
|
+
# Custom label 3 for custom grouping of products.
|
13400
|
+
# Corresponds to the JSON property `customLabel3`
|
13401
|
+
# @return [String]
|
13402
|
+
attr_accessor :custom_label3
|
13403
|
+
|
13404
|
+
# Custom label 4 for custom grouping of products.
|
13405
|
+
# Corresponds to the JSON property `customLabel4`
|
13406
|
+
# @return [String]
|
13407
|
+
attr_accessor :custom_label4
|
13408
|
+
|
13005
13409
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
13006
13410
|
# day and time zone are either specified elsewhere or are insignificant. The
|
13007
13411
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
@@ -13019,20 +13423,81 @@ module Google
|
|
13019
13423
|
# @return [String]
|
13020
13424
|
attr_accessor :offer_id
|
13021
13425
|
|
13426
|
+
# Product category (1st level) in merchant's own product taxonomy.
|
13427
|
+
# Corresponds to the JSON property `productTypeL1`
|
13428
|
+
# @return [String]
|
13429
|
+
attr_accessor :product_type_l1
|
13430
|
+
|
13431
|
+
# Product category (2nd level) in merchant's own product taxonomy.
|
13432
|
+
# Corresponds to the JSON property `productTypeL2`
|
13433
|
+
# @return [String]
|
13434
|
+
attr_accessor :product_type_l2
|
13435
|
+
|
13436
|
+
# Product category (3rd level) in merchant's own product taxonomy.
|
13437
|
+
# Corresponds to the JSON property `productTypeL3`
|
13438
|
+
# @return [String]
|
13439
|
+
attr_accessor :product_type_l3
|
13440
|
+
|
13441
|
+
# Product category (4th level) in merchant's own product taxonomy.
|
13442
|
+
# Corresponds to the JSON property `productTypeL4`
|
13443
|
+
# @return [String]
|
13444
|
+
attr_accessor :product_type_l4
|
13445
|
+
|
13446
|
+
# Product category (5th level) in merchant's own product taxonomy.
|
13447
|
+
# Corresponds to the JSON property `productTypeL5`
|
13448
|
+
# @return [String]
|
13449
|
+
attr_accessor :product_type_l5
|
13450
|
+
|
13022
13451
|
# Program to which metrics apply, e.g., Free Product Listing.
|
13023
13452
|
# Corresponds to the JSON property `program`
|
13024
13453
|
# @return [String]
|
13025
13454
|
attr_accessor :program
|
13026
13455
|
|
13456
|
+
# Title of the product.
|
13457
|
+
# Corresponds to the JSON property `title`
|
13458
|
+
# @return [String]
|
13459
|
+
attr_accessor :title
|
13460
|
+
|
13461
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
13462
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
13463
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
13464
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
13465
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
13466
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
13467
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
13468
|
+
# google.protobuf.Timestamp`.
|
13469
|
+
# Corresponds to the JSON property `week`
|
13470
|
+
# @return [Google::Apis::ContentV2_1::Date]
|
13471
|
+
attr_accessor :week
|
13472
|
+
|
13027
13473
|
def initialize(**args)
|
13028
13474
|
update!(**args)
|
13029
13475
|
end
|
13030
13476
|
|
13031
13477
|
# Update properties of this object
|
13032
13478
|
def update!(**args)
|
13479
|
+
@brand = args[:brand] if args.key?(:brand)
|
13480
|
+
@category_l1 = args[:category_l1] if args.key?(:category_l1)
|
13481
|
+
@category_l2 = args[:category_l2] if args.key?(:category_l2)
|
13482
|
+
@category_l3 = args[:category_l3] if args.key?(:category_l3)
|
13483
|
+
@category_l4 = args[:category_l4] if args.key?(:category_l4)
|
13484
|
+
@category_l5 = args[:category_l5] if args.key?(:category_l5)
|
13485
|
+
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
13486
|
+
@custom_label0 = args[:custom_label0] if args.key?(:custom_label0)
|
13487
|
+
@custom_label1 = args[:custom_label1] if args.key?(:custom_label1)
|
13488
|
+
@custom_label2 = args[:custom_label2] if args.key?(:custom_label2)
|
13489
|
+
@custom_label3 = args[:custom_label3] if args.key?(:custom_label3)
|
13490
|
+
@custom_label4 = args[:custom_label4] if args.key?(:custom_label4)
|
13033
13491
|
@date = args[:date] if args.key?(:date)
|
13034
13492
|
@offer_id = args[:offer_id] if args.key?(:offer_id)
|
13493
|
+
@product_type_l1 = args[:product_type_l1] if args.key?(:product_type_l1)
|
13494
|
+
@product_type_l2 = args[:product_type_l2] if args.key?(:product_type_l2)
|
13495
|
+
@product_type_l3 = args[:product_type_l3] if args.key?(:product_type_l3)
|
13496
|
+
@product_type_l4 = args[:product_type_l4] if args.key?(:product_type_l4)
|
13497
|
+
@product_type_l5 = args[:product_type_l5] if args.key?(:product_type_l5)
|
13035
13498
|
@program = args[:program] if args.key?(:program)
|
13499
|
+
@title = args[:title] if args.key?(:title)
|
13500
|
+
@week = args[:week] if args.key?(:week)
|
13036
13501
|
end
|
13037
13502
|
end
|
13038
13503
|
|
@@ -13257,7 +13722,13 @@ module Google
|
|
13257
13722
|
# transitPackageMissing`" - "`unsuccessfulDeliveryUndeliverable`" - "`
|
13258
13723
|
# wrongChargeInStore`" - "`wrongItem`" - "`returns`" - "`undeliverable`" - "`
|
13259
13724
|
# issueRelatedRefundAndReplacementAmountDescription`" - "`refundFromMerchant`" -
|
13260
|
-
# "`returnLabelShippingFee`" - "`lumpSumCorrection`" - "`pspFee`"
|
13725
|
+
# "`returnLabelShippingFee`" - "`lumpSumCorrection`" - "`pspFee`" - "`
|
13726
|
+
# principalRefundDoesNotFit`" - "`principalRefundOrderedWrongItem`" - "`
|
13727
|
+
# principalRefundQualityNotExpected`" - "`principalRefundBetterPriceFound`" - "`
|
13728
|
+
# principalRefundNoLongerNeeded`" - "`principalRefundChangedMind`" - "`
|
13729
|
+
# principalRefundReceivedTooLate`" - "`principalRefundIncorrectItemReceived`" - "
|
13730
|
+
# `principalRefundDamagedOrDefectiveItem`" - "`
|
13731
|
+
# principalRefundDidNotMatchDescription`" - "`principalRefundExpiredItem`"
|
13261
13732
|
# Corresponds to the JSON property `description`
|
13262
13733
|
# @return [String]
|
13263
13734
|
attr_accessor :description
|
@@ -14525,6 +14996,66 @@ module Google
|
|
14525
14996
|
end
|
14526
14997
|
end
|
14527
14998
|
|
14999
|
+
#
|
15000
|
+
class WarehouseBasedDeliveryTime
|
15001
|
+
include Google::Apis::Core::Hashable
|
15002
|
+
|
15003
|
+
# Required. Carrier, such as `"UPS"` or `"Fedex"`. The list of supported
|
15004
|
+
# carriers can be retrieved via the `listSupportedCarriers` method.
|
15005
|
+
# Corresponds to the JSON property `carrier`
|
15006
|
+
# @return [String]
|
15007
|
+
attr_accessor :carrier
|
15008
|
+
|
15009
|
+
# Required. Carrier service, such as `"ground"` or `"2 days"`. The list of
|
15010
|
+
# supported services for a carrier can be retrieved via the `
|
15011
|
+
# listSupportedCarriers` method. The name of the service must be in the
|
15012
|
+
# eddSupportedServices list.
|
15013
|
+
# Corresponds to the JSON property `carrierService`
|
15014
|
+
# @return [String]
|
15015
|
+
attr_accessor :carrier_service
|
15016
|
+
|
15017
|
+
# Required. Shipping origin's state.
|
15018
|
+
# Corresponds to the JSON property `originAdministrativeArea`
|
15019
|
+
# @return [String]
|
15020
|
+
attr_accessor :origin_administrative_area
|
15021
|
+
|
15022
|
+
# Required. Shipping origin's city.
|
15023
|
+
# Corresponds to the JSON property `originCity`
|
15024
|
+
# @return [String]
|
15025
|
+
attr_accessor :origin_city
|
15026
|
+
|
15027
|
+
# Required. Shipping origin's country represented as a [CLDR territory code](
|
15028
|
+
# http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml).
|
15029
|
+
# Corresponds to the JSON property `originCountry`
|
15030
|
+
# @return [String]
|
15031
|
+
attr_accessor :origin_country
|
15032
|
+
|
15033
|
+
# Required. Shipping origin.
|
15034
|
+
# Corresponds to the JSON property `originPostalCode`
|
15035
|
+
# @return [String]
|
15036
|
+
attr_accessor :origin_postal_code
|
15037
|
+
|
15038
|
+
# Shipping origin's street address.
|
15039
|
+
# Corresponds to the JSON property `originStreetAddress`
|
15040
|
+
# @return [String]
|
15041
|
+
attr_accessor :origin_street_address
|
15042
|
+
|
15043
|
+
def initialize(**args)
|
15044
|
+
update!(**args)
|
15045
|
+
end
|
15046
|
+
|
15047
|
+
# Update properties of this object
|
15048
|
+
def update!(**args)
|
15049
|
+
@carrier = args[:carrier] if args.key?(:carrier)
|
15050
|
+
@carrier_service = args[:carrier_service] if args.key?(:carrier_service)
|
15051
|
+
@origin_administrative_area = args[:origin_administrative_area] if args.key?(:origin_administrative_area)
|
15052
|
+
@origin_city = args[:origin_city] if args.key?(:origin_city)
|
15053
|
+
@origin_country = args[:origin_country] if args.key?(:origin_country)
|
15054
|
+
@origin_postal_code = args[:origin_postal_code] if args.key?(:origin_postal_code)
|
15055
|
+
@origin_street_address = args[:origin_street_address] if args.key?(:origin_street_address)
|
15056
|
+
end
|
15057
|
+
end
|
15058
|
+
|
14528
15059
|
#
|
14529
15060
|
class Weight
|
14530
15061
|
include Google::Apis::Core::Hashable
|
@@ -14534,7 +15065,8 @@ module Google
|
|
14534
15065
|
# @return [String]
|
14535
15066
|
attr_accessor :unit
|
14536
15067
|
|
14537
|
-
# Required. The weight represented as a number.
|
15068
|
+
# Required. The weight represented as a number. The weight can have a maximum
|
15069
|
+
# precision of four decimal places.
|
14538
15070
|
# Corresponds to the JSON property `value`
|
14539
15071
|
# @return [String]
|
14540
15072
|
attr_accessor :value
|