Skip to content

Commit

Permalink
feat(multi): Support for universe_domain (#24268)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] authored Jan 12, 2024
1 parent b314dd7 commit 350f05b
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 18 deletions.
4 changes: 2 additions & 2 deletions google-cloud-talent/google-cloud-talent.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Gem::Specification.new do |gem|
gem.required_ruby_version = ">= 2.6"

gem.add_dependency "google-cloud-core", "~> 1.6"
gem.add_dependency "google-cloud-talent-v4", ">= 0.9", "< 2.a"
gem.add_dependency "google-cloud-talent-v4beta1", ">= 0.7", "< 2.a"
gem.add_dependency "google-cloud-talent-v4", ">= 0.12", "< 2.a"
gem.add_dependency "google-cloud-talent-v4beta1", ">= 0.10", "< 2.a"

gem.add_development_dependency "google-style", "~> 1.26.1"
gem.add_development_dependency "minitest", "~> 5.16"
Expand Down
3 changes: 2 additions & 1 deletion google-cloud-talent/lib/google/cloud/talent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

# Set the default configuration
::Google::Cloud.configure.add_config! :talent do |config|
config.add_field! :endpoint, "jobs.googleapis.com", match: ::String
config.add_field! :endpoint, nil, match: ::String
config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
config.add_field! :scope, nil, match: [::Array, ::String]
config.add_field! :lib_name, nil, match: ::String
Expand All @@ -39,6 +39,7 @@
config.add_field! :metadata, nil, match: ::Hash
config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
config.add_field! :quota_project, nil, match: ::String
config.add_field! :universe_domain, nil, match: ::String
end

module Google
Expand Down
6 changes: 3 additions & 3 deletions google-cloud-tasks/google-cloud-tasks.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ Gem::Specification.new do |gem|
gem.required_ruby_version = ">= 2.6"

gem.add_dependency "google-cloud-core", "~> 1.6"
gem.add_dependency "google-cloud-tasks-v2", ">= 0.7", "< 2.a"
gem.add_dependency "google-cloud-tasks-v2beta2", ">= 0.8", "< 2.a"
gem.add_dependency "google-cloud-tasks-v2beta3", ">= 0.9", "< 2.a"
gem.add_dependency "google-cloud-tasks-v2", ">= 0.10", "< 2.a"
gem.add_dependency "google-cloud-tasks-v2beta2", ">= 0.11", "< 2.a"
gem.add_dependency "google-cloud-tasks-v2beta3", ">= 0.12", "< 2.a"

gem.add_development_dependency "google-style", "~> 1.26.1"
gem.add_development_dependency "minitest", "~> 5.16"
Expand Down
3 changes: 2 additions & 1 deletion google-cloud-tasks/lib/google/cloud/tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

# Set the default configuration
::Google::Cloud.configure.add_config! :tasks do |config|
config.add_field! :endpoint, "cloudtasks.googleapis.com", match: ::String
config.add_field! :endpoint, nil, match: ::String
config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
config.add_field! :scope, nil, match: [::Array, ::String]
config.add_field! :lib_name, nil, match: ::String
Expand All @@ -39,6 +39,7 @@
config.add_field! :metadata, nil, match: ::Hash
config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
config.add_field! :quota_project, nil, match: ::String
config.add_field! :universe_domain, nil, match: ::String
end

module Google
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |gem|
gem.required_ruby_version = ">= 2.6"

gem.add_dependency "google-cloud-core", "~> 1.6"
gem.add_dependency "google-cloud-telco_automation-v1", ">= 0.0", "< 2.a"
gem.add_dependency "google-cloud-telco_automation-v1", ">= 0.2", "< 2.a"

gem.add_development_dependency "google-style", "~> 1.26.1"
gem.add_development_dependency "minitest", "~> 5.16"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

# Set the default configuration
::Google::Cloud.configure.add_config! :telco_automation do |config|
config.add_field! :endpoint, "telcoautomation.googleapis.com", match: ::String
config.add_field! :endpoint, nil, match: ::String
config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
config.add_field! :scope, nil, match: [::Array, ::String]
config.add_field! :lib_name, nil, match: ::String
Expand All @@ -39,6 +39,7 @@
config.add_field! :metadata, nil, match: ::Hash
config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
config.add_field! :quota_project, nil, match: ::String
config.add_field! :universe_domain, nil, match: ::String
end

module Google
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Gem::Specification.new do |gem|
gem.required_ruby_version = ">= 2.6"

gem.add_dependency "google-cloud-core", "~> 1.6"
gem.add_dependency "google-cloud-text_to_speech-v1", ">= 0.9", "< 2.a"
gem.add_dependency "google-cloud-text_to_speech-v1beta1", ">= 0.10", "< 2.a"
gem.add_dependency "google-cloud-text_to_speech-v1", ">= 0.12", "< 2.a"
gem.add_dependency "google-cloud-text_to_speech-v1beta1", ">= 0.13", "< 2.a"

gem.add_development_dependency "google-style", "~> 1.26.1"
gem.add_development_dependency "minitest", "~> 5.16"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

# Set the default configuration
::Google::Cloud.configure.add_config! :text_to_speech do |config|
config.add_field! :endpoint, "texttospeech.googleapis.com", match: ::String
config.add_field! :endpoint, nil, match: ::String
config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
config.add_field! :scope, nil, match: [::Array, ::String]
config.add_field! :lib_name, nil, match: ::String
Expand All @@ -39,6 +39,7 @@
config.add_field! :metadata, nil, match: ::Hash
config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
config.add_field! :quota_project, nil, match: ::String
config.add_field! :universe_domain, nil, match: ::String
end

module Google
Expand Down
2 changes: 1 addition & 1 deletion google-cloud-tpu/google-cloud-tpu.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |gem|
gem.required_ruby_version = ">= 2.6"

gem.add_dependency "google-cloud-core", "~> 1.6"
gem.add_dependency "google-cloud-tpu-v1", ">= 0.0", "< 2.a"
gem.add_dependency "google-cloud-tpu-v1", ">= 0.6", "< 2.a"

gem.add_development_dependency "google-style", "~> 1.26.1"
gem.add_development_dependency "minitest", "~> 5.16"
Expand Down
3 changes: 2 additions & 1 deletion google-cloud-tpu/lib/google/cloud/tpu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

# Set the default configuration
::Google::Cloud.configure.add_config! :tpu do |config|
config.add_field! :endpoint, "tpu.googleapis.com", match: ::String
config.add_field! :endpoint, nil, match: ::String
config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
config.add_field! :scope, nil, match: [::Array, ::String]
config.add_field! :lib_name, nil, match: ::String
Expand All @@ -39,6 +39,7 @@
config.add_field! :metadata, nil, match: ::Hash
config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
config.add_field! :quota_project, nil, match: ::String
config.add_field! :universe_domain, nil, match: ::String
end

module Google
Expand Down
2 changes: 1 addition & 1 deletion google-cloud-translate/google-cloud-translate.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Gem::Specification.new do |gem|

gem.add_dependency "google-cloud-core", "~> 1.6"
gem.add_dependency "google-cloud-translate-v2", ">= 0.0", "< 2.a"
gem.add_dependency "google-cloud-translate-v3", ">= 0.6", "< 2.a"
gem.add_dependency "google-cloud-translate-v3", ">= 0.11", "< 2.a"

gem.add_development_dependency "google-style", "~> 1.26.1"
gem.add_development_dependency "minitest", "~> 5.16"
Expand Down
3 changes: 2 additions & 1 deletion google-cloud-translate/lib/google/cloud/translate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

# Set the default configuration
::Google::Cloud.configure.add_config! :translate do |config|
config.add_field! :endpoint, "translate.googleapis.com", match: ::String
config.add_field! :endpoint, nil, match: ::String
config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
config.add_field! :scope, nil, match: [::Array, ::String]
config.add_field! :lib_name, nil, match: ::String
Expand All @@ -39,6 +39,7 @@
config.add_field! :metadata, nil, match: ::Hash
config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
config.add_field! :quota_project, nil, match: ::String
config.add_field! :universe_domain, nil, match: ::String
end

module Google
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |gem|
gem.required_ruby_version = ">= 2.6"

gem.add_dependency "google-cloud-core", "~> 1.6"
gem.add_dependency "google-cloud-video-live_stream-v1", ">= 0.3", "< 2.a"
gem.add_dependency "google-cloud-video-live_stream-v1", ">= 0.8", "< 2.a"

gem.add_development_dependency "google-style", "~> 1.26.1"
gem.add_development_dependency "minitest", "~> 5.16"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

# Set the default configuration
::Google::Cloud.configure.add_config! :video_live_stream do |config|
config.add_field! :endpoint, "livestream.googleapis.com", match: ::String
config.add_field! :endpoint, nil, match: ::String
config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
config.add_field! :scope, nil, match: [::Array, ::String]
config.add_field! :lib_name, nil, match: ::String
Expand All @@ -39,6 +39,7 @@
config.add_field! :metadata, nil, match: ::Hash
config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
config.add_field! :quota_project, nil, match: ::String
config.add_field! :universe_domain, nil, match: ::String
end

module Google
Expand Down

0 comments on commit 350f05b

Please sign in to comment.