google-apis-merchantapi_inventories_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: 077131facc51ae7ced4e77d81e5e5d9fc208c205650ac4d9dcb7ec5de6f0d5a9
4
- data.tar.gz: bd11c549d960955f3458e224e5da6a8492bc9decac5d2ff00b8f5e4a0d24e760
3
+ metadata.gz: 3b9bcaafca8f7e70e87566e7dca1b3f069c68e150e3870cc6e2209da6ec43baa
4
+ data.tar.gz: 8c3799f7fa28c4f8cc288b66f622e675017b0f9ca0d42c179e7ce99e2eba0911
5
5
  SHA512:
6
- metadata.gz: 336bcd24deed6d136bb769d3904bcc391a3bdbd578e29328c5f7e3e574ab53783ddd8e4fcc7edff8ef005496bf2eee689f6ae0e3e9cffe21bb57ffcb97305ac8
7
- data.tar.gz: dd6f15006848957b32802757e67abc67f0add797ca77f4847a365c862cc41d24be0612d705a0255b171c122cce2ef26bd5a921302cd4719679e5fb936de36742
6
+ metadata.gz: cdaabfdacf647a9cf3da6c295a0318808b759eccce243b8748d91caf0b68820183e2ffb24e47edbc2583ec64d7683db830bde03ffb49a516810bd4359dbba617
7
+ data.tar.gz: 419eddb4bc671a4df9ce340b7c3cd5ca31fc48b16530a77ebf33eea3a055fa8aca751453a202efbd7acc2255b0b3fd33cc41fd0f024d0acb9a04fb5df31b23d1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-merchantapi_inventories_v1beta
2
2
 
3
+ ### v0.10.0 (2025-11-16)
4
+
5
+ * Regenerated from discovery document revision 20251109
6
+
3
7
  ### v0.9.0 (2025-06-29)
4
8
 
5
9
  * Regenerated from discovery document revision 20250623
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MerchantapiInventoriesV1beta
18
18
  # Version of the google-apis-merchantapi_inventories_v1beta gem
19
- GEM_VERSION = "0.9.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.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250623"
25
+ REVISION = "20251109"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,16 @@ module Google
58
58
  # @param [String] name
59
59
  # Required. The name of the local inventory for the given product to delete.
60
60
  # Format: `accounts/`account`/products/`product`/localInventories/`store_code``
61
+ # @param [Boolean] product_id_base64_url_encoded
62
+ # Optional. If true, the ``product`` in the `name` field of the request will be
63
+ # interpreted as unpadded base64url-encoded and decoded during request
64
+ # processing to match the decoded value. Default value is `false`. Use this if
65
+ # your ``product`` contains special characters, such as forward slash `/` or
66
+ # other characters that are unpadded base64url-encoded (as per RFC 7515: https://
67
+ # datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of
68
+ # the API will only accept unpadded base64url-encoded product ids, so we
69
+ # strongly recommend proactively setting this to `true` and encoding the product
70
+ # ids.
61
71
  # @param [String] fields
62
72
  # Selector specifying which fields to include in a partial response.
63
73
  # @param [String] quota_user
@@ -75,11 +85,12 @@ module Google
75
85
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
76
86
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
77
87
  # @raise [Google::Apis::AuthorizationError] Authorization is required
78
- def delete_account_product_local_inventory(name, fields: nil, quota_user: nil, options: nil, &block)
88
+ def delete_account_product_local_inventory(name, product_id_base64_url_encoded: nil, fields: nil, quota_user: nil, options: nil, &block)
79
89
  command = make_simple_command(:delete, 'inventories/v1beta/{+name}', options)
80
90
  command.response_representation = Google::Apis::MerchantapiInventoriesV1beta::Empty::Representation
81
91
  command.response_class = Google::Apis::MerchantapiInventoriesV1beta::Empty
82
92
  command.params['name'] = name unless name.nil?
