google-apis-content_v2_1 0.6.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/content_v2_1/classes.rb +273 -28
- data/lib/google/apis/content_v2_1/gem_version.rb +3 -3
- data/lib/google/apis/content_v2_1/representations.rb +96 -0
- data/lib/google/apis/content_v2_1/service.rb +353 -153
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffaeb8103a7fd88056c8714a60aded6995f473114d4f93f3f081e4d3cc9f11f0
|
4
|
+
data.tar.gz: 6b71693cc2beaab8b3e36b457eb01c256ab3aa1940d6dfe7b770c85652a6e34e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fe2be7358f36712eab9820eeb59f79e0bfea3c0f30c0069372f068efec6642272e083acaafcc3cfb29a18e22140e7380c0f6bd4c5ae587315d6881d82c7cdfa
|
7
|
+
data.tar.gz: d84c295ce5b4a556f0776a5d7b406fb1d2c4b23bbe2457d42a8b49c83631582afa0710d49519dfb53de5f9e659a5fc61ce081c7268227194c21fee6f127f31c7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-content_v2_1
|
2
2
|
|
3
|
+
### v0.11.0 (2021-05-19)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.10.0 (2021-05-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210514
|
10
|
+
|
11
|
+
### v0.9.0 (2021-03-30)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210325
|
14
|
+
|
15
|
+
### v0.8.0 (2021-03-16)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210311
|
18
|
+
|
19
|
+
### v0.7.0 (2021-03-09)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20210303
|
22
|
+
* Regenerated using generator version 0.2.0
|
23
|
+
|
3
24
|
### v0.6.0 (2021-03-04)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210226
|
@@ -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
|
-
#
|
1138
|
-
#
|
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
|
-
#
|
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.
|
9626
|
-
#
|
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.
|
10691
|
-
#
|
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,15 @@ module Google
|
|
10701
10827
|
# @return [String]
|
10702
10828
|
attr_accessor :product_id
|
10703
10829
|
|
10830
|
+
# The list of product attributes to be updated. Attributes specified in the
|
10831
|
+
# update mask without a value specified in the body will be deleted from the
|
10832
|
+
# product. Only top-level product attributes can be updated. If not defined,
|
10833
|
+
# product attributes with set values will be updated and other attributes will
|
10834
|
+
# stay unchanged. Only defined if the method is `update`.
|
10835
|
+
# Corresponds to the JSON property `updateMask`
|
10836
|
+
# @return [String]
|
10837
|
+
attr_accessor :update_mask
|
10838
|
+
|
10704
10839
|
def initialize(**args)
|
10705
10840
|
update!(**args)
|
10706
10841
|
end
|
@@ -10713,6 +10848,7 @@ module Google
|
|
10713
10848
|
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
10714
10849
|
@product = args[:product] if args.key?(:product)
|
10715
10850
|
@product_id = args[:product_id] if args.key?(:product_id)
|
10851
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
10716
10852
|
end
|
10717
10853
|
end
|
10718
10854
|
|
@@ -10764,10 +10900,8 @@ module Google
|
|
10764
10900
|
|
10765
10901
|
# Required product attributes are primarily defined by the products data
|
10766
10902
|
# specification. See the Products Data Specification Help Center article for
|
10767
|
-
# information.
|
10768
|
-
#
|
10769
|
-
# data. After inserting, updating, or deleting a product, it may take several
|
10770
|
-
# minutes before changes take effect.
|
10903
|
+
# information. Product data. After inserting, updating, or deleting a product,
|
10904
|
+
# it may take several minutes before changes take effect.
|
10771
10905
|
# Corresponds to the JSON property `product`
|
10772
10906
|
# @return [Google::Apis::ContentV2_1::Product]
|
10773
10907
|
attr_accessor :product
|
@@ -12035,6 +12169,19 @@ module Google
|
|
12035
12169
|
end
|
12036
12170
|
end
|
12037
12171
|
|
12172
|
+
# Request message for the RequestReviewProgram method.
|
12173
|
+
class RequestReviewBuyOnGoogleProgramRequest
|
12174
|
+
include Google::Apis::Core::Hashable
|
12175
|
+
|
12176
|
+
def initialize(**args)
|
12177
|
+
update!(**args)
|
12178
|
+
end
|
12179
|
+
|
12180
|
+
# Update properties of this object
|
12181
|
+
def update!(**args)
|
12182
|
+
end
|
12183
|
+
end
|
12184
|
+
|
12038
12185
|
# Return address resource.
|
12039
12186
|
class ReturnAddress
|
12040
12187
|
include Google::Apis::Core::Hashable
|
@@ -12591,6 +12738,37 @@ module Google
|
|
12591
12738
|
end
|
12592
12739
|
end
|
12593
12740
|
|
12741
|
+
# Return shipping label for a Buy on Google merchant-managed return.
|
12742
|
+
class ReturnShippingLabel
|
12743
|
+
include Google::Apis::Core::Hashable
|
12744
|
+
|
12745
|
+
# Name of the carrier.
|
12746
|
+
# Corresponds to the JSON property `carrier`
|
12747
|
+
# @return [String]
|
12748
|
+
attr_accessor :carrier
|
12749
|
+
|
12750
|
+
# The URL for the return shipping label in PDF format
|
12751
|
+
# Corresponds to the JSON property `labelUri`
|
12752
|
+
# @return [String]
|
12753
|
+
attr_accessor :label_uri
|
12754
|
+
|
12755
|
+
# The tracking id of this return label.
|
12756
|
+
# Corresponds to the JSON property `trackingId`
|
12757
|
+
# @return [String]
|
12758
|
+
attr_accessor :tracking_id
|
12759
|
+
|
12760
|
+
def initialize(**args)
|
12761
|
+
update!(**args)
|
12762
|
+
end
|
12763
|
+
|
12764
|
+
# Update properties of this object
|
12765
|
+
def update!(**args)
|
12766
|
+
@carrier = args[:carrier] if args.key?(:carrier)
|
12767
|
+
@label_uri = args[:label_uri] if args.key?(:label_uri)
|
12768
|
+
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
12769
|
+
end
|
12770
|
+
end
|
12771
|
+
|
12594
12772
|
#
|
12595
12773
|
class ReturnaddressCustomBatchRequest
|
12596
12774
|
include Google::Apis::Core::Hashable
|
@@ -13250,7 +13428,14 @@ module Google
|
|
13250
13428
|
# qualityNotExpected`" - "`receivedTooLate`" - "`storePackageMissing`" - "`
|
13251
13429
|
# transitPackageMissing`" - "`unsuccessfulDeliveryUndeliverable`" - "`
|
13252
13430
|
# wrongChargeInStore`" - "`wrongItem`" - "`returns`" - "`undeliverable`" - "`
|
13253
|
-
#
|
13431
|
+
# issueRelatedRefundAndReplacementAmountDescription`" - "`refundFromMerchant`" -
|
13432
|
+
# "`returnLabelShippingFee`" - "`lumpSumCorrection`" - "`pspFee`" - "`
|
13433
|
+
# principalRefundDoesNotFit`" - "`principalRefundOrderedWrongItem`" - "`
|
13434
|
+
# principalRefundQualityNotExpected`" - "`principalRefundBetterPriceFound`" - "`
|
13435
|
+
# principalRefundNoLongerNeeded`" - "`principalRefundChangedMind`" - "`
|
13436
|
+
# principalRefundReceivedTooLate`" - "`principalRefundIncorrectItemReceived`" - "
|
13437
|
+
# `principalRefundDamagedOrDefectiveItem`" - "`
|
13438
|
+
# principalRefundDidNotMatchDescription`" - "`principalRefundExpiredItem`"
|
13254
13439
|
# Corresponds to the JSON property `description`
|
13255
13440
|
# @return [String]
|
13256
13441
|
attr_accessor :description
|
@@ -13262,7 +13447,7 @@ module Google
|
|
13262
13447
|
|
13263
13448
|
# The type of the amount. Acceptable values are: - "`itemPrice`" - "`orderPrice`"
|
13264
13449
|
# - "`refund`" - "`earlyRefund`" - "`courtesyRefund`" - "`returnRefund`" - "`
|
13265
|
-
# returnLabelShippingFeeAmount`"
|
13450
|
+
# returnLabelShippingFeeAmount`" - "`lumpSumCorrectionAmount`"
|
13266
13451
|
# Corresponds to the JSON property `type`
|
13267
13452
|
# @return [String]
|
13268
13453
|
attr_accessor :type
|
@@ -14518,6 +14703,66 @@ module Google
|
|
14518
14703
|
end
|
14519
14704
|
end
|
14520
14705
|
|
14706
|
+
#
|
14707
|
+
class WarehouseBasedDeliveryTime
|
14708
|
+
include Google::Apis::Core::Hashable
|
14709
|
+
|
14710
|
+
# Required. Carrier, such as `"UPS"` or `"Fedex"`. The list of supported
|
14711
|
+
# carriers can be retrieved via the `listSupportedCarriers` method.
|
14712
|
+
# Corresponds to the JSON property `carrier`
|
14713
|
+
# @return [String]
|
14714
|
+
attr_accessor :carrier
|
14715
|
+
|
14716
|
+
# Required. Carrier service, such as `"ground"` or `"2 days"`. The list of
|
14717
|
+
# supported services for a carrier can be retrieved via the `
|
14718
|
+
# listSupportedCarriers` method. The name of the service must be in the
|
14719
|
+
# eddSupportedServices list.
|
14720
|
+
# Corresponds to the JSON property `carrierService`
|
14721
|
+
# @return [String]
|
14722
|
+
attr_accessor :carrier_service
|
14723
|
+
|
14724
|
+
# Required. Shipping origin's state.
|
14725
|
+
# Corresponds to the JSON property `originAdministrativeArea`
|
14726
|
+
# @return [String]
|
14727
|
+
attr_accessor :origin_administrative_area
|
14728
|
+
|
14729
|
+
# Required. Shipping origin's city.
|
14730
|
+
# Corresponds to the JSON property `originCity`
|
14731
|
+
# @return [String]
|
14732
|
+
attr_accessor :origin_city
|
14733
|
+
|
14734
|
+
# Required. Shipping origin's country represented as a [CLDR territory code](
|
14735
|
+
# http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml).
|
14736
|
+
# Corresponds to the JSON property `originCountry`
|
14737
|
+
# @return [String]
|
14738
|
+
attr_accessor :origin_country
|
14739
|
+
|
14740
|
+
# Required. Shipping origin.
|
14741
|
+
# Corresponds to the JSON property `originPostalCode`
|
14742
|
+
# @return [String]
|
14743
|
+
attr_accessor :origin_postal_code
|
14744
|
+
|
14745
|
+
# Shipping origin's street address.
|
14746
|
+
# Corresponds to the JSON property `originStreetAddress`
|
14747
|
+
# @return [String]
|
14748
|
+
attr_accessor :origin_street_address
|
14749
|
+
|
14750
|
+
def initialize(**args)
|
14751
|
+
update!(**args)
|
14752
|
+
end
|
14753
|
+
|
14754
|
+
# Update properties of this object
|
14755
|
+
def update!(**args)
|
14756
|
+
@carrier = args[:carrier] if args.key?(:carrier)
|
14757
|
+
@carrier_service = args[:carrier_service] if args.key?(:carrier_service)
|
14758
|
+
@origin_administrative_area = args[:origin_administrative_area] if args.key?(:origin_administrative_area)
|
14759
|
+
@origin_city = args[:origin_city] if args.key?(:origin_city)
|
14760
|
+
@origin_country = args[:origin_country] if args.key?(:origin_country)
|
14761
|
+
@origin_postal_code = args[:origin_postal_code] if args.key?(:origin_postal_code)
|
14762
|
+
@origin_street_address = args[:origin_street_address] if args.key?(:origin_street_address)
|
14763
|
+
end
|
14764
|
+
end
|
14765
|
+
|
14521
14766
|
#
|
14522
14767
|
class Weight
|
14523
14768
|
include Google::Apis::Core::Hashable
|