lib/google/cloud/dataplex/v1/dataplex_service/operations.rb in google-cloud-dataplex-v1-0.8.0 vs lib/google/cloud/dataplex/v1/dataplex_service/operations.rb in google-cloud-dataplex-v1-0.9.0
- old
+ new
@@ -662,10 +662,12 @@
# @return [::String]
#
class Configuration
extend ::Gapic::Config
- config_attr :endpoint, "dataplex.googleapis.com", ::String
+ DEFAULT_ENDPOINT = "dataplex.googleapis.com"
+
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
config_attr :credentials, nil do |value|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
allowed.any? { |klass| klass === value }
end