google-apis-content_v2_1 0.7.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cabe4187bd0169821240ff2646804a63a03972a676d497e0911103d323f1fb6f
4
- data.tar.gz: b35b608a552f83fec309bdcbfe3609a2f9f1dc40178e6946050b381d181f7f01
3
+ metadata.gz: 14613626a11a49e0f05fbbb75348c5a01e894b5d1c836481a5af2f5bb3c70836
4
+ data.tar.gz: e428703539ad9ec920c528355c28b2b654f04599cf2305c7183dc98c24152cb4
5
5
  SHA512:
6
- metadata.gz: 3144147f0c61dcc27be7c7565e42bfc09ff8254114f6193374bcb463d0b53718f2b8f368c6194dd84adc0c896ddb2351dd5de477aee66986342ed80a0dc3482e
7
- data.tar.gz: d46e74032a45e4b7a244d91efb94e946fe27ee45b74f0a5d36e114817ceb333cb41729686230460112f1c0e6e836088395c5fe2f672f179edf2bc82378ab2f1a
6
+ metadata.gz: aa706132c90939522551d26397116ce4343b717eaaca836fd7487c4d10740f5686ffc7c5018113e12f3854e71ab088ae0210a1e214bda379a8eab0cf2604c10f
7
+ data.tar.gz: 1221ad9d71aa151664dfc25ffffa86030bb5c4e398c5fd998ee8dbe346463b811002310f53e42112b9be276829dcf33c6350584cbd3b5df70367cba5adbdc1d7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Release history for google-apis-content_v2_1
2
2
 
3
+ ### v0.12.0 (2021-05-26)
4
+
5
+ * Regenerated from discovery document revision 20210519
6
+
7
+ ### v0.11.0 (2021-05-19)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.10.0 (2021-05-18)
12
+
13
+ * Regenerated from discovery document revision 20210514
14
+
15
+ ### v0.9.0 (2021-03-30)
16
+
17
+ * Regenerated from discovery document revision 20210325
18
+
19
+ ### v0.8.0 (2021-03-16)
20
+
21
+ * Regenerated from discovery document revision 20210311
22
+
3
23
  ### v0.7.0 (2021-03-09)
4
24
 
5
25
  * Regenerated from discovery document revision 20210303
@@ -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,9 +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
- # shoppingAdsOther`" - "`shoppingActionsProductManagement`" - "`
1138
- # shoppingActionsOrderManagement`" - "`shoppingActionsOther`"
1142
+ # shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`" - "`
1143
+ # paymentProcessing`"
1139
1144
  # Corresponds to the JSON property `services`
1140
1145
  # @return [Array<String>]
1141
1146
  attr_accessor :services
@@ -1149,6 +1154,7 @@ module Google
1149
1154
  @action = args[:action] if args.key?(:action)
1150
1155
  @link_type = args[:link_type] if args.key?(:link_type)
1151
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)
1152
1158
  @services = args[:services] if args.key?(:services)
1153
1159
  end
1154
1160
  end
@@ -1587,6 +1593,19 @@ module Google
1587
1593
  end
1588
1594
  end
1589
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
+
1590
1609
  #
1591
1610
  class Amount
1592
1611
  include Google::Apis::Core::Hashable
@@ -1728,13 +1747,20 @@ module Google
1728
1747
  # @return [String]
1729
1748
  attr_accessor :country
1730
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
+
1731
1756
  # The name of the carrier (e.g., `"UPS"`). Always present.
1732
1757
  # Corresponds to the JSON property `name`
1733
1758
  # @return [String]
1734
1759
  attr_accessor :name
1735
1760
 
1736
1761
  # A list of supported services (e.g., `"ground"`) for that carrier. Contains at
1737
- # least one service.
1762
+ # least one service. This is the list of valid values for CarrierRate.
1763
+ # carrierService.
1738
1764
  # Corresponds to the JSON property `services`
1739
1765
  # @return [Array<String>]