93
+ command.query['productIdBase64UrlEncoded'] = product_id_base64_url_encoded unless product_id_base64_url_encoded.nil?
83
94
  command.query['fields'] = fields unless fields.nil?
84
95
  command.query['quotaUser'] = quota_user unless quota_user.nil?
85
96
  execute_or_queue_command(command, &block)
@@ -93,6 +104,16 @@ module Google
93
104
  # Required. The account and product where this inventory will be inserted.
94
105
  # Format: `accounts/`account`/products/`product``
95
106
  # @param [Google::Apis::MerchantapiInventoriesV1beta::LocalInventory] local_inventory_object
107
+ # @param [Boolean] product_id_base64_url_encoded
108
+ # Optional. If true, the ``product`` in the `parent` field of the request will
109
+ # be interpreted as unpadded base64url-encoded and decoded during request
110
+ # processing to match the decoded value. Default value is `false`. Use this if
111
+ # your ``product`` contains special characters, such as forward slash `/` or
112
+ # other characters that are unpadded base64url-encoded (as per RFC 7515: https://
113
+ # datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of
114
+ # the API will only accept unpadded base64url-encoded product ids, so we
115
+ # strongly recommend proactively setting this to `true` and encoding the product
116
+ # ids.
96
117
  # @param [String] fields
97
118
  # Selector specifying which fields to include in a partial response.
98
119
  # @param [String] quota_user
@@ -110,13 +131,14 @@ module Google
110
131
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
111
132
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
112
133
  # @raise [Google::Apis::AuthorizationError] Authorization is required
