If you go into settings from within Google Classroom, Notifications and then scroll down to "Class Notifications" you can then turn it off for classes you don't want notifications for: