@@ -58,6 +58,16 @@ def initialize
5858 # @param [String] name
5959 # Required. The name of the local inventory for the given product to delete.
6060 # 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.
6171 # @param [String] fields
6272 # Selector specifying which fields to include in a partial response.
6373 # @param [String] quota_user
@@ -75,11 +85,12 @@ def initialize
7585 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7686 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7787 # @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 )
7989 command = make_simple_command ( :delete , 'inventories/v1beta/{+name}' , options )
8090 command . response_representation = Google ::Apis ::MerchantapiInventoriesV1beta ::Empty ::Representation
8191 command . response_class = Google ::Apis ::MerchantapiInventoriesV1beta ::Empty
8292 command . params [ 'name' ] = name unless name . nil?
93+ command . query [ 'productIdBase64UrlEncoded' ] = product_id_base64_url_encoded unless product_id_base64_url_encoded . nil?
8394 command . query [ 'fields' ] = fields unless fields . nil?
8495 command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
8596 execute_or_queue_command ( command , &block )
@@ -93,6 +104,16 @@ def delete_account_product_local_inventory(name, fields: nil, quota_user: nil, o
93104 # Required. The account and product where this inventory will be inserted.
94105 # Format: `accounts/`account`/products/`product``
95106 # @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.
96117 # @param [String] fields
97118 # Selector specifying which fields to include in a partial response.
98119 # @param [String] quota_user
@@ -110,13 +131,14 @@ def delete_account_product_local_inventory(name, fields: nil, quota_user: nil, o
110131 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
111132 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
112133 # @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 )
114135 command = make_simple_command ( :post , 'inventories/v1beta/{+parent}/localInventories:insert' , options )
115136 command . request_representation = Google ::Apis ::MerchantapiInventoriesV1beta ::LocalInventory ::Representation
116137 command . request_object = local_inventory_object
117138 command . response_representation = Google ::Apis ::MerchantapiInventoriesV1beta ::LocalInventory ::Representation
118139 command . response_class = Google ::Apis ::MerchantapiInventoriesV1beta ::LocalInventory
119140 command . params [ 'parent' ] = parent unless parent . nil?
141+ command . query [ 'productIdBase64UrlEncoded' ] = product_id_base64_url_encoded unless product_id_base64_url_encoded . nil?
120142 command . query [ 'fields' ] = fields unless fields . nil?
121143 command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
122144 execute_or_queue_command ( command , &block )
@@ -142,6 +164,16 @@ def insert_account_product_local_inventory(parent, local_inventory_object = nil,
142164 # parameters provided to `ListLocalInventories` must match the call that
143165 # provided the page token. The token returned as nextPageToken in the response
144166 # 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.
145177 # @param [String] fields
146178 # Selector specifying which fields to include in a partial response.
147179 # @param [String] quota_user
@@ -159,13 +191,14 @@ def insert_account_product_local_inventory(parent, local_inventory_object = nil,
159191 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
160192 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
161193 # @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 )
163195 command = make_simple_command ( :get , 'inventories/v1beta/{+parent}/localInventories' , options )
164196 command . response_representation = Google ::Apis ::MerchantapiInventoriesV1beta ::ListLocalInventoriesResponse ::Representation
165197 command . response_class = Google ::Apis ::MerchantapiInventoriesV1beta ::ListLocalInventoriesResponse
166198 command . params [ 'parent' ] = parent unless parent . nil?
167199 command . query [ 'pageSize' ] = page_size unless page_size . nil?
168200 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?
169202 command . query [ 'fields' ] = fields unless fields . nil?
170203 command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
171204 execute_or_queue_command ( command , &block )
@@ -178,6 +211,16 @@ def list_account_product_local_inventories(parent, page_size: nil, page_token: n
178211 # @param [String] name
179212 # Required. The name of the `RegionalInventory` resource to delete. Format: `
180213 # 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.
181224 # @param [String] fields
182225 # Selector specifying which fields to include in a partial response.
183226 # @param [String] quota_user
@@ -195,11 +238,12 @@ def list_account_product_local_inventories(parent, page_size: nil, page_token: n
195238 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
196239 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
197240 # @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 )
199242 command = make_simple_command ( :delete , 'inventories/v1beta/{+name}' , options )
200243 command . response_representation = Google ::Apis ::MerchantapiInventoriesV1beta ::Empty ::Representation
201244 command . response_class = Google ::Apis ::MerchantapiInventoriesV1beta ::Empty
202245 command . params [ 'name' ] = name unless name . nil?
246+ command . query [ 'productIdBase64UrlEncoded' ] = product_id_base64_url_encoded unless product_id_base64_url_encoded . nil?
203247 command . query [ 'fields' ] = fields unless fields . nil?
204248 command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
205249 execute_or_queue_command ( command , &block )
@@ -213,6 +257,16 @@ def delete_account_product_regional_inventory(name, fields: nil, quota_user: nil
213257 # Required. The account and product where this inventory will be inserted.
214258 # Format: `accounts/`account`/products/`product``
215259 # @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.
216270 # @param [String] fields
217271 # Selector specifying which fields to include in a partial response.
218272 # @param [String] quota_user
@@ -230,13 +284,14 @@ def delete_account_product_regional_inventory(name, fields: nil, quota_user: nil
230284 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
231285 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
232286 # @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 )
234288 command = make_simple_command ( :post , 'inventories/v1beta/{+parent}/regionalInventories:insert' , options )
235289 command . request_representation = Google ::Apis ::MerchantapiInventoriesV1beta ::RegionalInventory ::Representation
236290 command . request_object = regional_inventory_object
237291 command . response_representation = Google ::Apis ::MerchantapiInventoriesV1beta ::RegionalInventory ::Representation
238292 command . response_class = Google ::Apis ::MerchantapiInventoriesV1beta ::RegionalInventory
239293 command . params [ 'parent' ] = parent unless parent . nil?
294+ command . query [ 'productIdBase64UrlEncoded' ] = product_id_base64_url_encoded unless product_id_base64_url_encoded . nil?
240295 command . query [ 'fields' ] = fields unless fields . nil?
241296 command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
242297 execute_or_queue_command ( command , &block )
@@ -262,6 +317,16 @@ def insert_account_product_regional_inventory(parent, regional_inventory_object
262317 # parameters provided to `ListRegionalInventories` must match the call that
263318 # provided the page token. The token returned as nextPageToken in the response
264319 # 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.
265330 # @param [String] fields
266331 # Selector specifying which fields to include in a partial response.
267332 # @param [String] quota_user
@@ -279,13 +344,14 @@ def insert_account_product_regional_inventory(parent, regional_inventory_object
279344 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
280345 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
281346 # @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 )
283348 command = make_simple_command ( :get , 'inventories/v1beta/{+parent}/regionalInventories' , options )
284349 command . response_representation = Google ::Apis ::MerchantapiInventoriesV1beta ::ListRegionalInventoriesResponse ::Representation
285350 command . response_class = Google ::Apis ::MerchantapiInventoriesV1beta ::ListRegionalInventoriesResponse
286351 command . params [ 'parent' ] = parent unless parent . nil?
287352 command . query [ 'pageSize' ] = page_size unless page_size . nil?
288353 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?
289355 command . query [ 'fields' ] = fields unless fields . nil?
290356 command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
291357 execute_or_queue_command ( command , &block )
0 commit comments