113
- def insert_account_product_local_inventory(parent, local_inventory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
134
+ def insert_account_product_local_inventory(parent, local_inventory_object = nil, product_id_base64_url_encoded: nil, fields: nil, quota_user: nil, options: nil, &block)
114
135
  command = make_simple_command(:post, 'inventories/v1beta/{+parent}/localInventories:insert', options)
115
136
  command.request_representation = Google::Apis::MerchantapiInventoriesV1beta::LocalInventory::Representation
116
137
  command.request_object = local_inventory_object
117
138
  command.response_representation = Google::Apis::MerchantapiInventoriesV1beta::LocalInventory::Representation
118
139
  command.response_class = Google::Apis::MerchantapiInventoriesV1beta::LocalInventory
119
140
  command.params['parent'] = parent unless parent.nil?
141
+ command.query['productIdBase64UrlEncoded'] = product_id_base64_url_encoded unless product_id_base64_url_encoded.nil?
120
142
  command.query['fields'] = fields unless fields.nil?
121
143
  command.query['quotaUser'] = quota_user unless quota_user.nil?
122
144
  execute_or_queue_command(command, &block)
@@ -142,6 +164,16 @@ module Google
142
164
  # parameters provided to `ListLocalInventories` must match the call that
143
165
  # provided the page token. The token returned as nextPageToken in the response
144
166
  # to the previous request.
167
+ # @param [Boolean] product_id_base64_url_encoded
168
+ # Optional. If true, the ``product`` in the `parent` field of the request will
169
+ # be interpreted as unpadded base64url-encoded and decoded during request
170
+ # processing to match the decoded value. Default value is `false`. Use this if
171
+ # your ``product`` contains special characters, such as forward slash `/` or
172
+ # other characters that are unpadded base64url-encoded (as per RFC 7515: https://
173
+ # datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of
174
+ # the API will only accept unpadded base64url-encoded product ids, so we
175
+ # strongly recommend proactively setting this to `true` and encoding the product
176
+ # ids.
145
177
  # @param [String] fields
146
178
  # Selector specifying which fields to include in a partial response.
147
179
  # @param [String] quota_user
@@ -159,13 +191,14 @@ module Google
159
191
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
160
192
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
161
193
  # @raise [Google::Apis::AuthorizationError] Authorization is required
162
- def list_account_product_local_inventories(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
194
+ def list_account_product_local_inventories(parent, page_size: nil, page_token: nil, product_id_base64_url_encoded: nil, fields: nil, quota_user: nil, options: nil, &block)
163
195
  command = make_simple_command(:get, 'inventories/v1beta/{+parent}/localInventories', options)
164
196
  command.response_representation = Google::Apis::MerchantapiInventoriesV1beta::ListLocalInventoriesResponse::Representation
165
197
  command.response_class = Google::Apis::MerchantapiInventoriesV1beta::ListLocalInventoriesResponse
166
198
  command.params['parent'] = parent unless parent.nil?
167
199
  command.query['pageSize'] = page_size unless page_size.nil?
168
200
  command.query['pageToken'] = page_token unless page_token.nil?
201
+ command.query['productIdBase64UrlEncoded'] = product_id_base64_url_encoded unless product_id_base64_url_encoded.nil?
169
202
  command.query['fields'] = fields unless fields.nil?
170
203
  command.query['quotaUser'] = quota_user unless quota_user.nil?
171
204
  execute_or_queue_command(command, &block)
@@ -178,6 +211,16 @@ module Google
178
211
  # @param [String] name
179
212
  # Required. The name of the `RegionalInventory` resource to delete. Format: `
180
213
  # accounts/`account`/products/`product`/regionalInventories/`region``
214
+ # @param [Boolean] product_id_base64_url_encoded
215
+ # Optional. If true, the ``product`` in the `name` field of the request will be
216
+ # interpreted as unpadded base64url-encoded and decoded during request
217
+ # processing to match the decoded value. Default value is `false`. Use this if
218
+ # your ``product`` contains special characters, such as forward slash `/` or
219
+ # other characters that are unpadded base64url-encoded (as per RFC 7515: https://
220
+ # datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of
221
+ # the API will only accept unpadded base64url-encoded product ids, so we
222
+ # strongly recommend proactively setting this to `true` and encoding the product
223
+ # ids.
181
224
  # @param [String] fields
182
225
  # Selector specifying which fields to include in a partial response.
183
226
  # @param [String] quota_user
@@ -195,11 +238,12 @@ module Google
195
238
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
196
239
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
197
240
  # @raise [Google::Apis::AuthorizationError] Authorization is required
198
- def delete_account_product_regional_inventory(name, fields: nil, quota_user: nil, options: nil, &block)
241
+ def delete_account_product_regional_inventory(name, product_id_base64_url_encoded: nil, fields: nil, quota_user: nil, options: nil, &block)
199
242
  command = make_simple_command(:delete, 'inventories/v1beta/{+name}', options)
200
243
  command.response_representation = Google::Apis::MerchantapiInventoriesV1beta::Empty::Representation
201
244
  command.response_class = Google::Apis::MerchantapiInventoriesV1beta::Empty
202
245
  command.params['name'] = name unless name.nil?
246
+ command.query['productIdBase64UrlEncoded'] = product_id_base64_url_encoded unless product_id_base64_url_encoded.nil?
203
247
  command.query['fields'] = fields unless fields.nil?
204
248
  command.query['quotaUser'] = quota_user unless quota_user.nil?
205
249
  execute_or_queue_command(command, &block)
@@ -213,6 +257,16 @@ module Google
213
257
  # Required. The account and product where this inventory will be inserted.
214
258
  # Format: `accounts/`account`/products/`product``
215
259
  # @param [Google::Apis::MerchantapiInventoriesV1beta::RegionalInventory] regional_inventory_object
260
+ # @param [Boolean] product_id_base64_url_encoded
261
+ # Optional. If true, the ``product`` in the `parent` field of the request will
262
+ # be interpreted as unpadded base64url-encoded and decoded during request
263
+ # processing to match the decoded value. Default value is `false`. Use this if
264
+ # your ``product`` contains special characters, such as forward slash `/` or
265
+ # other characters that are unpadded base64url-encoded (as per RFC 7515: https://
266
+ # datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of
267
+ # the API will only accept unpadded base64url-encoded product ids, so we
268
+ # strongly recommend proactively setting this to `true` and encoding the product
269
+ # ids.
216
270
  # @param [String] fields
217
271
  # Selector specifying which fields to include in a partial response.
218
272
  # @param [String] quota_user
@@ -230,13 +284,14 @@ module Google
230
284
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
231
285
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
232
286
  # @raise [Google::Apis::AuthorizationError] Authorization is required
233
- def insert_account_product_regional_inventory(parent, regional_inventory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
287
+ def insert_account_product_regional_inventory(parent, regional_inventory_object = nil, product_id_base64_url_encoded: nil, fields: nil, quota_user: nil, options: nil, &block)
234
288
  command = make_simple_command(:post, 'inventories/v1beta/{+parent}/regionalInventories:insert', options)
235
289
  command.request_representation = Google::Apis::MerchantapiInventoriesV1beta::RegionalInventory::Representation
236
290
  command.request_object = regional_inventory_object
237
291
  command.response_representation = Google::Apis::MerchantapiInventoriesV1beta::RegionalInventory::Representation
238
292
  command.response_class = Google::Apis::MerchantapiInventoriesV1beta::RegionalInventory
239
293
  command.params['parent'] = parent unless parent.nil?
294
+ command.query['productIdBase64UrlEncoded'] = product_id_base64_url_encoded unless product_id_base64_url_encoded.nil?
240
295
  command.query['fields'] = fields unless fields.nil?
241
296
  command.query['quotaUser'] = quota_user unless quota_user.nil?
242
297
  execute_or_queue_command(command, &block)
@@ -262,6 +317,16 @@ module Google
262
317
  # parameters provided to `ListRegionalInventories` must match the call that
263
318
  # provided the page token. The token returned as nextPageToken in the response
264
319
  # to the previous request.
320
+ # @param [Boolean] product_id_base64_url_encoded
321
+ # Optional. If true, the ``product`` in the `parent` field of the request will
322
+ # be interpreted as unpadded base64url-encoded and decoded during request
323
+ # processing to match the decoded value. Default value is `false`. Use this if
324
+ # your ``product`` contains special characters, such as forward slash `/` or
325
+ # other characters that are unpadded base64url-encoded (as per RFC 7515: https://
326
+ # datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of
327
+ # the API will only accept unpadded base64url-encoded product ids, so we
328
+ # strongly recommend proactively setting this to `true` and encoding the product
329
+ # ids.
265
330
  # @param [String] fields
266
331
  # Selector specifying which fields to include in a partial response.
267
332
  # @param [String] quota_user
@@ -279,13 +344,14 @@ module Google
279
344
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
280
345
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
281
346
  # @raise [Google::Apis::AuthorizationError] Authorization is required
282
- def list_account_product_regional_inventories(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
347
+ def list_account_product_regional_inventories(parent, page_size: nil, page_token: nil, product_id_base64_url_encoded: nil, fields: nil, quota_user: nil, options: nil, &block)
283
348
  command = make_simple_command(:get, 'inventories/v1beta/{+parent}/regionalInventories', options)
284
349
  command.response_representation = Google::Apis::MerchantapiInventoriesV1beta::ListRegionalInventoriesResponse::Representation
285
350
  command.response_class = Google::Apis::MerchantapiInventoriesV1beta::ListRegionalInventoriesResponse
286
351
  command.params['parent'] = parent unless parent.nil?
287
352
  command.query['pageSize'] = page_size unless page_size.nil?
288
353
  command.query['pageToken'] = page_token unless page_token.nil?
354
+ command.query['productIdBase64UrlEncoded'] = product_id_base64_url_encoded unless product_id_base64_url_encoded.nil?
289
355
  command.query['fields'] = fields unless fields.nil?
290
356
  command.query['quotaUser'] = quota_user unless quota_user.nil?
291
357
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-merchantapi_inventories_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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_inventories_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_inventories_v1beta/v0.9.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_inventories_v1beta/v0.10.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_inventories_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: