There are different methods for the authentication of Google Compute Engine API. They are:
Through client library
Using OAuth 2.0
Directly using an access token
[blog_you_may_like]