How to access google drive from compute engine

I recommend using Google Cloud Storage instead of drive. Drive is a more consumer oriented (and expensive) product. Its extra features are geared towards file management and not moving around data blobs which is what you would need when programming.

If you really want to use it you can drive, you can find the API documentation at https://developers.google.com/drive/

Drive is NOT part of the Google Cloud Platform and there are no special instructions or integrations other than the network pricing.