google-apis-merchantapi_products_v1beta 0.9.0 → 0.10.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7663ee3956c875f8e05981b17b33f775b6d4705dad694a02832632022a1af403
|
4
|
+
data.tar.gz: cef97b1b16c690195978c17b4df984d611f65cd1e6137e49029526dd621aff14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 176f6bd04ff98407a18115d6e3ab23ec2f866889e2c0fe4f6b6b44b672c16ba8e9480cf86d1a4654a5561895f3517279daa7fb56037e8ad1f68feafaae11b67f
|
7
|
+
data.tar.gz: 7b8ca7836a1d2546f35c29795f8de1a5e0b8228d3e830ad6085901a38d4d6afa12359c48aaca2d50be4f2db5367002ba013621f3aaba497bd4d11ddf58cfe138
|
data/CHANGELOG.md
CHANGED
@@ -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.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250317"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -133,6 +133,60 @@ module Google
|
|
133
133
|
execute_or_queue_command(command, &block)
|
134
134
|
end
|
135
135
|
|
136
|
+
# Updates the existing product input in your Merchant Center account. After
|
137
|
+
# inserting, updating, or deleting a product input, it may take several minutes
|
138
|
+
# before the processed product can be retrieved.
|
139
|
+
# @param [String] name
|
140
|
+
# Identifier. The name of the product input. Format: `"`productinput.name=
|
141
|
+
# accounts/`account`/productInputs/`productinput``"` where the last section `
|
142
|
+
# productinput` consists of 4 parts: channel~content_language~feed_label~
|
143
|
+
# offer_id example for product input name is "accounts/123/productInputs/online~
|
144
|
+
# en~US~sku123"
|
145
|
+
# @param [Google::Apis::MerchantapiProductsV1beta::ProductInput] product_input_object
|
146
|
+
# @param [String] data_source
|
147
|
+
# Required. The primary or supplemental product data source where `data_source`
|
148
|
+
# name identifies the product input to be updated. Only API data sources are
|
149
|
+
# supported. Format: `accounts/`account`/dataSources/`datasource``.
|
150
|
+
# @param [String] update_mask
|
151
|
+
# Optional. The list of product attributes to be updated. If the update mask is
|
152
|
+
# omitted, then it is treated as implied field mask equivalent to all fields
|
153
|
+
# that are populated (have a non-empty value). Attributes specified in the
|
154
|
+
# update mask without a value specified in the body will be deleted from the
|
155
|
+
# product. Update mask can only be specified for top level fields in attributes
|
156
|
+
# and custom attributes. To specify the update mask for custom attributes you
|
157
|
+
# need to add the `custom_attribute.` prefix. Providing special "*" value for
|
158
|
+
# full product replacement is not supported.
|
159
|
+
# @param [String] fields
|
160
|
+
# Selector specifying which fields to include in a partial response.
|
161
|
+
# @param [String] quota_user
|
162
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
163
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
164
|
+
# @param [Google::Apis::RequestOptions] options
|
165
|
+
# Request-specific options
|
166
|
+
#
|
167
|
+
# @yield [result, err] Result & error if block supplied
|
168
|
+
# @yieldparam result [Google::Apis::MerchantapiProductsV1beta::ProductInput] parsed result object
|
169
|
+
# @yieldparam err [StandardError] error object if request failed
|
170
|
+
#
|
171
|
+
# @return [Google::Apis::MerchantapiProductsV1beta::ProductInput]
|
172
|
+
#
|
173
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
174
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
175
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
176
|
+
def patch_account_product_input(name, product_input_object = nil, data_source: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
177
|
+
command = make_simple_command(:patch, 'products/v1beta/{+name}', options)
|
178
|
+
command.request_representation = Google::Apis::MerchantapiProductsV1beta::ProductInput::Representation
|
179
|
+
command.request_object = product_input_object
|
180
|
+
command.response_representation = Google::Apis::MerchantapiProductsV1beta::ProductInput::Representation
|
181
|
+
command.response_class = Google::Apis::MerchantapiProductsV1beta::ProductInput
|
182
|
+
command.params['name'] = name unless name.nil?
|
183
|
+
command.query['dataSource'] = data_source unless data_source.nil?
|
184
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
185
|
+
command.query['fields'] = fields unless fields.nil?
|
186
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
187
|
+
execute_or_queue_command(command, &block)
|
188
|
+
end
|
189
|
+
|
136
190
|
# Retrieves the processed product from your Merchant Center account. After
|
137
191
|
# inserting, updating, or deleting a product input, it may take several minutes
|
138
192
|
# before the updated final product can be retrieved.
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-23 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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.10.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:
|