lib/google/cloud/gaming/v1/realms_service/operations.rb in google-cloud-gaming-v1-0.3.1 vs lib/google/cloud/gaming/v1/realms_service/operations.rb in google-cloud-gaming-v1-0.3.2

- old
+ new

@@ -80,11 +80,11 @@ yield @config if block_given? # Create credentials credentials = @config.credentials credentials ||= Credentials.default scope: @config.scope - if credentials.is_a?(String) || credentials.is_a?(Hash) + 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 @@ -394,12 +394,12 @@ rescue ::GRPC::BadStatus => e raise ::Google::Cloud::Error.from_error(e) end ## - # Waits for the specified long-running operation until it is done or reaches - # at most a specified timeout, returning the latest state. If the operation - # is already done, the latest state is immediately returned. If the timeout + # Waits until the specified long-running operation is done or reaches at most + # a specified timeout, returning the latest state. If the operation is + # already done, the latest state is immediately returned. If the timeout # specified is greater than the default HTTP/RPC timeout, the HTTP/RPC # timeout is used. If the server does not support this method, it returns # `google.rpc.Code.UNIMPLEMENTED`. # Note that this method is on a best-effort basis. It may return the latest # state before the specified timeout (including immediately), meaning even an