Each application has an associated Google account. This function returns an
OAuth 2.0 access token that corresponds to the running app. Access tokens are
safe to cache and reuse until their expiry time as returned.
Args
scopes
The requested API scope string, or a list of strings.
Returns
A Pair, Access token string and the expiration time in seconds since
the epoch.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-09-30 UTC."],[[["This function provides an OAuth 2.0 access token for the running application's associated Google account."],["The `get_access_token` function takes either a single scope string or a list of strings as its primary argument, specifying the requested API scopes."],["The returned value is a pair containing the access token and its expiration time in seconds since the epoch."],["The function raises an `InvalidScope` exception if the provided scopes are not valid."],["The generated access tokens are safe to reuse until their expiry."]]],[]]