Skip to content

Commit

Permalink
feat: Automated regeneration of retail v2beta client (#18978)
Browse files Browse the repository at this point in the history
Auto-created at 2024-05-12 09:10:18 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot committed May 12, 2024
1 parent f7abf52 commit 6b43fe0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -271174,6 +271174,7 @@
"/retail:v2beta/retail.projects.locations.catalogs.completeQuery/catalog": catalog
"/retail:v2beta/retail.projects.locations.catalogs.completeQuery/dataset": dataset
"/retail:v2beta/retail.projects.locations.catalogs.completeQuery/deviceType": device_type
"/retail:v2beta/retail.projects.locations.catalogs.completeQuery/enableAttributeSuggestions": enable_attribute_suggestions
"/retail:v2beta/retail.projects.locations.catalogs.completeQuery/entity": entity
"/retail:v2beta/retail.projects.locations.catalogs.completeQuery/languageCodes": language_codes
"/retail:v2beta/retail.projects.locations.catalogs.completeQuery/maxSuggestions": max_suggestions
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-retail_v2beta/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-retail_v2beta

### v0.97.0 (2024-05-12)

* Regenerated from discovery document revision 20240502

### v0.96.0 (2024-04-21)

* Regenerated from discovery document revision 20240411
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module RetailV2beta
# Version of the google-apis-retail_v2beta gem
GEM_VERSION = "0.96.0"
GEM_VERSION = "0.97.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.14.0"

# Revision of the discovery document this client was generated from
REVISION = "20240411"
REVISION = "20240502"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ def initialize
# types, e.g. `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across
# all device types. Supported formats: * `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `
# MOBILE` * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
# @param [Boolean] enable_attribute_suggestions
# If true, attribute suggestions are enabled and provided in response. This
# field is only available for "cloud-retail" dataset.
# @param [String] entity
# The entity for customers who run multiple entities, domains, sites, or regions,
# for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`,
Expand Down Expand Up @@ -118,13 +121,14 @@ def initialize
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def complete_project_location_catalog_query(catalog, dataset: nil, device_type: nil, entity: nil, language_codes: nil, max_suggestions: nil, query: nil, visitor_id: nil, fields: nil, quota_user: nil, options: nil, &block)
def complete_project_location_catalog_query(catalog, dataset: nil, device_type: nil, enable_attribute_suggestions: nil, entity: nil, language_codes: nil, max_suggestions: nil, query: nil, visitor_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta/{+catalog}:completeQuery', options)
command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompleteQueryResponse::Representation
command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompleteQueryResponse
command.params['catalog'] = catalog unless catalog.nil?
command.query['dataset'] = dataset unless dataset.nil?
command.query['deviceType'] = device_type unless device_type.nil?
command.query['enableAttributeSuggestions'] = enable_attribute_suggestions unless enable_attribute_suggestions.nil?
command.query['entity'] = entity unless entity.nil?
command.query['languageCodes'] = language_codes unless language_codes.nil?
command.query['maxSuggestions'] = max_suggestions unless max_suggestions.nil?
Expand Down

0 comments on commit 6b43fe0

Please sign in to comment.