google-apis-merchantapi_products_v1beta 0.14.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a76f2763716ae5aae0dbf082b3431a42e9b4560c8367c3f4dbcef03ff457e76
4
- data.tar.gz: b9e1e7c269f63261ccf45564b1c9d5dd1468945716dfb2a79cec71a9eda3dc61
3
+ metadata.gz: 7b0164aa82b0f614800c065f7bac2fe09d6ce87f84ae8322f5e73cbb157527c3
4
+ data.tar.gz: 1d957df107a11279fe8cd97d394f3c540c73a64aeca2726ee781c182a859b60f
5
5
  SHA512:
6
- metadata.gz: 4046cdde02b2ab8422806d27be11e7409221f551cdf12027872c2b025baacef760bf7bfcf9ddf7e8adcb0100954d22930fde976cc19dadb8aa0fbaddc8b82789
7
- data.tar.gz: 3d85562c590a79e4592ba936bcaf39b6883ca25f7422bf8c8a72295b4fd044178d43d46f693da41f0abbe670358118da8d9dd4cffdae83e6a91ab535853f270b
6
+ metadata.gz: f87c6d015a6c68b49fe8543d545a921e39404a43f1aa0cd3be4fe0a914c1c74ec52c97c8bb87a06eb35a02d506a4e7fe381727855abc4652958783abc15d615a
7
+ data.tar.gz: b1fa98a28c4a0a029eab2dd62368ddfbd6ec30e88dd7bb4a32587ceb0439b4a024ae90810be082e0d61ca9848d1dfe1873dc4b6f3405ca3df1af613e58dffa9e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-merchantapi_products_v1beta
2
2
 
3
+ ### v0.16.0 (2025-07-13)
4
+
5
+ * Regenerated from discovery document revision 20250710
6
+
7
+ ### v0.15.0 (2025-06-29)
8
+
9
+ * Regenerated from discovery document revision 20250621
10
+
3
11
  ### v0.14.0 (2025-06-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20250618
data/OVERVIEW.md CHANGED
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
79
79
 
80
80
  **For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
81
81
 
