Skip to content

Commit 3f993f2

Browse files
feat: a new field base64_encoded_name is added to the Product message (#33819)
* feat: a new field `base64_encoded_name` is added to the `Product` message feat: new fields - `base64_encoded_name` and `base64_encoded_product` added to the `ProductInput` message docs: A comment for field `name` in message `.google.shopping.merchant.products.v1.ProductInput` is changed docs: A comment for field `name` in message `.google.shopping.merchant.products.v1.Product` is changed PiperOrigin-RevId: 896968813 Source-Link: googleapis/googleapis@2aba484 Source-Link: googleapis/googleapis-gen@820077f Copy-Tag: eyJwIjoiZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LXByb2R1Y3RzLXYxLy5Pd2xCb3QueWFtbCIsImgiOiI4MjAwNzdmOGY5ZDdkZGUwZGEyYzA3MTk3MjA2OGVlOWM1NzQyMWE4In0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 476057e commit 3f993f2

File tree

10 files changed

+67
-42
lines changed

10 files changed

+67
-42
lines changed

google-shopping-merchant-products-v1/lib/google/shopping/merchant/products/v1/product_inputs_service/client.rb

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -457,10 +457,10 @@ def update_product_input request, options = nil
457457
# MUST be used if any part of the product identifier (like `offer_id`)
458458
# contains characters such as `/`, `%`, or `~`.
459459
# * Example: To represent the product ID `en~US~sku/123`, the
460-
# `{productInput}` segment must be the base64url encoding of this
461-
# string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name
460+
# `{productInput}` segment must be the unpadded base64url encoding of
461+
# this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name
462462
# for the product would be
463-
# `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`.
463+
# `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`.
464464
#
465465
# 2. **Plain Format**: The `{productInput}` segment is the tilde-separated
466466
# string
@@ -472,10 +472,6 @@ def update_product_input request, options = nil
472472
# correct parsing, especially those containing special characters. The
473473
# presence of tilde (`~`) characters in the `{productInput}` segment is used
474474
# to differentiate between the two formats.
475-
#
476-
# Note: For calls to the v1beta version, the plain format is
477-
# `channel~content_language~feed_label~offer_id`, for example:
478-
# `accounts/123/productinputs/online~en~US~sku123`.
479475
# @param data_source [::String]
480476
# Required. The primary or supplemental data source from which the product
481477
# input should be deleted. Format:

google-shopping-merchant-products-v1/lib/google/shopping/merchant/products/v1/product_inputs_service/rest/client.rb

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -436,10 +436,10 @@ def update_product_input request, options = nil
436436
# MUST be used if any part of the product identifier (like `offer_id`)
437437
# contains characters such as `/`, `%`, or `~`.
438438
# * Example: To represent the product ID `en~US~sku/123`, the
439-
# `{productInput}` segment must be the base64url encoding of this
440-
# string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name
439+
# `{productInput}` segment must be the unpadded base64url encoding of
440+
# this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name
441441
# for the product would be
442-
# `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`.
442+
# `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`.
443443
#
444444
# 2. **Plain Format**: The `{productInput}` segment is the tilde-separated
445445
# string
@@ -451,10 +451,6 @@ def update_product_input request, options = nil
451451
# correct parsing, especially those containing special characters. The
452452
# presence of tilde (`~`) characters in the `{productInput}` segment is used
453453
# to differentiate between the two formats.
454-
#
455-
# Note: For calls to the v1beta version, the plain format is
456-
# `channel~content_language~feed_label~offer_id`, for example:
457-
# `accounts/123/productinputs/online~en~US~sku123`.
458454
# @param data_source [::String]
459455
# Required. The primary or supplemental data source from which the product
460456
# input should be deleted. Format:

google-shopping-merchant-products-v1/lib/google/shopping/merchant/products/v1/productinputs_pb.rb

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google-shopping-merchant-products-v1/lib/google/shopping/merchant/products/v1/products_common_pb.rb

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google-shopping-merchant-products-v1/lib/google/shopping/merchant/products/v1/products_pb.rb

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google-shopping-merchant-products-v1/lib/google/shopping/merchant/products/v1/products_service/client.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,10 @@ def logger
229229
# MUST be used if any part of the product identifier (like `offer_id`)
230230
# contains characters such as `/`, `%`, or `~`.
231231
# * Example: To represent the product ID `en~US~sku/123`, the
232-
# `{product}` segment must be the base64url encoding of this
233-
# string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name
232+
# `{product}` segment must be the unpadded base64url encoding of this
233+
# string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name
234234
# for the product would be
235-
# `accounts/123/products/ZW5-VVMtc2t1LzEyMw`.
235+
# `accounts/123/products/ZW5-VVN-c2t1LzEyMw`.
236236
#
237237
# 2. **Plain Format**: The `{product}` segment is the tilde-separated string
238238
# `content_language~feed_label~offer_id`. This format is suitable only

google-shopping-merchant-products-v1/lib/google/shopping/merchant/products/v1/products_service/rest/client.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,10 @@ def logger
222222
# MUST be used if any part of the product identifier (like `offer_id`)
223223
# contains characters such as `/`, `%`, or `~`.
224224
# * Example: To represent the product ID `en~US~sku/123`, the
225-
# `{product}` segment must be the base64url encoding of this
226-
# string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name
225+
# `{product}` segment must be the unpadded base64url encoding of this
226+
# string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name
227227
# for the product would be
228-
# `accounts/123/products/ZW5-VVMtc2t1LzEyMw`.
228+
# `accounts/123/products/ZW5-VVN-c2t1LzEyMw`.
229229
#
230230
# 2. **Plain Format**: The `{product}` segment is the tilde-separated string
231231
# `content_language~feed_label~offer_id`. This format is suitable only

0 commit comments

Comments
 (0)