add 'params' paramter to client.getBuckets method

I want to set bucket-type to "client.getBuckets" method.
So, I have changed source code.