If we use traditional way of adding public key to ~/.ssh/ , it won’t works in google cloud, we must add it throug the google cloud way
Open Computer engine, add click Metadata in left menu, then add your public key here
then use ssh yourname@**.**.**.**
to login
remember do not use ssh root@**.**.**.**
, you must use the name defined in Metadata, this held me back for a long time.