lib/google/cloud/redis.rb in google-cloud-redis-0.4.0 vs lib/google/cloud/redis.rb in google-cloud-redis-0.5.0
- old
+ new
@@ -131,9 +131,13 @@
# or the specified config is missing data points.
# @param timeout [Numeric]
# The default timeout, in seconds, for calls made through this client.
# @param metadata [Hash]
# Default metadata to be sent with each request. This can be overridden on a per call basis.
+ # @param service_address [String]
+ # Override for the service hostname, or `nil` to leave as the default.
+ # @param service_port [Integer]
+ # Override for the service port, or `nil` to leave as the default.
# @param exception_transformer [Proc]
# An optional proc that intercepts any exceptions raised during an API call to inject
# custom error handling.
def self.new(*args, version: :v1, **kwargs)
unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)