google-apis-content_v2_1 0.2.0 → 0.3.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: 95cab701eb8cc992dde108a1d8d680eca0965390078623ab03f2b117f952d479
|
4
|
+
data.tar.gz: ee77754f02a4e0a036594192117a8d6a457f4e1cb560a767f85c5af66fbc1298
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d5608f514689d98ef99cdd17c781967ecafe22677b7262c59f5b63b5aea9d6a8bd66d2188f09d2f3a5e679fd1be6acdddced2a794632133fbde5b02cb46163a
|
7
|
+
data.tar.gz: 68a6f0e35d7894c271e7a65b54a4ef45d1923ffc5449bb1c268a1fed87feb948615621e16a4becf3d16683932ff7f1be8c88a90e58d1d7e1d2d5fe2d6faa3b8f
|
data/CHANGELOG.md
CHANGED
@@ -1694,7 +1694,8 @@ module Google
|
|
1694
1694
|
include Google::Apis::Core::Hashable
|
1695
1695
|
|
1696
1696
|
# Label that you assign to a collection to help organize bidding and reporting
|
1697
|
-
# in Shopping campaigns. Custom label
|
1697
|
+
# in Shopping campaigns. [Custom label](https://support.google.com/merchants/
|
1698
|
+
# answer/9674217)
|
1698
1699
|
# Corresponds to the JSON property `customLabel0`
|
1699
1700
|
# @return [String]
|
1700
1701
|
attr_accessor :custom_label0
|
@@ -1726,48 +1727,56 @@ module Google
|
|
1726
1727
|
# This identifies one or more products associated with the collection. Used as a
|
1727
1728
|
# lookup to the corresponding product ID in your product feeds. Provide a
|
1728
1729
|
# maximum of 100 featuredProduct (for collections). Provide up to 10
|
1729
|
-
# featuredProduct (for Shoppable Images only) with ID and X and Y coordinates.
|
1730
|
-
# featured_product attribute
|
1730
|
+
# featuredProduct (for Shoppable Images only) with ID and X and Y coordinates. [
|
1731
|
+
# featured_product attribute](https://support.google.com/merchants/answer/
|
1732
|
+
# 9703736)
|
1731
1733
|
# Corresponds to the JSON property `featuredProduct`
|
1732
1734
|
# @return [Array<Google::Apis::ContentV2_1::CollectionFeaturedProduct>]
|
1733
1735
|
attr_accessor :featured_product
|
1734
1736
|
|
1735
|
-
# Your collection's name. headline attribute
|
1737
|
+
# Your collection's name. [headline attribute](https://support.google.com/
|
1738
|
+
# merchants/answer/9673580)
|
1736
1739
|
# Corresponds to the JSON property `headline`
|
1737
1740
|
# @return [Array<String>]
|
1738
1741
|
attr_accessor :headline
|
1739
1742
|
|
1740
1743
|
# Required. The REST ID of the collection. Content API methods that operate on
|
1741
1744
|
# collections take this as their collectionId parameter. The REST ID for a
|
1742
|
-
# collection is of the form collectionId. id attribute
|
1745
|
+
# collection is of the form collectionId. [id attribute](https://support.google.
|
1746
|
+
# com/merchants/answer/9649290)
|
1743
1747
|
# Corresponds to the JSON property `id`
|
1744
1748
|
# @return [String]
|
1745
1749
|
attr_accessor :id
|
1746
1750
|
|
1747
|
-
# The URL of a collection’s image. image_link attribute
|
1751
|
+
# The URL of a collection’s image. [image_link attribute](https://support.google.
|
1752
|
+
# com/merchants/answer/9703236)
|
1748
1753
|
# Corresponds to the JSON property `imageLink`
|
1749
1754
|
# @return [Array<String>]
|
1750
1755
|
attr_accessor :image_link
|
1751
1756
|
|
1752
1757
|
# The language of a collection and the language of any featured products linked
|
1753
|
-
# to the collection. language attribute
|
1758
|
+
# to the collection. [language attribute](https://support.google.com/merchants/
|
1759
|
+
# answer/9673781)
|
1754
1760
|
# Corresponds to the JSON property `language`
|
1755
1761
|
# @return [String]
|
1756
1762
|
attr_accessor :language
|
1757
1763
|
|
1758
1764
|
# A collection’s landing page. URL directly linking to your collection's page on
|
1759
|
-
# your website. link attribute
|
1765
|
+
# your website. [link attribute](https://support.google.com/merchants/answer/
|
1766
|
+
# 9673983)
|
1760
1767
|
# Corresponds to the JSON property `link`
|
1761
1768
|
# @return [String]
|
1762
1769
|
attr_accessor :link
|
1763
1770
|
|
1764
1771
|
# A collection’s mobile-optimized landing page when you have a different URL for
|
1765
|
-
# mobile and desktop traffic. mobile_link attribute
|
1772
|
+
# mobile and desktop traffic. [mobile_link attribute](https://support.google.com/
|
1773
|
+
# merchants/answer/9646123)
|
1766
1774
|
# Corresponds to the JSON property `mobileLink`
|
1767
1775
|
# @return [String]
|
1768
1776
|
attr_accessor :mobile_link
|
1769
1777
|
|
1770
|
-
# product_country attribute
|
1778
|
+
# [product_country attribute](https://support.google.com/merchants/answer/
|
1779
|
+
# 9674155)
|
1771
1780
|
# Corresponds to the JSON property `productCountry`
|
1772
1781
|
# @return [String]
|
1773
1782
|
attr_accessor :product_country
|
@@ -1794,7 +1803,8 @@ module Google
|
|
1794
1803
|
end
|
1795
1804
|
end
|
1796
1805
|
|
1797
|
-
# The message for FeaturedProduct. FeaturedProduct
|
1806
|
+
# The message for FeaturedProduct. [FeaturedProduct](https://support.google.com/
|
1807
|
+
# merchants/answer/9703736)
|
1798
1808
|
class CollectionFeaturedProduct
|
1799
1809
|
include Google::Apis::Core::Hashable
|
1800
1810
|
|
@@ -7662,7 +7672,9 @@ module Google
|
|
7662
7672
|
attr_accessor :amount
|
7663
7673
|
|
7664
7674
|
# If set to true, all shipping costs for the order will be refunded. If this is
|
7665
|
-
# true, amount should not be provided and will be ignored.
|
7675
|
+
# true, amount should not be provided and will be ignored. If set to false,
|
7676
|
+
# submit the amount of the partial shipping refund, excluding the shipping tax.
|
7677
|
+
# The shipping tax is calculated and handled on Google's side.
|
7666
7678
|
# Corresponds to the JSON property `fullRefund`
|
7667
7679
|
# @return [Boolean]
|
7668
7680
|
attr_accessor :full_refund
|
@@ -8174,7 +8186,7 @@ module Google
|
|
8174
8186
|
# @return [String]
|
8175
8187
|
attr_accessor :product_id
|
8176
8188
|
|
8177
|
-
# The quantity to return and refund.
|
8189
|
+
# The quantity to return and refund. Quantity is required.
|
8178
8190
|
# Corresponds to the JSON property `quantity`
|
8179
8191
|
# @return [Fixnum]
|
8180
8192
|
attr_accessor :quantity
|
@@ -12002,6 +12014,11 @@ module Google
|
|
12002
12014
|
# @return [String]
|
12003
12015
|
attr_accessor :return_policy_id
|
12004
12016
|
|
12017
|
+
# The return shipping fee that will apply to non free return reasons.
|
12018
|
+
# Corresponds to the JSON property `returnShippingFee`
|
12019
|
+
# @return [Google::Apis::ContentV2_1::Price]
|
12020
|
+
attr_accessor :return_shipping_fee
|
12021
|
+
|
12005
12022
|
# An optional list of seasonal overrides.
|
12006
12023
|
# Corresponds to the JSON property `seasonalOverrides`
|
12007
12024
|
# @return [Array<Google::Apis::ContentV2_1::ReturnPolicySeasonalOverride>]
|
@@ -12020,6 +12037,7 @@ module Google
|
|
12020
12037
|
@non_free_return_reasons = args[:non_free_return_reasons] if args.key?(:non_free_return_reasons)
|
12021
12038
|
@policy = args[:policy] if args.key?(:policy)
|
12022
12039
|
@return_policy_id = args[:return_policy_id] if args.key?(:return_policy_id)
|
12040
|
+
@return_shipping_fee = args[:return_shipping_fee] if args.key?(:return_shipping_fee)
|
12023
12041
|
@seasonal_overrides = args[:seasonal_overrides] if args.key?(:seasonal_overrides)
|
12024
12042
|
end
|
12025
12043
|
end
|
@@ -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.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.1.2"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210210"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -5338,6 +5338,8 @@ module Google
|
|
5338
5338
|
property :policy, as: 'policy', class: Google::Apis::ContentV2_1::ReturnPolicyPolicy, decorator: Google::Apis::ContentV2_1::ReturnPolicyPolicy::Representation
|
5339
5339
|
|
5340
5340
|
property :return_policy_id, as: 'returnPolicyId'
|
5341
|
+
property :return_shipping_fee, as: 'returnShippingFee', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
5342
|
+
|
5341
5343
|
collection :seasonal_overrides, as: 'seasonalOverrides', class: Google::Apis::ContentV2_1::ReturnPolicySeasonalOverride, decorator: Google::Apis::ContentV2_1::ReturnPolicySeasonalOverride::Representation
|
5342
5344
|
|
5343
5345
|
end
|
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.3.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-02-
|
11
|
+
date: 2021-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-content_v2_1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.3.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-content_v2_1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|