Skip to content

Commit 3fbb38d

Browse files
feat: Automated regeneration of translate v3beta1 client (googleapis#22698)
Auto-created at 2025-05-04 09:56:03 +0000 using the toys pull request generator.
1 parent b9b8400 commit 3fbb38d

File tree

6 files changed

+16
-6
lines changed

6 files changed

+16
-6
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350619,6 +350619,7 @@
350619350619
"/translate:v3beta1/translate.projects.locations.glossaries.list/pageToken": page_token
350620350620
"/translate:v3beta1/translate.projects.locations.glossaries.list/parent": parent
350621350621
"/translate:v3beta1/translate.projects.locations.list": list_project_locations
350622+
"/translate:v3beta1/translate.projects.locations.list/extraLocationTypes": extra_location_types
350622350623
"/translate:v3beta1/translate.projects.locations.list/filter": filter
350623350624
"/translate:v3beta1/translate.projects.locations.list/name": name
350624350625
"/translate:v3beta1/translate.projects.locations.list/pageSize": page_size

generated/google-apis-translate_v3beta1/CHANGELOG.md

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

3+
### v0.35.0 (2025-05-04)
4+
5+
* Regenerated from discovery document revision 20250424
6+
* Regenerated using generator version 0.17.0
7+
38
### v0.34.0 (2024-12-22)
49

510
* Regenerated from discovery document revision 20241218

generated/google-apis-translate_v3beta1/OVERVIEW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/translate/docs/quickstarts)
8383

8484
## Supported Ruby versions
8585

86-
This library is supported on Ruby 2.7+.
86+
This library is supported on Ruby 3.1+.
8787

8888
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
8989

generated/google-apis-translate_v3beta1/google-apis-translate_v3beta1.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ Gem::Specification.new do |gem|
2828
gem.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md") + [".yardopts"]
2929
gem.require_paths = ["lib"]
3030

31-
gem.required_ruby_version = '>= 2.7'
31+
gem.required_ruby_version = '>= 3.1'
3232
gem.add_runtime_dependency "google-apis-core", ">= 0.15.0", "< 2.a"
3333
end

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module TranslateV3beta1
1818
# Version of the google-apis-translate_v3beta1 gem
19-
GEM_VERSION = "0.34.0"
19+
GEM_VERSION = "0.35.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.1"
22+
GENERATOR_VERSION = "0.17.0"
2323

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

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,9 @@ def get_project_location_supported_languages(parent, display_language_code: nil,
381381
# Lists information about the supported locations for this service.
382382
# @param [String] name
383383
# The resource that owns the locations collection, if applicable.
384+
# @param [Array<String>, String] extra_location_types
385+
# Optional. A list of extra location types that should be used as conditions for
386+
# controlling the visibility of the locations.
384387
# @param [String] filter
385388
# A filter to narrow down results to a preferred subset. The filtering language
386389
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -408,11 +411,12 @@ def get_project_location_supported_languages(parent, display_language_code: nil,
408411
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
409412
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
410413
# @raise [Google::Apis::AuthorizationError] Authorization is required
411-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
414+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
412415
command = make_simple_command(:get, 'v3beta1/{+name}/locations', options)
413416
command.response_representation = Google::Apis::TranslateV3beta1::ListLocationsResponse::Representation
414417
command.response_class = Google::Apis::TranslateV3beta1::ListLocationsResponse
415418
command.params['name'] = name unless name.nil?
419+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
416420
command.query['filter'] = filter unless filter.nil?
417421
command.query['pageSize'] = page_size unless page_size.nil?
418422
command.query['pageToken'] = page_token unless page_token.nil?

0 commit comments

Comments
 (0)