1740
1766
  attr_accessor :services
@@ -1746,6 +1772,7 @@ module Google
1746
1772
  # Update properties of this object
1747
1773
  def update!(**args)
1748
1774
  @country = args[:country] if args.key?(:country)
1775
+ @edd_services = args[:edd_services] if args.key?(:edd_services)
1749
1776
  @name = args[:name] if args.key?(:name)
1750
1777
  @services = args[:services] if args.key?(:services)
1751
1778
  end
@@ -3080,6 +3107,13 @@ module Google
3080
3107
  # @return [Google::Apis::ContentV2_1::TransitTable]
3081
3108
  attr_accessor :transit_time_table
3082
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
+
3083
3117
  def initialize(**args)
3084
3118
  update!(**args)
3085
3119
  end
@@ -3095,6 +3129,7 @@ module Google
3095
3129
  @min_transit_time_in_days = args[:min_transit_time_in_days] if args.key?(:min_transit_time_in_days)
3096
3130
  @transit_business_day_config = args[:transit_business_day_config] if args.key?(:transit_business_day_config)
3097
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)
3098
3133
  end
3099
3134
  end
3100
3135
 
@@ -4072,7 +4107,7 @@ module Google
4072
4107
 
4073
4108
  # Service provided to or by the linked account. Acceptable values are: - "`
4074
4109
  # shoppingActionsOrderManagement`" - "`shoppingActionsProductManagement`" - "`
4075
- # shoppingAdsProductManagement`"
4110
+ # shoppingAdsProductManagement`" - "`paymentProcessing`"
4076
4111
  # Corresponds to the JSON property `service`
4077
4112
  # @return [String]
4078
4113
  attr_accessor :service
@@ -4794,8 +4829,8 @@ module Google
4794
4829
  # @return [Fixnum]
4795
4830
  attr_accessor :clicks
4796
4831
 
4797
- # Number of clicks merchant's products receive (clicks) divided by the number of
4798
- # times the products are shown (impressions).
4832
+ # Click-through rate - the number of clicks merchant's products receive (clicks)
4833
+ # divided by the number of times the products are shown (impressions).
4799
4834
  # Corresponds to the JSON property `ctr`
4800
4835
  # @return [Float]
4801
4836
  attr_accessor :ctr
@@ -6413,7 +6448,8 @@ module Google
6413
6448
  attr_accessor :customer_shipping_fee
6414
6449
 
6415
6450
  # Required. The delivery postal code, as a continuous string without spaces or
6416
- # dashes, e.g. "95016".
6451
+ # dashes, e.g. "95016". This field will be anonymized in returned
6452
+ # OrderTrackingSignal creation response.
6417
6453
  # Corresponds to the JSON property `deliveryPostalCode`
6418
6454
  # @return [String]
6419
6455
  attr_accessor :delivery_postal_code
@@ -6456,7 +6492,8 @@ module Google
6456
6492
  # @return [Google::Apis::ContentV2_1::DateTime]
6457
6493
  attr_accessor :order_created_time
6458
6494
 
6459
- # Required. The ID of the order on the merchant side.
6495
+ # Required. The ID of the order on the merchant side. This field will be hashed
6496
+ # in returned OrderTrackingSignal creation response.
6460
6497
  # Corresponds to the JSON property `orderId`
6461
6498
  # @return [String]
6462
6499
  attr_accessor :order_id
@@ -6554,7 +6591,8 @@ module Google
6554
6591
  # @return [Fixnum]
6555
6592
  attr_accessor :quantity
6556
6593
 
6557
- # Required. The shipment ID.
6594
+ # Required. The shipment ID. This field will be hashed in returned
6595
+ # OrderTrackingSignal creation response.
6558
6596
  # Corresponds to the JSON property `shipmentId`
6559
6597
  # @return [String]
6560
6598
  attr_accessor :shipment_id
@@ -6642,7 +6680,8 @@ module Google
6642
6680
  attr_accessor :latest_delivery_promise_time
