Google has the policy to delete all your data once an account is inactive for a more extended period (2 years). But if someone has your password, then the case is very different.
But suppose you want your data to be passed on to someone after your account becomes inactive (obviously in the case of your death). In that case, the information can be passed on to the person you nominate in that account.
One way of doing it is to add your trusted contact in the secondary email (or trustable account), but this is to be noted that the email you will add can be used to recover your account and even change your password, so the person you chose should be very trustworthy.
However, if you have something like a password, your last will, or anything you only wish people would read after you die. We would suggest keeping it on a separate service like Dropbox, and you can share the password with the one you trust. This way, it makes all your data even secure during your lifetime.
Or, you can also use after.me to schedule an email that the service will send after you die that can also contain your passwords and everything you want your family to have. You can also do a similar trick with your google accounts and everything.
If you have any questions related to this topic, feel free to drop us a voice note below, and we will reply to you as soon as possible.