My knowledge might be slightly outdated since I had this problems some 2 years ago. If I remember correctly, this was not possible using the Google Login Plugin because it is based on OAuth.
What you could do alternatively, is set up an authentication with Google Workspace using SAML. This way, you can configure a group attribute.