oAuth2 & gemini API sample code