6643
6681
 
6644
6682
  # The origin postal code, as a continuous string without spaces or dashes, e.g. "
6645
- # 95016".
6683
+ # 95016". This field will be anonymized in returned OrderTrackingSignal creation
6684
+ # response.
6646
6685
  # Corresponds to the JSON property `originPostalCode`
6647
6686
  # @return [String]
6648
6687
  attr_accessor :origin_postal_code
@@ -6653,7 +6692,8 @@ module Google
6653
6692
  # @return [String]
6654
6693
  attr_accessor :origin_region_code
6655
6694
 
6656
- # Required. The shipment ID.
6695
+ # Required. The shipment ID. This field will be hashed in returned
6696
+ # OrderTrackingSignal creation response.
6657
6697
  # Corresponds to the JSON property `shipmentId`
6658
6698
  # @return [String]
6659
6699
  attr_accessor :shipment_id
@@ -7114,11 +7154,17 @@ module Google
7114
7154
  include Google::Apis::Core::Hashable
7115
7155
 
7116
7156
  # The ID of the line item. This value is assigned by Google when an order is
7117
- # created.
7157
+ # created. Either lineItemId or productId is required.
7118
7158
  # Corresponds to the JSON property `lineItemId`
7119
7159
  # @return [String]
7120
7160
  attr_accessor :line_item_id
7121
7161
 
7162
+ # The ID of the product to cancel. This is the REST ID used in the products
7163
+ # service. Either lineItemId or productId is required.
7164
+ # Corresponds to the JSON property `productId`
7165
+ # @return [String]
7166
+ attr_accessor :product_id
7167
+
7122
7168
  # The quantity of this line item.
7123
7169
  # Corresponds to the JSON property `quantity`
7124
7170
  # @return [Fixnum]
@@ -7131,6 +7177,7 @@ module Google
7131
7177
  # Update properties of this object
7132
7178
  def update!(**args)
7133
7179
  @line_item_id = args[:line_item_id] if args.key?(:line_item_id)
7180
+ @product_id = args[:product_id] if args.key?(:product_id)
7134
7181
  @quantity = args[:quantity] if args.key?(:quantity)
7135
7182
  end
7136
7183
  end
@@ -8757,6 +8804,45 @@ module Google
8757
8804
  end
8758
8805
  end
8759
8806
 
8807
+ # Request message for the PauseProgram method.
8808
+ class PauseBuyOnGoogleProgramRequest
8809
+ include Google::Apis::Core::Hashable
8810
+
8811
+ def initialize(**args)
8812
+ update!(**args)
8813
+ end
8814
+
8815
+ # Update properties of this object
8816
+ def update!(**args)
8817
+ end
8818
+ end
8819
+
8820
+ # Additional information required for PAYMENT_SERVICE_PROVIDER link type.
8821
+ class PaymentServiceProviderLinkInfo
8822
+ include Google::Apis::Core::Hashable
8823
+
8824
+ # The business country of the merchant account as identified by the third party
8825
+ # service provider.
8826
+ # Corresponds to the JSON property `externalAccountBusinessCountry`
8827
+ # @return [String]
8828
+ attr_accessor :external_account_business_country
8829
+
8830
+ # The id used by the third party service provider to identify the merchant.
8831
+ # Corresponds to the JSON property `externalAccountId`
8832
+ # @return [String]
8833
+ attr_accessor :external_account_id
8834
+
8835
+ def initialize(**args)
8836
+ update!(**args)
8837
+ end
8838
+
8839
+ # Update properties of this object
8840
+ def update!(**args)
8841
+ @external_account_business_country = args[:external_account_business_country] if args.key?(:external_account_business_country)
8842
+ @external_account_id = args[:external_account_id] if args.key?(:external_account_id)
8843
+ end
8844
+ end
8845
+
8760
8846
  #
8761
8847
  class PickupCarrierService
8762
8848
  include Google::Apis::Core::Hashable
