lib/google/iam/v1beta/workload_identity_pools/operations.rb in google-iam-v1beta-0.5.0 vs lib/google/iam/v1beta/workload_identity_pools/operations.rb in google-iam-v1beta-0.5.1
- old
+ new
@@ -661,10 +661,12 @@
# @return [::String]
#
class Configuration
extend ::Gapic::Config
- config_attr :endpoint, "iam.googleapis.com", ::String
+ DEFAULT_ENDPOINT = "iam.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