我发现了如何获取Google Spreadsheets V4的访问令牌。但是......我不知道如何将访问令牌附加到凭证:
mCredential = GoogleAccountCredential.usingOAuth2(getApplicationContext(), Arrays.asList(SCOPES));
在以前的Google表格v3 API中,我完全理解如何在requestfactory或类似的函数调用中添加访问键,然后返回服务对象。
有没有办法在Google表格v4中做同样的事情?