@@ -9622,10 +9708,8 @@ module Google
9622
9708
 
9623
9709
  # Required product attributes are primarily defined by the products data
9624
9710
  # specification. See the Products Data Specification Help Center article for
9625
- # information. Some attributes are country-specific, so make sure you select the
9626
- # appropriate country in the drop-down selector at the top of the page. Product
9627
- # data. After inserting, updating, or deleting a product, it may take several
9628
- # minutes before changes take effect.
9711
+ # information. Product data. After inserting, updating, or deleting a product,
9712
+ # it may take several minutes before changes take effect.
9629
9713
  class Product
9630
9714
  include Google::Apis::Core::Hashable
9631
9715
 
@@ -9634,6 +9718,12 @@ module Google
9634
9718
  # @return [Array<String>]
9635
9719
  attr_accessor :additional_image_links
9636
9720
 
9721
+ # Additional cut of the item. Used together with size_type to represent combined
9722
+ # size types for apparel items.
9723
+ # Corresponds to the JSON property `additionalSizeType`
9724
+ # @return [String]
9725
+ attr_accessor :additional_size_type
9726
+
9637
9727
  # Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.
9638
9728
  # Corresponds to the JSON property `adsGrouping`
9639
9729
  # @return [String]
@@ -10075,6 +10165,7 @@ module Google
10075
10165
  # Update properties of this object
10076
10166
  def update!(**args)
10077
10167
  @additional_image_links = args[:additional_image_links] if args.key?(:additional_image_links)
10168
+ @additional_size_type = args[:additional_size_type] if args.key?(:additional_size_type)
10078
10169
  @ads_grouping = args[:ads_grouping] if args.key?(:ads_grouping)
10079
10170
  @ads_labels = args[:ads_labels] if args.key?(:ads_labels)
10080
10171
  @ads_redirect = args[:ads_redirect] if args.key?(:ads_redirect)
@@ -10240,6 +10331,39 @@ module Google
10240
10331
  # @return [Fixnum]
10241
10332
  attr_accessor :location_id
10242
10333
 
10334
+ # Maximum handling time (inclusive) between when the order is received and
10335
+ # shipped in business days. 0 means that the order is shipped on the same day as
10336
+ # it is received if it happens before the cut-off time. Both maxHandlingTime and
10337
+ # maxTransitTime are required if providing shipping speeds.
10338
+ # Corresponds to the JSON property `maxHandlingTime`
10339
+ # @return [Fixnum]
10340
+ attr_accessor :max_handling_time
10341
+
10342
+ # Maximum transit time (inclusive) between when the order has shipped and when
10343
+ # it is delivered in business days. 0 means that the order is delivered on the
10344
+ # same day as it ships. Both maxHandlingTime and maxTransitTime are required if
10345
+ # providing shipping speeds.
10346
+ # Corresponds to the JSON property `maxTransitTime`
10347
+ # @return [Fixnum]
10348
+ attr_accessor :max_transit_time
10349
+
10350
+ # Minimum handling time (inclusive) between when the order is received and
10351
+ # shipped in business days. 0 means that the order is shipped on the same day as
10352
+ # it is received if it happens before the cut-off time. minHandlingTime can only
10353
+ # be present together with maxHandlingTime; but it is not required if
10354
+ # maxHandlingTime is present.
10355
+ # Corresponds to the JSON property `minHandlingTime`
10356
+ # @return [Fixnum]
10357
+ attr_accessor :min_handling_time
10358
+
10359
+ # Minimum transit time (inclusive) between when the order has shipped and when
10360
+ # it is delivered in business days. 0 means that the order is delivered on the
10361
+ # same day as it ships. minTransitTime can only be present together with
10362
+ # maxTransitTime; but it is not required if maxTransitTime is present.
10363
+ # Corresponds to the JSON property `minTransitTime`
10364
+ # @return [Fixnum]
10365
+ attr_accessor :min_transit_time
10366
+
10243
10367
  # The postal code range that the shipping rate applies to, represented by a
