Comment autoriser avec oauth 2.0 à partir de appscript pour Api Google?

Je suis en train de jouer autour avec AppScript et essayer d'obtenir un jeton d'accès oAuth 2.0.

Exemple de comment obtenir ce travail dans AppScript?