82
- The [product documentation](https://developers.devsite.corp.google.com/merchant/api) may provide guidance regarding the preferred client library to use.
82
+ The [product documentation](https://developers.google.com/merchant/api) may provide guidance regarding the preferred client library to use.
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
@@ -238,11 +238,18 @@ module Google
238
238
  attr_accessor :google_product_category
239
239
 
240
240
  # Global Trade Item Numbers ([GTIN](https://support.google.com/merchants/answer/
241
- # 188494#gtin)) of the item. You can provide up to 10 GTINs.
241
+ # 188494#gtin)) of the item. You can provide up to 10 GTINs. Deprecated: Use `
242
+ # gtins` instead.
242
243
  # Corresponds to the JSON property `gtin`
243
244
  # @return [Array<String>]
244
245
  attr_accessor :gtin
245
246
 
247
+ # Global Trade Item Numbers ([GTIN](https://support.google.com/merchants/answer/
248
+ # 188494#gtin)) of the item. You can provide up to 10 GTINs.
249
+ # Corresponds to the JSON property `gtins`
250
+ # @return [Array<String>]
251
+ attr_accessor :gtins
252
+
246
253
  # Set this value to false when the item does not have unique product identifiers
247
254
  # appropriate to its category, such as GTIN, MPN, and brand. Defaults to true,
248
255
  # if not provided.
@@ -330,6 +337,11 @@ module Google
330
337
  # @return [Fixnum]
331
338
  attr_accessor :max_handling_time
332
339
 
340
+ # The price represented as a number and currency.
341
+ # Corresponds to the JSON property `maximumRetailPrice`
342
+ # @return [Google::Apis::MerchantapiProductsV1beta::Price]
343
+ attr_accessor :maximum_retail_price
344
+
333
345
  # The energy efficiency class as defined in EU directive 2010/30/EU.
334
346
  # Corresponds to the JSON property `minEnergyEfficiencyClass`
335
347
  # @return [String]
@@ -613,6 +625,7 @@ module Google
613
625
  @gender = args[:gender] if args.key?(:gender)
614
626
  @google_product_category = args[:google_product_category] if args.key?(:google_product_category)
615
627
  @gtin = args[:gtin] if args.key?(:gtin)
628
+ @gtins = args[:gtins] if args.key?(:gtins)
616
629
  @identifier_exists = args[:identifier_exists] if args.key?(:identifier_exists)
617
630
  @image_link = args[:image_link] if args.key?(:image_link)
618
631
  @included_destinations = args[:included_destinations] if args.key?(:included_destinations)
@@ -627,6 +640,7 @@ module Google
627
640
  @material = args[:material] if args.key?(:material)
628
641
  @max_energy_efficiency_class = args[:max_energy_efficiency_class] if args.key?(:max_energy_efficiency_class)
629
642
  @max_handling_time = args[:max_handling_time] if args.key?(:max_handling_time)
643
+ @maximum_retail_price = args[:maximum_retail_price] if args.key?(:maximum_retail_price)
630
644
  @min_energy_efficiency_class = args[:min_energy_efficiency_class] if args.key?(:min_energy_efficiency_class)
631
645
  @min_handling_time = args[:min_handling_time] if args.key?(:min_handling_time)
632
646
  @mobile_link = args[:mobile_link] if args.key?(:mobile_link)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MerchantapiProductsV1beta
18
18
  # Version of the google-apis-merchantapi_products_v1beta gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250618"
25
+ REVISION = "20250710"
26
26
  end
27
27
  end
28
28
  end
@@ -264,6 +264,7 @@ module Google
264
264
  property :gender, as: 'gender'
265
265
  property :google_product_category, as: 'googleProductCategory'
266
266
  collection :gtin, as: 'gtin'
267
+ collection :gtins, as: 'gtins'
267
268
  property :identifier_exists, as: 'identifierExists'
268
269
  property :image_link, as: 'imageLink'
269
270
  collection :included_destinations, as: 'includedDestinations'
@@ -281,6 +282,8 @@ module Google
281
282
  property :material, as: 'material'
282
283
  property :max_energy_efficiency_class, as: 'maxEnergyEfficiencyClass'
283
284
  property :max_handling_time, :numeric_string => true, as: 'maxHandlingTime'
285
+ property :maximum_retail_price, as: 'maximumRetailPrice', class: Google::Apis::MerchantapiProductsV1beta::Price, decorator: Google::Apis::MerchantapiProductsV1beta::Price::Representation
286
+
284
287
  property :min_energy_efficiency_class, as: 'minEnergyEfficiencyClass'
285
288
  property :min_handling_time, :numeric_string => true, as: 'minHandlingTime'
286
289
  property :mobile_link, as: 'mobileLink'
@@ -30,7 +30,7 @@ module Google
30
30
  # Merchantapi = Google::Apis::MerchantapiProductsV1beta # Alias the module
31
31
  # service = Merchantapi::MerchantService.new
32
32
  #
33
- # @see https://developers.devsite.corp.google.com/merchant/api
33
+ # @see https://developers.google.com/merchant/api
34
34
  class MerchantService < Google::Apis::Core::BaseService
35
35
  DEFAULT_ENDPOINT_TEMPLATE = "https://merchantapi.$UNIVERSE_DOMAIN$/"
36
36
 
@@ -105,9 +105,10 @@ module Google
105
105
  # @param [String] data_source
106
106
  # Required. The primary or supplemental product data source name. If the product
107
107
  # already exists and data source provided is different, then the product will be
108
- # moved to a new data source. Only API data sources are supported. Format: `
109
- # accounts/`account`/dataSources/`datasource``. For example, `accounts/123456/
110
- # dataSources/104628`.
108
+ # moved to a new data source. For more information, see [Overview of Data
109
+ # sources sub-API](/merchant/api/guides/data-sources/overview). Only API data
110
+ # sources are supported. Format: `accounts/`account`/dataSources/`datasource``.
111
+ # For example, `accounts/123456/dataSources/104628`.
111
112
  # @param [String] fields
112
113
  # Selector specifying which fields to include in a partial response.
113
114
  # @param [String] quota_user
@@ -23,7 +23,7 @@ module Google
23
23
  #
24
24
  # Programmatically manage your Merchant Center Accounts.
25
25
  #
26
- # @see https://developers.devsite.corp.google.com/merchant/api
26
+ # @see https://developers.google.com/merchant/api
27
27
  module MerchantapiProductsV1beta
28
28
  # Version of the Merchant API this client connects to.
29
29
  # This is NOT the gem version.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-merchantapi_products_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_products_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_products_v1beta/v0.14.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_products_v1beta/v0.16.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_products_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: