google-apis-merchantapi_products_v1beta 0.21.0 → 0.22.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: 65d480e95fe8f95b05a57531c2b5e040f0256cb8d1889d00a83f42eae45e2edf
4
- data.tar.gz: d16a358e07668705305ad8c968b1dafee028add098958608acc4c2cf7ed8f42c
3
+ metadata.gz: 7c88e68f1b6a930336902a1edb5c5d61e668c106ef5075e02c29cf8b0f5acb2b
4
+ data.tar.gz: 0c4be4d9bb5b22db11fd9768c75c9c7702b4fecbeea12c24dd73b42697ce30bd
5
5
  SHA512:
6
- metadata.gz: 323ca6d41a76ec87ba8e05ac033490e92df4864706ba2b76aca9c264a96bba82f0077cd1e1635aa6bbb250f06b18e9af61c2f8c4516c380ecb6a80c0460b33b9
7
- data.tar.gz: e3a4c1629bb60136fa6d6e22eccdb345380bbd6c1884bdbb204fb5aff29f25447c351cf151478f37f976c52d3360fce553ad98fe4709c7caf6f803557b83d326
6
+ metadata.gz: 554fd86214115acbca8b5bc400477eeb7d9f3e5fec7cebe3f50a0603f43b3b63c9e5ab51d43d73e2bd5b03d7aa634484f2079e73ae7f516de186469eecf7de7a
7
+ data.tar.gz: dbbfe1f5bcedd7807308b76bf45e9fdc060a9c32a5bddf4e048201e995166872f965739aeefd0d34ce119aab75f8a180ba40c7082968943e1255f818d089197e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-merchantapi_products_v1beta
2
2
 
3
+ ### v0.22.0 (2025-11-16)
4
+
5
+ * Regenerated from discovery document revision 20251109
6
+
3
7
  ### v0.21.0 (2025-10-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20251007
@@ -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.21.0"
19
+ GEM_VERSION = "0.22.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 = "20251007"
25
+ REVISION = "20251109"
26
26
  end
27
27
  end
28
28
  end
@@ -63,6 +63,16 @@ module Google
63
63
  # Required. The primary or supplemental data source from which the product input
64
64
  # should be deleted. Format: `accounts/`account`/dataSources/`datasource``. For
65
65
  # example, `accounts/123456/dataSources/104628`.
66
+ # @param [Boolean] product_id_base64_url_encoded
67
+ # Optional. If true, the ``productInput`` in the `name` field of the request
68
+ # will be interpreted as unpadded base64url-encoded and decoded during request
69
+ # processing to match the decoded value. Default value is `false`. Use this if
70
+ # your ``productInput`` contains special characters, such as forward slash `/`
71
+ # or other characters that are unpadded base64url-encoded (as per RFC 7515:
72
+ # https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future
73
+ # versions of the API will only accept unpadded base64url-encoded product ids,
74
+ # so we strongly recommend proactively setting this to `true` and encoding the
75
+ # product ids.
66
76
  # @param [String] fields
67
77
  # Selector specifying which fields to include in a partial response.
68
78
  # @param [String] quota_user
@@ -80,12 +90,13 @@ module Google
80
90
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
81
91
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
82
92
  # @raise [Google::Apis::AuthorizationError] Authorization is required
83
- def delete_account_product_input(name, data_source: nil, fields: nil, quota_user: nil, options: nil, &block)
93
+ def delete_account_product_input(name, data_source: nil, product_id_base64_url_encoded: nil, fields: nil, quota_user: nil, options: nil, &block)
84
94
  command = make_simple_command(:delete, 'products/v1beta/{+name}', options)
85
95
  command.response_representation = Google::Apis::MerchantapiProductsV1beta::Empty::Representation
86
96
  command.response_class = Google::Apis::MerchantapiProductsV1beta::Empty
87
97
  command.params['name'] = name unless name.nil?
88
98
  command.query['dataSource'] = data_source unless data_source.nil?
99
+ command.query['productIdBase64UrlEncoded'] = product_id_base64_url_encoded unless product_id_base64_url_encoded.nil?
89
100
  command.query['fields'] = fields unless fields.nil?
90
101
  command.query['quotaUser'] = quota_user unless quota_user.nil?
91
102
  execute_or_queue_command(command, &block)
@@ -159,6 +170,16 @@ module Google
159
170
  # name identifies the product input to be updated. Only API data sources are
160
171
  # supported. Format: `accounts/`account`/dataSources/`datasource``. For example,
161
172
  # `accounts/123456/dataSources/104628`.
173
+ # @param [Boolean] product_id_base64_url_encoded
174
+ # Optional. If true, the ``productInput`` in the `name` field of the request
175
+ # will be interpreted as unpadded base64url-encoded and decoded during request
176
+ # processing to match the decoded value. Default value is `false`. Use this if
177
+ # your ``productInput`` contains special characters, such as forward slash `/`
178
+ # or other characters that are unpadded base64url-encoded (as per RFC 7515:
179
+ # https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future
180
+ # versions of the API will only accept unpadded base64url-encoded product ids,
181
+ # so we strongly recommend proactively setting this to `true` and encoding the
182
+ # product ids.
162
183
  # @param [String] update_mask
163
184
  # Optional. The list of product attributes to be updated. If the update mask is
164
185
  # omitted, then it is treated as implied field mask equivalent to all fields
@@ -185,7 +206,7 @@ module Google
185
206
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
186
207
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
187
208
  # @raise [Google::Apis::AuthorizationError] Authorization is required
188
- def patch_account_product_input(name, product_input_object = nil, data_source: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
209
+ def patch_account_product_input(name, product_input_object = nil, data_source: nil, product_id_base64_url_encoded: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
189
210
  command = make_simple_command(:patch, 'products/v1beta/{+name}', options)
190
211
  command.request_representation = Google::Apis::MerchantapiProductsV1beta::ProductInput::Representation
191
212
  command.request_object = product_input_object
@@ -193,6 +214,7 @@ module Google
193
214
  command.response_class = Google::Apis::MerchantapiProductsV1beta::ProductInput
194
215
  command.params['name'] = name unless name.nil?
195
216
  command.query['dataSource'] = data_source unless data_source.nil?
217
+ command.query['productIdBase64UrlEncoded'] = product_id_base64_url_encoded unless product_id_base64_url_encoded.nil?
196
218
  command.query['updateMask'] = update_mask unless update_mask.nil?
197
219
  command.query['fields'] = fields unless fields.nil?
198
220
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -210,6 +232,16 @@ module Google
210
232
  # products/local~en~US~sku123`. Note: For calls to the v1beta version, the `
211
233
  # product` section consists of: `channel~content_language~feed_label~offer_id`,
212
234
  # for example: `accounts/123/products/online~en~US~sku123`.
235
+ # @param [Boolean] product_id_base64_url_encoded
236
+ # Optional. If true, the ``product`` in the `name` field of the request will be
237
+ # interpreted as unpadded base64url-encoded and decoded during request
238
+ # processing to match the decoded value. Default value is `false`. Use this if
239
+ # your ``product`` contains special characters, such as forward slash `/` or
240
+ # other characters that are unpadded base64url-encoded (as per RFC 7515: https://
241
+ # datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of
242
+ # the API will only accept unpadded base64url-encoded product ids, so we
243
+ # strongly recommend proactively setting this to `true` and encoding the product
244
+ # ids.
213
245
  # @param [String] fields
214
246
  # Selector specifying which fields to include in a partial response.
215
247
  # @param [String] quota_user
@@ -227,11 +259,12 @@ module Google
227
259
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
228
260
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
229
261
  # @raise [Google::Apis::AuthorizationError] Authorization is required
230
- def get_account_product(name, fields: nil, quota_user: nil, options: nil, &block)
262
+ def get_account_product(name, product_id_base64_url_encoded: nil, fields: nil, quota_user: nil, options: nil, &block)
231
263
  command = make_simple_command(:get, 'products/v1beta/{+name}', options)
232
264
  command.response_representation = Google::Apis::MerchantapiProductsV1beta::Product::Representation
233
265
  command.response_class = Google::Apis::MerchantapiProductsV1beta::Product
234
266
  command.params['name'] = name unless name.nil?
267
+ command.query['productIdBase64UrlEncoded'] = product_id_base64_url_encoded unless product_id_base64_url_encoded.nil?
235
268
  command.query['fields'] = fields unless fields.nil?
236
269
  command.query['quotaUser'] = quota_user unless quota_user.nil?
237
270
  execute_or_queue_command(command, &block)
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.21.0
4
+ version: 0.22.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.21.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_products_v1beta/v0.22.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: