lib/google/cloud/redis/v1/cloud_redis/operations.rb in google-cloud-redis-v1-0.2.0 vs lib/google/cloud/redis/v1/cloud_redis/operations.rb in google-cloud-redis-v1-0.2.1

- old
+ new

@@ -83,9 +83,11 @@ credentials = @config.credentials credentials ||= Credentials.default scope: @config.scope if credentials.is_a?(String) || credentials.is_a?(Hash) credentials = Credentials.new credentials, scope: @config.scope end + @quota_project_id = @config.quota_project + @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id @operations_stub = ::Gapic::ServiceStub.new( ::Google::Longrunning::Operations::Stub, credentials: credentials, endpoint: @config.endpoint,