google-apis-content_v2_1 0.20.0 → 0.24.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8e33a2662f79a68c8e517bae09150d13ff88a97b4733f5db251ba854bf51900
|
4
|
+
data.tar.gz: 44502926099d53ed6a59952be0f09c9800932ab6a87605fc5c77fb780e460078
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a67cc46cbdc4514cf69a4b4570136aef3bf897101b5eed409639e81c13b382d7f51605684d5f963b0fb1c09e16bb05d4df59e9e0c1a0a00061141829a7a8251
|
7
|
+
data.tar.gz: e3c556618d916ae7c41ca700a4fea736f587daf07f66e4a2208ef4229df2a717687df855b81b3bfc687d12490de18b2676b12e44d9a22970b7814c3303d56872
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-content_v2_1
|
2
2
|
|
3
|
+
### v0.24.0 (2021-10-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211007
|
6
|
+
|
7
|
+
### v0.23.0 (2021-09-28)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210924
|
10
|
+
|
11
|
+
### v0.22.0 (2021-09-22)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210917
|
14
|
+
|
15
|
+
### v0.21.0 (2021-09-15)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210911
|
18
|
+
|
3
19
|
### v0.20.0 (2021-09-01)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210827
|
@@ -235,11 +235,27 @@ module Google
|
|
235
235
|
# @return [Google::Apis::ContentV2_1::AccountCustomerService]
|
236
236
|
attr_accessor :customer_service
|
237
237
|
|
238
|
-
# The
|
238
|
+
# The 10-digit [Korean business registration number](https://support.google.com/
|
239
|
+
# merchants/answer/9037766) separated with dashes in the format: XXX-XX-XXXXX.
|
240
|
+
# This field will only be updated if explicitly set.
|
241
|
+
# Corresponds to the JSON property `koreanBusinessRegistrationNumber`
|
242
|
+
# @return [String]
|
243
|
+
attr_accessor :korean_business_registration_number
|
244
|
+
|
245
|
+
# The phone number of the business. This can only be updated if a verified phone
|
246
|
+
# number is not already set. To replace a verified phone number use the `
|
247
|
+
# Accounts.requestphoneverification` and `Accounts.verifyphonenumber`.
|
239
248
|
# Corresponds to the JSON property `phoneNumber`
|
240
249
|
# @return [String]
|
241
250
|
attr_accessor :phone_number
|
242
251
|
|
252
|
+
# Verification status of the phone number of the business. This status is read
|
253
|
+
# only and can be updated only by successful phone verification. Acceptable
|
254
|
+
# values are: - "`verified`" - "`unverified`" "`unspecified`" -
|
255
|
+
# Corresponds to the JSON property `phoneVerificationStatus`
|
256
|
+
# @return [String]
|
257
|
+
attr_accessor :phone_verification_status
|
258
|
+
|
243
259
|
def initialize(**args)
|
244
260
|
update!(**args)
|
245
261
|
end
|
@@ -248,7 +264,9 @@ module Google
|
|
248
264
|
def update!(**args)
|
249
265
|
@address = args[:address] if args.key?(:address)
|
250
266
|
@customer_service = args[:customer_service] if args.key?(:customer_service)
|
267
|
+
@korean_business_registration_number = args[:korean_business_registration_number] if args.key?(:korean_business_registration_number)
|
251
268
|
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
269
|
+
@phone_verification_status = args[:phone_verification_status] if args.key?(:phone_verification_status)
|
252
270
|
end
|
253
271
|
end
|
254
272
|
|
@@ -1138,6 +1156,11 @@ module Google
|
|
1138
1156
|
# @return [String]
|
1139
1157
|
attr_accessor :action
|
1140
1158
|
|
1159
|
+
# Additional information required for E_COMMERCE_PLATFORM link type.
|
1160
|
+
# Corresponds to the JSON property `eCommercePlatformLinkInfo`
|
1161
|
+
# @return [Google::Apis::ContentV2_1::ECommercePlatformLinkInfo]
|
1162
|
+
attr_accessor :e_commerce_platform_link_info
|
1163
|
+
|
1141
1164
|
# Type of the link between the two accounts. Acceptable values are: - "`
|
1142
1165
|
# channelPartner`" - "`eCommercePlatform`" - "`paymentServiceProvider`"
|
1143
1166
|
# Corresponds to the JSON property `linkType`
|
@@ -1168,6 +1191,7 @@ module Google
|
|
1168
1191
|
# Update properties of this object
|
1169
1192
|
def update!(**args)
|
1170
1193
|
@action = args[:action] if args.key?(:action)
|
1194
|
+
@e_commerce_platform_link_info = args[:e_commerce_platform_link_info] if args.key?(:e_commerce_platform_link_info)
|
1171
1195
|
@link_type = args[:link_type] if args.key?(:link_type)
|
1172
1196
|
@linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id)
|
1173
1197
|
@payment_service_provider_link_info = args[:payment_service_provider_link_info] if args.key?(:payment_service_provider_link_info)
|
@@ -1622,6 +1646,52 @@ module Google
|
|
1622
1646
|
end
|
1623
1647
|
end
|
1624
1648
|
|
1649
|
+
#
|
1650
|
+
class Address
|
1651
|
+
include Google::Apis::Core::Hashable
|
1652
|
+
|
1653
|
+
# Required. Top-level administrative subdivision of the country. For example, a
|
1654
|
+
# state like California ("CA") or a province like Quebec ("QC").
|
1655
|
+
# Corresponds to the JSON property `administrativeArea`
|
1656
|
+
# @return [String]
|
1657
|
+
attr_accessor :administrative_area
|
1658
|
+
|
1659
|
+
# Required. City, town or commune. May also include dependent localities or
|
1660
|
+
# sublocalities (e.g. neighborhoods or suburbs).
|
1661
|
+
# Corresponds to the JSON property `city`
|
1662
|
+
# @return [String]
|
1663
|
+
attr_accessor :city
|
1664
|
+
|
1665
|
+
# Required. [CLDR country code](http://www.unicode.org/repos/cldr/tags/latest/
|
1666
|
+
# common/main/en.xml) (e.g. "US").
|
1667
|
+
# Corresponds to the JSON property `country`
|
1668
|
+
# @return [String]
|
1669
|
+
attr_accessor :country
|
1670
|
+
|
1671
|
+
# Required. Postal code or ZIP (e.g. "94043").
|
1672
|
+
# Corresponds to the JSON property `postalCode`
|
1673
|
+
# @return [String]
|
1674
|
+
attr_accessor :postal_code
|
1675
|
+
|
1676
|
+
# Street-level part of the address.
|
1677
|
+
# Corresponds to the JSON property `streetAddress`
|
1678
|
+
# @return [String]
|
1679
|
+
attr_accessor :street_address
|
1680
|
+
|
1681
|
+
def initialize(**args)
|
1682
|
+
update!(**args)
|
1683
|
+
end
|
1684
|
+
|
1685
|
+
# Update properties of this object
|
1686
|
+
def update!(**args)
|
1687
|
+
@administrative_area = args[:administrative_area] if args.key?(:administrative_area)
|
1688
|
+
@city = args[:city] if args.key?(:city)
|
1689
|
+
@country = args[:country] if args.key?(:country)
|
1690
|
+
@postal_code = args[:postal_code] if args.key?(:postal_code)
|
1691
|
+
@street_address = args[:street_address] if args.key?(:street_address)
|
1692
|
+
end
|
1693
|
+
end
|
1694
|
+
|
1625
1695
|
#
|
1626
1696
|
class Amount
|
1627
1697
|
include Google::Apis::Core::Hashable
|
@@ -1671,17 +1741,58 @@ module Google
|
|
1671
1741
|
class BuyOnGoogleProgramStatus
|
1672
1742
|
include Google::Apis::Core::Hashable
|
1673
1743
|
|
1744
|
+
# The business models in which merchant participates.
|
1745
|
+
# Corresponds to the JSON property `businessModel`
|
1746
|
+
# @return [Array<String>]
|
1747
|
+
attr_accessor :business_model
|
1748
|
+
|
1674
1749
|
# The customer service pending email. After verification this field becomes
|
1675
1750
|
# empty.
|
1676
1751
|
# Corresponds to the JSON property `customerServicePendingEmail`
|
1677
1752
|
# @return [String]
|
1678
1753
|
attr_accessor :customer_service_pending_email
|
1679
1754
|
|
1755
|
+
# The pending phone number specified for BuyOnGoogle program. It might be
|
1756
|
+
# different than account level phone number. In order to update this field the
|
1757
|
+
# customer_service_pending_phone_region_code must also be set. After
|
1758
|
+
# verification this field becomes empty.
|
1759
|
+
# Corresponds to the JSON property `customerServicePendingPhoneNumber`
|
1760
|
+
# @return [String]
|
1761
|
+
attr_accessor :customer_service_pending_phone_number
|
1762
|
+
|
1763
|
+
# Two letter country code for the pending phone number, for example `CA` for
|
1764
|
+
# Canadian numbers. See the [ISO 3166-1 alpha-2](https://wikipedia.org/wiki/
|
1765
|
+
# ISO_3166-1_alpha-2#Officially_assigned_code_elements) officially assigned
|
1766
|
+
# codes. In order to update this field the customer_service_pending_phone_number
|
1767
|
+
# must also be set. After verification this field becomes empty.
|
1768
|
+
# Corresponds to the JSON property `customerServicePendingPhoneRegionCode`
|
1769
|
+
# @return [String]
|
1770
|
+
attr_accessor :customer_service_pending_phone_region_code
|
1771
|
+
|
1680
1772
|
# Output only. The customer service verified email.
|
1681
1773
|
# Corresponds to the JSON property `customerServiceVerifiedEmail`
|
1682
1774
|
# @return [String]
|
1683
1775
|
attr_accessor :customer_service_verified_email
|
1684
1776
|
|
1777
|
+
# Output only. The verified phone number specified for BuyOnGoogle program. It
|
1778
|
+
# might be different than account level phone number.
|
1779
|
+
# Corresponds to the JSON property `customerServiceVerifiedPhoneNumber`
|
1780
|
+
# @return [String]
|
1781
|
+
attr_accessor :customer_service_verified_phone_number
|
1782
|
+
|
1783
|
+
# Output only. Two letter country code for the verified phone number, for
|
1784
|
+
# example `CA` for Canadian numbers. See the [ISO 3166-1 alpha-2](https://
|
1785
|
+
# wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements)
|
1786
|
+
# officially assigned codes.
|
1787
|
+
# Corresponds to the JSON property `customerServiceVerifiedPhoneRegionCode`
|
1788
|
+
# @return [String]
|
1789
|
+
attr_accessor :customer_service_verified_phone_region_code
|
1790
|
+
|
1791
|
+
# The channels through which the merchant is selling.
|
1792
|
+
# Corresponds to the JSON property `onlineSalesChannel`
|
1793
|
+
# @return [String]
|
1794
|
+
attr_accessor :online_sales_channel
|
1795
|
+
|
1685
1796
|
# Output only. The current participation stage for the program.
|
1686
1797
|
# Corresponds to the JSON property `participationStage`
|
1687
1798
|
# @return [String]
|
@@ -1693,8 +1804,14 @@ module Google
|
|
1693
1804
|
|
1694
1805
|
# Update properties of this object
|
1695
1806
|
def update!(**args)
|
1807
|
+
@business_model = args[:business_model] if args.key?(:business_model)
|
1696
1808
|
@customer_service_pending_email = args[:customer_service_pending_email] if args.key?(:customer_service_pending_email)
|
1809
|
+
@customer_service_pending_phone_number = args[:customer_service_pending_phone_number] if args.key?(:customer_service_pending_phone_number)
|
1810
|
+
@customer_service_pending_phone_region_code = args[:customer_service_pending_phone_region_code] if args.key?(:customer_service_pending_phone_region_code)
|
1697
1811
|
@customer_service_verified_email = args[:customer_service_verified_email] if args.key?(:customer_service_verified_email)
|
1812
|
+
@customer_service_verified_phone_number = args[:customer_service_verified_phone_number] if args.key?(:customer_service_verified_phone_number)
|
1813
|
+
@customer_service_verified_phone_region_code = args[:customer_service_verified_phone_region_code] if args.key?(:customer_service_verified_phone_region_code)
|
1814
|
+
@online_sales_channel = args[:online_sales_channel] if args.key?(:online_sales_channel)
|
1698
1815
|
@participation_stage = args[:participation_stage] if args.key?(:participation_stage)
|
1699
1816
|
end
|
1700
1817
|
end
|
@@ -3183,6 +3300,25 @@ module Google
|
|
3183
3300
|
end
|
3184
3301
|
end
|
3185
3302
|
|
3303
|
+
# Additional information required for E_COMMERCE_PLATFORM link type.
|
3304
|
+
class ECommercePlatformLinkInfo
|
3305
|
+
include Google::Apis::Core::Hashable
|
3306
|
+
|
3307
|
+
# The id used by the third party service provider to identify the merchant.
|
3308
|
+
# Corresponds to the JSON property `externalAccountId`
|
3309
|
+
# @return [String]
|
3310
|
+
attr_accessor :external_account_id
|
3311
|
+
|
3312
|
+
def initialize(**args)
|
3313
|
+
update!(**args)
|
3314
|
+
end
|
3315
|
+
|
3316
|
+
# Update properties of this object
|
3317
|
+
def update!(**args)
|
3318
|
+
@external_account_id = args[:external_account_id] if args.key?(:external_account_id)
|
3319
|
+
end
|
3320
|
+
end
|
3321
|
+
|
3186
3322
|
# An error returned by the API.
|
3187
3323
|
class Error
|
3188
3324
|
include Google::Apis::Core::Hashable
|
@@ -4562,7 +4698,7 @@ module Google
|
|
4562
4698
|
|
4563
4699
|
# Supported pickup method for this offer. Unless the value is "not supported",
|
4564
4700
|
# this field must be submitted together with `pickupSla`. For accepted attribute
|
4565
|
-
# values, see the local product inventory feed
|
4701
|
+
# values, see the local product inventory feed specification.
|
4566
4702
|
# Corresponds to the JSON property `pickupMethod`
|
4567
4703
|
# @return [String]
|
4568
4704
|
attr_accessor :pickup_method
|
@@ -5498,7 +5634,7 @@ module Google
|
|
5498
5634
|
# "`noInventory`" - "`orderTimeout`" - "`other`" - "`paymentAbuse`" - "`
|
5499
5635
|
# paymentDeclined`" - "`priceError`" - "`returnRefundAbuse`" - "`
|
5500
5636
|
# shippingPriceError`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
5501
|
-
# unsupportedPoBoxAddress`"
|
5637
|
+
# unsupportedPoBoxAddress`" - "`failedToCaptureFunds`"
|
5502
5638
|
# Corresponds to the JSON property `reason`
|
5503
5639
|
# @return [String]
|
5504
5640
|
attr_accessor :reason
|
@@ -6831,6 +6967,11 @@ module Google
|
|
6831
6967
|
# @return [String]
|
6832
6968
|
attr_accessor :mpn
|
6833
6969
|
|
6970
|
+
# Plain text description of this product.
|
6971
|
+
# Corresponds to the JSON property `productDescription`
|
6972
|
+
# @return [String]
|
6973
|
+
attr_accessor :product_description
|
6974
|
+
|
6834
6975
|
# Required. The Content API REST ID of the product, in the form channel:
|
6835
6976
|
# contentLanguage:targetCountry:offerId.
|
6836
6977
|
# Corresponds to the JSON property `productId`
|
@@ -6842,6 +6983,16 @@ module Google
|
|
6842
6983
|
# @return [Fixnum]
|
6843
6984
|
attr_accessor :quantity
|
6844
6985
|
|
6986
|
+
# Merchant SKU for this item.
|
6987
|
+
# Corresponds to the JSON property `sku`
|
6988
|
+
# @return [String]
|
6989
|
+
attr_accessor :sku
|
6990
|
+
|
6991
|
+
# Universal product code for this item.
|
6992
|
+
# Corresponds to the JSON property `upc`
|
6993
|
+
# @return [String]
|
6994
|
+
attr_accessor :upc
|
6995
|
+
|
6845
6996
|
def initialize(**args)
|
6846
6997
|
update!(**args)
|
6847
6998
|
end
|
@@ -6851,8 +7002,11 @@ module Google
|
|
6851
7002
|
@gtin = args[:gtin] if args.key?(:gtin)
|
6852
7003
|
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
6853
7004
|
@mpn = args[:mpn] if args.key?(:mpn)
|
7005
|
+
@product_description = args[:product_description] if args.key?(:product_description)
|
6854
7006
|
@product_id = args[:product_id] if args.key?(:product_id)
|
6855
7007
|
@quantity = args[:quantity] if args.key?(:quantity)
|
7008
|
+
@sku = args[:sku] if args.key?(:sku)
|
7009
|
+
@upc = args[:upc] if args.key?(:upc)
|
6856
7010
|
end
|
6857
7011
|
end
|
6858
7012
|
|
@@ -7786,7 +7940,8 @@ module Google
|
|
7786
7940
|
# The reason for the cancellation. Acceptable values are: - "`
|
7787
7941
|
# customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
|
7788
7942
|
# "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
|
7789
|
-
# taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
|
7943
|
+
# taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "
|
7944
|
+
# `failedToCaptureFunds`"
|
7790
7945
|
# Corresponds to the JSON property `reason`
|
7791
7946
|
# @return [String]
|
7792
7947
|
attr_accessor :reason
|
@@ -7850,7 +8005,8 @@ module Google
|
|
7850
8005
|
# The reason for the cancellation. Acceptable values are: - "`
|
7851
8006
|
# customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
|
7852
8007
|
# "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
|
7853
|
-
# taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
|
8008
|
+
# taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "
|
8009
|
+
# `failedToCaptureFunds`"
|
7854
8010
|
# Corresponds to the JSON property `reason`
|
7855
8011
|
# @return [String]
|
7856
8012
|
attr_accessor :reason
|
@@ -11508,9 +11664,14 @@ module Google
|
|
11508
11664
|
end
|
11509
11665
|
end
|
11510
11666
|
|
11511
|
-
#
|
11512
|
-
#
|
11513
|
-
#
|
11667
|
+
# The Promotions feature is currently in alpha and is not yet publicly
|
11668
|
+
# available via Content API for Shopping. This documentation is provided for
|
11669
|
+
# reference only may be subject to change. Represents a promotion. See the
|
11670
|
+
# following articles for more details. * [Promotions feed specification](https://
|
11671
|
+
# support.google.com/merchants/answer/2906014) * [Local promotions feed
|
11672
|
+
# specification](https://support.google.com/merchants/answer/10146130) * [
|
11673
|
+
# Promotions on Buy on Google product data specification](https://support.google.
|
11674
|
+
# com/merchants/answer/9173673)
|
11514
11675
|
class Promotion
|
11515
11676
|
include Google::Apis::Core::Hashable
|
11516
11677
|
|
@@ -11561,7 +11722,9 @@ module Google
|
|
11561
11722
|
|
11562
11723
|
# Required. Output only. The REST promotion id to uniquely identify the
|
11563
11724
|
# promotion. Content API methods that operate on promotions take this as their
|
11564
|
-
# promotionId parameter.
|
11725
|
+
# promotionId parameter. The REST ID for a promotion is of the form channel:
|
11726
|
+
# contentLanguage:targetCountry:promotionId The channel field will have a value
|
11727
|
+
# of "online", "local", or "onlinelocal".
|
11565
11728
|
# Corresponds to the JSON property `id`
|
11566
11729
|
# @return [String]
|
11567
11730
|
attr_accessor :id
|
@@ -11642,6 +11805,16 @@ module Google
|
|
11642
11805
|
# @return [String]
|
11643
11806
|
attr_accessor :product_applicability
|
11644
11807
|
|
11808
|
+
# Product filter by product type for the promotion.
|
11809
|
+
# Corresponds to the JSON property `productType`
|
11810
|
+
# @return [Array<String>]
|
11811
|
+
attr_accessor :product_type
|
11812
|
+
|
11813
|
+
# Product filter by product type exclusion for the promotion.
|
11814
|
+
# Corresponds to the JSON property `productTypeExclusion`
|
11815
|
+
# @return [Array<String>]
|
11816
|
+
attr_accessor :product_type_exclusion
|
11817
|
+
|
11645
11818
|
# Destination ID for the promotion.
|
11646
11819
|
# Corresponds to the JSON property `promotionDestinationIds`
|
11647
11820
|
# @return [Array<String>]
|
@@ -11709,6 +11882,8 @@ module Google
|
|
11709
11882
|
@order_limit = args[:order_limit] if args.key?(:order_limit)
|
11710
11883
|
@percent_off = args[:percent_off] if args.key?(:percent_off)
|
11711
11884
|
@product_applicability = args[:product_applicability] if args.key?(:product_applicability)
|
11885
|
+
@product_type = args[:product_type] if args.key?(:product_type)
|
11886
|
+
@product_type_exclusion = args[:product_type_exclusion] if args.key?(:product_type_exclusion)
|
11712
11887
|
@promotion_destination_ids = args[:promotion_destination_ids] if args.key?(:promotion_destination_ids)
|
11713
11888
|
@promotion_display_dates = args[:promotion_display_dates] if args.key?(:promotion_display_dates)
|
11714
11889
|
@promotion_effective_dates = args[:promotion_effective_dates] if args.key?(:promotion_effective_dates)
|
@@ -14619,6 +14794,11 @@ module Google
|
|
14619
14794
|
# @return [Array<Google::Apis::ContentV2_1::Service>]
|
14620
14795
|
attr_accessor :services
|
14621
14796
|
|
14797
|
+
# Optional. A list of warehouses which can be referred to in `services`.
|
14798
|
+
# Corresponds to the JSON property `warehouses`
|
14799
|
+
# @return [Array<Google::Apis::ContentV2_1::Warehouse>]
|
14800
|
+
attr_accessor :warehouses
|
14801
|
+
|
14622
14802
|
def initialize(**args)
|
14623
14803
|
update!(**args)
|
14624
14804
|
end
|
@@ -14628,6 +14808,7 @@ module Google
|
|
14628
14808
|
@account_id = args[:account_id] if args.key?(:account_id)
|
14629
14809
|
@postal_code_groups = args[:postal_code_groups] if args.key?(:postal_code_groups)
|
14630
14810
|
@services = args[:services] if args.key?(:services)
|
14811
|
+
@warehouses = args[:warehouses] if args.key?(:warehouses)
|
14631
14812
|
end
|
14632
14813
|
end
|
14633
14814
|
|
@@ -15671,7 +15852,8 @@ module Google
|
|
15671
15852
|
class VerifyPhoneNumberResponse
|
15672
15853
|
include Google::Apis::Core::Hashable
|
15673
15854
|
|
15674
|
-
# Verified phone number if verification is successful.
|
15855
|
+
# Verified phone number if verification is successful. This phone number can
|
15856
|
+
# only be replaced by another verified phone number.
|
15675
15857
|
# Corresponds to the JSON property `verifiedPhoneNumber`
|
15676
15858
|
# @return [String]
|
15677
15859
|
attr_accessor :verified_phone_number
|
@@ -15686,6 +15868,54 @@ module Google
|
|
15686
15868
|
end
|
15687
15869
|
end
|
15688
15870
|
|
15871
|
+
# A fulfillment warehouse, which stores and handles inventory.
|
15872
|
+
class Warehouse
|
15873
|
+
include Google::Apis::Core::Hashable
|
15874
|
+
|
15875
|
+
# Business days of the warehouse. If not set, will be Monday to Friday by
|
15876
|
+
# default.
|
15877
|
+
# Corresponds to the JSON property `businessDayConfig`
|
15878
|
+
# @return [Google::Apis::ContentV2_1::BusinessDayConfig]
|
15879
|
+
attr_accessor :business_day_config
|
15880
|
+
|
15881
|
+
# Required. The latest time of day that an order can be accepted and begin
|
15882
|
+
# processing. Later orders will be processed in the next day. The time is based
|
15883
|
+
# on the warehouse postal code.
|
15884
|
+
# Corresponds to the JSON property `cutoffTime`
|
15885
|
+
# @return [Google::Apis::ContentV2_1::WarehouseCutoffTime]
|
15886
|
+
attr_accessor :cutoff_time
|
15887
|
+
|
15888
|
+
# Required. The number of days it takes for this warehouse to pack up and ship
|
15889
|
+
# an item. This is on the warehouse level, but can be overridden on the offer
|
15890
|
+
# level based on the attributes of an item.
|
15891
|
+
# Corresponds to the JSON property `handlingDays`
|
15892
|
+
# @return [Fixnum]
|
15893
|
+
attr_accessor :handling_days
|
15894
|
+
|
15895
|
+
# Required. The name of the warehouse. Must be unique within account.
|
15896
|
+
# Corresponds to the JSON property `name`
|
15897
|
+
# @return [String]
|
15898
|
+
attr_accessor :name
|
15899
|
+
|
15900
|
+
# Required. Shipping address of the warehouse.
|
15901
|
+
# Corresponds to the JSON property `shippingAddress`
|
15902
|
+
# @return [Google::Apis::ContentV2_1::Address]
|
15903
|
+
attr_accessor :shipping_address
|
15904
|
+
|
15905
|
+
def initialize(**args)
|
15906
|
+
update!(**args)
|
15907
|
+
end
|
15908
|
+
|
15909
|
+
# Update properties of this object
|
15910
|
+
def update!(**args)
|
15911
|
+
@business_day_config = args[:business_day_config] if args.key?(:business_day_config)
|
15912
|
+
@cutoff_time = args[:cutoff_time] if args.key?(:cutoff_time)
|
15913
|
+
@handling_days = args[:handling_days] if args.key?(:handling_days)
|
15914
|
+
@name = args[:name] if args.key?(:name)
|
15915
|
+
@shipping_address = args[:shipping_address] if args.key?(:shipping_address)
|
15916
|
+
end
|
15917
|
+
end
|
15918
|
+
|
15689
15919
|
#
|
15690
15920
|
class WarehouseBasedDeliveryTime
|
15691
15921
|
include Google::Apis::Core::Hashable
|
@@ -15704,23 +15934,23 @@ module Google
|
|
15704
15934
|
# @return [String]
|
15705
15935
|
attr_accessor :carrier_service
|
15706
15936
|
|
15707
|
-
#
|
15937
|
+
# Shipping origin's state.
|
15708
15938
|
# Corresponds to the JSON property `originAdministrativeArea`
|
15709
15939
|
# @return [String]
|
15710
15940
|
attr_accessor :origin_administrative_area
|
15711
15941
|
|
15712
|
-
#
|
15942
|
+
# Shipping origin's city.
|
15713
15943
|
# Corresponds to the JSON property `originCity`
|
15714
15944
|
# @return [String]
|
15715
15945
|
attr_accessor :origin_city
|
15716
15946
|
|
15717
|
-
#
|
15718
|
-
#
|
15947
|
+
# Shipping origin's country represented as a [CLDR territory code](http://www.
|
15948
|
+
# unicode.org/repos/cldr/tags/latest/common/main/en.xml).
|
15719
15949
|
# Corresponds to the JSON property `originCountry`
|
15720
15950
|
# @return [String]
|
15721
15951
|
attr_accessor :origin_country
|
15722
15952
|
|
15723
|
-
#
|
15953
|
+
# Shipping origin.
|
15724
15954
|
# Corresponds to the JSON property `originPostalCode`
|
15725
15955
|
# @return [String]
|
15726
15956
|
attr_accessor :origin_postal_code
|
@@ -15730,6 +15960,13 @@ module Google
|
|
15730
15960
|
# @return [String]
|
15731
15961
|
attr_accessor :origin_street_address
|
15732
15962
|
|
15963
|
+
# The name of the warehouse. Warehouse name need to be matched with name. If
|
15964
|
+
# warehouseName is set, the below fields will be ignored. The warehouse info
|
15965
|
+
# will be read from warehouse.
|
15966
|
+
# Corresponds to the JSON property `warehouseName`
|
15967
|
+
# @return [String]
|
15968
|
+
attr_accessor :warehouse_name
|
15969
|
+
|
15733
15970
|
def initialize(**args)
|
15734
15971
|
update!(**args)
|
15735
15972
|
end
|
@@ -15743,6 +15980,36 @@ module Google
|
|
15743
15980
|
@origin_country = args[:origin_country] if args.key?(:origin_country)
|
15744
15981
|
@origin_postal_code = args[:origin_postal_code] if args.key?(:origin_postal_code)
|
15745
15982
|
@origin_street_address = args[:origin_street_address] if args.key?(:origin_street_address)
|
15983
|
+
@warehouse_name = args[:warehouse_name] if args.key?(:warehouse_name)
|
15984
|
+
end
|
15985
|
+
end
|
15986
|
+
|
15987
|
+
#
|
15988
|
+
class WarehouseCutoffTime
|
15989
|
+
include Google::Apis::Core::Hashable
|
15990
|
+
|
15991
|
+
# Required. Hour (24-hour clock) of the cutoff time until which an order has to
|
15992
|
+
# be placed to be processed in the same day by the warehouse. Hour is based on
|
15993
|
+
# the timezone of warehouse.
|
15994
|
+
# Corresponds to the JSON property `hour`
|
15995
|
+
# @return [Fixnum]
|
15996
|
+
attr_accessor :hour
|
15997
|
+
|
15998
|
+
# Required. Minute of the cutoff time until which an order has to be placed to
|
15999
|
+
# be processed in the same day by the warehouse. Minute is based on the timezone
|
16000
|
+
# of warehouse.
|
16001
|
+
# Corresponds to the JSON property `minute`
|
16002
|
+
# @return [Fixnum]
|
16003
|
+
attr_accessor :minute
|
16004
|
+
|
16005
|
+
def initialize(**args)
|
16006
|
+
update!(**args)
|
16007
|
+
end
|
16008
|
+
|
16009
|
+
# Update properties of this object
|
16010
|
+
def update!(**args)
|
16011
|
+
@hour = args[:hour] if args.key?(:hour)
|
16012
|
+
@minute = args[:minute] if args.key?(:minute)
|
15746
16013
|
end
|
15747
16014
|
end
|
15748
16015
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContentV2_1
|
18
18
|
# Version of the google-apis-content_v2_1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.24.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211007"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -280,6 +280,12 @@ module Google
|
|
280
280
|
include Google::Apis::Core::JsonObjectSupport
|
281
281
|
end
|
282
282
|
|
283
|
+
class Address
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
283
289
|
class Amount
|
284
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
291
|
|
@@ -502,6 +508,12 @@ module Google
|
|
502
508
|
include Google::Apis::Core::JsonObjectSupport
|
503
509
|
end
|
504
510
|
|
511
|
+
class ECommercePlatformLinkInfo
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
+
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
515
|
+
end
|
516
|
+
|
505
517
|
class Error
|
506
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
519
|
|
@@ -2290,12 +2302,24 @@ module Google
|
|
2290
2302
|
include Google::Apis::Core::JsonObjectSupport
|
2291
2303
|
end
|
2292
2304
|
|
2305
|
+
class Warehouse
|
2306
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2307
|
+
|
2308
|
+
include Google::Apis::Core::JsonObjectSupport
|
2309
|
+
end
|
2310
|
+
|
2293
2311
|
class WarehouseBasedDeliveryTime
|
2294
2312
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2295
2313
|
|
2296
2314
|
include Google::Apis::Core::JsonObjectSupport
|
2297
2315
|
end
|
2298
2316
|
|
2317
|
+
class WarehouseCutoffTime
|
2318
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2319
|
+
|
2320
|
+
include Google::Apis::Core::JsonObjectSupport
|
2321
|
+
end
|
2322
|
+
|
2299
2323
|
class Weight
|
2300
2324
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2301
2325
|
|
@@ -2354,7 +2378,9 @@ module Google
|
|
2354
2378
|
|
2355
2379
|
property :customer_service, as: 'customerService', class: Google::Apis::ContentV2_1::AccountCustomerService, decorator: Google::Apis::ContentV2_1::AccountCustomerService::Representation
|
2356
2380
|
|
2381
|
+
property :korean_business_registration_number, as: 'koreanBusinessRegistrationNumber'
|
2357
2382
|
property :phone_number, as: 'phoneNumber'
|
2383
|
+
property :phone_verification_status, as: 'phoneVerificationStatus'
|
2358
2384
|
end
|
2359
2385
|
end
|
2360
2386
|
|
@@ -2595,6 +2621,8 @@ module Google
|
|
2595
2621
|
# @private
|
2596
2622
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2597
2623
|
property :action, as: 'action'
|
2624
|
+
property :e_commerce_platform_link_info, as: 'eCommercePlatformLinkInfo', class: Google::Apis::ContentV2_1::ECommercePlatformLinkInfo, decorator: Google::Apis::ContentV2_1::ECommercePlatformLinkInfo::Representation
|
2625
|
+
|
2598
2626
|
property :link_type, as: 'linkType'
|
2599
2627
|
property :linked_account_id, as: 'linkedAccountId'
|
2600
2628
|
property :payment_service_provider_link_info, as: 'paymentServiceProviderLinkInfo', class: Google::Apis::ContentV2_1::PaymentServiceProviderLinkInfo, decorator: Google::Apis::ContentV2_1::PaymentServiceProviderLinkInfo::Representation
|
@@ -2750,6 +2778,17 @@ module Google
|
|
2750
2778
|
end
|
2751
2779
|
end
|
2752
2780
|
|
2781
|
+
class Address
|
2782
|
+
# @private
|
2783
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2784
|
+
property :administrative_area, as: 'administrativeArea'
|
2785
|
+
property :city, as: 'city'
|
2786
|
+
property :country, as: 'country'
|
2787
|
+
property :postal_code, as: 'postalCode'
|
2788
|
+
property :street_address, as: 'streetAddress'
|
2789
|
+
end
|
2790
|
+
end
|
2791
|
+
|
2753
2792
|
class Amount
|
2754
2793
|
# @private
|
2755
2794
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2770,8 +2809,14 @@ module Google
|
|
2770
2809
|
class BuyOnGoogleProgramStatus
|
2771
2810
|
# @private
|
2772
2811
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2812
|
+
collection :business_model, as: 'businessModel'
|
2773
2813
|
property :customer_service_pending_email, as: 'customerServicePendingEmail'
|
2814
|
+
property :customer_service_pending_phone_number, as: 'customerServicePendingPhoneNumber'
|
2815
|
+
property :customer_service_pending_phone_region_code, as: 'customerServicePendingPhoneRegionCode'
|
2774
2816
|
property :customer_service_verified_email, as: 'customerServiceVerifiedEmail'
|
2817
|
+
property :customer_service_verified_phone_number, as: 'customerServiceVerifiedPhoneNumber'
|
2818
|
+
property :customer_service_verified_phone_region_code, as: 'customerServiceVerifiedPhoneRegionCode'
|
2819
|
+
property :online_sales_channel, as: 'onlineSalesChannel'
|
2775
2820
|
property :participation_stage, as: 'participationStage'
|
2776
2821
|
end
|
2777
2822
|
end
|
@@ -3159,6 +3204,13 @@ module Google
|
|
3159
3204
|
end
|
3160
3205
|
end
|
3161
3206
|
|
3207
|
+
class ECommercePlatformLinkInfo
|
3208
|
+
# @private
|
3209
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3210
|
+
property :external_account_id, as: 'externalAccountId'
|
3211
|
+
end
|
3212
|
+
end
|
3213
|
+
|
3162
3214
|
class Error
|
3163
3215
|
# @private
|
3164
3216
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4153,8 +4205,11 @@ module Google
|
|
4153
4205
|
property :gtin, as: 'gtin'
|
4154
4206
|
property :line_item_id, as: 'lineItemId'
|
4155
4207
|
property :mpn, as: 'mpn'
|
4208
|
+
property :product_description, as: 'productDescription'
|
4156
4209
|
property :product_id, as: 'productId'
|
4157
4210
|
property :quantity, :numeric_string => true, as: 'quantity'
|
4211
|
+
property :sku, as: 'sku'
|
4212
|
+
property :upc, as: 'upc'
|
4158
4213
|
end
|
4159
4214
|
end
|
4160
4215
|
|
@@ -5424,6 +5479,8 @@ module Google
|
|
5424
5479
|
property :order_limit, as: 'orderLimit'
|
5425
5480
|
property :percent_off, as: 'percentOff'
|
5426
5481
|
property :product_applicability, as: 'productApplicability'
|
5482
|
+
collection :product_type, as: 'productType'
|
5483
|
+
collection :product_type_exclusion, as: 'productTypeExclusion'
|
5427
5484
|
collection :promotion_destination_ids, as: 'promotionDestinationIds'
|
5428
5485
|
property :promotion_display_dates, as: 'promotionDisplayDates'
|
5429
5486
|
property :promotion_effective_dates, as: 'promotionEffectiveDates'
|
@@ -6220,6 +6277,8 @@ module Google
|
|
6220
6277
|
|
6221
6278
|
collection :services, as: 'services', class: Google::Apis::ContentV2_1::Service, decorator: Google::Apis::ContentV2_1::Service::Representation
|
6222
6279
|
|
6280
|
+
collection :warehouses, as: 'warehouses', class: Google::Apis::ContentV2_1::Warehouse, decorator: Google::Apis::ContentV2_1::Warehouse::Representation
|
6281
|
+
|
6223
6282
|
end
|
6224
6283
|
end
|
6225
6284
|
|
@@ -6531,6 +6590,20 @@ module Google
|
|
6531
6590
|
end
|
6532
6591
|
end
|
6533
6592
|
|
6593
|
+
class Warehouse
|
6594
|
+
# @private
|
6595
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6596
|
+
property :business_day_config, as: 'businessDayConfig', class: Google::Apis::ContentV2_1::BusinessDayConfig, decorator: Google::Apis::ContentV2_1::BusinessDayConfig::Representation
|
6597
|
+
|
6598
|
+
property :cutoff_time, as: 'cutoffTime', class: Google::Apis::ContentV2_1::WarehouseCutoffTime, decorator: Google::Apis::ContentV2_1::WarehouseCutoffTime::Representation
|
6599
|
+
|
6600
|
+
property :handling_days, :numeric_string => true, as: 'handlingDays'
|
6601
|
+
property :name, as: 'name'
|
6602
|
+
property :shipping_address, as: 'shippingAddress', class: Google::Apis::ContentV2_1::Address, decorator: Google::Apis::ContentV2_1::Address::Representation
|
6603
|
+
|
6604
|
+
end
|
6605
|
+
end
|
6606
|
+
|
6534
6607
|
class WarehouseBasedDeliveryTime
|
6535
6608
|
# @private
|
6536
6609
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6541,6 +6614,15 @@ module Google
|
|
6541
6614
|
property :origin_country, as: 'originCountry'
|
6542
6615
|
property :origin_postal_code, as: 'originPostalCode'
|
6543
6616
|
property :origin_street_address, as: 'originStreetAddress'
|
6617
|
+
property :warehouse_name, as: 'warehouseName'
|
6618
|
+
end
|
6619
|
+
end
|
6620
|
+
|
6621
|
+
class WarehouseCutoffTime
|
6622
|
+
# @private
|
6623
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6624
|
+
property :hour, as: 'hour'
|
6625
|
+
property :minute, as: 'minute'
|
6544
6626
|
end
|
6545
6627
|
end
|
6546
6628
|
|
@@ -497,7 +497,10 @@ module Google
|
|
497
497
|
execute_or_queue_command(command, &block)
|
498
498
|
end
|
499
499
|
|
500
|
-
# Validates verification code to verify phone number for the account.
|
500
|
+
# Validates verification code to verify phone number for the account. If
|
501
|
+
# successful this will overwrite the value of `accounts.businessinformation.
|
502
|
+
# phoneNumber`. Only verified phone number will replace an existing verified
|
503
|
+
# phone number.
|
501
504
|
# @param [Fixnum] merchant_id
|
502
505
|
# Required. The ID of the managing account. If this parameter is not the same as
|
503
506
|
# accountId, then this account must be a multi-client account and accountId must
|
@@ -1105,8 +1108,8 @@ module Google
|
|
1105
1108
|
# @param [Fixnum] merchant_id
|
1106
1109
|
# Required. The ID of the account.
|
1107
1110
|
# @param [String] region_code
|
1108
|
-
# The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.
|
1109
|
-
# ISO_3166-1_alpha-2). Currently only US is available.
|
1111
|
+
# Required. The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.
|
1112
|
+
# org/wiki/ISO_3166-1_alpha-2). Currently only US is available.
|
1110
1113
|
# @param [Google::Apis::ContentV2_1::ActivateBuyOnGoogleProgramRequest] activate_buy_on_google_program_request_object
|
1111
1114
|
# @param [String] fields
|
1112
1115
|
# Selector specifying which fields to include in a partial response.
|
@@ -1140,8 +1143,8 @@ module Google
|
|
1140
1143
|
# @param [Fixnum] merchant_id
|
1141
1144
|
# Required. The ID of the account.
|
1142
1145
|
# @param [String] region_code
|
1143
|
-
# The Program region code [ISO 3166-1 alpha-2](https://en.wikipedia.
|
1144
|
-
# ISO_3166-1_alpha-2). Currently only US is available.
|
1146
|
+
# Required. The Program region code [ISO 3166-1 alpha-2](https://en.wikipedia.
|
1147
|
+
# org/wiki/ISO_3166-1_alpha-2). Currently only US is available.
|
1145
1148
|
# @param [String] fields
|
1146
1149
|
# Selector specifying which fields to include in a partial response.
|
1147
1150
|
# @param [String] quota_user
|
@@ -1179,8 +1182,8 @@ module Google
|
|
1179
1182
|
# @param [Fixnum] merchant_id
|
1180
1183
|
# Required. The ID of the account.
|
1181
1184
|
# @param [String] region_code
|
1182
|
-
# The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.
|
1183
|
-
# ISO_3166-1_alpha-2). Currently only US is available.
|
1185
|
+
# Required. The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.
|
1186
|
+
# org/wiki/ISO_3166-1_alpha-2). Currently only US is available.
|
1184
1187
|
# @param [Google::Apis::ContentV2_1::OnboardBuyOnGoogleProgramRequest] onboard_buy_on_google_program_request_object
|
1185
1188
|
# @param [String] fields
|
1186
1189
|
# Selector specifying which fields to include in a partial response.
|
@@ -1210,13 +1213,55 @@ module Google
|
|
1210
1213
|
execute_or_queue_command(command, &block)
|
1211
1214
|
end
|
1212
1215
|
|
1216
|
+
# Updates the status of the BoG program for your Merchant Center account.
|
1217
|
+
# @param [Fixnum] merchant_id
|
1218
|
+
# Required. The ID of the account.
|
1219
|
+
# @param [String] region_code
|
1220
|
+
# Required. The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.
|
1221
|
+
# org/wiki/ISO_3166-1_alpha-2). Currently only US is available.
|
1222
|
+
# @param [Google::Apis::ContentV2_1::BuyOnGoogleProgramStatus] buy_on_google_program_status_object
|
1223
|
+
# @param [String] update_mask
|
1224
|
+
# The list of fields to update. If the update mask is not provided, then all the
|
1225
|
+
# fields set in buyOnGoogleProgramStatus will be updated. Clearing fields is
|
1226
|
+
# only possible if update mask is provided.
|
1227
|
+
# @param [String] fields
|
1228
|
+
# Selector specifying which fields to include in a partial response.
|
1229
|
+
# @param [String] quota_user
|
1230
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1231
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1232
|
+
# @param [Google::Apis::RequestOptions] options
|
1233
|
+
# Request-specific options
|
1234
|
+
#
|
1235
|
+
# @yield [result, err] Result & error if block supplied
|
1236
|
+
# @yieldparam result [Google::Apis::ContentV2_1::BuyOnGoogleProgramStatus] parsed result object
|
1237
|
+
# @yieldparam err [StandardError] error object if request failed
|
1238
|
+
#
|
1239
|
+
# @return [Google::Apis::ContentV2_1::BuyOnGoogleProgramStatus]
|
1240
|
+
#
|
1241
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1242
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1243
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1244
|
+
def patch_buyongoogleprogram(merchant_id, region_code, buy_on_google_program_status_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1245
|
+
command = make_simple_command(:patch, '{merchantId}/buyongoogleprograms/{regionCode}', options)
|
1246
|
+
command.request_representation = Google::Apis::ContentV2_1::BuyOnGoogleProgramStatus::Representation
|
1247
|
+
command.request_object = buy_on_google_program_status_object
|
1248
|
+
command.response_representation = Google::Apis::ContentV2_1::BuyOnGoogleProgramStatus::Representation
|
1249
|
+
command.response_class = Google::Apis::ContentV2_1::BuyOnGoogleProgramStatus
|
1250
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
1251
|
+
command.params['regionCode'] = region_code unless region_code.nil?
|
1252
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1253
|
+
command.query['fields'] = fields unless fields.nil?
|
1254
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1255
|
+
execute_or_queue_command(command, &block)
|
1256
|
+
end
|
1257
|
+
|
1213
1258
|
# Pauses the BoG program in your Merchant Center account. Important: This method
|
1214
1259
|
# is only whitelisted for selected merchants.
|
1215
1260
|
# @param [Fixnum] merchant_id
|
1216
1261
|
# Required. The ID of the account.
|
1217
1262
|
# @param [String] region_code
|
1218
|
-
# The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.
|
1219
|
-
# ISO_3166-1_alpha-2). Currently only US is available.
|
1263
|
+
# Required. The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.
|
1264
|
+
# org/wiki/ISO_3166-1_alpha-2). Currently only US is available.
|
1220
1265
|
# @param [Google::Apis::ContentV2_1::PauseBuyOnGoogleProgramRequest] pause_buy_on_google_program_request_object
|
1221
1266
|
# @param [String] fields
|
1222
1267
|
# Selector specifying which fields to include in a partial response.
|
@@ -1252,8 +1297,8 @@ module Google
|
|
1252
1297
|
# @param [Fixnum] merchant_id
|
1253
1298
|
# Required. The ID of the account.
|
1254
1299
|
# @param [String] region_code
|
1255
|
-
# The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.
|
1256
|
-
# ISO_3166-1_alpha-2). Currently only US is available.
|
1300
|
+
# Required. The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.
|
1301
|
+
# org/wiki/ISO_3166-1_alpha-2). Currently only US is available.
|
1257
1302
|
# @param [Google::Apis::ContentV2_1::RequestReviewBuyOnGoogleProgramRequest] request_review_buy_on_google_program_request_object
|
1258
1303
|
# @param [String] fields
|
1259
1304
|
# Selector specifying which fields to include in a partial response.
|
@@ -3102,7 +3147,12 @@ module Google
|
|
3102
3147
|
# the payment processsor. If this method succeeds, the merchant is guaranteed to
|
3103
3148
|
# receive funds for the order after shipment. If the request fails, it can be
|
3104
3149
|
# retried or the order may be cancelled. This method cannot be called after the
|
3105
|
-
# entire order is already shipped.
|
3150
|
+
# entire order is already shipped. A rejected error code is returned when the
|
3151
|
+
# payment service provider has declined the charge. This indicates a problem
|
3152
|
+
# between the PSP and either the merchant's or customer's account. Sometimes
|
3153
|
+
# this error will be resolved by the customer. We recommend retrying these
|
3154
|
+
# errors once per day or cancelling the order with reason `failedToCaptureFunds`
|
3155
|
+
# if the items cannot be held.
|
3106
3156
|
# @param [Fixnum] merchant_id
|
3107
3157
|
# Required. The ID of the account that manages the order. This cannot be a multi-
|
3108
3158
|
# client account.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-content_v2_1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-content_v2_1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.24.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-content_v2_1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|