lib/google/cloud/vision/v1p3beta1/image_annotator/client.rb in google-cloud-vision-v1p3beta1-0.2.4 vs lib/google/cloud/vision/v1p3beta1/image_annotator/client.rb in google-cloud-vision-v1p3beta1-0.2.5
- old
+ new
@@ -383,10 +383,10 @@
class Configuration
extend ::Gapic::Config
config_attr :endpoint, "vision.googleapis.com", ::String
config_attr :credentials, nil do |value|
- allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
+ 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
config_attr :scope, nil, ::String, ::Array, nil
config_attr :lib_name, nil, ::String, nil