Although the Nexus 6 phone and Nexus 9 tablet will no longer get Android updates since Google has confirmed that Android 7.1.2 would not reach them, these devices will continue to get security patches.
http://www.notebookcheck.net/No-more-Nougat-updates-for-Nexus-6-and-Nexus-9.194862.0.html