google-apis-merchantapi_products_v1beta 0.13.0 → 0.15.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/merchantapi_products_v1beta/classes.rb +7 -1
- data/lib/google/apis/merchantapi_products_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/merchantapi_products_v1beta/representations.rb +2 -0
- data/lib/google/apis/merchantapi_products_v1beta/service.rb +12 -8
- data/lib/google/apis/merchantapi_products_v1beta.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0591fb0ec9877aba593e29274650fc1b12450208e2bb6b14f155a0c8ddd3e8e
|
4
|
+
data.tar.gz: 5bb77b242c546a9f9d70e25420a205a7e4c1e6b471bc4b50b28ddf9e9fd4cdfc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0460617406f3df15817b246b1fba32fb7dfbb4f4eab4f8c335a1a08a92169193c535e5c09b124dfd8aea7d2ce2c7d230465946f78ddfdcffa1037aba32b6437e
|
7
|
+
data.tar.gz: 29d26e604a4e051b8798acce9792b2f6bd2d0cf6f0d805e52b7ef831244f0317c6238fd87c1c332acd7d9cb58d4f83e97b020b1c3b5e46255bcf69a2128ebfe4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-merchantapi_products_v1beta
|
2
2
|
|
3
|
+
### v0.15.0 (2025-06-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250621
|
6
|
+
|
7
|
+
### v0.14.0 (2025-06-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250618
|
10
|
+
|
3
11
|
### v0.13.0 (2025-06-15)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250606
|
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.
|
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
|
|
@@ -330,6 +330,11 @@ module Google
|
|
330
330
|
# @return [Fixnum]
|
331
331
|
attr_accessor :max_handling_time
|
332
332
|
|
333
|
+
# The price represented as a number and currency.
|
334
|
+
# Corresponds to the JSON property `maximumRetailPrice`
|
335
|
+
# @return [Google::Apis::MerchantapiProductsV1beta::Price]
|
336
|
+
attr_accessor :maximum_retail_price
|
337
|
+
|
333
338
|
# The energy efficiency class as defined in EU directive 2010/30/EU.
|
334
339
|
# Corresponds to the JSON property `minEnergyEfficiencyClass`
|
335
340
|
# @return [String]
|
@@ -627,6 +632,7 @@ module Google
|
|
627
632
|
@material = args[:material] if args.key?(:material)
|
628
633
|
@max_energy_efficiency_class = args[:max_energy_efficiency_class] if args.key?(:max_energy_efficiency_class)
|
629
634
|
@max_handling_time = args[:max_handling_time] if args.key?(:max_handling_time)
|
635
|
+
@maximum_retail_price = args[:maximum_retail_price] if args.key?(:maximum_retail_price)
|
630
636
|
@min_energy_efficiency_class = args[:min_energy_efficiency_class] if args.key?(:min_energy_efficiency_class)
|
631
637
|
@min_handling_time = args[:min_handling_time] if args.key?(:min_handling_time)
|
632
638
|
@mobile_link = args[:mobile_link] if args.key?(:mobile_link)
|
@@ -1619,7 +1625,7 @@ module Google
|
|
1619
1625
|
# @return [String]
|
1620
1626
|
attr_accessor :event_time
|
1621
1627
|
|
1622
|
-
# Optional. The product expiration time. This field will not
|
1628
|
+
# Optional. The product expiration time. This field will not be set if the
|
1623
1629
|
# notification is sent for a product deletion event.
|
1624
1630
|
# Corresponds to the JSON property `expirationTime`
|
1625
1631
|
# @return [String]
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.15.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 = "
|
25
|
+
REVISION = "20250621"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -281,6 +281,8 @@ module Google
|
|
281
281
|
property :material, as: 'material'
|
282
282
|
property :max_energy_efficiency_class, as: 'maxEnergyEfficiencyClass'
|
283
283
|
property :max_handling_time, :numeric_string => true, as: 'maxHandlingTime'
|
284
|
+
property :maximum_retail_price, as: 'maximumRetailPrice', class: Google::Apis::MerchantapiProductsV1beta::Price, decorator: Google::Apis::MerchantapiProductsV1beta::Price::Representation
|
285
|
+
|
284
286
|
property :min_energy_efficiency_class, as: 'minEnergyEfficiencyClass'
|
285
287
|
property :min_handling_time, :numeric_string => true, as: 'minHandlingTime'
|
286
288
|
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.
|
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
|
|
@@ -91,10 +91,13 @@ module Google
|
|
91
91
|
execute_or_queue_command(command, &block)
|
92
92
|
end
|
93
93
|
|
94
|
-
# Uploads a product input to your Merchant Center account
|
95
|
-
#
|
96
|
-
#
|
97
|
-
#
|
94
|
+
# [Uploads a product input to your Merchant Center account](/merchant/api/guides/
|
95
|
+
# products/overview#upload-product-input). You must have a products data source
|
96
|
+
# to be able to insert a product. The unique identifier of the data source is
|
97
|
+
# passed as a query parameter in the request URL. If an input with the same
|
98
|
+
# contentLanguage, offerId, and dataSource already exists, this method replaces
|
99
|
+
# that entry. After inserting, updating, or deleting a product input, it may
|
100
|
+
# take several minutes before the processed product can be retrieved.
|
98
101
|
# @param [String] parent
|
99
102
|
# Required. The account where this product will be inserted. Format: `accounts/`
|
100
103
|
# account``
|
@@ -102,9 +105,10 @@ module Google
|
|
102
105
|
# @param [String] data_source
|
103
106
|
# Required. The primary or supplemental product data source name. If the product
|
104
107
|
# already exists and data source provided is different, then the product will be
|
105
|
-
# moved to a new data source.
|
106
|
-
#
|
107
|
-
# dataSources
|
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`.
|
108
112
|
# @param [String] fields
|
109
113
|
# Selector specifying which fields to include in a partial response.
|
110
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.
|
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.
|
4
|
+
version: 0.15.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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_products_v1beta/v0.15.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:
|