lib/google/cloud/talent.rb in google-cloud-talent-1.3.0 vs lib/google/cloud/talent.rb in google-cloud-talent-1.4.0
- old
+ new
@@ -27,30 +27,31 @@
require "google/cloud" unless defined? ::Google::Cloud.new
require "google/cloud/config"
# 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
config.add_field! :lib_version, nil, match: ::String
config.add_field! :interceptors, nil, match: ::Array
config.add_field! :timeout, nil, match: ::Numeric
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
module Cloud
module Talent
##
# Create a new client object for CompanyService.
#
# By default, this returns an instance of
- # [Google::Cloud::Talent::V4::CompanyService::Client](https://googleapis.dev/ruby/google-cloud-talent-v4/latest/Google/Cloud/Talent/V4/CompanyService/Client.html)
+ # [Google::Cloud::Talent::V4::CompanyService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompanyService-Client)
# for a gRPC client for version V4 of the API.
# However, you can specify a different API version by passing it in the
# `version` parameter. If the CompanyService service is
# supported by that API version, and the corresponding gem is available, the
# appropriate versioned client will be returned.
@@ -80,11 +81,11 @@
##
# Create a new client object for Completion.
#
# By default, this returns an instance of
- # [Google::Cloud::Talent::V4::Completion::Client](https://googleapis.dev/ruby/google-cloud-talent-v4/latest/Google/Cloud/Talent/V4/Completion/Client.html)
+ # [Google::Cloud::Talent::V4::Completion::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-Completion-Client)
# for a gRPC client for version V4 of the API.
# However, you can specify a different API version by passing it in the
# `version` parameter. If the Completion service is
# supported by that API version, and the corresponding gem is available, the
# appropriate versioned client will be returned.
@@ -114,11 +115,11 @@
##
# Create a new client object for EventService.
#
# By default, this returns an instance of
- # [Google::Cloud::Talent::V4::EventService::Client](https://googleapis.dev/ruby/google-cloud-talent-v4/latest/Google/Cloud/Talent/V4/EventService/Client.html)
+ # [Google::Cloud::Talent::V4::EventService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-EventService-Client)
# for a gRPC client for version V4 of the API.
# However, you can specify a different API version by passing it in the
# `version` parameter. If the EventService service is
# supported by that API version, and the corresponding gem is available, the
# appropriate versioned client will be returned.
@@ -148,11 +149,11 @@
##
# Create a new client object for JobService.
#
# By default, this returns an instance of
- # [Google::Cloud::Talent::V4::JobService::Client](https://googleapis.dev/ruby/google-cloud-talent-v4/latest/Google/Cloud/Talent/V4/JobService/Client.html)
+ # [Google::Cloud::Talent::V4::JobService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-JobService-Client)
# for a gRPC client for version V4 of the API.
# However, you can specify a different API version by passing it in the
# `version` parameter. If the JobService service is
# supported by that API version, and the corresponding gem is available, the
# appropriate versioned client will be returned.
@@ -182,10 +183,10 @@
##
# Create a new client object for TenantService.
#
# By default, this returns an instance of
- # [Google::Cloud::Talent::V4::TenantService::Client](https://googleapis.dev/ruby/google-cloud-talent-v4/latest/Google/Cloud/Talent/V4/TenantService/Client.html)
+ # [Google::Cloud::Talent::V4::TenantService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-TenantService-Client)
# for a gRPC client for version V4 of the API.
# However, you can specify a different API version by passing it in the
# `version` parameter. If the TenantService service is
# supported by that API version, and the corresponding gem is available, the
# appropriate versioned client will be returned.