10244
10368
  # postal code, a postal code prefix followed by a * wildcard, a range between
10245
10369
  # two postal codes or two postal code prefixes of equal length.
@@ -10271,6 +10395,10 @@ module Google
10271
10395
  @country = args[:country] if args.key?(:country)
10272
10396
  @location_group_name = args[:location_group_name] if args.key?(:location_group_name)
10273
10397
  @location_id = args[:location_id] if args.key?(:location_id)
10398
+ @max_handling_time = args[:max_handling_time] if args.key?(:max_handling_time)
10399
+ @max_transit_time = args[:max_transit_time] if args.key?(:max_transit_time)
10400
+ @min_handling_time = args[:min_handling_time] if args.key?(:min_handling_time)
10401
+ @min_transit_time = args[:min_transit_time] if args.key?(:min_transit_time)
10274
10402
  @postal_code = args[:postal_code] if args.key?(:postal_code)
10275
10403
  @price = args[:price] if args.key?(:price)
10276
10404
  @region = args[:region] if args.key?(:region)
@@ -10680,17 +10808,15 @@ module Google
10680
10808
  attr_accessor :merchant_id
10681
10809
 
10682
10810
  # The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" -
10683
- # "`insert`"
10811
+ # "`insert`" - "`update`"
10684
10812
  # Corresponds to the JSON property `method`
10685
10813
  # @return [String]
10686
10814
  attr_accessor :method_prop
10687
10815
 
10688
10816
  # Required product attributes are primarily defined by the products data
10689
10817
  # specification. See the Products Data Specification Help Center article for
10690
- # information. Some attributes are country-specific, so make sure you select the
10691
- # appropriate country in the drop-down selector at the top of the page. Product
10692
- # data. After inserting, updating, or deleting a product, it may take several
10693
- # minutes before changes take effect.
10818
+ # information. Product data. After inserting, updating, or deleting a product,
10819
+ # it may take several minutes before changes take effect.
10694
10820
  # Corresponds to the JSON property `product`
10695
10821
  # @return [Google::Apis::ContentV2_1::Product]
10696
10822
  attr_accessor :product
@@ -10701,6 +10827,16 @@ module Google
10701
10827
  # @return [String]
10702
10828
  attr_accessor :product_id
10703
10829
 
10830
+ # The comma-separated list of product attributes to be updated. Example: `"title,
10831
+ # salePrice"`. Attributes specified in the update mask without a value specified
10832
+ # in the body will be deleted from the product. Only top-level product
10833
+ # attributes can be updated. If not defined, product attributes with set values
10834
+ # will be updated and other attributes will stay unchanged. Only defined if the
10835
+ # method is `update`.
10836
+ # Corresponds to the JSON property `updateMask`
10837
+ # @return [String]
10838
+ attr_accessor :update_mask
10839
+
10704
10840
  def initialize(**args)
10705
10841
  update!(**args)
10706
10842
  end
@@ -10713,6 +10849,7 @@ module Google
10713
10849
  @method_prop = args[:method_prop] if args.key?(:method_prop)
10714
10850
  @product = args[:product] if args.key?(:product)
10715
10851
  @product_id = args[:product_id] if args.key?(:product_id)
10852
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
10716
10853
  end
10717
10854
  end
10718
10855
 
@@ -10764,10 +10901,8 @@ module Google
10764
10901
 
10765
10902
  # Required product attributes are primarily defined by the products data
10766
10903
  # specification. See the Products Data Specification Help Center article for
10767
- # information. Some attributes are country-specific, so make sure you select the
10768
- # appropriate country in the drop-down selector at the top of the page. Product
10769
- # data. After inserting, updating, or deleting a product, it may take several
10770
- # minutes before changes take effect.
10904
+ # information. Product data. After inserting, updating, or deleting a product,
10905
+ # it may take several minutes before changes take effect.
10771
10906
  # Corresponds to the JSON property `product`
