Skip to content

Commit 2c0d8e5

Browse files
feat: Automated regeneration of merchantapi products_v1beta client (googleapis#23575)
Auto-created at 2025-06-29 10:28:58 +0000 using the toys pull request generator.
1 parent b8406e0 commit 2c0d8e5

File tree

8 files changed

+22
-8
lines changed

8 files changed

+22
-8
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278219,6 +278219,7 @@
278219278219
"/merchantapi:products_v1beta/Attributes/material": material
278220278220
"/merchantapi:products_v1beta/Attributes/maxEnergyEfficiencyClass": max_energy_efficiency_class
278221278221
"/merchantapi:products_v1beta/Attributes/maxHandlingTime": max_handling_time
278222+
"/merchantapi:products_v1beta/Attributes/maximumRetailPrice": maximum_retail_price
278222278223
"/merchantapi:products_v1beta/Attributes/minEnergyEfficiencyClass": min_energy_efficiency_class
278223278224
"/merchantapi:products_v1beta/Attributes/minHandlingTime": min_handling_time
278224278225
"/merchantapi:products_v1beta/Attributes/mobileLink": mobile_link

generated/google-apis-merchantapi_products_v1beta/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-merchantapi_products_v1beta
22

3+
### v0.15.0 (2025-06-29)
4+
5+
* Regenerated from discovery document revision 20250621
6+
37
### v0.14.0 (2025-06-22)
48

59
* Regenerated from discovery document revision 20250618

generated/google-apis-merchantapi_products_v1beta/OVERVIEW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
7979

8080
**For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
8181

82-
The [product documentation](https://developers.devsite.corp.google.com/merchant/api) may provide guidance regarding the preferred client library to use.
82+
The [product documentation](https://developers.google.com/merchant/api) may provide guidance regarding the preferred client library to use.
8383

8484
## Supported Ruby versions
8585

generated/google-apis-merchantapi_products_v1beta/lib/google/apis/merchantapi_products_v1beta.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module Apis
2323
#
2424
# Programmatically manage your Merchant Center Accounts.
2525
#
26-
# @see https://developers.devsite.corp.google.com/merchant/api
26+
# @see https://developers.google.com/merchant/api
2727
module MerchantapiProductsV1beta
2828
# Version of the Merchant API this client connects to.
2929
# This is NOT the gem version.

generated/google-apis-merchantapi_products_v1beta/lib/google/apis/merchantapi_products_v1beta/classes.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,11 @@ class Attributes
330330
# @return [Fixnum]
331331
attr_accessor :max_handling_time
332332

333+
# The price represented as a number and currency.
334+
# Corresponds to the JSON property `maximumRetailPrice`
335+
# @return [Google::Apis::MerchantapiProductsV1beta::Price]
336+
attr_accessor :maximum_retail_price
337+
333338
# The energy efficiency class as defined in EU directive 2010/30/EU.
334339
# Corresponds to the JSON property `minEnergyEfficiencyClass`
335340
# @return [String]
@@ -627,6 +632,7 @@ def update!(**args)
627632
@material = args[:material] if args.key?(:material)
628633
@max_energy_efficiency_class = args[:max_energy_efficiency_class] if args.key?(:max_energy_efficiency_class)
629634
@max_handling_time = args[:max_handling_time] if args.key?(:max_handling_time)
635+
@maximum_retail_price = args[:maximum_retail_price] if args.key?(:maximum_retail_price)
630636
@min_energy_efficiency_class = args[:min_energy_efficiency_class] if args.key?(:min_energy_efficiency_class)
631637
@min_handling_time = args[:min_handling_time] if args.key?(:min_handling_time)
632638
@mobile_link = args[:mobile_link] if args.key?(:mobile_link)

generated/google-apis-merchantapi_products_v1beta/lib/google/apis/merchantapi_products_v1beta/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module MerchantapiProductsV1beta
1818
# Version of the google-apis-merchantapi_products_v1beta gem
19-
GEM_VERSION = "0.14.0"
19+
GEM_VERSION = "0.15.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250618"
25+
REVISION = "20250621"
2626
end
2727
end
2828
end

generated/google-apis-merchantapi_products_v1beta/lib/google/apis/merchantapi_products_v1beta/representations.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
281281
property :material, as: 'material'
282282
property :max_energy_efficiency_class, as: 'maxEnergyEfficiencyClass'
283283
property :max_handling_time, :numeric_string => true, as: 'maxHandlingTime'
284+
property :maximum_retail_price, as: 'maximumRetailPrice', class: Google::Apis::MerchantapiProductsV1beta::Price, decorator: Google::Apis::MerchantapiProductsV1beta::Price::Representation
285+
284286
property :min_energy_efficiency_class, as: 'minEnergyEfficiencyClass'
285287
property :min_handling_time, :numeric_string => true, as: 'minHandlingTime'
286288
property :mobile_link, as: 'mobileLink'

generated/google-apis-merchantapi_products_v1beta/lib/google/apis/merchantapi_products_v1beta/service.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module MerchantapiProductsV1beta
3030
# Merchantapi = Google::Apis::MerchantapiProductsV1beta # Alias the module
3131
# service = Merchantapi::MerchantService.new
3232
#
33-
# @see https://developers.devsite.corp.google.com/merchant/api
33+
# @see https://developers.google.com/merchant/api
3434
class MerchantService < Google::Apis::Core::BaseService
3535
DEFAULT_ENDPOINT_TEMPLATE = "https://merchantapi.$UNIVERSE_DOMAIN$/"
3636

@@ -105,9 +105,10 @@ def delete_account_product_input(name, data_source: nil, fields: nil, quota_user
105105
# @param [String] data_source
106106
# Required. The primary or supplemental product data source name. If the product
107107
# already exists and data source provided is different, then the product will be
108-
# moved to a new data source. Only API data sources are supported. Format: `
109-
# accounts/`account`/dataSources/`datasource``. For example, `accounts/123456/
110-
# dataSources/104628`.
108+
# moved to a new data source. For more information, see [Overview of Data
109+
# sources sub-API](/merchant/api/guides/data-sources/overview). Only API data
110+
# sources are supported. Format: `accounts/`account`/dataSources/`datasource``.
111+
# For example, `accounts/123456/dataSources/104628`.
111112
# @param [String] fields
112113
# Selector specifying which fields to include in a partial response.
113114
# @param [String] quota_user

0 commit comments

Comments
 (0)