class Gapic::ServiceStub::RpcCall
def log_single_response response
def log_single_response response response_content = response.respond_to?(:to_h) ? (response.to_h rescue {}) : response.to_s unless response_content.empty? @stub_logger.debug do |entry| entry.set "requestId", @request_id entry.set "response", response_content entry.message = "(response payload as #{response.class})" end end response end