Gmail notification on lock screen does not show subject
Found it! The setting to change is here:

Open the Gmail app. Go to Settings > (Email address) > Manage Notifications > Lock screen > Show content