10772
10907
  # @return [Google::Apis::ContentV2_1::Product]
10773
10908
  attr_accessor :product
@@ -12035,6 +12170,19 @@ module Google
12035
12170
  end
12036
12171
  end
12037
12172
 
12173
+ # Request message for the RequestReviewProgram method.
12174
+ class RequestReviewBuyOnGoogleProgramRequest
12175
+ include Google::Apis::Core::Hashable
12176
+
12177
+ def initialize(**args)
12178
+ update!(**args)
12179
+ end
12180
+
12181
+ # Update properties of this object
12182
+ def update!(**args)
12183
+ end
12184
+ end
12185
+
12038
12186
  # Return address resource.
12039
12187
  class ReturnAddress
12040
12188
  include Google::Apis::Core::Hashable
@@ -12591,6 +12739,37 @@ module Google
12591
12739
  end
12592
12740
  end
12593
12741
 
12742
+ # Return shipping label for a Buy on Google merchant-managed return.
12743
+ class ReturnShippingLabel
12744
+ include Google::Apis::Core::Hashable
12745
+
12746
+ # Name of the carrier.
12747
+ # Corresponds to the JSON property `carrier`
12748
+ # @return [String]
12749
+ attr_accessor :carrier
12750
+
12751
+ # The URL for the return shipping label in PDF format
12752
+ # Corresponds to the JSON property `labelUri`
12753
+ # @return [String]
12754
+ attr_accessor :label_uri
12755
+
12756
+ # The tracking id of this return label.
12757
+ # Corresponds to the JSON property `trackingId`
12758
+ # @return [String]
12759
+ attr_accessor :tracking_id
12760
+
12761
+ def initialize(**args)
12762
+ update!(**args)
12763
+ end
12764
+
12765
+ # Update properties of this object
12766
+ def update!(**args)
12767
+ @carrier = args[:carrier] if args.key?(:carrier)
12768
+ @label_uri = args[:label_uri] if args.key?(:label_uri)
12769
+ @tracking_id = args[:tracking_id] if args.key?(:tracking_id)
12770
+ end
12771
+ end
12772
+
12594
12773
  #
12595
12774
  class ReturnaddressCustomBatchRequest
12596
12775
  include Google::Apis::Core::Hashable
@@ -13250,7 +13429,14 @@ module Google
13250
13429
  # qualityNotExpected`" - "`receivedTooLate`" - "`storePackageMissing`" - "`
13251
13430
  # transitPackageMissing`" - "`unsuccessfulDeliveryUndeliverable`" - "`
13252
13431
  # wrongChargeInStore`" - "`wrongItem`" - "`returns`" - "`undeliverable`" - "`
13253
- # refundFromMerchant`" - "`returnLabelShippingFee`" - "`pspFee`"
13432
+ # issueRelatedRefundAndReplacementAmountDescription`" - "`refundFromMerchant`" -
13433
+ # "`returnLabelShippingFee`" - "`lumpSumCorrection`" - "`pspFee`" - "`
13434
+ # principalRefundDoesNotFit`" - "`principalRefundOrderedWrongItem`" - "`
13435
+ # principalRefundQualityNotExpected`" - "`principalRefundBetterPriceFound`" - "`
13436
+ # principalRefundNoLongerNeeded`" - "`principalRefundChangedMind`" - "`
13437
+ # principalRefundReceivedTooLate`" - "`principalRefundIncorrectItemReceived`" - "
13438
+ # `principalRefundDamagedOrDefectiveItem`" - "`
13439
+ # principalRefundDidNotMatchDescription`" - "`principalRefundExpiredItem`"
13254
13440
  # Corresponds to the JSON property `description`
13255
13441
  # @return [String]
13256
13442
  attr_accessor :description
@@ -13262,7 +13448,7 @@ module Google
13262
13448
 
13263
13449
  # The type of the amount. Acceptable values are: - "`itemPrice`" - "`orderPrice`"
13264
13450
  # - "`refund`" - "`earlyRefund`" - "`courtesyRefund`" - "`returnRefund`" - "`
13265
- # returnLabelShippingFeeAmount`"
13451
+ # returnLabelShippingFeeAmount`" - "`lumpSumCorrectionAmount`"
13266
13452
  # Corresponds to the JSON property `type`
13267
13453
  # @return [String]
13268
13454
  attr_accessor :type
@@ -14518,6 +14704,66 @@ module Google
14518
14704
  end
14519
14705
  end
14520
14706
 
14707
+ #
14708
+ class WarehouseBasedDeliveryTime
14709
+ include Google::Apis::Core::Hashable
14710
+
14711
+ # Required. Carrier, such as `"UPS"` or `"Fedex"`. The list of supported
14712
+ # carriers can be retrieved via the `listSupportedCarriers` method.
14713
+ # Corresponds to the JSON property `carrier`
14714
+ # @return [String]
14715
+ attr_accessor :carrier
14716
+
14717
+ # Required. Carrier service, such as `"ground"` or `"2 days"`. The list of
14718
+ # supported services for a carrier can be retrieved via the `
14719
+ # listSupportedCarriers` method. The name of the service must be in the
14720
+ # eddSupportedServices list.
14721
+ # Corresponds to the JSON property `carrierService`
14722
+ # @return [String]
14723
+ attr_accessor :carrier_service
14724
+
14725
+ # Required. Shipping origin's state.
14726
+ # Corresponds to the JSON property `originAdministrativeArea`
14727
+ # @return [String]
14728
+ attr_accessor :origin_administrative_area
14729
+
14730
+ # Required. Shipping origin's city.
14731
+ # Corresponds to the JSON property `originCity`
14732
+ # @return [String]
14733
+ attr_accessor :origin_city
14734
+
14735
+ # Required. Shipping origin's country represented as a [CLDR territory code](
14736
+ # http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml).
14737
+ # Corresponds to the JSON property `originCountry`
14738
+ # @return [String]
14739
+ attr_accessor :origin_country
14740
+
14741
+ # Required. Shipping origin.
14742
+ # Corresponds to the JSON property `originPostalCode`
14743
+ # @return [String]
14744
+ attr_accessor :origin_postal_code
14745
+
14746
+ # Shipping origin's street address.
14747
+ # Corresponds to the JSON property `originStreetAddress`
14748
+ # @return [String]
14749
+ attr_accessor :origin_street_address
14750
+
14751
+ def initialize(**args)
14752
+ update!(**args)
14753
+ end
14754
+
14755
+ # Update properties of this object
14756
+ def update!(**args)
14757
+ @carrier = args[:carrier] if args.key?(:carrier)
14758
+ @carrier_service = args[:carrier_service] if args.key?(:carrier_service)
14759
+ @origin_administrative_area = args[:origin_administrative_area] if args.key?(:origin_administrative_area)
14760
+ @origin_city = args[:origin_city] if args.key?(:origin_city)
14761
+ @origin_country = args[:origin_country] if args.key?(:origin_country)
14762
+ @origin_postal_code = args[:origin_postal_code] if args.key?(:origin_postal_code)
14763
+ @origin_street_address = args[:origin_street_address] if args.key?(:origin_street_address)
14764
+ end
14765
+ end
14766
+
14521
14767
  #
14522
14768
  class Weight
14523
14769
  include Google::Apis::Core::Hashable
@@ -14527,7 +14773,8 @@ module Google
14527
14773
  # @return [String]
14528
14774
  attr_accessor :unit
14529
14775
 
14530
- # Required. The weight represented as a number.
14776
+ # Required. The weight represented as a number. The weight can have a maximum
14777
+ # precision of four decimal places.
14531
14778
  # Corresponds to the JSON property `value`
14532
14779
  # @return [String]
14533
14780
  attr_accessor :value